VMware Cloud Community
maiconlp
Contributor
Contributor

Restart management agents

I have a clutster with two hosts and one I can't to access it by Vsphere client. I don't know what have happened but the second hosts go out of the cluster and I can't add it again. I'm able run ping to it.

I have found some tips how to restart the "management agents" as follow.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=100349...

my problem is when I restarted the "management agents" it stuck! and doesn't restart.

so I wonder if there is a command line that I can restart the service "management agents" ?

my currently Vsphere is ESXI 5.0

any tip is welcome.

12 Replies
vmroyale
Immortal
Immortal

The command from the ESXi Shell is:

./sbin/services.sh restart
Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
maiconlp
Contributor
Contributor

Thank you.

do you know what are the services that stop ? for exemplo, the Virtual machines that are on the host stop ?

Reply
0 Kudos
vmroyale
Immortal
Immortal

All management services, including:

hostd, ntpd, sfcbd, slpd, wsman, vodb

Your virtual machines will not be stopped as part of this process.

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
maiconlp
Contributor
Contributor

unsuccess. after I run the ./sbin/services.sh restart

it stuck in "Running usbarbitrator restart"  nothing happen.

I would like solve without need reboot the host. maybe kill the process.....but I dont't know how to.

Reply
0 Kudos
vmroyale
Immortal
Immortal

http://kb.vmware.com/kb/105566 might help with that.

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
Reply
0 Kudos
maiconlp
Contributor
Contributor

thanks. I wonder what have happened on the host to it stopped the "management agets" ?

Reply
0 Kudos
maiconlp
Contributor
Contributor

Hello people, any tip about this issue ?

I have tried restart the "management agents" by console but unsuccess it have stuck..... I wouldn't want but I think I have restart that host.

if there were any way to come up the "management agents" services it's would be good!

Reply
0 Kudos
maiconlp
Contributor
Contributor

just acknowledge....I've restarted to come up the management agents services. now all it's working!

Reply
0 Kudos
virgoanshul
Contributor
Contributor

i'm using esx5.1 and executed the "/sbin # services.sh restart" and worked without any problems.

Thank you!!

Reply
0 Kudos
condom
Contributor
Contributor

I found this to just start OMSA

/etc/init.d/wsman restart

Reply
0 Kudos
marcio_passos
Contributor
Contributor

When usbarbitrator hangs:

# chkconfig usbarbitrator off

# /sbin/services.sh restart

After complete restart script then enable usbarbitrator

# chkconfig usbarbitrator on

Using sequence above could regain manages Host (wih ESXi 5.0.5 build-821926)

sureshsiwach
Contributor
Contributor

hi,

It's worked for me..

Thanks

Suresh Siwach

Thanks Suresh Siwach If you found this answer useful then mark it as correct and helpful.
Reply
0 Kudos