Solved

ESXi Hosts disconnected from vCenter Linux Appliance

Posted on 2014-10-22
8
2,205 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
  • 2
8 Comments
 
LVL 120
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
Don't miss ATEN at NAB Show April 24-27!

Visit ATEN at NAB Show to learn how our "Seamlessly Entertaining" solutions deliver fast, precise video streaming without delays for the broadcasting and media environment. ATEN will showcase its 16x16 Modular Matrix Switch (VM1600) and KVM Over IP Solution (KE6900 series).

 
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
 
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 120
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

730 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