Unable to remove powerpath even after stopping all the vxvm volumes

book

Article ID: 100020520

calendar_today

Updated On:

Resolution

To upgrade powerpath, EMC recommends to stop all the volumes and any VxVM processes like vxesd, vxsvc and then uninstall powerpath. It is quicker and easier to reboot the node to Single-User mode and uninstall Powerpath. If rebooting takes time o rnot feasible then try the following procedure to stop VxVM processes and VxVM Volumes:
 
1) Stop VCS/SFCFS (including ODM, IOFENCING, VCSMM)
 
# hastop-local
#/etc/init.d/lmx.rc stop
#/etc/init.d/vcsmm.rc stop
#/etc/init.d/vxfen.rc stop
#/etc/rc.d/rc2.d/S99odm stop
#/etc/init.d/gab.rc stop
#/etc/init.d/llt.rc stop
 
2) Deport any diskgroup that were not under VCS control manually
 
# vxdg deport
# vxdctl disable
 
There should be no vxvm diskgroup imported at this time.
3) Stop or kill VEA, vxsvc, vxpal processes.
4) Vary off all LVM volume groups that use PowerPath hdisk power devices.
5) Remove all hdiskpower devices:
# lsdev -Ct power* -cdisk -Fname | xargs -n1 rmdev -dl
6) Remove all hdisk devices (for EMC storage):
# lsdev -Ct SYMM* -cdisk -Fname | xargs -n1 rmdev -dl
7) Uninstall PowerPath
#installp -u EMCpower
 
OR use smitty to uninstall PP.
 
After upgrading Powerpath, reboot the node to bring up everything back other wise manually restart all the processes after making sure emcpower devices are active.
 
Even after stopping all the volumes, if Powerpath uninstall fails, then the best option is to reboot the box into Single user mode and uninstall Powerpath. Do not change to Single user from multi-user but rather reboot the box to single use mode.
 
 
 

 

Issue/Introduction

Unable to remove powerpath even after stopping all the vxvm volumes