Script for VM migration without Virtual Center
VMware Communities: New Script for moving vm to another … contains a thread from this summer about cold migrating a VM from local storage of an ESX server to iSCSI storage. The post contains the code (original and updated versions) for a script to automate this process. The final version allows the migration of a VM to any ESX storage location. I have added the vm-relocate.sh script to the Files page as well.
This script is handy if you do not have Virtual Center in your environment, or if you do not have VMware Converter Enterprise – which allows you to do multiple conversions directly to ESX storage (clone and then delete the original VM) simultaneously.
O f course if you are implementing networked shared storage you are hopefully upgrading to the Enterprise Edition of ESX and taking advantage of VMotion, HA, and DRS! Once you have your Enterprise license you then get VMware Converter Enterprise too. So, the script may be useful in limited scenarios, but useful none the less!









