[Pacemaker] Can Corosync bind to two networks

Arnold Krille arnold at arnoldarts.de
Sat May 12 13:48:09 EDT 2012


On Friday 11 May 2012 17:49:38 Steve Davidson wrote:
> We want to run the Corosync heartbeat on the private net and, as a
> backup heartbeat, allow Corosync heartbeat on our "public" net as well.
> 
> Thus in /etc/corosync/corosync.conf we need something like:
> 
> bindaddr_primary: 192.168.57.0
> bindaddr_secondary: 125.125.125.0
> 
> Our thinking is: if the private net connection fails but everything else
> is okay then we don't need to disrupt services since the private net
> failure won't affect our users.
> 
> Is there any way to do this?  Otherwise we need two interfaces connected
> to separate switches just for an (HA) heartbeat.  We don't want to
> recover services when everything is working except the private net or
> interface.

You simply want to define two communication rings on all the participating 
nodes. When one ring fails (for one node or for all) there is still the second 
ring.

Works like charm.

Have fun,

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120512/52d42121/attachment-0003.sig>


More information about the Pacemaker mailing list