vCenter

 View Only
Expand all | Collapse all

Problems adding a host to VCenter

  • 1.  Problems adding a host to VCenter

    Posted Oct 08, 2014 12:49 PM

    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:

    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



  • 2.  RE: Problems adding a host to VCenter

    Posted Oct 08, 2014 01:59 PM

    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.HostCommunication

    Maybe it can be helpful.

    Best regards,

    Pablo



  • 3.  RE: Problems adding a host to VCenter

    Posted Oct 08, 2014 02:46 PM

    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



  • 4.  RE: Problems adding a host to VCenter

    Posted Oct 08, 2014 02:33 PM

    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.



  • 5.  RE: Problems adding a host to VCenter

    Posted Oct 09, 2014 10:26 AM

    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



  • 6.  RE: Problems adding a host to VCenter

    Posted Oct 09, 2014 12:09 PM

    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



  • 7.  RE: Problems adding a host to VCenter

    Posted Oct 09, 2014 12:14 PM

    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?



  • 8.  RE: Problems adding a host to VCenter

    Posted Oct 09, 2014 12:24 PM

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

    Regards

    Girish



  • 9.  RE: Problems adding a host to VCenter

    Posted Oct 09, 2014 12:23 PM

    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"



  • 10.  RE: Problems adding a host to VCenter

    Posted Oct 09, 2014 12:26 PM

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

    also from your esx, is vc DNS resolution successful?

    Regards

    Girish



  • 11.  RE: Problems adding a host to VCenter

    Posted Oct 09, 2014 12:31 PM

    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 !



  • 12.  RE: Problems adding a host to VCenter

    Posted Oct 10, 2014 11:49 AM

    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