Hi,
I have a file locked and need to know if there is a difference?
Will either of these bring down the running VMs on the host?
Thanks,
J
ESXi Management agent can be restarted in couple of ways
DUCI
Connect to ESXi Host
Press F2 , provide the credentials ( Login using root)
Go to Trouble shooting , Navigate to Restart ,Management Agents
Local Console or ssh
Method 1 : No Down time to VMs
/sbin/services.sh restart
will restart all the management agents, hostd, ntpd, sfcbd, slpd, wsman, vodb
Method 2 :
Run following commands,
/etc/init.d/hostd restart
/etc/init.d/vpxa restart
Method 3 :
service mgmt-vmware restart
service vmware-vpxa rest
If Automatic Startup/shutdown is enabled on VMs , virtual machine may restart.
little addition: You can also use the dcui via ssh.
Just enter dcui in your ssh session. Then you can restart the management agents like on the local console.
To quit hit Ctrl+C
Running VMs won't be affected
Regards