From 7862322315da2e9f4f3081dfbe2b05edc7a42a64 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Wed, 3 Aug 2011 17:08:57 +0200 Subject: [PATCH] Small doc patch for gnt-node evacuate Just explain a bit the relation between node evacuate and instance commands. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Michael Hanselmann <hansmi@google.com> --- man/gnt-node.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/man/gnt-node.rst b/man/gnt-node.rst index 31362c212..7cfe9cecf 100644 --- a/man/gnt-node.rst +++ b/man/gnt-node.rst @@ -115,6 +115,14 @@ old storage is already broken) or when the storage on the primary node is known to be fine (thus we won't need the old storage for potential recovery). +Note that this command is equivalent to using per-instance commands for +each affected instance individually: + +- ``--primary-only`` is equivalent to ``gnt-instance failover/migration`` +- ``--secondary-only`` is equivalent to ``gnt-instance replace-disks`` + in the secondary node change mode (only valid for DRBD instances) +- when neither of the above is done a combination of the two cases is run + Example:: # gnt-node evacuate -I hail node3.example.com -- GitLab