Tag Archives: vSphere

Storage vMotion with Multiple Datastores

One of the problems with using tiered storage used to be that when a VM with disks on different datastores was Storage vMotioned, the disks would end up on a single datastore.

The simple solution to this is to use the ‘Advanced’ option when using Storage vMotion. It allows you to granularly control where each of the VMs hard disks and configuration files go.

Take a look at these screenshots: Continue reading

VMWare UPS Shutdown Script

Here is a script that can be used in conjuction with a UPS shutdown utility like APC Powerchute to shutdown all VMs and ESX hosts automatically if a power loss has been detected by the UPS. This script is a configure it once and forget it script. It queries the vCenter server for a list of all VMs and ESX hosts and shuts them all down (VMs first and Hosts later).
Continue reading