< Previous | Next > | |
Product: Cluster Server Guides | |
Manual: Cluster Server 4.1 Installation Guide |
Setting up I/O fencingSetting up I/O fencing involves the following tasks:
Setting Up Shared Storage for I/O FencingNote that to use I/O fencing you must: Have installed the VRTSvxfen package when you installed VCS Have installed a version of VERITAS Volume Manager (VxVM) that supports SCSI-III persistent group reservations (SCSI-III PGR). Refer to the installation guide accompanying the Storage Foundation product you are using. The shared storage you add for use with VCS software must support SCSI-III persistent group reservations, a functionality that enables the use of I/O fencing. Adding DisksAfter you physically add shared disks to cluster systems, you must initialize them as VxVM disks. Use the following examples. The VERITAS Volume Manager Administrator's Guide has more information about adding and configuring disks.
Verifying that Systems See the Same DiskTo perform the test that determines whether a given disk (or LUN) supports SCSI-III persistent group reservations, two systems must simultaneously have access to the same disks. Because a given shared disk is likely to have a different name on each system, a way is needed to make sure of the identity of the disk. The method to check the identity of a given disk, or LUN, is to check its serial number. You can use the vxfenadm command with the -i option to verify that the same serial number for a LUN is returned on all paths to the LUN. For example, an EMC array is accessible by path /dev/rdsk/c1t12d0 on node A and by path /dev/rdsk/c1t13d0 on node B. From node A, the command is given: # vxfenadm -i /dev/rdsk/c1t12d0 Vendor id : EMC Product id : SYMMETRIX Revision : 5567 Serial Number : 42031000a The same serial number information should be returned when the equivalent command is given on node B using path /dev/rdsk/c1t12d0. On a disk from another manufacturer, Hitachi Data Systems, for example, the output is different. It may resemble: # vxfenadm -i /dev/rdsk/c2t13d0 Vendor id : HITACHI Product id : OPEN-3 Revision : 0117 Serial Number : 0401EB6F0002 The output is different on a disk from another manufacturer, HP, for example: # vxfenadm -i /dev/rdsk/c5t0d0 Vendor id : HP Product id : OPEN-E Revision : 2101 Serial Number : R450 00013154 0088 Refer to the vxfenadm(1M) manual page. Testing Data Storage Disks Using vxfentsthdwUse the vxfentsthdw utility to test the shared storage arrays that are to be used for data. The utility verifies the disks support SCSI-III persistent group reservations and I/O fencing. Note Disks used as coordinator disks must also be tested. See Setting Up Coordinator Disks. General Guidelines for Using vxfentsthdw
Caution The tests overwrite and destroy data on the disks, unless you use the -r option. Running vxfentsthdwThis section describes the steps required to set up and test data disks for your initial installation. It describes using the vxfentsthdw utility with the default options. The vxfentsthdw utility and it options are described in detail in the section vxfentsthdw Options. The vxfentsthdw utility indicates a disk can be used for I/O fencing with a message resembling: The disk /dev/rdsk/c1t13d0 is ready to be configured for I/O Fencing on node south If the utility does not show a message stating a disk is ready, verification has failed. For the following example, assume you must check a shared device known by two systems as /dev/rdsk/c1t12d0. (Each system could use a different name for the same device.)
|
^ Return to Top | < Previous | Next > |
Product: Cluster Server Guides | |
Manual: Cluster Server 4.1 Installation Guide | |
VERITAS Software Corporation
www.veritas.com |