VMWare VSphere ESXi and Virtual Center

Posted on 2010-09-08
Last Modified: 2012-06-21
Issue with Virtual Center adding a VMWare ESXi host

I currently have a single VMWare VSphere ESXi host, version (and build) number 4.1.0, 260247.  This host has a 4 port Ethernet NIC, with one port connected, and a fiber channel HBA to attach to our shared storage.  The host is being utilized for a demo of VMWare View, and won’t be needed for HA, DRS, etc.

I have 2 virtual machines, both Windows server 2003 on the host.  Both are patched and part of a production AD domain and tree.  On one virtual machine, I have installed Virtual Center, and I am utilizing the version of SQL included since our demo will be fairly small scale. The Virtual Center version is  So, the virtual center server is running as a virtual machine (which I have done before without issue)

The problems center around adding the VMWare host to Virtual Center.  I can add the host successfully.  However, after about a minute, the host goes into a disconnected state.  I can reconnect, and sometimes the reconnect will work, other times, I have to walk through the process of specifying the IP address, root account and password, etc.  And, other times, I have to completely remove the host from Virtual Center, and re-add.  But, the bottom line is once I add the host, it goes into a disconnected state within 2-3 minutes.
The error I receive the majority of the time is:  A general system error occurred:  Internal error: vmodl.fault.hostcommunication.

To troubleshoot, I’ve done the following so far:
1.      Verify I can successfully access the host directly with the VSphere client from several different desktops as well as the virtual center machine.  When doing this, I never lose connectivity with the VMWare host.
2.      Run extended pings.  No packets are lost
3.      Verify no firewalls turned on or between my location and the vmware server
4.      Successfully telnet to port 902 (or whatever the default port is; I can’t recall if it’s 902, 903, etc).  But, whatever it is, when I look it up, I am able to successfully telnet to it.
5.      The VMWare ESXi server is not in any DNS tables, nor are the 2 windows virtual servers.  So, I’ve modified the hosts file on each of them with the appropriate settings.  I can ping to all by name, including just the name as well as the FQDN.  
6.      The 2 virtual machines were not in the AD domain, so I requested one of the AD administrators add these in.  He did, and in the process changed the names of the servers.  So, I updated the hosts file.
7.      In addition to the name change and updating the hosts file, I completely removed virtual center from the VM it was on, including the SQL portion. Basically, my aim was to remove any possible references to the previous VM’s names.  Then, I reinstalled both and attempted to add the ESXi host back in.  Still the same results.
8.      Utilized the SSH and restarted the services on the ESXi host several times.  
9.      When examining the virtual center system logs closer, I observed several SSL certificate errors, including host name could not be verified, etc.  (Unfortunately, I left the exact errors at work; I will post them when I return to work).  This led me to believe I may have a corrupted SSL certificate either on the virtual center or ESXi host, or both.  So, I used openssl to generate a new ssl certificate and imported it.  After doing that, I now get the error: authenticity of hosts ssl certificate is not verified

I can’t get the host to go into Virtual Center now.  So, it comes down to those 2 errors, and the above are the steps I’ve taken so far.  The original error, A general system error occurred:  Internal error: vmodl.fault.hostcommunication seems to be related to the virtual machine renames and a possibly corrupt SSL certificate.  I have modified the hosts files and reinstalled virtual center, so the host renames should be out of the picture.  However, my attempt to generate a new SSL certificate seems to have made things worse.  At this point, I’m not really sure which way to go.  

I’d appreciate any suggestions, etc so I can get back on track with this.  It’s quite frustrating to spend a day and a half on something that usually only takes me a minute or two (literally).  Hopefully, at least I’ll learn something interesting from all this :)
Question by:rslan
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
LVL 42

Expert Comment

ID: 33632351
Make sure your ESX host has an A record in DNS and add via FQDN.  Also ensure that vCenter is pointing to the DNS servers.

Author Comment

ID: 33632386
Hey Paulsolov,

Thanks for responding.  VCenter is pointing to the DNS servers.  However, I'm pretty sure we don't have the A record in DNS, but I do have a hosts file on the ESXi server and virtual center server so that they can resolve via FQDN or just the simple name.  I would think/hope that the hosts file would be beneficial and be a sufficient substitute for a DNS server entry.

Accepted Solution

simonseztech earned 125 total points
ID: 33632603
Since you use ESXi 4.1 please make sure you use vCenter 4.1

Refer to this compatibility matrix

vCenter 4.0 doesn't support ESXi 4.1.

You will need 64bits windows to run vCenter 4.1
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 28

Expert Comment

ID: 33632606
Check /etc/opt/vmware/vpxa/vpxa.cfg file to make sure the serverIP parameter has the correct IP address for the vCenter server, correct it if it is incorrect and restart the management agents from the DCUI

Good Luck

Author Comment

ID: 33632726
thanks all; I have a few things to go on.  Simon, I think you hit the nail on the head. I was so sure of the compatibilities that I didn't check, but the first thing I'm going to do tomorrow is reload virtual center with version 4.1 and go from there.  

Assisted Solution

VMwareGuy earned 250 total points
ID: 33636310
You need to be at the same versions.  Period.  Simonsectech is the first to offer up the correct answer, but since I'm re-affirming it, please don't hesitate to offer me assisted solution.   Take it from a dual certified VCP (VCP in both esx 3.5 and vSPhere)...      

Assisted Solution

michelkeus earned 125 total points
ID: 33637647
I need to make a small correction to VMwareGuy's remark. You don't need to have the same versions, just a higher version of vCenter then ESX/ESXi. You can add a ESX/ESXi 3.5 or 4.0 just fine to a vCenter 4.1 (3.5 does require a seperate License Server which can also be installed on an existing vCenter 4.1).

But yes as said because you are running 4.1 you need either an vCenter 4.1 or if you can get your hands on it a Codename MN-based vCenter (version > 4.1).

Assisted Solution

VMwareGuy earned 250 total points
ID: 33637769
Michelkeus is correct.  You can have older versions of ESX managed by vCenter, just not vice versa.. Thanks Mich...

Author Comment

ID: 33637826
ok all, thanks so much for your inputs.  It does look like I lost control of the wheel with those versions, and I appreciate everyone jumping in there and directing me.

I'm not onsite right now, but will be later today and will immediately install the newer version of VCenter.  Assuming that works, I will award points and include assisted solutions to give credit for everyone.  

Thanks again, and I'll update later today or tomorrow.  

Expert Comment

ID: 33637843
VMware has these strange version #s and they make it difficult to track them.. they need to get a handle on it and put up a website that translates the build #s to the versions.  

Author Comment

ID: 33637942
I agree with that VMWareGuy.  Of course, in all honesty, my mistake was just rushing to get started with the project.  The old saying my Mom and Dad always told me was "haste makes waste" and in this case they're correct.  

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

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.
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to configure vSphere Replication and how to protect and recover VMs Open vSphere Web Client: Verify vsphere Replication is enabled: Enable vSphere Replication for a virtual machine: Verify replicated VM is created: Recover replica…
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…

696 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