vMotion of a virtual machine with multiple data stores in vmmigrate.pl


I am using vmmigrate.pl to write a shell script to vMotion a virtual machine.

System configuration is vCenter x 1, ESXi x 2, Stgege x 1, physical server x 1. We plan to run vSphere cli based script on physical server.

The target virtual machine has more than one datastore and it does not know how to apply it to the vmmigrete.pl option (--targetdatastore).


I want to know how to specify multiple datastores in the vmmigrete.pl option (-targetdatastore). If you can not specify option, I would like to know another method (without vSphere Web Client).


0 Kudos
0 Replies