Solved

ESXi Hosts disconnected from vCenter Linux Appliance

Posted on 2014-10-22
8
1,911 Views
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!
0
Comment
Question by:CipherUser
  • 4
  • 2
  • 2
8 Comments
 
LVL 117
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 ?
0
 
LVL 28

Expert Comment

by:asavener
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.
0
 

Author Comment

by:CipherUser
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.

Thanks!
0
 
LVL 28

Expert Comment

by:asavener
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.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 28

Accepted Solution

by:
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.)
0
 
LVL 117
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.
0
 
LVL 28

Expert Comment

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

Author Comment

by:CipherUser
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.

Thanks!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:

757 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

22 Experts available now in Live!

Get 1:1 Help Now