Issue:
Esxi host not responding. hostd and vpxa both running. Restarting both via SSH doesn't make a difference.
sfcbd-watchdog running, too.
Issue commands through esxcli reports "Connect to localhost failed: Connection failure".
Workaround . . .
Shutdown VMs if Possible:
1. Login via SSH to ESXi host.
$ ssh root@myserver.domain.com
<enter pwd>
If connection is refused, use the console of the ILO to enable SSH and Shell on the host. Then repeat the SSH command.
2. Shutdown VMs with localcli client:
# localcli vm process list
3. For each VM, shut down the VM using it's "world id".
# localcli vm process kill -w 123456789 -t soft
(soft will try to do a soft shutdown rather than power off)
Note:
If the hostd service is completely offline the VM may not shutdown. Move on to the Management Agents Restart section below, or the reboot step immediately below and let the VM crash.
4. Issue reboot command to restart host.
# reboot
How to Try Restarting the hostd and vpxa Agents - Management Agents Restart:
Example Error Message:
503 Service Unavailable (Failed to connect to endpoint: [N7Vmacore4Http16LocalServiceSpecE:0x000000abc1ab2a00] _serverNamespace = / action = Allow _port = 8309)
If the management agents appear hung, perform the following either by rack/host console, or by SSH/CLI.
By Host (server Console:
ESXi: On the host, click the Customize System <F2> option. Login, choose System Customization, choose Troubleshooting Options, choose Restart Management Agents option.
(Be careful not to click "Reset to Factory Defaults". That is right below this option.)
To restart both the host daemon, and the management agents via SSH Terminal:
# /etc/init.d/hostd restart
and then
# /etc/init.d/vpxa restart
To gather a support bundle:
# ssh root@myserver.domain.com
<enter pwd>
# cd /tmp
# vm-support
. . .
Look for the last line with the location.
e.g.
"To see the files collected, check '/vmfs/volumes/5abcdabc-1abcdefg-1234-c1234568790123a/esx-myserver-2021-01-21--12.34-3000739.tgz"
keywords:
vSphere, esxi, reboot, restart, services, 503 unavaible
previous page
|