VMware Cloud Community
carwyn
Contributor
Contributor
Jump to solution

HA Error ‘An error occurred during configuration of the HA Agent on the host’ & "Host name lookup failure" on ESX host

I had to reboot one of the two ESX 3.0.2 server that I have here.

Now the I get a HA Error ‘An error occurred during configuration of the HA Agent on the host' when try to reconfigure HA.

I also notice that within the console of the same host if type "hostname -a" I get "Host name lookup failure"

I appear to still be able migrate VMs but clearly something is wrong somewhere, is there DNS config file I can check, I have allready check ed the hosts file and I can ping everything using both long DNS name and short hostname.

Or maybe there is dns service I can restart?

Thanks

Reply
0 Kudos
25 Replies
Troy_Clavell
Immortal
Immortal
Jump to solution

cat /etc/sysconfig/network

What does it say for Hostname=

Reply
0 Kudos
carwyn
Contributor
Contributor
Jump to solution

NETWORKING=yes

GATEWAYDEV=vswif0

HOSTNAME=mcsesx2.mcs.local

GATEWAY=172.16.1.2

looks ok to me

Reply
0 Kudos
carwyn
Contributor
Contributor
Jump to solution

Just noticed this error re mutliple hostnames

Reply
0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

nowhere, on any of your hosts is there both uppercase and lowercase naming conventions? it should all be lowercase.

What if you just type hostname?

There has to be some name resolution issues somewhere.

I think we went through all the steps here, but you may want to review this KB as well

http://kb.vmware.com/kb/1001596

Reply
0 Kudos
carwyn
Contributor
Contributor
Jump to solution

all sorted now thanks a lot for your help. I removed the line mcsesx2 127.0.0.1 from both esx servers, rebooted,.HA and hostname -a was working again but no LUNs, so put the console ip back in and rescanned and then the LUNs came back so I guess I need that console IP. Anyway not sure what fixed it but I'm sure you've helped.

Reply
0 Kudos
Cruicer
Enthusiast
Enthusiast
Jump to solution

To confirm DNS is not the issue...your Virtual Center server ping the host you are having issues with by IP, FQDN, short name I.E.

Ping xxx.xxx.xxx.xxx <-- Ip addres of your host

Ping hostservername

ping hostservername.domainname.com

if any of these fail you have a DNS issue someplace. ensure the hosts are in the Virtual Center's host file and ensure the Virtural Center server is in the ESX hosts file. Again following the IPaddress, short name, FQDN (Long name)

Reply
0 Kudos