Symantec logo

Clearing keys after split brain

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

 To use vxfenclearpre

  1. To prevent data corruption, shut down all other systems in the cluster that have access to the shared storage.
  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

    Informational messages resembling the following may appear on the console of one of the nodes in the cluster when a node is ejected from a disk/LUN:

    scsi1 (0,6,0) : RESERVATION CONFLICT

    SCSI disk error : host 1 channel 0 id 6 lun 0 return code = 18

    I/O error: dev 08:80, sector 2000

    These informational messages may be ignored.

    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...

#

  1. Restart all systems in the cluster.