About the vxfenclearpre utility

You can use the vxfenclearpre utility to remove SCSI-3 registrations and reservations on the disks.

Removing preexisting keys

If you encountered a split brain condition, use the vxfenclearpre utility to remove SCSI-3 registrations and reservations on the coordinator disks as well as on the data disks in all shared disk groups.

You can also use this procedure to remove the registration and reservation keys created by another node from a disk.

To clear keys after split brain

  1. Stop VCS and I/O fencing on all nodes.

    # hastop -all

    Enter the following command on each node:

    # /etc/init.d/vxfen.rc stop

    If you have any applications that run outside of VCS control that have access to the shared storage, then shut down all other nodes in the cluster that have access to the shared storage. This prevents data corruption.

  2. Start the script:

    # cd /opt/VRTSvcs/vxfen/bin

    # ./vxfenclearpre

  3. Read the script's introduction and warning. Then, you can choose to let the script run.

    Do you still want to continue: [y/n] (default : n) y

    Cleaning up the coordinator disks...

    Cleaning up the data disks for all shared disk groups...

    Successfully removed SCSI-3 persistent registration and reservations from the coordinator disks as well as the shared data disks.

    Reboot the server to proceed with normal cluster startup...

    #

  4. Restart all nodes in the cluster.