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.tan...@hds.com>
HITACHI DATA SYSTEMS

From: Sheng Bo Hou [mailto:sb...@cn.ibm.com]
Sent: Friday, May 29, 2015 12:06 AM
To: vivek.nandava...@vmturbo.com
Cc: openstack-dev@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@IBMCN    E-mail: 
sb...@cn.ibm.com<mailto:sb...@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
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to