Note: In ESXi 4.x, run this command to restart thevpxaagent:
/etc/opt/init.d/vmware-vpxa restart
Alternatively:
To reset the management network on a specific VMkernel interface, by defaultvmk0, run the command:
esxcli network ip interface set -e false -i vmk0; esxcli network ip interface set -e true -i vmk0
Note: Using a semicolon (;) between the two commands ensures the VMkernel interface is disabled and then re-enabled in succession. If the management interface is not running onvmk0, change the above command according to the VMkernel interface used.
To restart all management agents on the host, run the command:
services.sh restart
Restarting the Management agents on ESX
To restart the management agents on an ESX host:
Log into your ESX host as root from either an SSH session or directly from the console.
Run this command:
service mgmt-vmware restart
Caution: Ensure Automatic Startup/Shutdown of virtual machines is disabled before running this command or you risk rebooting the virtual machines.
PressEnter.
Run this command:
service vmware-vpxa restart
PressEnter.
Typelogoutand pressEnterto disconnect from the ESX host.
If this process is successful, it appears as:
[root@server]# service mgmt-vmware restart Stopping VMware ESX Server Management services: VMware ESX Server Host Agent Watchdog [ OK ] VMware ESX Server Host Agent [ OK ] Starting VMware ESX Server Management services: VMware ESX Server Host Agent (background) [ OK ] Availability report startup (background) [ OK ] [root@server]# service vmware-vpxa restart Stopping vmware-vpxa: [ OK ] Starting vmware-vpxa: [ OK ] [root@server]#
追加情報
For more information check this link:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1003490