To trigger a fully-automatic upgrade - first
power off the VMs and login to the VC server. Open a command prompt to
C:\Program Files\VMware\VMware VirtualCenter 2.0
Type something like
vmware-vmupgrade.exe -u vi3book\administrator -p vmware -h "<datacenter Name>
DataCenter/Intel Hosts/AMD Cluster/esx1.vi3book.com" -m 2 -t 10
Note:
The switches -u and -p are required and they set the user name and password to
authenticate against VirtualCenter. The -h switch is also required and it sets the
path to an ESX host within the Inventory. In this case all powered off VMs
running on esx1.vi3book.com will be updated.
The switches -m and -t are optional and set how many VMs can be
simultaneously updated and how long VMs are allow to stay powered on (in
mins). This deals with the issue of VMs that will not power down gracefully after a
VMware Tools upgrade.
Alternatively, you can specify each VM individually - you will soon see how much fun
that's going to be. Here's a sample
vmware-vmupgrade.exe
-u vi3book\administrator -p vmware
-n "DataCenter1/VMs 1/vm1"
-n "DataCenter2/VMs 2/vm2"
-n "DataCenter3/VMs 3/vm3"
-n "DataCenter4/VMs 4/vm4"
Note:
As you can see with the -n switch we can specify multiple VMs, and yes, you must
specify -n each and every time. Good Luck.
Make sure your VM or VMS or powered down when doing this.