VMware Cloud Community
LeaV97
Enthusiast
Enthusiast

Host disconnect from virtual center

I have a host that went not responding yesterday. Today, I disconnected and attempted to reconnect. It couldn't reconnect.

I attempted to restart vmware-vxpa and I'm getting "vmware-vxpa: unrecognized service".

Any ideas?

0 Kudos
11 Replies
rriva
Expert
Expert

I had a similar problem some months ago.

Did you try to execute to command on a local console or with a remote connection ?

It's only disconnected from VC or even from the entire network ?

RRiva | http://about.me/riccardoriva | http://www.riccardoriva.com
0 Kudos
LeaV97
Enthusiast
Enthusiast

The server pings. I was executing the command through putty using su -. If I execute the command using /etc/init.d/vmware-vpxa stop/start the service will restart.

Even after restarting the service, attempting to connect in virtual center times out.

0 Kudos
rriva
Expert
Expert

ping works good or you have latency ?

did you change something in the networking ?

Did you've just tried a reboot ?

Can you nmap the esx server that are not responding ? Which port are open ?

RRiva | http://about.me/riccardoriva | http://www.riccardoriva.com
0 Kudos
LeaV97
Enthusiast
Enthusiast

Ping works good, no latency

Nothing has changed on my side. If something had changed on the switches there are 7 other hosts that would have been effected

There are virtual running on this server. I would prefer not rebooting

I haven't looked to see which ports are open but, there haven't been any changes to the server in the last week.

And apparently I can't type, which is why restarting vmware-vpxa wasn't working.

0 Kudos
lholling
Expert
Expert

Assuming that the server is still working and you do not want to reboot it then you could try the following command

service mgmt-vmware restart and if still fails then

Make sure that the following directory is available /tmp/vmware-root or it will never reconnect.

Leonard...

---- Don't forget if the answers help, award points
0 Kudos
LeaV97
Enthusiast
Enthusiast

/tmp/vmware-root does existing

restarting mgmt-vmware doesn't help

0 Kudos
nbasson
Contributor
Contributor

I have a problem restarting mgmt-vmware via putty as well. It tells me the command not found. I do su to root privileges... Apparently restarting the service will alllow the host to reconnect again.

0 Kudos
Dave_Mishchenko
Immortal
Immortal

Try it with su - (the hyphen will give you the paths for the root command). Without it you would need to run /sbin/service mgmt-vmware restart

0 Kudos
nbasson
Contributor
Contributor

Thanks, awesome! Works like a charm!

0 Kudos
johnswb
Enthusiast
Enthusiast

I had the same problem today and using "su -" did the trick. I was doing su in stead and was getting no where....

Will Johnson VCP on VI3 / VI4 vSphere 5
0 Kudos
hcljunior
Contributor
Contributor

I have the same problem, Vmware esx 3.5 e Vcenter 2.5 Enterprise.

I have two hosts conected to this Vcenter, 1 Ok and another one do not have conection.

I lost the conection to this host, and not reconnect, I restarted those services mgmt-vmware, vmware-vpxa, vmware-vmkauthd, xinetd and not reconnect to this host.

When try to reconnect the Host to Vcenter it ask a login to connect, and shown bad password to connect.

Someone knows this problem.

0 Kudos