How can I move multiple VM disks from one Storage Domain to another ?
Issue
- We have 830 VMs in a 3.3.4-0.53.el6ev RHEV-M instance. We've got three storage domains attached to a given data center:
GLDIMAGES (Netapp NFS)
IMAGES_tintri_1 (Tintri NFS)
IMAGES_tintri_2 (Tintri NFS)
- We're going to have all VMs powered off this weekend, and this is a great opportunity to move them from the GLDIMAGES domain to the IMAGES_tintri_* domains.
- What we're looking for is the CLI / rhevm-shell commands that we can run in batch to do this.
- The 3.3 CLI doc mentions running something like this:
action disk <crazy long GIUD> move --vm-identifier <vm name> --storage_domain-name <new storage domain>
- Is this still the best approach, given the version of RHEV-M we're still on? Is there a good way to collect and arrange all the required GUIDs ahead of time?
Environment
- Red Hat Enterprise Virtualization
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.