Thursday, July 5, 2012

Uninstall Power Path VE on ESXi5, does not remove the powerpath VE plugin.

1. Use the following to verify the powerpath/VE plugin in ESXi
#esxcli software vib list | grep EMC





Before Uninstall power path VE you need to remove the claim rule of powerpath in ESXI5.

2. Use the below command to list the claimrule.
#esxcli storage core claimrule list
below will be the output of this query.













3. Remove the claim rule assigned for powerpath pulgin with the below command.

#esxcli storage core claimrule remove --rule 250 (starting from 250 to 350 as per above, you have to remove whatever is assigned by powerpath).

4. Once after removing the claimrule, run the following to take effect.
#esxcli storage core claimrule load

5. Verify if all the claimrule associated with powerpath is removed using the following command.

# esxcli storage core claimrule list
you will see the below output.







6. Now we can remove the powerpath plugin successfully using the following.
#esxcli software vib remove -n powerpath.cim.esx -n powerpath.lib.esx -n powerpath.plugin.esx

Reboot the server.

VMware kB reference: http://kb.vmware.com/kb/2016721