Hannu Krosing hannu at krosing.net
Tue Jun 3 11:38:59 PDT 2008
On Tue, 2008-06-03 at 15:57 +0200, Marcin Kasperski wrote:
> (just preparing to configure my first Slony setup and reading docs,
>  which seem to contain different opinions)
> 
> There is machine MST on which master database runs.
> There is machine CLI on which subscriber database is to run, from
> which slonik scripts are to be executed just as most psql-s.
> 
> CLI is able to reach MST 
> 
> MST is *not* able to reach CLI (bah, it even can't address it at the
> moment)

you have to have a connection both ways 

one way to do it is setting up a ssh tunnel from CLI:

ssh R:5555:127.0.0.1:5432 MST

and use host=127.0.0.1 post=5555 as masters address on client

> Will Slony-I work in such config, or not? 
> After reading http://slony.info/documentation/plainpaths.html
> I feel that it should, but a few other articles tend to require
> any-to-any communication paths.
> 
> So - do master need a connection to subscriber?
> 
> And if so - for what?
> (I understand that it would be needed if master had to read events
>  from subscriber, also if I were to swap master with backup, but
>  is this all?)
> 
> 
> _______________________________________________
> Slony1-general mailing list
> Slony1-general at lists.slony.info
> http://lists.slony.info/mailman/listinfo/slony1-general



More information about the Slony1-general mailing list