[Pgcluster-general] Question about setting up PGCluster

Dmitriy MiksIr miksir at maker.ru
Thu Nov 1 16:50:01 UTC 2007


> on the crashed node do:
> pg_ctl .... -o "-i -R" 
> (or instead of -R use -r or -u, whateever you like). This will resync your 
> formerly crashed cluster server like this:
> - crashed node talks to pgreplicate: "Hi, I am back, please resync me"
> - pgreplicate talks to a working node to now become the "master" for the time 
> being and to the crashed node to become the salve
> - nodes sync the filesystem files directly using rsync over ssh, so make sure 
> you have that one setup perfectly (BTW: I used ssh -2 instead of ssh -1) and 
> no password or hosts prompts happen between any of the nodes anymore (logging 
> in spree ...)
> - After a successful 2-stage sync, your crashed node is back up again and 
> working
> 

Is the all nodes locked for writes then do rsync?



More information about the Pgcluster-general mailing list