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

112 Setting up I/O fencingAdditional I/O fencing informationALL tests on the disk /dev/rdsk/c4t1d0s2 have PASSED.The disk is now ready to be configured for I/O Fencing on node south as a COORDINATOR DISK.4 After you test all disks in the disk group, the vxfencoorddg disk group isready for use.Removing and replacing a failed diskIf a disk in the coordinator disk group fails verification, remove the failed disk or LUN from the vxfencoorddg disk group, replace it with another, and retest the disk group.If you need to replace a disk in an active coordinator disk group, refer to the troubleshooting procedure.See “Adding or removing coordinator disks” on page 125.To remove and replace a failed disk1 Use the vxdiskadm utility to remove the failed disk from the disk group.Refer to the Veritas Volume Manager Administrator’s Guide.2 Add a new disk to the node, initialize it, and add it to the coordinator diskgroup.See “Initializing disks” on page 103.See “Setting up coordinator disk groups” on page 104.3 Retest the disk group.Using the -r option for non-destructive testingTo test disk devices containing data you want to preserve, you can use the -roption with the -m, -f, or -g options, which are described in the followingsections. For example, to use the -m option and the -r option, you can run theutility by entering:# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -rmWhen invoked with the -r option, the utility does not use tests that write to thedisks. Therefore, it does not test the disks for all of the usual conditions of use.Using the -m optionReview the procedure to test the shared disks. The utility uses the -m option.See “Testing the shared disks for SCSI-3” on page 101.

Setting up I/O fencingAdditional I/O fencing information113Using the -f optionUse the -f option to test disks that are listed in a text file. For example, you cancreate a file to test two disks shared by systems north and south that mightresemble:north /dev/rdsk/c2t2d1s2 south /dev/rdsk/c3t2d1s2north /dev/rdsk/c2t2d1s2 south /dev/rdsk/c3t2d1s2where the first disk is listed in the first line and is seen by north as /dev/rdsk/c2t2d1s2 and by south as /dev/rdsk/c3t2d1s2. The other disk, in the second line,is seen as /dev/rdsk/c2t2d2s2 from north and /dev/rdsk/c3t2d2s2 from south.Typically, the list of disks could be extensive.Suppose you created the file named disks_blue. To test the disks, you wouldenter:# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -f disks_blueThe utility reports the test results one disk at a time, just as for the -m option.You can redirect the test results to a text file. Precede the command with “yes”to acknowledge that the testing destroys any data on the disks to be tested.Caution: Be advised that by redirecting the command’s output to a file, awarning that the testing destroys data on the disks cannot be seen until thetesting is done.For example:# yes | /opt/VRTSvcs/vxfen/bin/vxfentsthdw -f disks_blue > blue_test.txtUsing the -g optionUse the -g option to test all disks within a disk group. For example, you create atemporary disk group consisting of all disks in a disk array and test the group.Note: Do not import the test disk group as shared; that is, do not use the -soption.The utility reports the test results one disk at a time. You can redirect the testresults to a text file for review.# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -g red_disks_dg > redtest.txtAfter testing, destroy the disk group and put the disks into disk groups as youneed.

Setting up I/O fencingAdditional I/O fencing in<strong>for</strong>mation113Using the -f optionUse the -f option to test disks that are listed in a text file. For example, you cancreate a file to test two disks shared by systems north and south that mightresemble:north /dev/rdsk/c2t2d1s2 south /dev/rdsk/c3t2d1s2north /dev/rdsk/c2t2d1s2 south /dev/rdsk/c3t2d1s2where the first disk is listed in the first line and is seen by north as /dev/rdsk/c2t2d1s2 and by south as /dev/rdsk/c3t2d1s2. The other disk, in the second line,is seen as /dev/rdsk/c2t2d2s2 from north and /dev/rdsk/c3t2d2s2 from south.Typically, the list of disks could be extensive.Suppose you created the file named disks_blue. To test the disks, you wouldenter:# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -f disks_blueThe utility reports the test results one disk at a time, just as <strong>for</strong> the -m option.You can redirect the test results to a text file. Precede the command with “yes”to acknowledge that the testing destroys any data on the disks to be tested.Caution: Be advised that by redirecting the command’s output to a file, awarning that the testing destroys data on the disks cannot be seen until thetesting is done.For example:# yes | /opt/VRTSvcs/vxfen/bin/vxfentsthdw -f disks_blue > blue_test.txtUsing the -g optionUse the -g option to test all disks within a disk group. For example, you create atemporary disk group consisting of all disks in a disk array and test the group.Note: Do not import the test disk group as shared; that is, do not use the -soption.The utility reports the test results one disk at a time. You can redirect the testresults to a text file <strong>for</strong> review.# /opt/VRTSvcs/vxfen/bin/vxfentsthdw -g red_disks_dg > redtest.txtAfter testing, destroy the disk group and put the disks into disk groups as youneed.

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

Saved successfully!

Ooh no, something went wrong!