During a recent upgrade I found that one of the ESXi hosts just would not update using Update Manager. The error I was seeing was “Cannot run upgrade script on host”.
After a bit of searching I found this article which related to ESXi 5.1 upgrade to 5.5 but the steps worked well to fix the issue I was seeing.
In order to fix the issue I performed the following steps:
Step 1: Disable HA for the cluster
Step 2: Go to vCenter Networking. Select the distributed vswitch and then select the hosts tab. From here, right-click on the host you need to reboot and select Remove from vSphere Distributed Switch
Click Yes to remove the host from the switch.
Step 3: Remove the host from the cluster
Step 4: Enter the host into maintenance mode and then choose to reboot.
Step 5: Connect via SSH to the ESXi host and run the following commands to uninstall the FDM agent:
cp /opt/vmware/uninstallers/VMware-fdm-uninstall.sh /tmp
chmod +x /tmp/VMware-fdm-uninstall.sh
Step 6: Reboot the host
Step 7: Add the ESXi host back to the cluster
Step 8: Re-add the host to the Distributed vSwitch. Go to Networking -> select the distributed vswitch. Right-click and select Manage Hosts.
Select the host
Select vnics for Uplinks to be managed by the switch
Step 9: Turn vSphere HA back on for the cluster the host resides on.
Step 10: Run the upgrade again from Update Manager and this time it will work.
Other posts in this series:
Step 10: Upgrade vCenter Inventory Service on Primary
10.1: Select vCenter Inventory Service and click Install
10.2: Leave the default language settings and click Ok
10.3: Click Next on the initial screen
10.4: Accept the EULA and click Next
10.5: Select to keep the existing data and click next
Free Veeam Management Pack for System Center Operations Manager 2012
Veeam are currently offering a free 10-socket license of Veeam (nWorks) Management Pack for new Veeam MP users who are using System Center Operations Manager 2012. This fantastic offer allows customers to officially license and get maintenance support for up to 5 (2 socket) ESX hosts. This is a substantial offer for any small/medium sized business.
The Veeam Management Pack 10-Pack includes:
- A free 10-socket license of the Veeam Management Pack for deep VMware monitoring in System Center 2012
- One full year of maintenance and support
More information on the off can be found here. I would recommend anybody that has System Center Operations Manager 2012 in their environment to leverage the knowledge base already collected for System Center Operations Manager to monitor their VMware environment efficiently and effectively.
Veeam Management Pack provides built-in intelligence to increase productivity and reduce the learning curve for front-line operations staff. It also delivers instant value with hundreds of out-of-the-box rules, monitors, topology diagrams and reports on VMware performance and events while lowering administration and deployment overhead through centralized management and configuration. The management pack includes enterprise-class features such as high-availability, load balancing and a distributed, scalable architecture. Veeam Management Pack leverages native vSphere APIs to gather its data.