A virtual machine may reboot itself if:
AND
Virtual machine monitoring is dependent on VMware tools heartbeats to determine the state of the virtual machines.
With ESX Server 3.5 Update 3 after a VMotion or a Power On operation, the host agent running on the ESX server may delay sending the heartbeat state of the virtual machine to the Host. VMware HA detects this as a failure of the virtual machine and attempts to restart the virtual machine.
The issue has been resolved in VirtualCenter 2.5 Update 4. You can download VirtualCenter 2.5 Update 4 from the Download Center.
If you cannot upgrade, perform one of the following workarounds.
Workaround 1: Disabling virtual machine monitoring
To disable virtual machine monitoring:
-
Right-click the VMware HA cluster and choose Edit Settings.
Note: This feature can also be enabled for a new cluster on the VMware HA page of the New Cluster wizard.
-
In the Cluster Settings dialog box, select VMware HA in the left column.
-
Deselect Enable virtual machine monitoring.
-
Click OK.
Workaround 2: Setting hostd heartbeat delay to 0
Notes:
- If you perform workaround 2, the heartbeat alarm in VirtualCenter (for virtual machines running on the ESX 3.5 Update 3 host) may go red until the VMware Tools inside GOS starts to heartbeat.
- Before you begin please refer to Restarting the Management agents on an ESX Server (1003490) for important information on restarting the mgmt-vmware service.
To set the hostd heartbeat delay to 0:
-
Disconnect the host from VirtualCenter. Right-click on the host in VMware Infrastructure (VI) Client and choose Disconnect.
-
Log in as root to the ESX host with an SSH client.
-
Open the file /etc/vmware/hostd/config.xml in a text editor.
-
Set the heartbeatDelayInSecs tag under vmsvc to 0 seconds:
<vmsvc>
<heartbeatDelayInSecs>0</heartbeatDelayInSecs>
<enabled>true</enabled>
</vmsvc>
-
Save your changes and exit.
-
-
Reconnect the host in VirtualCenter. Right-click on the host in VI Client and choose Connect.
Notes:
-
Setting heartbeatDelayInSecs to 0 does not disable virtual machine monitoring.
-
When any ESX patches are applied, changes to the config.xml file are over-written.