When the man pages' reST is built using Sphinx, “bash” must be used
instead of “Bash”. Pandoc works with both.
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Run a command on a list of hosts:
Run a command on a list of hosts:
listrunner -l logdir -c "uname -a" -h host1,host2,host3
Upload a script, some auxiliary files and run the script:
listrunner -l logdir -c "uname -a" -h host1,host2,host3
Upload a script, some auxiliary files and run the script:
listrunner -l logdir -x runme.sh \
-a seed.dat -a golden.dat \
listrunner -l logdir -x runme.sh \
-a seed.dat -a golden.dat \
For the ``dhcp`` parameter given as example above, a verification
script could be:
For the ``dhcp`` parameter given as example above, a verification
script could be:
changes on the instances after a rename, you can migrate the OS
definition to version 5 by creating the rename script simply as:
changes on the instances after a rename, you can migrate the OS
definition to version 5 by creating the rename script simply as:
example after maintenance actions, or when you want to simulate the
reboot of all nodes, so in this case, you can remove all state files:
example after maintenance actions, or when you want to simulate the
reboot of all nodes, so in this case, you can remove all state files:
rm -f @LOCALSTATEDIR@/lib/ganeti/watcher.*.data
rm -f @LOCALSTATEDIR@/lib/ganeti/watcher.*.instance-status
rm -f @LOCALSTATEDIR@/lib/ganeti/watcher.*.data
rm -f @LOCALSTATEDIR@/lib/ganeti/watcher.*.instance-status
# Map the entire instance to CPUs 0-2
gnt-instance modify -H cpu_mask=0-2 my-inst
# Map the entire instance to CPUs 0-2
gnt-instance modify -H cpu_mask=0-2 my-inst