Symantec 5 manual Modifying VCS configuration to use I/O fencing, Stop VCS on all nodes

Models: 5

1 176
Download 176 pages 9.76 Kb
Page 101
Image 101

Configuring VCS clusters for data integrity 101

Setting up disk-based I/O fencing manually

#cp /etc/vxfen.d/vxfenmode_scsi3_raw /etc/vxfenmode

3To check the updated /etc/vxfenmode configuration, enter the following command on one of the nodes. For example:

# more /etc/vxfenmode

Modifying VCS configuration to use I/O fencing

After you add coordinator disks and configure 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 does not 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 fencing

1Save the existing configuration:

# haconf -dump -makero

2Stop VCS on all nodes:

# hastop -all

3If the I/O fencing driver vxfen is already running, stop the I/O fencing driver.

# /etc/init.d/vxfen stop

4Make a backup copy of the main.cf file:

#cd /etc/VRTSvcs/conf/config

#cp main.cf main.orig

5On one node, use vi or another text editor to edit the main.cf file. To modify the list of cluster attributes, add the UseFence attribute and assign its value as SCSI3.

cluster clus1(

UserNames = { admin = "cDRpdxPmHpzS." } Administrators = { admin } HacliUserLevel = COMMANDROOT CounterInterval = 5

UseFence = SCSI3

)

Page 101
Image 101
Symantec 5 Modifying VCS configuration to use I/O fencing, Stop VCS on all nodes, Make a backup copy of the main.cf file