[ClusterLabs] two node cluster: do the nodes have to be in the same subnet ?

Digimer lists at alteeve.ca
Tue Apr 28 11:11:40 EDT 2015


"Can do it" and "should do it" are not the same. :)

Stretch-clusters are very hard and complex to implement properly because
of unreliable fencing (WAN goes down, so do all methods of fencing and
the cluster will have to hang).

digimer

On 28/04/15 07:17 AM, T.J. Yang wrote:
> Thanks Miachel for the pointer Bernd's question.
> 
> I have a two nodes spread across two WANs.  Here is the verification
> that udpu unicast is being used.
> 
> [root at pcmk1 ~]# grep transport /etc/corosync/corosync.conf
> transport: udpu
> [root at pcmk1 ~]#
> 
> On Tue, Apr 28, 2015 at 6:07 AM, Michael Schwartzkopff <ms at sys4.de
> <mailto:ms at sys4.de>> wrote:
> 
>     Am Dienstag, 28. April 2015, 13:04:29 schrieb Lentes, Bernd:
>     > Hi,
>     >
>     > i want to create a two node cluster. Does the nodes have to reside in the
>     > same subnet ?
>     >
>     >
>     >
>     > Bernd
> 
>     corosync uses multiast. If your network forwards the multicast, between
>     subnets, you can install the servers on different subnets.
> 
>     If your network does not forward the multicast, you can configure
>     corosync to
>     use unicast. See man corosync and the section udpu in there.
> 
>     or google for corosync and udpu
> 
> 
>     Mit freundlichen Grüßen,
> 
>     Michael Schwartzkopff
> 
>     --
>     [*] sys4 AG
> 
>     http://sys4.de, +49 (89) 30 90 46 64
>     <tel:%2B49%20%2889%29%2030%2090%2046%2064>, +49 (162) 165 0044
>     <tel:%2B49%20%28162%29%20165%200044>
>     Franziskanerstraße 15, 81669 München
> 
>     Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
>     Vorstand: Patrick Ben Koetter, Marc Schiffbauer
>     Aufsichtsratsvorsitzender: Florian Kirstein
>     _______________________________________________
>     Users mailing list: Users at clusterlabs.org <mailto:Users at clusterlabs.org>
>     http://clusterlabs.org/mailman/listinfo/users
> 
>     Project Home: http://www.clusterlabs.org
>     Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>     Bugs: http://bugs.clusterlabs.org
> 
> 
> 
> 
> -- 
> T.J. Yang
> 
> 
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
> 


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?




More information about the Users mailing list