Description
node1# cp -p /etc/vxfenmode /etc/vxfenmode.test
node2# cp -p /etc/vxfenmode /etc/vxfenmode.test
node1# vi /etc/vxfenmode.test
node2# vi /etc/vxfenmode.test
change line scsi3_disk_policy=raw to scsi3_disk_policy=dmp
check that the ssh passwordless works :
root@node1 # ssh node2
check if fencing is started :
# gabconfig -a
should show at least port a / b / h
# vxfenconfig -l
should show raw device name
node1# vxfenswap
Veritas vxfenswap version 6.0.300.000-GA Linux
The logfile generated for vxfenswap is /var/VRTSvcs/log/vxfen/vxfenswap.log.20107
Please Wait...
Validation of coordination points change has succeeded on all nodes.
You may commit the changes now.
Warning: This may cause the whole cluster to panic if a node leaves
membership before the change is complete.
Do you wish to commit this change? [y/n] (default: n) y
Successfully completed the vxfenswap operation.
node1# vxfenconfig -l
node2# vxfenconfig -l
should show dmp device name
check that /etc/vxfenmode has been changed correctly by the vxfenswap :
node1# cat /etc/vxfenmode
node2# cat /etc/vxfenmode
You can also check that the SCSI3-PR keys are still there on the disks :
node1# vxfenadm -s ALL -f /etc/vxfentab
node2# vxfenadm -s ALL -f /etc/vxfentab