I've gone through a good bit of trial and error, but I'd like to make sure I have my facts straight.

Very simple configuration: one cluster, two nodes (two servers), one set. db1 is the origin. db2 is a subscriber.
My question is very simple.  Which commands need to be run on which machine?

From the docs:

$ slonik_init_cluster  | slonik

I assume that the slonik_init_cluster command only needs to be run on db1, the origin server.

$ slonik_create_set 1 | slonik

I assume that the slonik_create_set command needs to be run on both db1 and db2, the subscriber.

$ slonik_subscribe_set  1 2 | slonik

I assume that the slonik_subscribe_set command only needs to be run on db2, the subscriber.

If my assumptions are wrong, I'd appreciate being corrected.

Thanks

Matt Hempel


_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general

Reply via email to