Re: [Pacemaker] MS-Resource never gets promoted

2012-06-28 Thread Andrew Beekhof
On Fri, Jun 29, 2012 at 1:08 AM, Stallmann, Andreas wrote: > > Hi Phil, > >> Does your RA call crm_master? Otherwise you will have to include location >> constraints in your configuration stating where the resource can be >> promoted. See here: > > It does... now. :-) Thanks for the hint. > >> M

Re: [Pacemaker] MS-Resource never gets promoted

2012-06-28 Thread Stallmann, Andreas
Hi Phil, > Does your RA call crm_master? Otherwise you will have to include location > constraints in your configuration stating where the resource can be promoted. > See here: It does... now. :-) Thanks for the hint. > Maybe also run something like "crm_simulate -Ls | grep promotion" and ver

Re: [Pacemaker] MS-Resource never gets promoted

2012-06-27 Thread Phil Frost
On 06/27/2012 12:38 PM, Stallmann, Andreas wrote: I let the tomcat script write some quite elaborate debug output, which NEVER shows an attempt to promote the resource. Any ideas? Does your RA call crm_master? Otherwise you will have to include location constraints in your configuration statin

[Pacemaker] MS-Resource never gets promoted

2012-06-27 Thread Stallmann, Andreas
Hi again, I’m still working on my tomcat master/slave resource-script. Well... the script works fine, as far as ocf-tester can be believed. start / stop / status / monitor / promote and demote are implemented and seem to work, when called from ocf-tester. Now I integradet the resource in crm l