VMware vSphere

 View Only
  • 1.  vsphere HA Virtual Machine failover failed

    Posted Feb 17, 2012 12:36 AM

    Hi,

    There are 3 ESX hosts in our cluster.  One of them (say Host3) just exit Maintenance Mode.

    Then we change the DRS setting to aggressive and run HA reconfigure on the other two ESX hosts (Let us call them Host1 and Host2).  We just want to migrate VM to the ESX host that just exit from maintenance mode.

    However, we find that all VM on a particular ESX host (Host1) and one VM on another ESX Host (Host2) get the error message "vsphere HA Virtual Machine failover failed".  We would like to seek your advice what are the potential causes of that error message ?  Which setting in cluster control the behavior ?

    Thanks



  • 2.  RE: vsphere HA Virtual Machine failover failed
    Best Answer

    Posted Feb 17, 2012 01:23 AM

    Good day,

    It doesn't sound like HA should have kicked in at all in your circumstance as long as there were no unplanned host outtages.  Do you have VM Monitoring enabled in your cluster HA settings?  You'll definitely want to check the logs for evidence as to why this is happening.

    Ensure each of your hosts can ping their isolation address, usually the default gateway of the management network.  If you have VM Monitoring enabled, ensure VMware Tools is running in the VMs that had the error.  You can also disable HA on the cluster and wait for the AAM agent to be uninstalled from each host, then re-enable HA.

    If you don't want to disable HA cluster-wide, you can also remove individual hosts from vCenter.  This will also uninstall the AAM agent.  Once it's removed, re-add it to vCenter and the HA-enabled cluster.  This will then re-install the HA agent.

    Without looking at the logs, it's difficult to say exactly what caused your problem.  Feel free to attach your log files here for the community to peruse.

    Cheers,

    Mike Brown

    http://VirtuallyMikeBrown.com

    https://twitter.com/#!/VirtuallyMikeB

    http://LinkedIn.com/in/michaelbbrown



  • 3.  RE: vsphere HA Virtual Machine failover failed

    Posted Feb 17, 2012 01:47 AM

    We haven't enabled HA VM Monitoring in the cluster.

    I agree with your saying that it may be a HA agent problem.



  • 4.  RE: vsphere HA Virtual Machine failover failed

    Posted Feb 17, 2012 11:03 PM

    I remove the ESX Host from the cluster and rejoin it again.  Problems have been solved.

    Thanks



  • 5.  RE: vsphere HA Virtual Machine failover failed

    Posted Feb 17, 2012 02:12 PM

    Hi,

    to me it's not clear, why do you reconfigure HA on the other 2 hosts?

    After the host1 exits his maintenance mode it  will be set back into the ha cluster - that needs some time.


    Then you can reconfigure your drs.

    Just my thoughts.

    Reg

    Christian



  • 6.  RE: vsphere HA Virtual Machine failover failed

    Posted Feb 17, 2012 11:05 PM

    I am just impatient and would like the VM migration happens immediately.

    Should I wait and let vCenter to take care of it ?

    Thanks



  • 7.  RE: vsphere HA Virtual Machine failover failed

    Posted Feb 17, 2012 11:24 PM

    DRS recalculates every 5 minutes and after major changes to the cluster, such as bringing hosts out of maintenance mode or adding new hosts to the cluster.  After a major event, give DRS some time to work - you'll see it kick in.

    If you don't want to wait, you can always click the Run DRS link on the DRS tab of your cluster.

    Sent from my Android

    --

    Mike Brown

    Virtualization Implementation Engineer

    Eyak Technologies

    Bagram Air Field

    APO, AE 09354

    Cell: 079-716-5867 (Afghanistan)

    michael.b.brown3@gmail.com<mailto:michael.b.brown3@gmail.com>

    Blog: http://VirtuallyMikeBrown.com

    Twitter: http://twitter.com/#!/VirtuallyMikeB

    LinkedIn: http://linkedin.com/in/michaelbbrown

    Message was edited by: VirtuallyMikeB