VMware: New HA features in VC 2.0.2

As you know, HA is triggered on an ESX host after 15 seconds when it cannot contact it’s cluster partners and the default gateway. By Default, all virtual machines running on the ESX host are shut down and restarted on the remaining ESX hosts in the cluster (using a Legato AAM agent to do it’s job).

The only thing you could do up until now was changing the default gateway (via the das.isolationaddress option/value set). However, for most companies this is not enough. When a general network maintenance is scheduled, you should disable HA to avoid an unnecessary HA trigger.

New in VirtualCenter 2.0.2 are the following option/value pairs:

  • das.failuredetectiontime = <value> (default 15 seconds)
  • das.isolationaddress2 = <value>

These values can be set under Your Cluster => Edit Settings => VMware HA => Advanced Options.

See also VMware’s HA_Tech_Best_Practices.pdf document for more info!

VMware: Stopping a Virtual Machine gone haywire

Sometimes a Virtual Machine can’t be stopped via the VIClient. The job just hangs. There are a number of options to stop your Virtual Machine from within the Service Console. Keep in mind that these are last resort options!

  • Stopping the virtual machine by issuing the command vmware-cmd /vmfs/volumes/<datastorename>/<vmname>/<vmname>.vmx stop. This must be done on the ESX host where the Virtual Machine is running!
  • If this does not work, one can issue the following command: vmware-cmd /vmfs/volumes/<datastorename>/<vmname>/<vmname>.vmx stop hard. This will try to kill the Virtual Machine instantly.
  • A final solution is to kill the PID (process ID). Issue the following command: ps auxfww | grep <vmname> to locate the correct PID (BTW: this cannot be done via ESXTOP). The first number to appear in the output is your PID. The PID can be used to terminate the process by issuing kill -9 PID.

VirtualBox goes open source

InnoTek VirtualBox is a family of powerful x86 virtualization products for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU Public License (GPL).

Get it here.