Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

VMWare VSphere ESXi and Virtual Center

Posted on 2010-09-08
11
Medium Priority
?
6,298 Views
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 4.0.0.10021.  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 :)
0
Comment
Question by:rslan
11 Comments
 
LVL 42

Expert Comment

by:Paul Solovyovsky
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.
0
 
LVL 1

Author Comment

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

Accepted Solution

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

Refer to this compatibility matrix
http://www.vmware.com/pdf/vsphere4/r40/vsp_compatibility_matrix.pdf

vCenter 4.0 doesn't support ESXi 4.1.

You will need 64bits windows to run vCenter 4.1
0
Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

 
LVL 28

Expert Comment

by:bgoering
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
0
 
LVL 1

Author Comment

by:rslan
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.  
0
 
LVL 4

Assisted Solution

by:VMwareGuy
VMwareGuy earned 1000 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)...      
0
 
LVL 3

Assisted Solution

by:michelkeus
michelkeus earned 500 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).
0
 
LVL 4

Assisted Solution

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

Author Comment

by:rslan
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.  
0
 
LVL 4

Expert Comment

by:VMwareGuy
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.  
0
 
LVL 1

Author Comment

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

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

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…
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
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:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

876 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