Tue Aug 1 05:55:16 PDT 2006
- Previous message: [Slony1-general] Very slow initial replica population
- Next message: [Slony1-general] FAILOVER
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks Christopher, In fact that's how I'm stopping the replication (I'm not using the -9 or -2 options), but sometimes it won't die... Regards Andre -----Mensagem original----- De: Christopher Browne [mailto:cbbrowne at ca.afilias.info] Enviada em: segunda-feira, 31 de julho de 2006 19:29 Para: Andre Chagas de Miranda Reboucas Cc: slony1-general at gborg.postgresql.org Assunto: Re: [Slony1-general] Slony-I Start/Stop Sript to use with HeartBeat Andre Chagas de Miranda Reboucas wrote: > Hi everyone, > > I'm building a HA solution with Slony-I + HeartBeat with 2 machines, and my goal is to create a script that should be able to start/stop Slony-I Replication in order to use it in my haresources file. > > My ideia was to gather all slony-I initialization scripts into a /etc/init.d/ script. So far my script is doing quite well in starting Slony-I, but I'm having troubles when I try to stop it. The problem is that, until now, I didn't find out other ways to stop Slony, unless killing slon or stoping postgres service. > > Does anyone has any tip of how to stop slony decently? > > Thanks a lot. > Simple answer: Go ahead, kill the slon process. That is how to get replication to stop. When we want to shut replication down, the script usually does something like the following: kill -2 $PID sleep 10 kill -9 $PID e.g. - if the slon refuses to die, it puts it down hard...
- Previous message: [Slony1-general] Very slow initial replica population
- Next message: [Slony1-general] FAILOVER
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list