Josh Harrison joshques at gmail.com
Wed Dec 12 18:14:04 PST 2007
> Again, looking at the docs.  It's not clear where these processes are
> supposed to be run from.  Taking the basic scenario with a single master
> and one node, where do I run the following:
>
> # Initialize cluster:
> $ slonik_init_cluster  | slonik

Fire this at the master node

>
>
> # Start slon  (here 1 and 2 are node numbers)
> $ slon_start 1

At master

>
> $ slon_start 2

At slave node
If both your master and slave are in the same machine then fire them at the
same machine.

>
>
> # Create Sets (here 1 is a set number)
> $ slonik_create_set 1

At the master node

>
>
> # subscribe set to second node (1=3D set ID, 2=3D node ID)
> $ slonik_subscribe_set  2 | slonik

At the slave node

josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20071212/=
b33c8b67/attachment.htm


More information about the Slony1-general mailing list