From bafb50673156636d24b1cd0fb4b3dd8ef31d6a09 Mon Sep 17 00:00:00 2001 From: Agata Murawska Date: Wed, 16 Nov 2011 16:41:15 +0100 Subject: [PATCH] Man page update: online/offline state of instance Signed-off-by: Agata Murawska Reviewed-by: Michael Hanselmann --- man/gnt-instance.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/man/gnt-instance.rst b/man/gnt-instance.rst index 9d88938..d5da067 100644 --- a/man/gnt-instance.rst +++ b/man/gnt-instance.rst @@ -845,6 +845,7 @@ MODIFY | [{-t|--disk-template} plain | {-t|--disk-template} drbd -n *new_secondary*] [--no-wait-for-sync] | [--os-type=*OS* [--force-variant]] | [{-O|--os-parameters} *param*=*value*... ] +| [--offline \| --online] | [--submit] | {*instance*} @@ -888,11 +889,18 @@ not found, then by default the modification is refused, unless ``--force-variant`` is passed. An invalid OS will also be refused, unless the ``--force`` option is given. +The ``--online`` and ``--offline`` options are used to transition an +instance into and out of the ``offline`` state. An instance can be +turned offline only if it was previously down. The ``--online`` option +fails if the instance was not in the ``offline`` state, otherwise it +changes instance's state to ``down``. These modifications take effect +immediately. + The ``--submit`` option is used to send the job to the master daemon but not wait for its completion. The job ID will be shown so that it can be examined via **gnt-job info**. -All the changes take effect at the next restart. If the instance is +Most of the changes take effect at the next restart. If the instance is running, there is no effect on the instance. REINSTALL -- 1.7.10.4