Christopher Browne cbbrowne
Wed Dec 15 03:31:40 PST 2004
Sun.betty wrote:

> Slony-I team:
> How do you do!
> in the course of use slony-I , I meet some quesion , if you or he or
> her know answer of quesion Please tell me. Thank you for your help
> very much !
> I read slony1-1.0.5\slony1-1.0.5\doc\howto\slony-I-failover.txt
> carefulness. and practice it .
> now I have some question:
> Question1:
> start slony process with command
> [slon golf "dbname=dbname user=username host=hostip port=serverport"]
> how to stop slony process ? except for use [ps] command find out pid
> ,then [kill pid] ¡£whether have stop command of slony?

Newer versions of slon support a "-p" option which puts the PID into a file.

If you're not running something new enough (and that may be new to CVS
HEAD), then using ps to search for the pid is the way to go.

> Question2:
> practice Failover chapter , use [drop node (id = 1, event node = 2);]
> I found node1's slon process was stop , and cluster was delete.
> if want recover cluster of node1 , how to do it?

You cannot "recover" the node 1 cluster after dropping the node.

When the node is dropped, Slony-I drops the namespace, triggers, and
such, which erases nearly all traces of the node's existence. It does
this sufficiently thoroughly that you cannot recover it.

You will have to recreate the node from scratch, which will involve
copying over all of the replicated data.


More information about the Slony1-general mailing list