Re: [Pacemaker] Can Master/Slave resource transit from Master to Stopped directly ?

2012-06-05 Thread Michael Vallaly
Takatoshi MATSUO, Have you made any further progress on the OCF RA script for Postgresql 9.1 streaming replication? I would like to setup a HA cluster here explicitly for Postgresql 9.1, but was having a few problems setting up the examples on your github wiki page. Are you currently able to

Re: [Pacemaker] Can Master/Slave resource transit from Master to Stopped directly ?

2012-06-05 Thread Takatoshi MATSUO
Hi Michael Vallaly 2012/6/6 Michael Vallaly pacema...@nolatency.com: Takatoshi MATSUO, Have you made any further progress on the OCF RA script for Postgresql 9.1 streaming replication? No, I haven't. I would like to setup a HA cluster here explicitly for Postgresql 9.1, but was having a

Re: [Pacemaker] Can Master/Slave resource transit from Master to Stopped directly ?

2012-03-08 Thread Takatoshi MATSUO
Hi 2012/3/8 Andrew Beekhof and...@beekhof.net: On Thu, Mar 8, 2012 at 7:56 AM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Tue, Mar 06, 2012 at 08:18:28PM +0900, Takatoshi MATSUO wrote: Hi Dejan 2012/3/6 Dejan Muhamedagic deja...@fastmail.fm: Hi, On Tue, Mar 06, 2012 at

Re: [Pacemaker] Can Master/Slave resource transit from Master to Stopped directly ?

2012-03-07 Thread Lars Ellenberg
On Tue, Mar 06, 2012 at 08:18:28PM +0900, Takatoshi MATSUO wrote: Hi Dejan 2012/3/6 Dejan Muhamedagic deja...@fastmail.fm: Hi, On Tue, Mar 06, 2012 at 01:15:45PM +0900, Takatoshi MATSUO wrote: Hi I want Pacemaker to transit from Master to Stopped directly on demote without

Re: [Pacemaker] Can Master/Slave resource transit from Master to Stopped directly ?

2012-03-07 Thread Andrew Beekhof
On Thu, Mar 8, 2012 at 7:56 AM, Lars Ellenberg lars.ellenb...@linbit.com wrote: On Tue, Mar 06, 2012 at 08:18:28PM +0900, Takatoshi MATSUO wrote: Hi Dejan 2012/3/6 Dejan Muhamedagic deja...@fastmail.fm: Hi, On Tue, Mar 06, 2012 at 01:15:45PM +0900, Takatoshi MATSUO wrote: Hi I want

Re: [Pacemaker] Can Master/Slave resource transit from Master to Stopped directly ?

2012-03-06 Thread Dejan Muhamedagic
Hi, On Tue, Mar 06, 2012 at 01:15:45PM +0900, Takatoshi MATSUO wrote: Hi I want Pacemaker to transit from Master to Stopped directly on demote without failcount for managing PostgreSQL streaming replication. Can Pacemaker do this ? What the RA should do on demote is, well, demote an

Re: [Pacemaker] Can Master/Slave resource transit from Master to Stopped directly ?

2012-03-06 Thread Takatoshi MATSUO
Hi Dejan 2012/3/6 Dejan Muhamedagic deja...@fastmail.fm: Hi, On Tue, Mar 06, 2012 at 01:15:45PM +0900, Takatoshi MATSUO wrote: Hi I want Pacemaker to transit from Master to Stopped directly on demote without failcount for managing PostgreSQL streaming replication. Can Pacemaker do this ?

[Pacemaker] Can Master/Slave resource transit from Master to Stopped directly ?

2012-03-05 Thread Takatoshi MATSUO
Hi I want Pacemaker to transit from Master to Stopped directly on demote without failcount for managing PostgreSQL streaming replication. Can Pacemaker do this ? I returned $OCF_NOT_RUNNING on demote as a trial, but it incremented a failcount. Regards, Takatoshi MATSUO