Skip to content
Snippets Groups Projects
Commit edc282ad authored by Agata Murawska's avatar Agata Murawska
Browse files

admin.rst update regarding offline state of the instance


Signed-off-by: default avatarAgata Murawska <agatamurawska@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent 555d5304
No related branches found
No related tags found
No related merge requests found
......@@ -287,10 +287,22 @@ manually start one which is currently stopped you can run::
gnt-instance startup INSTANCE_NAME
While the command to stop one is::
Note, that this will not work when an instance is in a permanently
stopped state ``offline``. In this case, you will first have to
put it back to online mode by running::
gnt-instance modify --online INSTANCE_NAME
The command to stop the running instance is::
gnt-instance shutdown INSTANCE_NAME
If you want to shut the instance down more permanently, so that it
does not require dynamically allocated resources (memory and vcpus),
after shutting down an instance, execute the following::
gnt-instance modify --ofline INSTANCE_NAME
.. warning:: Do not use the Xen or KVM commands directly to stop
instances. If you run for example ``xm shutdown`` or ``xm destroy``
on an instance Ganeti will automatically restart it (via
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment