2ce3d3aea0
- Breaking up https://review.openstack.org/#/c/89581/ - cli_nova_manage_instances and associated files Change-Id: I301ea42b29690a67859e3ac600817792ca76afcf
45 lines
2.1 KiB
XML
45 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
|
xml:id="nova_cli_stop_start">
|
|
<title>Stop and start an instance</title>
|
|
<para>Use one of the following methods to stop and start an
|
|
instance.</para>
|
|
<section xml:id="pause_server">
|
|
<title>Pause and unpause an instance</title>
|
|
<itemizedlist>
|
|
<listitem>
|
|
<para>To pause an instance, run the following command:</para>
|
|
<screen><prompt>$</prompt> <userinput>nova pause <replaceable>INSTANCE_NAME</replaceable></userinput> </screen>
|
|
<para>This command stores the state of the VM in RAM. A paused
|
|
instance continues to run in a frozen state.</para></listitem>
|
|
<listitem><para>To unpause the instance, run the following command:</para>
|
|
<screen><prompt>$</prompt> <userinput>nova unpause <replaceable>INSTANCE_NAME</replaceable></userinput> </screen>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</section>
|
|
<section xml:id="suspend_resume">
|
|
<title>Suspend and resume an instance</title>
|
|
<itemizedlist>
|
|
<para>Administrative users might want to suspend an instance if
|
|
it is infrequently used or to perform system maintenance. When
|
|
you suspend an instance, its VM state is stored on disk, all
|
|
memory is written to disk, and the virtual machine is stopped.
|
|
Suspending an instance is similar to placing a device in
|
|
hibernation; memory and vCPUs become available to create other
|
|
instances.</para>
|
|
<listitem>
|
|
<para>To initiate a hypervisor-level suspend operation, run
|
|
the following command:</para>
|
|
<screen><prompt>$</prompt> <userinput>nova suspend <replaceable>INSTANCE_NAME</replaceable></userinput></screen>
|
|
</listitem>
|
|
<listitem>
|
|
<para>To resume a suspended instance, run the following
|
|
command:</para>
|
|
<screen><prompt>$</prompt> <userinput>nova resume <replaceable>INSTANCE_NAME</replaceable></userinput></screen>
|
|
</listitem>
|
|
</itemizedlist>
|
|
</section>
|
|
</section>
|