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

104 Setting up I/O fencingSetting up I/O fencing for VCSTo initialize disks1 Make the new disks recognizable. On each node, enter:# lsdev -Cc disk2 If the Array Support Library (ASL) for the array you are adding is notinstalled, obtain and install it on each node before proceeding. The ASL forthe supported storage device you are adding is available from the disk arrayvendor or Symantec technical support.3 Verify that the ASL for the disk array is installed on each of the nodes. Runthe following command on each node and examine the output to verify theinstallation of ASL. The following output is a sample:# vxddladm listsupport allLIBNAMEVID==============================================================libvxCLARiiON.so DGClibvxcscovrts.so CSCOVRTSlibvxemc.soEMC4 Scan all disk drives and their attributes, update the VxVM device list, andreconfigure DMP with the new devices. Type:# vxdisk scandisksSee the Veritas Volume Manager documentation for details on adding andconfiguring disks.5 To initialize the disks as VxVM disks, use one of the following methods:Setting up coordinator disk groups■■Use the interactive vxdiskadm utility to initialize the disks as VxVMdisks.For more information see the Veritas Volume ManagersAdministrator’s Guide.Use the vxdisksetup command to initialize a disk as a VxVM disk.vxdisksetup -i device_name format=cdsdiskThe example specifies the CDS format:# vxdisksetup -i c2t13d0s2 format=cdsdiskRepeat this command for each disk you intend to use as a coordinatordisk.I/O fencing requires coordinator disks that are configured in a disk group andaccessible to each node in the cluster. These disks enables the vxfen driver toresolve potential split brain conditions and prevent data corruption. Make sureto meet the requirements for coordinator disks and then create the coordinatordisk group.

Setting up I/O fencingSetting up I/O fencing for VCS105Requirements for coordinator disksAfter adding and initializing disks for use as coordinator disks, make surecoordinator disks meet the following requirements:■■■■■■■You must have three coordinator disks.Each of the coordinator disks must use a physically separate disk or LUN.Each of the coordinator disks should exist on a different disk array, ifpossible.You must initialize each disk as a VxVM disk.The coordinator disks must support SCSI-3 persistent reservations.See “Testing the shared disks for SCSI-3” on page 101.The coordinator disks must exist in a disk group (for example,vxfencoorddg).See “Creating the coordinator disk group and setting the coordinatorattribute” on page 105.Symantec recommends using hardware-based mirroring for coordinatordisks.Creating the coordinator disk group and setting thecoordinator attributeFrom one node, create a disk group named vxfencoorddg. This group mustcontain three disks or LUNs.You must also set the coordinator attribute for the coordinator disk group.VxVM uses this attribute to prevent the reassignment of coordinator disks toother disk groups.Note that if you create a coordinator disk group as a regular disk group, you canturn on the coordinator attribute in Volume Manager. You do this with a vxdgset coordinator=on command.Refer to the Veritas Volume Manager Administrator’s Guide for details oncreating disk groups.The example procedure assumes that the disks have the device names c1t1d0s0,c2t1d0s0, and c3t1d0s0.

104 Setting up I/O fencingSetting up I/O fencing <strong>for</strong> VCSTo initialize disks1 Make the new disks recognizable. On each node, enter:# lsdev -Cc disk2 If the Array Support Library (ASL) <strong>for</strong> the array you are adding is notinstalled, obtain and install it on each node be<strong>for</strong>e proceeding. The ASL <strong>for</strong>the supported storage device you are adding is available from the disk arrayvendor or Symantec technical support.3 Verify that the ASL <strong>for</strong> the disk array is installed on each of the nodes. Runthe following command on each node and examine the output to verify theinstallation of ASL. The following output is a sample:# vxddladm listsupport allLIBNAMEVID==============================================================libvxCLARiiON.so DGClibvxcscovrts.so CSCOVRTSlibvxemc.soEMC4 Scan all disk drives and their attributes, update the VxVM device list, andreconfigure DMP with the new devices. Type:# vxdisk scandisksSee the Veritas Volume Manager documentation <strong>for</strong> details on adding andconfiguring disks.5 To initialize the disks as VxVM disks, use one of the following methods:Setting up coordinator disk groups■■Use the interactive vxdiskadm utility to initialize the disks as VxVMdisks.For more in<strong>for</strong>mation see the Veritas Volume ManagersAdministrator’s <strong>Guide</strong>.Use the vxdisksetup command to initialize a disk as a VxVM disk.vxdisksetup -i device_name <strong>for</strong>mat=cdsdiskThe example specifies the CDS <strong>for</strong>mat:# vxdisksetup -i c2t13d0s2 <strong>for</strong>mat=cdsdiskRepeat this command <strong>for</strong> each disk you intend to use as a coordinatordisk.I/O fencing requires coordinator disks that are configured in a disk group andaccessible to each node in the cluster. These disks enables the vxfen driver toresolve potential split brain conditions and prevent data corruption. Make sureto meet the requirements <strong>for</strong> coordinator disks and then create the coordinatordisk group.

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

Saved successfully!

Ooh no, something went wrong!