Commit b24e516d authored by Klaus Aehlig's avatar Klaus Aehlig

Add example for online rolling reboots using tags

While this use case was described in the design document, and
mentioned several times as motivation for changes in commit messages,
it has never been added to a user-facing documentation. This commit
adds at least an example to the man page.
Signed-off-by: default avatarKlaus Aehlig <>
Reviewed-by: default avatarGuido Trotter <>
parent 7b2d4001
......@@ -94,17 +94,38 @@ Online rolling maintenances (where instance need not be shut down, but
are migrated from node to node) are not supported yet. Hroller by design
should support them both with and without secondary node replacement.
Online Rolling reboots, using tags
Selecting by tags and getting output for one step only can be used for
planing the next maintenance step.
$ hroller --node-tags needsreboot --one-step-only -L
'First Reboot Group'
Typically these nodes would be drained and migrated.
$ GROUP=`hroller --node-tags needsreboot --one-step-only --no-headers -L`
$ for node in $GROUP; do gnt-node modify -D yes $node; done
$ for node in $GROUP; do gnt-node migrate -f --submit $node; done
After maintenance, the tags would be removed and the nodes undrained.
Rolling node reboot output
Offline Rolling node reboot output
With the default options, the program shows one reboot group per line as
a comma-separated list.
If all instances are shut down, usually larger node groups can be found.
$ hroller -L
$ hroller --offline-maintainance -L
'Node Reboot Groups',,,,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment