I am busy replacing the (SAN attached) storage configured for this XEN host. Is there some way to "move" the domU from one block device to another on the same host, possibly something similar to live migration, but on a single host and going to new storage?
My current process is:
- Shut down the VM.
- Delete the VM
- Change it's XML config file to refer to the new LUN device.
- Copy (at raw level) the data from the old to the new LUN
- Re-create the VM using the updated XML config file
- Start the VM back up.
This works... but it takes time - some of the LUNs are huge. It would be great if I could either minimize the downtime to a few minutes, or ideal if I could eliminate it entirely.
FWIW this old host is still Running Xen 3.0.
About the current disk setup - it is realy simple. Each DomU have a single whole disk device assigned to it, eg phy:/dev/emcpowerx
As evident by the above, the device is a pseudo device managed by EMC powerpath.
The objective is to move the domU from /dev/emcpowerx to /dev/emcpowerz.