• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Yellow Bricks

by Duncan Epping

  • Home
  • Unexplored Territory Podcast
  • HA Deepdive
  • ESXTOP
  • Stickers/Shirts
  • Privacy Policy
  • About
  • Show Search
Hide Search

ESX 3.5 U2 and HA error

Duncan Epping · Jul 28, 2008 ·

Erik Zandboer just posted a topic on the VMTN forum about an HA error he received when he updates his machines to 3.5 U2. The error was one almost everyone has probably seen by now “could not contact primary HA agent”. This is normally solved by pressing “reconfigure for ha” or disabling and enabling HA. This wasn’t the case this time. after some research Erik discovered that the host file entry for the ESX host did not match the DNS name, one of them started with a capital while other did not. This caused HA to fail, after changing the hostname/dns name and a reboot everything worked fine again.

I can imagine this happens because of the fact that VirtualCenter is actually performing as a DNS/Hosts file for HA. Inconsistent naming has always been, and probably will always be a problem. So before upgrading, check your hostname and /etc/hosts file!

Previously, enabling VMware High Availability required DNS resolution of all ESX Server hosts in a High Availability cluster. This was done using configuring DNS records or by adding all of the host names and IP addresses to the /etc/hosts file on each server.
Starting with the ESX Server 3.5 Update2 release, DNS resolution or /etc/hosts file entries are no longer required to configure High Availability. The host name and IP address information will now be provided by the managing VirtualCenter Server. the source

Related

Server 3.5, ESX, ha, update

Reader Interactions

Comments

  1. Eric Sloof says

    28 July, 2008 at 21:15

    The list includes a small, almost unnoticed, reference to VC 2.5 U2 not be as dependent on DNS for some configurations. This is actually a big change. I just happen to speak with the Product Manager and one engineer for HA last week who provided more detail about this. They said that HA is no longer dependent on the ESX server being correctly configured for DNS. During configuration and startup, HA now uses the VC Server’s hostname/IP info instead. The reason for this change is because they have found many customers do not have correct DNS setups and it was causing a lot of service calls. They said HA still creates and uses the ft_hosts file during operation. (Steve Bradshaw)

  2. Pieter Gerritse says

    31 July, 2008 at 09:04

    Oke, thats better. To not have HA depend on an “external” (but core) source like DNS. On the other hand, people should configure DNS correct, consistent naming and numbering of anything in DNS and VC (nics, hba’s, hostnames, luns) is a must!

  3. P van Oosterom says

    6 August, 2008 at 12:56

    I had the same issue but mine was fixed by not having the vmkernel gateway for vmotion pointing to an existing ip address. Once i fixed this and re-enabled HA it worked fine

  4. Ryan says

    8 August, 2008 at 13:04

    I was having the same issue and edited my /et/hosts to include the non FQDN at the end, host rebooted and HA came up. I didn’t change anything on the VI side.

    e.g

  5. AlexM says

    12 August, 2008 at 11:12

    I found your site on technorati and read a few of your other posts. Keep up the good work. I just added your RSS feed to my Google News Reader. Looking forward to reading more from you down the road!

  6. Byron Bear says

    19 August, 2010 at 20:12

    It is the greatest post I examine as of today.Wherever did you got all of the info from? That is really useful and really education. I will stay awhile in here. Really worth reading each words!Thumbs up!free credit report

Primary Sidebar

About the Author

Duncan Epping is a Chief Technologist and Distinguished Engineering Architect at Broadcom. Besides writing on Yellow-Bricks, Duncan is the co-author of the vSAN Deep Dive and the vSphere Clustering Deep Dive book series. Duncan is also the host of the Unexplored Territory Podcast.

Follow Us

  • X
  • Spotify
  • RSS Feed
  • LinkedIn

Recommended Book(s)

Advertisements




Copyright Yellow-Bricks.com © 2025 · Log in