I have a host (ESX 4.0) that I need to remove from one of my clusters but after putting it into maintenance mode and shutting it down the Remove option is grayed out. I found some references online that mention using the PowerCLI to manually remove the host but ran into a caveat that none of the other posts mentioned. When I ran the remove-vmhost command I got the following error: “The method is disabled by ‘com.vmware.vcintegrity'”. To get around this I had to take the disconnected host and remove it from the cluster and then run the remove-vmhost command to remove it from vSphere. I imagine that this is related to capacity issues on our old cluster but we are trying to move our blades and accompanying guests to a new cluster so HA and DRS is not high on the priority list.
First, download and install the vCLI tools from vmware.com on your desktop.
Second, download the CIM Providers from HP.com
Third, Place host in Maintenance Mode and then scan the ESXi host for the Bulletin ID to be installed
c:Program Files (x86)VMwareVMware vSphere CLIbin>vihostupdate.pl -server -username root – scan – bundle
should return a name like
hpq-esxi4.1uX-bundle-1.0 (note: this is case sensitive)
Fourth, install the bulletin
c:program files (x86)VMwareVMware vSphere CLIbin>vihostupdate.pl -server -username root -bundle c:hpq-esxi4.1uX-bundle-1.0.zip -install – bulletin hpq-esxi4.1uX-bundle-1.0
Fifth, reboot the host.