This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:oardocker_setup_for_grid_5000 [2018/09/21 01:13] – neyron | wiki:oardocker_setup_for_grid_5000 [2020/03/31 15:42] (current) – neyron | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | === Kind of a simulation of OAR setup in Grid' | + | ===== Emulating |
- | This setup fakes the boot stages (post-deploy or standby) with at commands. | + | This setup fakes the boot stages (post-deploy or standby) with '' |
- | == 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 | + | ==== On the frontend |
- | * setup the oar-node | + | * connect from the host to the frontend container: |
+ | <code bash> | ||
+ | $ oardocker connect frontend | ||
+ | </ | ||
+ | * 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 | + | $ / |
- | / | + | |
- | cp / | + | |
- | sed -i -e 's/ -n -20//''' | + | |
- | | + | |
- | cp / | + | |
- | / | + | |
</ | </ | ||
* setup epilogue in file / | * setup epilogue in file / | ||
Line 73: | Line 74: | ||
</ | </ | ||
- | == On the server | + | ==== On the server |
+ | * connect from the host to the OAR server container: | ||
+ | <code bash> | ||
+ | $ oardocker connect server | ||
+ | </ | ||
* 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) |