Testing the shared disks using the -m option

Review the procedure to test the shared disks. By default, the utility uses the -m option.

This procedure uses the /dev/rhdisk75 disk in the steps.

This procedure uses the /dev/sdr disk in the steps.

If the utility does not show a message stating a disk is ready, verification has failed. Failure of verification can be the result of an improperly configured disk array. It can also be caused by 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/rhdisk75 is ready to be configured for I/O Fencing on node galaxy

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

Note   For A/P arrays, run the vxfentsthdw command only on secondary paths.

To test disks using vxfentsthdw script

  1. Make sure system-to-system communication is functioning properly.
  2. From one node, start the utility.

    # vxfentsthdw [-n]

  3. After reviewing the overview and warning that the tests overwrite data on the disks, 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

  4. Enter the names of the disks you are checking. For each node, the disk may be known by the same name:

    Enter the disk name to be checked for SCSI-3 PGR on node galaxy in the format:

    for dmp: /dev/vx/rdmp/DiskXX

    for raw: /dev/rhdiskx

    /dev/rhdisk75

    Enter the disk name to be checked for SCSI-3 PGR on node nebula in the format:

    for dmp: /dev/vx/rdmp/DiskXX

    for raw: /dev/rhdiskx

    Make sure it's the same disk as seen by nodes galaxy and nebula

    /dev/rhdisk75

    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.

  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:

    ALL tests on the disk /dev/rhdisk75 have PASSED

    The disk is now ready to be configured for I/O Fencing on node galaxy

    ALL tests on the disk /dev/sdr 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.