VMware Cloud Community
Ometa
Contributor
Contributor

Host is disconnected on Vcenter and refuse to connect (ESXi4)

One of the the Host (running on Hp Proliant Dl 570)  with ESXi4 is disconnected and refuse to connect to the vcenter. I was try to reboot the server. From now, I 'm able to ping the server, connect over ssg, but not over Http and Https. All attemps reconnect failed. From Vcenter, when I try to add the same Ip address, I got the error " Call Datacenter.queryconnection failed.

I need you assistance.

Thank you

Reply
0 Kudos
38 Replies
ChrisDearden
Expert
Expert

have you tried to restart the Vmware agents on the host ?

If this post has been useful , please consider awarding points. @chrisdearden http://jfvi.co.uk http://vsoup.net
Reply
0 Kudos
idle-jam
Immortal
Immortal

try restart the management agent: http://kb.vmware.com/kb/1003490

Reply
0 Kudos
Ometa
Contributor
Contributor

I was try to reboot the management agent , and It's seems done properly. But the issue is stiil pending

Reply
0 Kudos
MauroBonder
VMware Employee
VMware Employee

When I was installing vSphere 4.1 ESXi I ran into a problem. I  received the following error when I added the ESXi host to my cluster:

Call “Datacenter.QueryConnectionInfo” for object “yellow bricks” on vCenter Server “W2K8-001″ failed.

Although the error didn’t make much sense I had the feeling it had something to do with name resolution(This KB article gave a hint I guess). After I added my dns suffix on my NIC it worked. Problem solved.

- right click your network adaptor
- properties on your IP4 stack
- click advanced
- got to your DNS TAB
- add your dns suffix to “dns suffix for this connection”
more informations : http://www.yellow-bricks.com/2010/07/13/vsphere-4-1-datacenter-queryconnectioninfo-failed/
*Please, don't forget the awarding points for "helpful" and/or "correct" answers. *Por favor, não esqueça de atribuir os pontos se a resposta foi útil ou resolveu o problema.* Thank you/Obrigado
Reply
0 Kudos
Ometa
Contributor
Contributor

The DNS Suffix was already done. I have to Hosts on my Cluster and the configuration is the same on all of them.

Reply
0 Kudos
Ometa
Contributor
Contributor

Any feedback please!

Reply
0 Kudos
beckham007fifa

check for all your host names in the host file. restart the service mgmt, also check for the vpxa and hostd agent. try ping the server from your vc server subnet and check for dns names

if server is not joining by name , join by IP address...if this is also not happeneing, change the IP of the server and then give the same IP again and try adding it.....this may work

Regards, ABFS
Reply
0 Kudos
Ometa
Contributor
Contributor

I was able to change current IP, or try to add it with the hostname. Same issue, same error.

Can you tell me how to check on ESXi4 if the httpd service is running? becaues I'm able only to ping and make an ssh on the server.

Thanks

Reply
0 Kudos
beckham007fifa

ummm.....serious problem then...frn, do you have any vm on the local disk or using san? Is there is no VM in the local disk then reinstall the ESX server..

guys....please suggest..

Regards, ABFS
Reply
0 Kudos
Ometa
Contributor
Contributor

I don't have any VM client on the Host (all of them are present on the SAN). I can rebuilt a new Host but could you please share with me how to reconnect the old VM on the new host (after reinstallation).

I was send also some log the Hp Vmware Support and I waiting their feedback.

Please share more if it's possible because now it's  critical for us!

Reply
0 Kudos
beckham007fifa

anyhow those VMs are powered on other host right? if not unregister those vm's through command and then register on the hosts which is working , when you rebuild the host you can migrate it easily...

Regards, ABFS
Reply
0 Kudos
Ometa
Contributor
Contributor

Very strange

I'm not able to unregister any VM

---

~ # vim-cmd vmsvc/getallvms
Failed to login: Connection refused
~ # vim-cmd vmsvc         
Commands available under vmsvc/:
acquiremksticket          get.configoption          power.on                 
~ # vim-cmd vmsvc/unregister
Failed to login: Connection refused
~ # vim-cmd vmsvc/getallvms
Failed to login: Connection refused
~ # vim-cmd vmsvc         
Commands available under vmsvc/:
acquiremksticket          get.configoption          power.on                 
acquireticket             get.datastores            power.reboot             
connect                   get.disabledmethods       power.reset              
convert.toTemplate        get.environment           power.shutdown           
convert.toVm              get.filelayout            power.suspend            
createdummyvm             get.guest                 power.suspendResume      
destroy                   get.guestheartbeatStatus  queryftcompat            
device.connection         get.managedentitystatus   reload                   
device.connusbdev         get.networks              setscreenres             
device.disconnusbdev      get.runtime               snapshot.create          
device.diskadd            get.snapshotinfo          snapshot.dumpoption      
device.diskaddexisting    get.summary               snapshot.get             
device.diskremove         get.tasklist              snapshot.remove          
device.getdevices         getallvms                 snapshot.removeall       
device.toolsSyncSet       gethostconstraints        snapshot.revert          
device.vmiadd             login                     snapshot.setoption       
device.vmiremove          logout                    tools.cancelinstall      
devices.createnic         message                   tools.install            
get.capability            power.getstate            tools.upgrade            
get.config                power.hibernate           unregister               
get.config.cpuidmask      power.off                 upgrade                  
~ #

Reply
0 Kudos
onestop
Contributor
Contributor

From the screenshot, it seems like some http config corruption. I may be wrong.

But, Let me know the results if you already had done these.

1) From vCenter Host:  Ping and SSH works ?

2) From problem server (ESXi): Ping to vCenter and rest of the Network Devices works ?

3) Is the Netmask & default gateway on the ESXi and vCenter are same ?

    (On ESXi: esxcfg-vmknic -l, esxcfg-route -l )

Reply
0 Kudos
beckham007fifa

are they VM running?

use this to unregister

vmware-cmd -s unregister /vmfs/volumes/UUID/vmx

or if this is not happening shutdown the host.

and take putty from other working host and register the VM either using VC or this command

vmware-cmd -s register /vmfs/volumes/UUID/vmx

Regards, ABFS
Reply
0 Kudos
beckham007fifa

oops, those commands will work with ESX not sure abt 4i...

are the VM's running?

Regards, ABFS
Reply
0 Kudos
Ometa
Contributor
Contributor

1) Yes Ping and SSH on working from Vcenter

2) from critical esxi host, I'm able to ping the Vcenter (hostname and IP)

3) Yes ( the default gateway and the mask is the same)

Reply
0 Kudos
Ometa
Contributor
Contributor

Not workining on ESXi4 and note that all VM are down .

Reply
0 Kudos
onestop
Contributor
Contributor

Good. Are you able to open vSphere client directly onto the 'critical ESXi' host? If you can do, could you efford power-off one VM from there ?

Reply
0 Kudos