This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
wiki:oardocker_setup_for_grid_5000 [2015/10/22 01:14] – neyron | wiki:oardocker_setup_for_grid_5000 [2018/09/21 01:14] – neyron | ||
---|---|---|---|
Line 6: | Line 6: | ||
* oardocker -v$PWD:/mnt -n 50 | * oardocker -v$PWD:/mnt -n 50 | ||
- | == On frontend == | + | == On the frontend |
- | * cd /mnt/ ; make node-build node-install node-setup | + | * setup the oar-node and atd services: |
- | | + | <code bash> |
- | | + | |
- | | + | $ apt-get install -y at |
- | | + | $ / |
- | | + | $ cp / |
- | * setup epilogue | + | $ sed -i -e 's/ -n -20//' / |
- | + | $ systemctl daemon-reload | |
- | / | + | |
+ | $ / | ||
+ | </ | ||
+ | * setup epilogue | ||
<code bash> | <code bash> | ||
#!/bin/bash | #!/bin/bash | ||
Line 70: | Line 73: | ||
</ | </ | ||
- | == On server == | + | == On the 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) | ||
Line 198: | Line 201: | ||
set -x | set -x | ||
# Nothing really needed here | # Nothing really needed here | ||
- | | + | while read n; do |
+ | for nn in $n; do | ||
+ | | ||
+ | done | ||
done | done | ||
</ | </ |