From ce9f00625d6d7b4e863e0d13c7e4b9866725cd5f Mon Sep 17 00:00:00 2001 From: Don Domingo Date: Tue, 18 Feb 2014 14:35:09 +1000 Subject: [PATCH] Added note for decommissioning block storage nodes 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 --- .../section_volume-migration.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/doc/admin-guide-cloud/section_volume-migration.xml b/doc/admin-guide-cloud/section_volume-migration.xml index 7b87bb12f05..3a5a9752b91 100644 --- a/doc/admin-guide-cloud/section_volume-migration.xml +++ b/doc/admin-guide-cloud/section_volume-migration.xml @@ -101,6 +101,22 @@ server2@lvmstorage-2 zone1 attribute. + + If you plan to decommission a block storage node, you must + stop the cinder volume + service on the node after performing the migration. + On nodes that run + CentOS, Fedora, openSUSE, RedHat Enterprise Linux, or SUSE Linux + Enterprise, run: + # service openstack-cinder-volume stop +# chkconfig openstack-cinder-volume off + On nodes that run Ubuntu or Debian, run: + + # service cinder-volume stop +# chkconfig cinder-volume off + Stopping the cinder volume service + will prevent volumes from being allocated to the node. + Migrate this volume to the second LVM back-end: $ cinder migrate 6088f80a-f116-4331-ad48-9afb0dfb196c server2@lvmstorage-2 You can use the cinder show command to @@ -138,7 +154,7 @@ server2@lvmstorage-2 zone1 host is the new host, and name_id 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 volume-133d1f56-9ffc-4f57-8798-d5217d851862. The migration is not visible to non-admin users (for