Raj2796's Blog

December 15, 2010

Configuring VMware High Availability fails with the error: Cannot complete the configuration of the HA agent on the host

Filed under: ha,vmware — raj2796 @ 4:40 pm

Symptoms
Configuring VMware High Availability (HA) fails
The vSphere Client may show one service console, however running the esxcfg-vswif -l command while logged into the ESX service console, reveals additional service consoles
You see the messages:
Cannot complete the configuration of the HA agent on the host. See the task details for additional information.
Misconfiguration in the host network setup
Resolution
This issue occurs if all the hosts in the cluster do not share the same service console or management network configurations. Some hosts may have service consoles using a different name or may have more service consoles than other hosts.

Address the network configuration differences between the hosts if you are going to use the Shut Down or Power Off isolation responses because these options trigger a VMware HA isolation in the event of Service Console or Management Network failures.

If you are using the Leave VM Powered on isolation response, the option to ignore these messages is available in VMware VirtualCenter 2.5 Update 3.

To configure VirtualCenter to ignore these messages, set the advanced option das.bypassNetCompatCheck to true:

Note: When using the das.bypassNetCompatCheck option, the heartbeat mechanism during configuration used in VirtualCenter 2.5 only pairs symmetric IP addresses within subnets across nodes. For example, in a two node cluster, if host A has vSwif0 “Service Console” 10.10.1.x 255.255.255.0 and vSwif1 “Service Console 2” 10.10.5.x and host B has vSwif0 “Service Console” 10.10.2.x 255.255.255.0 and vSwif1 “Service Console 2” 10.10.5.x, the heartbeats only happen on vSwif1. Starting in vCenter Server 4.0, they can be paired across subnets if pings are allowed across the subnets. However, VMware recommends having them within subnets.
Right-click the cluster, then click Edit Settings.
Deselect Turn on VMware HA.
Wait for all the hosts in the cluster to unconfigure HA.
Right-click the cluster, and choose Edit Settings.
Select Turn on Vmware HA, then select VMware HA from the left pane.
Select Advanced options.
Add the option das.bypassNetCompatCheck with the value True.
Click OK on the Advanced Options screen, then click OK again to accept the cluster setting changes.
Wait for all the ESX hosts in the cluster to reconfigure for HA.

From http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1019200

Advertisements

1 Comment »

  1. 
    En ocasiones uno se topa con contenidos como este: Configuring VMware High Availability fails with the error: Cannot complete the configuration of the
    HA agent on the host . Te agradezco por publicarlo. No obstante, tengo la sensación que la noticia podría
    estar un tanto más precisa, sin importar que el artículo se explaye más.
    Mi pobre parecer.

    Comment by flotillas lovers — July 1, 2016 @ 2:18 am | Reply


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: