How To Restart Management Agents On ESX Or ESXi Host

Contents

To restart the management agents on ESXi 6.x, 6.5, 6.7, 7.0

Log in to SSH or Local console as root.
Run these commands:

/etc/init.d/hostd restart
/etc/init.d/vpxa restart

Or also (alternative way)
To reset the management network on a specific VMkernel interface, by default vmk0, 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 on vmk0, change the above command according to the VMkernel interface used.

To restart all management agents on the host, run the command:

services.sh restart

How to restart the Management agents on ESXi Server – via the console:

1.) Connect to the console of your ESX Server and press F2
2.) Login as root and when using the Up/Down arrows navigate to Restart Management Agents.
3.) Press Enter and press F11 to restart the services.
4.) When the service has been restarted, press Enter. Then you can press Esc to logout of the system.

Then you should see a screen like this one :

To restart the management agents on ESXi 4.x and 5.x:

From Local Console or SSH:

  1. Log in to SSH or Local console as root.
  2. Run this command:

/sbin/services.sh restart

To restart the management agents on ESX Server 3.x, ESX 4.x:

1.) Login to your ESX Server as root from SSH session (via putty for example) or directly from the console.
2.) Type service mgmt-vmware restart and press Enter

3.) Type service vmware-vpxa restart and press Enter.
4.) Type logout and press Enter to disconnect from the ESX Server.

Source Internet

Phương Nguyễn

CÓ THỂ BẠN QUAN TÂM

Được đóng lại, nhưng trackback và pingback được mở.