Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:oardocker_setup_for_grid_5000 [2018/09/21 01:14]
neyron
wiki:oardocker_setup_for_grid_5000 [2020/03/31 15:42] (current)
neyron
Line 1: Line 1:
-=== Kind of simulation of OAR setup in Grid'​5000 === +===== Emulating ​a Grid'​5000 ​OAR setup ===== 
-This setup fakes the boot stages (post-deploy or standby) with at commands.+This setup fakes the boot stages (post-deploy or standby) with ''​at'' ​commands.
  
-== On the host ==+It uses [[oar-docker]]. 
 + 
 +==== On the host ==== 
 +Start the oar-docker cluster from within a oar git clone.
   * cd .../oar   * cd .../oar
-  * oardocker -v$PWD:/mnt -n 50+  * oardocker -v$PWD:/mnt -n 20
  
-== On the frontend ​VM ==  +==== On the frontend ​container ​==== 
-  * setup the oar-node and atd services:+  * connect from the host to the frontend container:​ 
 +<code bash> 
 + $ oardocker connect frontend 
 +</​code>​ 
 +  * setup the atd service:
 <code bash> <code bash>
- $ cd /mnt/ ; make node-build node-install node-setup 
  $ apt-get install -y at  $ apt-get install -y at
  $ /​etc/​init.d/​atd start  $ /​etc/​init.d/​atd start
- $ cp /​usr/​local/​share/​oar/​oar-node/​init.d/​oar-node /etc/init.d 
- $ sed -i -e 's/ -n -20//' /​etc/​init.d/​oar-node # remove the ''​nice -20''​ which causes an error 
- $ systemctl daemon-reload 
- $ cp /​usr/​local/​share/​oar/​oar-node/​default/​oar-node /​etc/​default/​ 
- $ /​etc/​init.d/​oar-node start 
 </​code>​ </​code>​
   * setup epilogue in file /​etc/​oar/​epilogue:​   * setup epilogue in file /​etc/​oar/​epilogue:​
Line 73: Line 74:
 </​code>​ </​code>​
  
-== On the server ​VM==+==== On the server ​container ​==== 
 +  * connect from the host to the OAR server container:​ 
 +<code bash> 
 + $ oardocker connect server 
 +</​code>​
   * apply changes to oar.conf: set cosystem frontend, epilogue, energy saving   * apply changes to oar.conf: set cosystem frontend, epilogue, energy saving
   * we use the cosystem type instead of deploy (or we need to add a deploy preoperty)   * we use the cosystem type instead of deploy (or we need to add a deploy preoperty)
wiki/oardocker_setup_for_grid_5000.txt · Last modified: 2020/03/31 15:42 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki