[Spread-users] Re: Spread localhost setup

Ilya Sterin sterini at gmail.com
Mon Nov 19 22:08:07 EST 2007


Ah, just realized that starting two daemons this way doesn't make
sense, it doesn't form a group.  So I guess now I'm just back with the
question if it's possible to have a multi-node setup on localhost.

Ilya

On Nov 19, 2007 4:33 PM, Ilya Sterin <sterini at gmail.com> wrote:
> I'm sure this was probably covered before, but I can't seem to locate
> this or search it (maybe I'm using wrong terminology for the search).
>
> I'm developing a db replication app and for testing, need to be able
> to test multiple spread nodes on localhost.  Can't seem to find any
> docs on doing this.  I'm ok with either running two segments and/or
> two daemons in a segment.
>
> My current setup is that of two spread conf files, each running on
> it's own port.  The hostname aliases are set up in /etc/hosts
>
> # spread1.conf
> Spread_Segment  127.0.0.255:4803 {
>         spread1         127.0.0.1
>         spread2         127.0.0.1
> }
>
>
> # spread2.conf
> Spread_Segment  127.0.0.255:4903 {
>         spread2         127.0.0.1
>         spread1         127.0.0.1
> }
>
> I didn't get as far as testing the setup yet, wanted to get some input
> on whether there is a problem with this setup and if it is, what's the
> proposed setup/configuration if at all possible to achieve this.
>
> Thanks.
>
> Ilya Sterin
>




More information about the Spread-users mailing list