Spread for dynamic cluster with nodes entering and leaving at any time
Luis Rodero-Merino <[email protected]> Mon, 16 Jun 2014 16:55:32 +0200
| Newsgroups | gmane.network.spread.user |
|---|---|
| Message-ID | <CAAG4mzKp3sVj8aGH-aUvFVLh1Z7N1d1mvG0J_YvW5FT1O9brcA@mail.gmail.com> |
--===============3942541771238752916==
Content-Type: multipart/alternative; boundary=089e013d1c4c03ce9504fbf53831
--089e013d1c4c03ce9504fbf53831
Content-Type: text/plain; charset=UTF-8
Hello,
I'm a newbie to spread, we are evaluating if it can fit in our scenario. We
have a dynamic cluster of hosts, where nodes can appear (e.g. I add one
more host to increase capacity) and disappear (e.g. some host fails) at any
moment. In this scenario we cannot know in advance which nodes will be
running at any given time, we only know the network they share. We need
nodes to be able to auto-discover each other (i.e., they realize through
spread about other nodes entering or leaving the cluster without any
intervention from administrators), so at all times any given node is aware
of who else is 'alive'.
Given spread documentation, I assume that we need to include in the
spread.conf file a 'Spread_Segment' section where all possible nodes are
defined before-hand, so for network a.b.c.* we could have something like :
Spread_Segment 224.0.2.2:4803 {
node1 a.b.c.1
node2 a.b.c.2
node3 a.b.c.3
...
node255 a.b.c.255
}
Is that so? Thank you very much for your help.
Best,
Luis
--
--089e013d1c4c03ce9504fbf53831
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Hello,<br></div><div><br></div><div>I'm a newbie =
to spread, we are evaluating if it can fit in our scenario. We have a dynam=
ic cluster of hosts, where nodes can appear (e.g. I add one more host to in=
crease capacity) and disappear (e.g. some host fails) at any moment. In thi=
s scenario we cannot know in advance which nodes will be running at any giv=
en time, we only know the network they share. We need nodes to be able to a=
uto-discover each other (i.e., they realize through spread about other node=
s entering or leaving the cluster without any intervention from administrat=
ors), so at all times any given node is aware of who else is 'alive'=
;.</div>
<div><br></div><div>Given spread documentation, I assume that we need to in=
clude in the spread.conf file a 'Spread_Segment' section where all =
possible nodes are defined before-hand, so for network a.b.c.* we could hav=
e something like :</div>
<div><br></div><div>Spread_Segment <a href=3D"http://224.0.2.2:4803">224.0.=
2.2:4803</a> {</div><div>=C2=A0 =C2=A0 node1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0a.b.c.1</div><div>=C2=A0 =C2=A0 node2 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0a.b.c.2</div><div>=C2=A0 =C2=A0 node3 =C2=A0 =C2=A0 =C2=A0=
=C2=A0 =C2=A0 =C2=A0a.b.c.3</div><div>=C2=A0 =C2=A0 ...</div>
<div>=C2=A0 =C2=A0 node255 =C2=A0 =C2=A0 =C2=A0 =C2=A0a.b.c.255</div><div>}=
</div><div><br></div><div>Is that so? Thank you very much for your help.</d=
iv><div><br></div><div>Best,</div><div>Luis</div><div>=C2=A0</div><div><div=
><br></div>-- <br><div dir=3D"ltr">
<div><img src=3D"http://s13.postimg.org/le5w90v53/firma.gif"><br></div></di=
v>
</div></div>
--089e013d1c4c03ce9504fbf53831--
--===============3942541771238752916==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Spread-users mailing list
[email protected]
http://lists.spread.org/mailman/listinfo/spread-users
--===============3942541771238752916==--