Cluster Server Installation Guide for Solaris x64 5.0 - Storage ...

Cluster Server Installation Guide for Solaris x64 5.0 - Storage ... Cluster Server Installation Guide for Solaris x64 5.0 - Storage ...

sfdoccentral.symantec.com
from sfdoccentral.symantec.com More from this publisher
13.07.2015 Views

102 Setting up I/O fencingPreparing to configure I/O fencing# vxfenadm -i /dev/rdsk/c2t13d0s2Vendor id : EMC Product id : SYMMETRIX Revision : 5567Serial Number : 42031000aThe same serial number information should appear when you enter theequivalent command on node B using the /dev/rdsk/c2t11d0s2 path.On a disk from another manufacturer, Hitachi Data Systems, the output isdifferent and may resemble:# vxfenadm -i /dev/rdsk/c2t0d2s2Vendor id : HITACHI Product id : OPEN-3 -SUNRevision : 0117Serial Number : 0401EB6F0002Refer to the vxfenadm(1M) manual page.Testing the disks using vxfentsthdw scriptThis procedure uses the /dev/rdsk/c2t13d0s2 disk in the steps.If the utility does not show a message stating a disk is ready, verification hasfailed. 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/rdsk/c2t13d0s2 is ready to be configured for I/O Fencing on node northSee “Adding or removing coordinator disks” on page 125.To test disks using vxfentsthdw script1 Make sure system-to-system communication is functioning properly.See “Enabling communication between systems” on page 35.2 From one node, start the utility. Do one of the following:■■If you use ssh for communication:# /opt/VRTSvcs/vxfen/bin/vxfentsthdwIf you use rsh for communication:# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -n3 After reviewing the overview and warning that the tests overwrite data onthe 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) yEnter the first node of the cluster: northEnter the second node of the cluster: south

Setting up I/O fencingSetting up I/O fencing for VCS1034 Enter the names of the disks you are checking. For each node, the same diskmay be known by a different name:Enter the disk name to be checked for SCSI-3 PGR on nodenorth in the format: /dev/rdsk/cxtxdxsx /dev/rdsk/c2t13d0s2Enter the disk name to be checked for SCSI-3 PGR on node south in the format: /dev/rdsk/cxtxdxsxMake sure it’s the same disk as seen by nodes north and south/dev/rdsk/c2t13d0s2If the disk names 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 northALL tests on the disk /dev/rdsk/c2t13d0s2 have PASSEDThe disk is now ready to be configured for I/O Fencing on node north7 Run the vxfentsthdw utility for each disk you intend to verify.Setting up I/O fencing for VCSTasks involved in setting up I/O fencing include:■■■■■■■■Initializing disksSetting up coordinator disk groupsStopping VCS on all nodesConfiguring /etc/vxfendg disk group for I/O fencingUpdating /etc/vxfenmode fileStarting I/O fencingModifying VCS configuration to use I/O fencingVerifying I/O fencing configurationInitializing disksInstall the driver and HBA card. Refer to the documentation from the vendor forinstructions.After you physically add shared disks to the nodes, you must initialize them asVxVM disks and verify that all the nodes see the same disk. Use the exampleprocedure; see the Veritas Volume Manager Administrator’s Guide for moreinformation on adding and configuring disks.

102 Setting up I/O fencingPreparing to configure I/O fencing# vxfenadm -i /dev/rdsk/c2t13d0s2Vendor id : EMC Product id : SYMMETRIX Revision : 5567Serial Number : 42031000aThe same serial number in<strong>for</strong>mation should appear when you enter theequivalent command on node B using the /dev/rdsk/c2t11d0s2 path.On a disk from another manufacturer, Hitachi Data Systems, the output isdifferent and may resemble:# vxfenadm -i /dev/rdsk/c2t0d2s2Vendor id : HITACHI Product id : OPEN-3 -SUNRevision : 0117Serial Number : 0401EB6F0002Refer to the vxfenadm(1M) manual page.Testing the disks using vxfentsthdw scriptThis procedure uses the /dev/rdsk/c2t13d0s2 disk in the steps.If the utility does not show a message stating a disk is ready, verification hasfailed. 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 <strong>for</strong> I/O fencing with a message resembling:The disk /dev/rdsk/c2t13d0s2 is ready to be configured <strong>for</strong> I/O Fencing on node northSee “Adding or removing coordinator disks” on page 125.To test disks using vxfentsthdw script1 Make sure system-to-system communication is functioning properly.See “Enabling communication between systems” on page 35.2 From one node, start the utility. Do one of the following:■■If you use ssh <strong>for</strong> communication:# /opt/VRTSvcs/vxfen/bin/vxfentsthdwIf you use rsh <strong>for</strong> communication:# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -n3 After reviewing the overview and warning that the tests overwrite data onthe 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) yEnter the first node of the cluster: northEnter the second node of the cluster: south

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!