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 ...
108 Setting up I/O fencingSetting up I/O fencing for VCSTo start I/O fencing on a node◆Start the I/O fencing driver.# /etc/init.d/vxfen startModifying VCS configuration to use I/O fencingAfter adding coordinator disks and configuring I/O fencing, add the UseFence = SCSI3 cluster attribute to the VCS configuration file, /etc/VRTSvcs/conf/config/main.cf. If you reset this attribute to UseFence = None, VCS doesnot make use of I/O fencing abilities while failing over service groups. However, I/O fencing needs to be disabled separately.To modify VCS configuration to enable I/O fencing1 Save the existing configuration:# haconf -dump -makero2 Stop VCS on all nodes:# hastop -all3 Make a backup copy of the main.cf file:# cd /etc/VRTSvcs/conf/config# cp main.cf main.orig4 On one node, use vi or another text editor to edit the main.cf file. Modify thelist of cluster attributes by adding the UseFence attribute and assigning itsvalue of SCSI3.cluster rac_cluster101 UserNames = { admin = "cDRpdxPmHpzS." }Administrators = { admin }HacliUserLevel = COMMANDROOTCounterInterval = 5UseFence = SCSI3)5 Save and close the file.6 Verify the syntax of the file /etc/VRTSvcs/conf/config/main.cf:# hacf -verify /etc/VRTSvcs/conf/config7 Using rcp or another utility, copy the VCS configuration file from a node (forexample, north) to the remaining cluster nodes.For example, on each remaining node, enter:# rcp north:/etc/VRTSvcs/conf/config/main.cf \/etc/VRTSvcs/conf/config8 On each node enter the following sequence of commands. These commandsbrings up VCS processes:# /opt/VRTS/bin/hastart
Setting up I/O fencingAdditional I/O fencing information109Verifying I/O fencing configurationVerify from the vxfenadm output that the SCSI-3 disk policy reflects theconfiguration in the /etc/vxfenmode file.To verify I/O fencing configuration◆On one of the nodes, type:# vxfenadm -dI/O Fencing Cluster Information:================================Fencing Protocol Version: 201Fencing Mode: SCSI3Fencing SCSI3 Disk Policy: rawCluster Members:* 0 (north)1 (south)RFSM State Information:node 0 in state 8 (running)node 1 in state 8 (running)Removing permissions for communicationAfter completing the installation of VCS and verification of disk support for I/Ofencing, if you used rsh, remove the temporary rsh access permissions you setfor the nodes and restore the connections to the public network.If the nodes use ssh for secure communications, and you temporarily removedthe connections to the public network, restore the connections.Additional I/O fencing informationReview additional information about I/O fencing, including an extendeddescription of the vxfentsthdw command, vxfenadm command, and adescription of I/O fencing behavior to protect data in certain scenarios.
- Page 58 and 59: 58 Installing and configuring VCSIn
- Page 60 and 61: 60 Installing and configuring VCSIn
- Page 62 and 63: 62 Installing and configuring VCSIn
- Page 64 and 65: 64 Installing and configuring VCSIn
- Page 66 and 67: 66 Installing and configuring VCSIn
- Page 68 and 69: 68 Installing and configuring VCSPe
- Page 70 and 71: 70 Installing and configuring VCSPe
- Page 72 and 73: 72 Installing and configuring VCSPe
- Page 74 and 75: 74 Installing and configuring VCSPe
- Page 76 and 77: 76 Installing and configuring VCSCh
- Page 78 and 79: 78 Installing and configuring VCSAb
- Page 80 and 81: 80 Installing and configuring VCSAb
- Page 82 and 83: 82 Installing and configuring VCSUn
- Page 84 and 85: 84 Manually installing and configur
- Page 86 and 87: 86 Manually installing and configur
- Page 88 and 89: 88 Manually installing and configur
- Page 90 and 91: 90 Manually installing and configur
- Page 92 and 93: 92 Manually installing and configur
- Page 94 and 95: 94 Manually installing and configur
- Page 96 and 97: 96 Manually installing and configur
- Page 98 and 99: 98 Setting up I/O fencingAbout I/O
- Page 100 and 101: 100 Setting up I/O fencingPreparing
- Page 102 and 103: 102 Setting up I/O fencingPreparing
- Page 104 and 105: 104 Setting up I/O fencingSetting u
- Page 106 and 107: 106 Setting up I/O fencingSetting u
- Page 110 and 111: 110 Setting up I/O fencingAdditiona
- Page 112 and 113: 112 Setting up I/O fencingAdditiona
- Page 114 and 115: 114 Setting up I/O fencingAdditiona
- Page 116 and 117: 116 Setting up I/O fencingHow I/O f
- Page 118 and 119: 118 Setting up I/O fencingHow I/O f
- Page 120 and 121: 120 Setting up I/O fencingAbout the
- Page 122 and 123: 122 Setting up I/O fencingTroublesh
- Page 124 and 125: 124 Setting up I/O fencingTroublesh
- Page 126 and 127: 126 Setting up I/O fencingTroublesh
- Page 128 and 129: 128 Setting up I/O fencingTroublesh
- Page 130 and 131: 130 Verifying the VCS installationV
- Page 132 and 133: 132 Verifying the VCS installationV
- Page 134 and 135: 134 Verifying the VCS installationV
- Page 136 and 137: 136 Verifying the VCS installationV
- Page 138 and 139: 138 Verifying the VCS installationV
- Page 140 and 141: 140 Verifying the VCS installationV
- Page 142 and 143: 142 Verifying the VCS installationA
- Page 144 and 145: 144 Upgrading to VCS 5.0Upgrading V
- Page 146 and 147: 146 Upgrading to VCS 5.0Upgrading V
- Page 148 and 149: 148 Upgrading to VCS 5.0Upgrading V
- Page 150 and 151: 150 Upgrading to VCS 5.0Upgrading V
- Page 152 and 153: 152 Upgrading to VCS 5.0Upgrading t
- Page 154 and 155: 154 Upgrading to VCS 5.0
- Page 156 and 157: 156 Adding and removing cluster nod
108 Setting up I/O fencingSetting up I/O fencing <strong>for</strong> VCSTo start I/O fencing on a node◆Start the I/O fencing driver.# /etc/init.d/vxfen startModifying VCS configuration to use I/O fencingAfter adding coordinator disks and configuring I/O fencing, add the UseFence = SCSI3 cluster attribute to the VCS configuration file, /etc/VRTSvcs/conf/config/main.cf. If you reset this attribute to UseFence = None, VCS doesnot make use of I/O fencing abilities while failing over service groups. However, I/O fencing needs to be disabled separately.To modify VCS configuration to enable I/O fencing1 Save the existing configuration:# haconf -dump -makero2 Stop VCS on all nodes:# hastop -all3 Make a backup copy of the main.cf file:# cd /etc/VRTSvcs/conf/config# cp main.cf main.orig4 On one node, use vi or another text editor to edit the main.cf file. Modify thelist of cluster attributes by adding the UseFence attribute and assigning itsvalue of SCSI3.cluster rac_cluster101 UserNames = { admin = "cDRpdxPmHpzS." }Administrators = { admin }HacliUserLevel = COMMANDROOTCounterInterval = 5UseFence = SCSI3)5 Save and close the file.6 Verify the syntax of the file /etc/VRTSvcs/conf/config/main.cf:# hacf -verify /etc/VRTSvcs/conf/config7 Using rcp or another utility, copy the VCS configuration file from a node (<strong>for</strong>example, north) to the remaining cluster nodes.For example, on each remaining node, enter:# rcp north:/etc/VRTSvcs/conf/config/main.cf \/etc/VRTSvcs/conf/config8 On each node enter the following sequence of commands. These commandsbrings up VCS processes:# /opt/VRTS/bin/hastart