Testing the disks using vxfentsthdw utility

This procedure uses the /dev/vx/rdmp/c1t1d0 disk in the steps.

If the utility does not show a message that states a disk is ready, the verification has failed. Failure of verification can be the result of an improperly configured disk array. The failure can also be due to a bad disk.

If the failure is due to a bad disk, remove and replace it. The vxfentsthdw utility indicates a disk can be used for I/O fencing with a message resembling:

The disk /dev/vx/rdmp/c1t1d0 is ready to be configured for I/O Fencing on 
node galaxy

For more information on how to replace coordinator disks, refer to the Veritas Cluster Server User's Guide.

To test the disks using vxfentsthdw utility

  1. Make sure system-to-system communication functions properly.

    After you complete the testing process, remove permissions for communication and restore public network connections.

  2. From one node, start the utility.

    Do one of the following:

    • If you use ssh for communication:

       # /opt/VRTSvcs/vxfen/bin/vxfentsthdw
    • If you use remsh for communication:

       # /opt/VRTSvcs/vxfen/bin/vxfentsthdw -n
  3. The script warns that the tests overwrite data on the disks. After you review the overview and the warning, confirm to continue the process and enter the node names.

    Warning:

    The tests overwrite and destroy data on the disks unless you use the -r option.

    ******** WARNING!!!!!!!! ********
    THIS UTILITY WILL DESTROY THE DATA ON THE DISK!!
    
    Do you still want to continue : [y/n] (default: n) y
    Enter the first node of the cluster: galaxy
    Enter the second node of the cluster: nebula
  4. Enter the names of the disks that you want to check. Each node may know the same disk by a different name:

    Enter the disk name to be checked for SCSI-3 PGR on node galaxy in 
    the format: /dev/vx/rdmp/cxtxdx 
    /dev/vx/rdmp/c2t13d0
    Enter the disk name to be checked for SCSI-3 PGR on node nebula in 
    the format: /dev/vx/rdmp/cxtxdx
    Make sure it's the same disk as seen by nodes galaxy and nebula
    /dev/vx/rdmp/c2t13d0

    If the serial numbers of the disks are not identical. then the test terminates.

  5. Enter the names of the disks that you want to check. Each node may know the same disk by a different name:

    If the serial numbers of the disks are not identical. then the test terminates.

  6. Review the output as the utility performs the checks and report its activities.

  7. If a disk is ready for I/O fencing on each node, the utility reports success:

    The disk is now ready to be configured for I/O Fencing on node 
    galaxy
    ALL tests on the disk /dev/vx/rdmp/c1t1d0 have PASSED
    The disk is now ready to be configured for I/O Fencing on node 
    galaxy
  8. Run the vxfentsthdw utility for each disk you intend to verify.

More Information

Setting up inter-system communication

Removing permissions for communication