Sunday, March 9, 2014

No CPU and memory usage data from host available in vCenter

Sometimes the cpu and memory usage of individual ESXi 5.x hosts will not be available in the vCenter. In order to correct this you will need to restart the management agents on the ESXi server(s).

There are two ways to restart the agents:

1. From the Direct Console User Interface (DCUI):

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 Restart Management Agents.

Note: In ESXi 4.1 and ESXi 5.0, 5.1 and 5.5, this option is available under Troubleshooting Options.

Press Enter.
Press F11 to restart the services.
When the service has been restarted, press Enter.
Press Esc to log out of the system.


2. From the Local Console or SSH:

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

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

3. To restart all management agents on the host from the SSH console:

servcies.sh restart