ymptoms
- Cannot connect directly to the ESXi host or manage under vCenter server.
- vCenter Server displays the error:
Virtual machine creation may fail because agent is unable to retrieve VM creation options from the host
Purpose
For troubleshooting ESXi connectivity issue, restart the management agents on your ESXi host.
Warning: If LACP is configured on the VSAN network, do not restart management agents on ESXi hosts running Virtual SAN.
- Restarting the management agents may impact any tasks that are running on the ESXi host at the time of the restart.
- Check for any storage issues before restarting the Host deamon hostd service or services.sh
Resolution
Restart Management agents in ESXi Using Direct Console User Interface (DCUI):
Restart Management agents in ESXi Using ESXi Shell or Secure Shell (SSH):
- Connect to the console of your ESXi host.
- Press F2 to customize the system.
- Log in as root.
- Use the Up/Down arrows to navigate to Troubleshooting Options > Restart Management Agents.
- Press Enter.
- Press F11 to restart the services.
- When the service restarts, press Enter.
- Press Esc to log out.
Restart Management agents in ESXi Using ESXi Shell or Secure Shell (SSH):
- Log in to ESXi Shell or SSH as root.
For Enabling ESXi Shell or SSH, see Using ESXi Shell in ESXi 5.x and 6.x (2004746).
- Restart the ESXi host daemon and vCenter Agent services using these commands:
/etc/init.d/hostd restart
/etc/init.d/vpxa restart
Caution:
- If LACP is enabled and configured, do not restart management services using services.sh command. Instead restart independent services using the /etc/init.d/module restart command.
- If the issue is not resolved, and you are restarting all the services that are a part of the services.sh script, take a downtime before proceeding to the script.
No comments:
Post a Comment
Thanks for showing interest in tech-jockey.