Refreshing lost keys on coordinator disks

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

  1. Make sure system-to-system communication is functioning properly.
  2. Make sure that the cluster is online.
    # 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)
  3. Run the following command to view the coordinator disks that do not have keys:
    # vxfenadm -s all -f /etc/vxfentab
    Device Name: /dev/vx/rdmp/rhdisk75
    Total Number of Keys: 0
    No keys...
    ...
  4. Copy the /etc/vxfenmode file to the /etc/vxfenmode.test file.

    This ensures that the configuration details of both the files are the same.

  5. On any node, run the following command to start the vxfenswap utility:
    # vxfenswap -g vxfencoorddg [-n]
  6. Verify that the keys are atomically placed on the coordinator disks.
    # vxfenadm -s all -f /etc/vxfentab
    Device Name: /dev/vx/rdmp/rhdisk75
    Total Number of Keys: 4
    ...