Testing the disks using vxfentsthdw utility

This procedure uses the /dev/rdsk/c1t1d0s2 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/rdsk/c1t1d0s2 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 Storage Foundation for Oracle RAC Administrator's Guide.

To test the disks using vxfentsthdw utility

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

  2. From one node, start the utility.

    Run the utility with the -n option if you use rsh for communication.

    # 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 
    IP_adrs_of_galaxy in the format: 
    for dmp: /dev/vx/rdmp/cxtxdxsx
    for raw: /dev/rdsk/cxtxdxsx
    Make sure it's the same disk as seen by nodes 
    IP_adrs_ofgalaxy and IP_adrs_of_nebula
    		/dev/rdsk/c2t13d0s2
    
    Enter the disk name to be checked for SCSI-3 PGR on node 
    IP_adrs_of_nebula in the format: 
    for dmp: /dev/vx/rdmp/cxtxdxsx
    for raw: /dev/rdsk/cxtxdxsx
    Make sure it's the same disk as seen by nodes 
    IP_adrs_ofgalaxy and IP_adrs_of_nebula
    		/dev/rdsk/c2t13d0s2
    	

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

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

  6. 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/rdsk/c1t1d0s2 have PASSED
    The disk is now ready to be configured for I/O Fencing on node 
    galaxy
  7. Run the vxfentsthdw utility for each disk you intend to verify.