VMware
 

Knowledge Base

Search the Knowledge Base:

Products:
Search In:
 

Test or Real Failover using Site Recovery Manager 1.0 Update 1 Might be Slow

Details

With VMware Site Recovery Manager 1.0 Update 1, recovery of a VM might take a long time.  The recovery time during a test or real recovery will be longer when more VM's are involved.  The Change Network Settings task might time out during the test or real failover.  This is due to the serial fashion in which Site Recovery Manager waits until a guest heartbeat is seen prior to customizing the VM.  This might occur with the following ESX versions:
  • ESX 3.5 Update 2 and Update 3
  • ESX 3.0.2 and 3.0.3

Solution

This issue occurs due to a delay set in ESX host agent's VM heartbeat detection.  The first heartbeat is delayed for 5 minutes by default to allow the guest operating system and vmware-tools to start.
 
Note: Before you begin please refer to KB1003490 for important information on restarting the mgmt-vmware service.
 
To workaround the issue:
  • Set hostd heartbeat delay to 40.
    1. Disconnect the host from VC (Right click on host in VI Client and select "Disconnect" )
    2. Login as root to the ESX Server with SSH.
    3. Using a text editor such as nano or vi , edit the file /etc/vmware/hostd/config.xml
    4. Set the "heartbeatDelayInSecs" tag under "vmsvc" to 0 seconds as shown here:
      <vmsvc>
           <heartbeatDelayInSecs>40</heartbeatDelayInSecs>
           <enabled>true</enabled>
      </vmsvc>
    5. Restart the management agents for this change to take effect.  See Restarting the Management agents on an ESX Server (1003490).
    6. Reconnect the host in VC ( Right click on host in VI Client and select "Connect" )

Note: If you experience problems where VM unexpectedly reboot when using VMware HA with VM monitoring, the delay should be set to 0 second as described in KB 1007899

 

Feedback

Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (2000 or fewer characters)
Submit
Rating: 1 - Lowest 2 3 4 5 - Highest (0 Ratings)   
Actions