[openstack-dev] [cinder] Migrating in-use volumes with swap_volume in Nova
Mitsuhiro Tanino
mitsuhiro.tanino at hds.com
Sat May 30 12:17:21 UTC 2015
Hi,
> The result turns out fine finally and the volume is successfully
> migrated via the swap_volume method in Nova.
The swap_volume uses libvirt's live storage migration feature called blockcopy.
If you use this way, you don’t need to detach a volume before volume migration.
http://kashyapc.com/2014/07/06/live-disk-migration-with-libvirt-blockcopy/
Before applying this way to your system, it is recommended to test very well
as many people said at the summit, because this scenario is not included
tempest test case.
Regards,
Mitsuhiro Tanino <mitsuhiro.tanino at hds.com>
HITACHI DATA SYSTEMS
From: Sheng Bo Hou [mailto:sbhou at cn.ibm.com]
Sent: Friday, May 29, 2015 12:06 AM
To: vivek.nandavanam at vmturbo.com
Cc: openstack-dev at lists.openstack.org
Subject: [openstack-dev] [cinder] Migrating in-use volumes with swap_volume in Nova
Hi Vivek,
Per our discussion about the migration of an in-use volume, I have done the following tests:
I took KVM as the hypervisor and LVM as the backend for cinder.
* Configure two c-vol nodes.
* Create the image in glance.
* Create a volume from this image.
* Boot a VM from this volume, so the volume becomes in-use and the VM is ready.
* Migrate this in-use volume.
The result turns out fine finally and the volume is successfully migrated via the swap_volume method in Nova. I just send you this mail as a confirmation that swap_volume works for your use case.
Best wishes,
Vincent Hou (侯胜博)
Staff Software Engineer, Open Standards and Open Source Team, Emerging Technology Institute, IBM China Software Development Lab
Tel: 86-10-82450778 Fax: 86-10-82453660
Notes ID: Sheng Bo Hou/China/IBM at IBMCN E-mail: sbhou at cn.ibm.com<mailto:sbhou at cn.ibm.com>
Address:3F Ring, Building 28 Zhongguancun Software Park, 8 Dongbeiwang West Road, Haidian District, Beijing, P.R.C.100193
地址:北京市海淀区东北旺西路8号中关村软件园28号楼环宇大厦3层 邮编:100193
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150530/0730fa87/attachment.html>
More information about the OpenStack-dev
mailing list