Stéphane Pétrot spetrot
Tue Aug 30 14:35:13 PDT 2005
Hello,

I am doing some tests about failover process for a simple cluster : 
node1 = master
node2 = slave

I run the perl script : slonik_failover node1 node2 where node1 is the dead 
one and node2 is the backup.
Everything works fine.

Then, I want to restore the previous configuration and I don't know exactly 
how to do. I have read that one solution is to restore the database of node1 
from scratch as a subscriber. But when I run the script (on node2) :
slonik_subscribe_set set1 node1 
I have an error telling that it is impossible to subscribe to the set with 
the same origin and subscriber (node1 in my case), because node1 is the 
master in the configuration file that I use. Do I have to use another 
configuration file after running the failover script, telling that the new 
master is node2? And then doing switchover from node2 to node1?

Thanks
St?phane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gborg.postgresql.org/pipermail/slony1-general/attachments/20050830/bd401b16/attachment.html


More information about the Slony1-general mailing list