Hi Just trying out slony1. Just wanted to make sure I have done all the right things.
I have 2 postgres servers A B, both servers have 8.1 + the 3 slony packages ii postgresql-8.1-slony1 1.2.6-1 replication system for PostgreSQL ii slony1-bin 1.2.6-1 replication system for PostgreSQL ii slony1-doc 1.2.6-1 Slony-I documentation A is the master B is the slave, I have copied over the schema of the test db (tstdb) on A * I created a /etc/slony/slon_tools.conf * I updated /etc/defaults/slony1 for node 1 2 (actually needs the numbers not the names of the nodes, as defined in he conf file) * ran slonik_init_cluster | slonik * ran slonik_create_set set1 | slonik * ran /etc/init.d/slony1 start on B * copied /etc/slony/slon_tools.conf from A * ran slonik_subscribe_set set1 node2 | slonik I just have the nagging feeling that I should be running something else on B. But it seems to be working ? The next question is how to add another set, I would presume it would just be on A * updated /etc/slony/slon_tools.conf * slonik_create_set set2 | slonik * /etc/init.d/slony1 restart on B * update /etc/slony/slon_tools.conf * ran slonik_subscribe_set set2 node2 | slonik The reason to ask this is that in the documentation on the postgres site they talk about running daemons on each of the nodes and I don't seem to be doing that ? Alex
signature.asc
Description: Digital signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
