If the coordinator disks lose the keys that are registered, the cluster might panic when a network partition occurs.
You can use the vxfenswap utility to replace the coordinator disks with the same disks. The vxfenswap utility registers the missing keys during the disk replacement.
To refresh lost keys on coordinator disks
# vxfenadm -d
I/O Fencing Cluster Information: ================================ Fencing Protocol Version: 201 Fencing Mode: SCSI3 Fencing SCSI3 Disk Policy: dmp Cluster Members: * 0 (sys1) 1 (sys2) RFSM State Information: node 0 in state 8 (running) node 1 in state 8 (running)
# vxfenadm -s all -f /etc/vxfentab
Device Name: /dev/vx/rdmp/rhdisk75 Total Number of Keys: 0 No keys... ...
/etc/vxfenmode
file to the /etc/vxfenmode.test
file.This ensures that the configuration details of both the files are the same.
# vxfenswap -g vxfencoorddg [-n]
# vxfenadm -s all -f /etc/vxfentab
Device Name: /dev/vx/rdmp/rhdisk75 Total Number of Keys: 4 ...