Re: [Pacemaker] Multistate Resources is not promoted automatically

2010-11-11 Thread Andrew Beekhof
On Thu, Nov 11, 2010 at 11:38 AM, Simon Jansen wrote: > Hi Andrew, > > thank you for your answer. > >> Does the ocf:heartbeat:Rsyslog script call crm_master? >> It needs to to tell pacemaker which instance to promote. > > Yes it does. But I forgot to call crm_master with the option -D in the stop

Re: [Pacemaker] Multistate Resources is not promoted automatically

2010-11-11 Thread Simon Jansen
Hi Andrew, thank you for your answer. Does the ocf:heartbeat:Rsyslog script call crm_master? > It needs to to tell pacemaker which instance to promote. > Yes it does. But I forgot to call crm_master with the option -D in the stop action. I think that this was the error. After correcting this issu

Re: [Pacemaker] Multistate Resources is not promoted automatically

2010-11-11 Thread Dejan Muhamedagic
Hi, On Thu, Nov 11, 2010 at 11:11:14AM +0100, Andrew Beekhof wrote: > On Thu, Nov 11, 2010 at 9:59 AM, Simon Jansen > wrote: > > Hi everybody, > > > > I wrote a multistate resource agent to manage the Rsyslog service in a > > master/slave setup. > > In the master role the service is started with

Re: [Pacemaker] Multistate Resources is not promoted automatically

2010-11-11 Thread Andrew Beekhof
On Thu, Nov 11, 2010 at 9:59 AM, Simon Jansen wrote: > Hi everybody, > > I wrote a multistate resource agent to manage the Rsyslog service in a > master/slave setup. > In the master role the service is started with a predefined > rsyslog_master.conf. In the slave role with a predefined rsyslog_sla

[Pacemaker] Multistate Resources is not promoted automatically

2010-11-11 Thread Simon Jansen
Hi everybody, I wrote a multistate resource agent to manage the Rsyslog service in a master/slave setup. In the master role the service is started with a predefined rsyslog_master.conf. In the slave role with a predefined rsyslog_slave.conf configuration file. The start operation of the agent star