[Linux-cluster] Question about heart-beat with CS4

Patrick Caulfield pcaulfie at redhat.com
Tue Sep 27 07:00:29 UTC 2005


Alain Moulle wrote:
> Hi

For a CMAN/DLM based cluster:

> I wonder how the CS4 heart beat is managed :
> 
> 1. suppose we have two interfaces eth0 and eth1,
>    which one will be used ?
>    or will the CS4 use both ?

It will use the interface bound to the IP address of the hostname by default. If
you want to use the otehr interface then specify the name associated with the
inerface on the command-line to "cman_tool join"

> 2. is-it configurable somewhere ?
> 
> 3. is the time period between each ping on heart beat
>    configurable somewhere ?

in /proc/cluster/config/cman/ there are files you can poke values into. This
must be done beteen loading the cman module and running cman_tool join.

> 4. Is there a risk to split the cluster when using
>    only one ETH interface ?

Yes. If you want to use both interfaces then join them using the Linux bonding
driver.

-- 

patrick




More information about the Linux-cluster mailing list