Veritas Storage Foundation 5.1 SP1 Cluster File System Installation Guide (5900-1510, April 2011)
To enable preferred fencing for the I/O fencing configuration
1
Make sure that the cluster is running with I/O fencing set up.
# vxfenadm -d
2
Make sure that the cluster-level attribute UseFence has the value set to SCSI3.
# haclus -value UseFence
3
To enable system-based race policy, perform the following steps:
■ Make the VCS configuration writable.
# haconf -makerw
■ Set the value of the cluster-level attribute PreferredFencingPolicy as
System.
# haclus -modify PreferredFencingPolicy System
■ Set the value of the system-level attribute FencingWeight for each node
in the cluster.
For example, in a two-node cluster, where you want to assign galaxy five
times more weight compared to nebula, run the following commands:
# hasys -modify galaxy FencingWeight 50
# hasys -modify nebula FencingWeight 10
■ Save the VCS configuration.
# haconf -dump -makero
4
To enable group-based race policy, perform the following steps:
■ Make the VCS configuration writable.
# haconf -makerw
■ Set the value of the cluster-level attribute PreferredFencingPolicy as
Group.
# haclus -modify PreferredFencingPolicy Group
■ Set the value of the group-level attribute Priority for each service group.
For example, run the following command:
185Configuring SFCFS for data integrity
Enabling or disabling the preferred fencing policy