Installation guide
</fencedevices>
<rm>
</rm>
</cluster>
When you add a node to the cluster, you can specify the number of votes the node
contributes to determine whether there is a quorum. To set the number of votes for a cluster
node, use the following command:
ccs -h host --addnode host --votes votes
When you add a node, the ccs assigns the node a unique integer that is used as the node
identifier. If you want to specify the node identifier manually when creating a node, use the
following command:
ccs -h host --addnode host --nodeid nodeid
To remove a node from a cluster, execute the following command:
ccs -h host --rmnode node
When you have finished configuring all of the components of your cluster, you will need to sync the
cluster configuration file to all of the nodes, as described in Section 5.15, “Propagating the
Configuration File to the Cluster Nodes” .
5.5. Configuring Fence Devices
Configuring fence devices consists of creating, updating, and deleting fence devices for the cluster.
You must create and name the fence devices in a cluster before you can configure fencing for the
nodes in the cluster. For information on configuring fencing for the individual nodes in the cluster,
refer to Section 5.7, “Configuring Fencing for Cluster Members”.
Before configuring your fence devices, you may want to modify some of the fence daemon properties
for your system from the default values. The values you configure for the fence daemon are general
values for the cluster. The general fencing properties for the cluster you may want to modify are
summarized as follows:
The po st_fai l _d el ay attribute is the number of seconds the fence daemon (fenced ) waits
before fencing a node (a member of the fence domain) after the node has failed. The
po st_fail _d el ay default value is 0 . Its value may be varied to suit cluster and network
performance.
The po st-jo i n_d el ay attribute is the number of seconds the fence daemon (fenced ) waits
before fencing a node after the node joins the fence domain. The po st_jo i n_d el ay default
value is 6 . A typical setting for post_jo i n_d el ay is between 20 and 30 seconds, but can vary
according to cluster and network performance.
You reset the values of the po st_fai l _d el ay and po st_jo i n_d el ay attributes with the --
setfenced aemo n option of the ccs command. Note, however, that executing the ccs --
setfenced aemo n command overwrites all existing fence daemon properties that have been
explicitly set and restores them to their default values.
Chapt er 5. Configuring Red Hat Hig h Availabilit y Add- O n Wit h t he ccs Command
73