How to do it...
To update the VMM agent of a host, carry out the following steps after upgrading:
- In the Fabric workspace on the VMM console, expand Servers and then go to All Hosts. In the Hosts pane, right-click on the column header and select Agent Status.
- On the Hosts tab in the ribbon, click on Refresh.
If a host requires the VMM agent to be updated, it will display Needs Attention in the Host Status column and Upgrade Available in the Agent Version Status column.
- To update the VMM agent, select and right-click on the host, and then click on Update Agent.
- In the Update Agent dialog, type in the user credentials, and click on OK.
- The Agent Version Status column will exhibit Upgrading, which will then change to Up-to-date once the update process has completed successfully.
- On the Hosts tab in the ribbon, click on Refresh. The Host Status for the host will display OK.
- Use the same steps as the ones used before to update the VMM agent on a VMM library server. To view a list of the VMM library servers, in the Fabric workspace, expand Servers, and then click on Library Servers.
You can use PowerShell to quickly update agents on all managed computers including library servers:
Get-SCVMMManagedComputer | foreach { Update-SCVMMManagedComputer -VMMManagedComputer $_ -Credential (Get-Credential) -RunAsynchronously }
Get-SCVMMManagedComputer | foreach { Update-SCVMMManagedComputer -VMMManagedComputer $_ -Credential (Get-Credential) -RunAsynchronously }