Installation guide
The following example specifies cl usternet-no d e1-eth2 as the alternate name for cluster node
cl usternet-no d e1-eth1.
<cluster name="mycluster" config_version="3" >
<logging debug="on"/>
<clusternodes>
<clusternode name="clusternet-node1-eth1" votes="1" nodeid="1">
<fence>
<method name="single">
<device name="xvm" domain="clusternet-node1"/>
</method>
</fence>
<altname name="clusternet-node1-eth2"/>
</clusternode>
The al tname section within the clusterno d e block is not position dependent. It can come before
or after the fence section. Do not specify more than one altname component for a cluster node or
the system will fail to start.
Optionally, you can manually specify a multicast address, a port, and a TTL for the second ring by
including an al tmul ti cast component in the cman section of the cl uster. co nf configuration
file. The al tmul ti cast component accepts an ad d r, a po rt, and a ttl parameter.
The following example shows the cman section of a cluster configuration file that sets a multicast
address, port, and TTL for the second ring.
<cman>
<multicast addr="239.192.99.73" port="666" ttl="2"/>
<altmulticast addr="239.192.99.88" port="888" ttl="3"/>
</cman>
7.7. Configuring Debug Opt ions
You can enable debugging for all daemons in a cluster, or you can enable logging for specific
cluster processing.
To enable debugging for all daemons, add the following to the /etc/cluster/cluster. co nf. By
default, logging is directed to the /var/l o g /cl uster/daemon. l o g file.
<cluster config_version="7" name="rh6cluster">
<logging debug="on"/>
...
</cluster>
To enable debugging for individual cluster processes, add the following lines to the the
/etc/cl uster/cl uster.co nf file. Per-daemon logging configuration overrides the global
settings.
<cluster config_version="7" name="rh6cluster">
...
Fencin g Configurat ion Examples
125