Citrix Systems 4.2 Switch User Manual


 
Chapter 14. Working With Storage
136
Note
Because of a limitation in VMware, live migration of storage for a VM is allowed only if the source
and target storage pool are accessible to the source host; that is, the host where the VM is
running when the live migration operation is requested.
14.4.5.1. Migrating a Data Volume to a New Storage Pool
There are two situations when you might want to migrate a disk:
Move the disk to new storage, but leave it attached to the same running VM.
Detach the disk from its current VM, move it to new storage, and attach it to a new VM.
14.4.5.1.1. Migrating Storage For a Running VM
(Supported on XenServer and VMware)
1. Log in to the CloudPlatform UI as a user or admin.
2. In the left navigation bar, click Instances, click the VM name, and click View Volumes.
3. Click the volume you want to migrate.
4. Detach the disk from the VM. See Section 14.4.4, “Detaching and Moving Volumes” but skip the
“reattach” step at the end. You will do that after migrating to new storage.
5.
Click the Migrate Volume button and choose the destination from the dropdown list.
6. Watch for the volume status to change to Migrating, then back to Ready.
14.4.5.1.2. Migrating Storage and Attaching to a Different VM
1. Log in to the CloudPlatform UI as a user or admin.
2. Detach the disk from the VM. See Section 14.4.4, “Detaching and Moving Volumes” but skip the
“reattach” step at the end. You will do that after migrating to new storage.
3.
Click the Migrate Volume button and choose the destination from the dropdown list.
4. Watch for the volume status to change to Migrating, then back to Ready. You can find the volume
by clicking Storage in the left navigation bar. Make sure that Volumes is displayed at the top of the
window, in the Select View dropdown.
5. Attach the volume to any desired VM running in the same cluster as the new storage server. See
Section 14.4.3, “Attaching a Volume”
14.4.5.2. Migrating a VM Root Volume to a New Storage Pool
(XenServer, VMware) You can live migrate a VM's root disk from one storage pool to another, without
stopping the VM first.
(KVM) When migrating the root disk volume, the VM must first be stopped, and users can not access
the VM. After migration is complete, the VM can be restarted.