distem-devbootstrap - manual page for distem-devbootstrap 1.2
distem-devbootstrap [options] [<script_to_execute>]
distem-devbootstrap helps distem developers manage their development environment: use a distem copy stored on NFS, start and stop nodes, peek at the log files, etc.
-f, --node-list <nodelist_file>
File containing the list of nodes to install. If not specified, will use $GOOD_NODES or $OAR_NODEFILE
-u, --update <updatefile>
Update distem (the YAML update file should contain the local path for keys {lib,ext,bin} to be symlinked on distem daemons using NFS)
-c <coordinator_address>,
Address of the coordinator (default: first node)
--coordinator |
-i, --init-pnodes
Initialize pnodes
--max-vifaces <nb>
Set the maximum number of vifaces on a physical node (used only with --init-pnodes)
-k, --kill-pnodes
Kill pnodes
-s, --status-pnodes
Get the status of pnodes
-l, --list
Get the list of the nodes and their number
-D <node1_number>,<node2_number>,<...>, |
--daemon-logs
Get distemd logs (/var/log/distem/distemd*.log) on <node_number> [see --list]
-C <node_number>,<node2_number>,<...>, |
--commands-logs
Get commands logs (/var/log/distem/distemd.cmd) on <node_number> [see --list]
-r <package1>,<package2>,<...>,
Additional gem packages to be installed
--gempackages |
-d, --debug
Debug mode (display commands executed on nodes)
--distem-debug
Show distem output when executing distem commands (script, node init)
--verbose
Activate the verbose mode on Distem servers
-h, --help
Display this screen
When executing a script, the file containing the list of nodes is available in the DISTEM_NODES environment variable, while the address of the coordinator is in DISTEM_COORDINATOR.
# reserve and deploy nodes, configure using distem-bootstrap and distem-devbootstrap oarsub -t deploy -l nodes=10,walltime=1 \
’katapult3 -e wheezy-x64-nfs -c --sleep -- distem-bootstrap --git \
--no-init-pnodes -- distem-devbootstrap --update .distem.yml’ |