The following procedure attempts to explain the steps required to migrate from EMC PowerPath for a Solaris Host/VCS node.
Known Limitations
• If the root(boot) disk is a SAN attached LUN under control of EMC PowerPath it is recommended that the device be removed(unmanaged) from PowerPath Control before attempting this procedure.
• If the root(boot) disk is encapsulated and NOT under control of EMC PowerPath, it is advisable to un-encapsulate it before attempting this procedure, however, the process should complete without any issues.
1. Please ensure that LUNS are available to the host via multiple paths prior to migrating from EMC PowerPath to Veritas DMP.
To display the EMC PowerPath summary content, type:
# powermt display
Capture the Veritas DMP enclosure and controller related content by typing:
#vxdmpadm listctlr all
#vxdmpadm listenclosure all
2. Stop the Application so that there is no i/o issued to the PowerPath devices
If the application is under VCS control , please offline the service on that node
# hagrp –offline
3. Unmount filesystems and Stop the volumes so that there is no volumes under i/o
# umount /
# vxvol –g
4. If using SF-RAC stack, the resource CFSQlogckd is no longer supported for SFRAC 5.0 or above, please remove it from main.cf ( on all nodes in cluster)
# hares -delete qlogckd
5. Stop CVM and VERITAS Fencing on the node ( if part of a VCS cluster)
# vxclustadm stopnode
# /etc/init.d/vxfen stop
Note: All nodes in VCS cluster need to be brought down if CVM / fencing are enabled.
6. Now run "vxdisk rm
ie vxdisk rm emcpower1s2
EMC PowerPath related commands
7. Unmanage/remove the Powerpath devices entries.
# powermt remove dev=all
8. Verify that the Powerpath devices have been removed.
# powermt display dev=all
9. Uninstall Powerpath Binaries (package)
# pkgrm EMCpower
10. Run EMC Powerpath cleanup script
# /etc/emcp_cleanup
11. If using VERITAS Fencing ,please change fencing mode to DMP from RAW by editing the /etc/vxfenmode file prior to rebooting.
/etc/vxfenmode
----------------------------------
scsi3_disk_policy=dmp
----------------------------------
12. Remove the /etc/vx/disk.info and /etc/vxarray.info file prior to rebooting the host.
13. Shutdown and restart the host.
Note: VxVM should start using Veritas DMP in place of EMC PowerPath once the server restarts.
14. Verify that VERITAS DMP is claiming the devices.
#vxdmpadm listctlr all
#vxdmpadm listenclosure all
15. Ensure the O/S is clean of stable device entries, by running:
# devfsadm -Cvc disks