This procedure uses the /dev/sdx 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/sdx is ready to be configured for I/O Fencing on node galaxy
For more information on how to replace coordinator disks, refer to the Storage Foundation Cluster File System Administrator's Guide.
To test the disks using vxfentsthdw utility
Make sure system-to-system communication functions properly.
From one node, start the utility.
Run the utility with the -n option if you use rsh for communication.
# vxfentsthdw [-n]
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!!!!!!!! ******** 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
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: for dmp: /dev/vx/rdmp/sdx for raw: /dev/sdx Make sure it's the same disk as seen by nodes galaxy and nebula /dev/sdr Enter the disk name to be checked for SCSI-3 PGR on node nebula in the format: for dmp: /dev/vx/rdmp/sdx for raw: /dev/sdx Make sure it's the same disk as seen by nodes galaxy and nebula /dev/sdr
If the serial numbers of the disks are not identical. then the test terminates.
Review the output as the utility performs the checks and report its activities.
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/sdx have PASSED The disk is now ready to be configured for I/O Fencing on node galaxy
Run the vxfentsthdw utility for each disk you intend to verify.