3 CLUSTER=prod_replica_set
11 $BINDIR/slonik <<_EOF_
14 # define the namespace the replication system uses in our example it is
18 cluster name = $CLUSTER;
21 # admin conninfo's are used by slonik to connect to the nodes one for each
22 # node on each side of the cluster, the syntax is that of PQconnectdb in
26 node 1 admin conninfo = 'dbname=$DBNAME host=$MASTERHOST user=$PGUSER';
27 node 2 admin conninfo = 'dbname=$DBNAME host=$SLAVEHOST user=$PGUSER';
29 subscribe set ( id = 1, provider = 1, receiver = 2, forward = yes);