ESXi Hosts disconnected from vCenter Linux Appliance

Posted on 2014-10-22
Last Modified: 2014-10-22
Running the VMware Linux appliance on 1 of 3 ESXi 5.1 hosts.  All 3 ESXi host are shown as disconnected and I cannot reconnect them.  

Right-clicking the host and choosing 'Connect' first gives me a "Authenticity of the host's SSL certificate is not verified" warning.  After closing that dialog box, I get to the "Specify Connection Settings" where I enter the ESXi hostname (pre-populated) and the username/password.  I receive a popup stating "Unable to verify the authenticity of the specified host.  I choose "Yes" to continue.I then receive the following error:

"Cannot contact the specified host. The host may not be available on the network, a network configuration problem may exist or the management services on this host many not be responding."

I get the same error trying to connect to each of the 3 ESXi servers.  Also noteworthy is that if I SSH into the vCenter Linux appliance and run a ping test, I get dropped pings.  "IFCONFIG" shows a lot of dropped packets.  If I SSH directly into the ESXi host where the vCenter Linux appliance is running and do a ping test, there is no packet loss.

From the CLI of the vCenter Linux Appliance I can successfully ping the ESXi hosts via the FQDN, but there is packet loss.

Any ideas on how to get the ESXi hosts reconnected?  The vCenter Linux appliance gets it's IP address from DHCP so that would have to be taken into account if a reboot of the VM is suggested.  I cannot do anything that would interrupt the running VMs on any of the hosts.

Thanks in advance for your ideas/assistance!
Question by:CipherUser
  • 4
  • 2
  • 2
LVL 118
ID: 40396972
If you are having network issues, between vCenter Server and Host ESXi server, I would investigate and look at your networking?

Also you are using vCenter Server 5.1 and above for your ESXi 5.1 servers ?
LVL 28

Expert Comment

ID: 40397631
I ran into this when I had a name collision between some existing ESXi hosts and new hosts that were being deployed.

Check to see if you have an IP address conflict on the management IPs of your ESXi hosts.

Also, check if there's an IP address conflict with the vCenter server somewhere.

None of this should affect the guests; vCenter is only used for managing the ESXi hosts.  You can also restart the management agents on the hosts without affecting the guests.

Author Comment

ID: 40397768
I think I found the problem.  The vCenter Linux appliance has a DHCP assigned DNS server that is handing out bogus information.  Is there a way to manually change the DNS server being used? Maybe via SSH?  If not, I can try a reboot of the linux vCenter appliance.  Will this affect any running VMs? I don't think it should but wanted to double-check.

LVL 28

Expert Comment

ID: 40397816
You can reboot and change network settings of your vCenter at will with no effect on guests.  

In my opinion, your two best choices are either a static IP or fixing the DHCP issue.  If the DHCP issues a different DNS server from what you want to use, just set a static IP on the vCenter.
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

LVL 28

Accepted Solution

asavener earned 500 total points
ID: 40397838
I just checked, and I can SSH to my vCenter appliance.

Looks like you would edit the /etc/resolv.conf file.

A quick check shows that the vi and vim editors are on the image, but nano is not.  Are you familiar with these editors?

command to edit the file:  vi /etc/resolv.conf

type i to insert
enter lines similar to:
nameserver w.x.y.z
nameserver l.m.n.o

Hit escape when you're done editing.  Then type colon w q (":wq") and hit enter.  (Colon for commands, w for write, q for quit.)

You will need to either restart the network or reboot for the change to be effective.  I would suggest a reboot, unless you're familiar with Linux.  (Just type "reboot" at the command line.)
LVL 118
ID: 40397840
Your best attack, would be to check your DNS server, and fix it!

otherwise DNS information will be replicated between DNS servers, and causing issues elsewhere!

As I said, VMware vSphere is only as good as your networking, if your networking e.g. DHCP, DNS, WINS, is incorrect, you will have a world off issues.
LVL 28

Expert Comment

ID: 40397853
Alternately, you can edit the /etc/hosts file just like you would the hosts file for Windows.

Author Comment

ID: 40397898
The DNS and DHCP servers are handled by another group.  I have no access to getting those changes made.  Editing the resolv.conf file fixed the problem immediately with no restart of any services needed.  Granted it's a bit of a workaround, but it fixed my problem.


Featured Post

Network it in WD Red

There's an industry-leading WD Red drive for every compatible NAS system to help fulfill your data storage needs. With drives up to 8TB, WD Red offers a wide array of solutions for customers looking to build the biggest, best-performing NAS storage solution.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Vcenter 6. Share datastore files across two esxi hosts 12 67
vmware 5 59
Vsphere Replication on Evaluation vpshere mode 4 70
Move VM from site to another site? 7 56
Will try to explain how to use the VMware feature TAGs in the VMs and create Veeam Backup Jobs using TAGs. Since this article is too long, I will create second article for the Veeam tasks.
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now