Veritas Storage Foundation 5.1 SP1 Cluster File System Installation Guide (5900-1510, April 2011)
To update the I/O fencing files and start I/O fencing
1
On each nodes, type:
# echo "vxfencoorddg" > /etc/vxfendg
Do not use spaces between the quotes in the "vxfencoorddg" text.
This command creates the /etc/vxfendg file, which includes the name of the
coordinator disk group.
2
Update the /etc/vxfenmode file to specify to use the SCSI-3 dmp disk policy.
On all cluster nodes, type:
# cp /etc/vxfen.d/vxfenmode_scsi3_dmp /etc/vxfenmode
3
To check the updated /etc/vxfenmode configuration, enter the following
command on one of the nodes. For example:
# more /etc/vxfenmode
4
Edit the following file on each node in the cluster to change the values of the
VXFEN_START and the VXFEN_STOP environment variables to 1:
/etc/rc.config.d/vxfenconf
Modifying VCS configuration to use I/O fencing
After you add coordination points 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
1
Save the existing configuration:
# haconf -dump -makero
2
Stop VCS on all nodes:
# hastop -all
3
If the I/O fencing driver vxfen is already running, stop the I/O fencing driver.
# /sbin/init.d/vxfen stop
157Configuring SFCFS for data integrity
Setting up disk-based I/O fencing manually