Infographic Update Alert! Given the popularity of last year’s “Where in the World are VCAPs?” infographic, we decided to check out how things look in 2017. Unsurprisingly, VCAPs are everywhere! It’s exciting to see our VCAP community grow and evolve each year! Which country do you represent?
The ESXi management agents can be restarted from the host’s console – which is not very convenient. Fortunately they can also be restarted remotely using the SSH & ESXi Shell services – but these are not enabled by default.
In Virtual Center select the host, then the Configuration tab. In the security section select Services and Properties in order to enable “ESXi Shell” and “SSH“. For both services perform a manuals start.
Once the SSH service is active you can SSH to the host as root and then restart the hostd and vpxa services like any standard LINUX System-V service. This may cause the host to temporarily grey out in Virtual Center; it will come back automatically in a few moments.
awilliam@linux-86wr:~> ssh firstname.lastname@example.org
The time and date of this login have been sent to the system logs.
VMware offers supported, powerful system administration tools. Please
see www.vmware.com/go/sysadmintools for details.
The ESXi Shell can be disabled by an administrative user. See the
vSphere Security documentation for more information.
~ # /etc/init.d/hostd restart
watchdog-hostd: Terminating watchdog process with PID 9034
~ # /etc/init.d/vpxa restart
watchdog-vpxa: Terminating watchdog process with PID 9336
~ # Connection to 172.31.7.126 closed.
After restarting the management agents the SSH and ESXi services should be stopped in the same manner they were started.
It would be nice if in VMware’s “powerful system administration tools” they just had a button labeled “Restart Management Agents“.