[Pacemaker] Multiple independent two-node clusters side-by-side?

Andreas Ntaflos daff at pseudoterminal.org
Thu Oct 28 13:23:18 UTC 2010


On Thursday 28 October 2010 08:53:54 Dan Frincu wrote:
> Hi,
> 
> Andreas Ntaflos wrote:
> > Hi,
> > 
> > first time poster, short time Pacemaker user. I don't think this is
> > a very difficult question to answer but I seem to be feeding
> > Google the wrong search terms. I am using Pacemaker 1.0.8 and
> > Corosync 1.2.0 on Ubuntu 10.04.1 Server.
> > 
> > Short version: How do I configure multiple independent two-node
> > clusters where the nodes are all on the same subnet? Only the two
> > nodes that form the cluster should see that cluster's resources
> > and not any other.
> > 
> > Is this possible? Where should I look for more and detailed
> > information?
> 
> You need to specify different multicast sockets for this to work.
> Under the /etc/corosync/corosync.conf you have the interface
> statements. Even if all servers are in the same subnet, you can
> "split them apart" by defining unique multicast sockets.
[...]
> Now the multicast socket is 239.192.168.112:5405. It's unique, the
> network address is the same, but you add this config (edit according
> to your environment, this is just an example) to your other two
> nodes. So you have cluster1 formed out of node1 and node2 linked to
> 239.192.168.1:5405 and cluster2 formed out of node3 and node4 linked
> to 239.192.168.112:5405.
> 
> This way, the clusters don't _see_ each other, so you can reuse the
> resource ID's and see only two nodes per cluster.

Dan, thank you very much for your reply and detailed example. It got me 
exactly where I needed to go and now my two two-node clusters work 
independently from each other.

Thank you!

Andreas
-------------- 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/20101028/05add425/attachment-0004.sig>


More information about the Pacemaker mailing list