VMware Cloud Community
bshubinsky
Hot Shot
Hot Shot
Jump to solution

Host randomly disconnecting and reconnecting itself

Seems that I've stumbled upon a weird problem. Randomly throughout the day our two hosts are disconnecting and reconnecting themselves. The period between the disconnect and reconnect are about 1-2 seconds in length and are not actually interfering with the VMs. I can't seem to pinpoint why this is happening. We are running ESXi 4.1.

I've attached some screenshots. Any help would be much appreciated.

Reply
0 Kudos
1 Solution

Accepted Solutions
Xeonel
Enthusiast
Enthusiast
Jump to solution

From your statement in your quick edit above I'd say your hosts are not properly configured in DNS.

If you can only ping them via IP from other machines and not by using their FQDN hostnames, then you need to double check that your hosts have proper forward and reverse entries in DNS.

View solution in original post

Reply
0 Kudos
10 Replies
Troy_Clavell
Immortal
Immortal
Jump to solution

have you tried to add the ESXi Host(s) in question into your vCenter inventory as FQDN instead of IP? Also, ensure you have proper name resolution setup between vCenter, your ESXi Hosts and vice versa.

bshubinsky
Hot Shot
Hot Shot
Jump to solution

I have made sure that name resolution is set up properly. I'll try adding them with their FQDN and see if that fixes the problem.

Reply
0 Kudos
Dave_Mishchenko
Immortal
Immortal
Jump to solution

Do you get a disconnect if you're directly connected to the host with the vSphere client? Anything in the logs on the host?




Dave

VMware Communities User Moderator

Now available - vSphere Quick Start Guide

Do you have a system or PCI card working with VMDirectPath? Submit your specs to the Unofficial VMDirectPath HCL.

Reply
0 Kudos
bshubinsky
Hot Shot
Hot Shot
Jump to solution

I tried adding the host by FQDN but it wouldn't let me. Would this be the cause? I don't see why I wouldn't be able to talk to the machine using the FQDN but with the IP it's perfectly fine in our current setup.

Quick edit: I logged in via SSH into the hosts and verified that I could ping other items on our domain via the FQDN, including the vCenter server and the DNS servers. I'm able to ping the hosts via IP but not FQDN from the outside. I'm obviously missing something, what could it be?

Reply
0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

I tried adding the host by FQDN but it wouldn't let me.

Can you elaborate on this? Error message? You are sure name resolution is working? You use DNS or how is name resolution setup in your environment? Can you connect directly to the ESXi Host using FQDN?

Reply
0 Kudos
bshubinsky
Hot Shot
Hot Shot
Jump to solution

Figured out why. Needed to manually add the name record to DNS. I can access it via FQDN now. Gonna make the change later and see if it fixes the problem.

Reply
0 Kudos
Xeonel
Enthusiast
Enthusiast
Jump to solution

From your statement in your quick edit above I'd say your hosts are not properly configured in DNS.

If you can only ping them via IP from other machines and not by using their FQDN hostnames, then you need to double check that your hosts have proper forward and reverse entries in DNS.

Reply
0 Kudos
MattG
Expert
Expert
Jump to solution

Is vCenter at 4.1 as well? The disconnecting hosts issue happens with ESX 4.1 hosts connecting to 4.0 vCenter.

-MattG

If you find this information useful, please award points for "correct" or "helpful".

-MattG If you find this information useful, please award points for "correct" or "helpful".
Reply
0 Kudos
f10
Expert
Expert
Jump to solution

If you have a small environment then you may edit the /etc/hosts file in the ESX server, see http://kb.vmware.com/kb/1003735 for more information.

If the issue persists it would be nice to see the /var/log/vmware/hostd.log to check the sequence of events during that time.

If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".

f10

VCP3,VCP4,HP UX CSA

Regards, Arun Pandey VCP 3,4,5 | VCAP-DCA | NCDA | HPUX-CSA | http://highoncloud.blogspot.in/ If you found this or other information useful, please consider awarding points for "Correct" or "Helpful".
bshubinsky
Hot Shot
Hot Shot
Jump to solution

Yes vCenter is at 4.1

Reply
0 Kudos