Skip to content

Commit

Permalink
Added note for decommissioning block storage nodes
Browse files Browse the repository at this point in the history
When decommissioning a block storage node, it is advisable to prevent
any volumes from being allocated there before migrating volumes out of
the node. Added a recommendation in volume migration instructions for
Red Hat Enterprise Linux/Fedora/CentOS and Debian/Ubuntu.

Change-Id: I8ea4ef7d856cecc136fb1207353c905f17e4b6ee
Partial-Bug: #1279179
  • Loading branch information
Don Domingo committed Mar 6, 2014
1 parent 1a61fe0 commit ce9f006
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion doc/admin-guide-cloud/section_volume-migration.xml
Expand Up @@ -101,6 +101,22 @@ server2@lvmstorage-2 zone1</computeroutput></screen>
attribute.</para>
</listitem>
</itemizedlist>
<note>
<para>If you plan to decommission a block storage node, you must
stop the <systemitem class="service">cinder</systemitem> volume
service on the node after performing the migration.</para>
<para os="rhel;centos;fedora;opensuse;sles">On nodes that run
CentOS, Fedora, openSUSE, RedHat Enterprise Linux, or SUSE Linux
Enterprise, run:</para>
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>service openstack-cinder-volume stop</userinput>
<prompt>#</prompt> <userinput>chkconfig openstack-cinder-volume off</userinput></screen>
<para os="debian;ubuntu">On nodes that run Ubuntu or Debian, run:
</para>
<screen os="debian;ubuntu"><prompt>#</prompt> <userinput>service cinder-volume stop</userinput>
<prompt>#</prompt> <userinput>chkconfig cinder-volume off</userinput></screen>
<para>Stopping the <systemitem>cinder</systemitem> volume service
will prevent volumes from being allocated to the node.</para>
</note>
<para>Migrate this volume to the second LVM back-end:</para>
<screen><prompt>$</prompt> <userinput>cinder migrate 6088f80a-f116-4331-ad48-9afb0dfb196c server2@lvmstorage-2</userinput></screen>
<para>You can use the <command>cinder show</command> command to
Expand Down Expand Up @@ -138,7 +154,7 @@ server2@lvmstorage-2 zone1</computeroutput></screen>
<literal>host</literal> is the new host, and
<literal>name_id</literal> holds the ID of the volume
created by the migration. If you look at the second LVM
back-end, you find the logical volume
back end, you find the logical volume
<literal>volume-133d1f56-9ffc-4f57-8798-d5217d851862</literal>.</para>
<note>
<para>The migration is not visible to non-admin users (for
Expand Down

0 comments on commit ce9f006

Please sign in to comment.