Veritas Storage Foundation 5.1 SP1 Cluster File System Administrator"s Guide (5900-1738, April 2011)

The I/O fencing commands reside in the /opt/VRTS/bin folder. Make sure you
added this folder path to the PATH environment variable.
Refer to the corresponding manual page for more information on the commands.
About the vxfentsthdw utility
You can use the vxfentsthdw utility to verify that shared storage arrays to be used
for data support SCSI-3 persistent reservations and I/O fencing. During the I/O
fencing configuration, the testing utility is used to test a single disk. The utility
has other options that may be more suitable for testing storage devices in other
configurations. You also need to test coordinator disk groups.
See Veritas Storage Foundation Cluster File System Installation Guide to set up I/O
fencing.
The utility, which you can run from one system in the cluster, tests the storage
used for data by setting and verifying SCSI-3 registrations on the disk or disks
you specify, setting and verifying persistent reservations on the disks, writing
data to the disks and reading it, and removing the registrations from the disks.
Refer also to the vxfentsthdw(1M) manual page.
About general guidelines for using vxfentsthdw utility
Review the following guidelines to use the vxfentsthdw utility:
The utility requires two systems connected to the shared storage.
Caution: The tests overwrite and destroy data on the disks, unless you use the
-r option.
The two nodes must have ssh (default) or remsh communication. If you use
remsh, launch the vxfentsthdw utility with the -n option.
After completing the testing process, you can remove permissions for
communication and restore public network connections.
To ensure both systems are connected to the same disk during the testing, you
can use the vxfenadm -i diskpath command to verify a disks serial number.
See Verifying that the nodes see the same disk on page 83.
For disk arrays with many disks, use the -m option to sample a few disks before
creating a disk group and using the -g option to test them all.
The utility indicates a disk can be used for I/O fencing with a message
resembling:
Administering Storage Foundation Cluster File System and its components
Administering I/O Fencing
72