VMware Cloud Community
JoCaBa
Contributor
Contributor

Problems adding a host to VCenter

I have a very small setup - just one vCenter Server and three ESXI hosts.

It's a brand-new installation of vCenter Server 5.5, and I've successfully added two of the hosts (both ESXi 5.1)

The other host, however, is refusing to be added!

Originally it was on ESXi 5.0, but when that failed to add, we upgraded it to ESXi 5.5 - but that's made no difference!

The message we get is:

Untitled.png

The host is working absolutely as expected, and can be accessed through vSphere client in the usual way - I just can't add it into vSphere Web Client

Any help much appreciated

John

Reply
0 Kudos
11 Replies
Borja_Mari
Virtuoso
Virtuoso

Hello,

take a look to this vmware's kb:

VMware KB: Adding an ESX host to the vCenter Server inventory fails with the error: vmodl.fault.Host...

Maybe it can be helpful.

Best regards,

Pablo

------------------------------------------------------------------------------------------------- PLEASE CONSIDER AWARDING any HELPFUL or CORRECT reply. Thanks!! Por favor CONSIDERA PREMIAR cualquier respuesta ÚTIL o CORRECTA . ¡¡Muchas gracias!! VCP3, VCP4, VCP5-DCV (VCP550), vExpert 2010, 2014 BLOG: http://communities.vmware.com/blogs/VirtuallyAnITNoob
Reply
0 Kudos
vuzzini
Enthusiast
Enthusiast

Hello JoCaBa,

Could you please check whether the name resolution of the affected ESXi host is properly configured. Try to do nslookup <affected ESXi host ip> and check whether the DNS name is properly reflected. Ensure that the hostname is added under /etc/hosts file of ESXi host.

Also if possible, please post the hostd.log and vpxa.log.

If you found this or any other answer useful please consider the use of the Helpful or Correct buttons to award points. Sandeep Vuzzini Sr. DevOps Engineer
Reply
0 Kudos
JoCaBa
Contributor
Contributor

Thanks, Pablo - I've tried everything on there, but it hasn't helped, I'm afraid.

PS I've been trying to add the host using its IP address, so DNS shouldn't really come into it. However, I've now tried using its fully qualified name and its short name, and it still fails.

John

Reply
0 Kudos
JoCaBa
Contributor
Contributor

Hi Sandeep

I've attached hostd.log and vpxa.log from the host I'm trying to connect to. I've cut them down to cover the period when I was trying to do the connection

Reply
0 Kudos
raog
Expert
Expert

There was another thread on this. you might try the solution posted there:

Re: A general system error occurred: internal error: vmodl.fault.HostCommunication

1. Select the ESX in vCenter

2. Click on the "Configuration" tab and select "System Resource Allocation"

3. Under "System Resource Pools", select "host", then "vim", then "Edit Settings"

4. When the "Edit vim Resource Allocaation" window opens, set the "Memory Resources" Limit to "Unlimited"

Or

Restart VC and then try adding the host again.

Regards

Girish

To Virtualization and beyond! PS::If you felt the answer as helpful, please mark it as helpful/answered so that it helps other users as well! Blog:: www.virtualtipsntricks.com
Reply
0 Kudos
JoCaBa
Contributor
Contributor

Thanks for the idea, Girish, but the problem is that I can't add the host to vCenter - so I can't change its settings.

Is there a way of changing that setting on the host itself?

Reply
0 Kudos
JoCaBa
Contributor
Contributor

Hi Girish

I've just found out how to change the setting using vSphere client.

However, the Memory Resources limit was already set to "Unlimited"

Reply
0 Kudos
raog
Expert
Expert

Yes.. connect directly to the host via the vsphere client and you can change it.

Regards

Girish

To Virtualization and beyond! PS::If you felt the answer as helpful, please mark it as helpful/answered so that it helps other users as well! Blog:: www.virtualtipsntricks.com
Reply
0 Kudos
raog
Expert
Expert

All right then... is it possible to restart VC and try?

also from your esx, is vc DNS resolution successful?

Regards

Girish

To Virtualization and beyond! PS::If you felt the answer as helpful, please mark it as helpful/answered so that it helps other users as well! Blog:: www.virtualtipsntricks.com
Reply
0 Kudos
JoCaBa
Contributor
Contributor

Both the vCenter server and the ESXi host have been rebooted at least a couple of times.

dns resolution is working both ways on both ends - though I have been trying to add using the IP address (as I did for the two successful hosts).

I have also tried adding using both short name and full name as well - with equal lack of success !

Reply
0 Kudos
Praveenmna
Enthusiast
Enthusiast

HI,

do you have below entries on your host file?

  • 127.0.0.1 localhost.localdomain localhost
  • ::1localhost.localdomain localhost

Please refer the below link which gives fair idea about this .

VMware KB: Adding a VMware ESXi/ESX host to VMware vCenter Server fails

If you found this or any other answer useful please consider the use of the Helpful or Correct buttons to award points. Praveen P Senior Support Engineer
Reply
0 Kudos