Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-05-01 Thread Andrew Beekhof
On 10/04/2013, at 8:03 AM, Andrew Beekhof wrote: > > On 10/04/2013, at 4:33 AM, Felix Zachlod wrote: > >>> It seems no rule has been selected here and it has fallen back to the >> default. >>> It looks similar on the other node- but some times it seems that the >> script is >>> being called w

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Andrew Beekhof
On 10/04/2013, at 4:33 AM, Felix Zachlod wrote: >> It seems no rule has been selected here and it has fallen back to the > default. >> It looks similar on the other node- but some times it seems that the > script is >> being called with the correct params (without changing the cib, of > course).

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Felix Zachlod
Hello Rainer > -Ursprüngliche Nachricht- > Von: Rainer Brestan [mailto:rainer.bres...@gmx.net] > Gesendet: Dienstag, 9. April 2013 19:39 > An: The Pacemaker cluster resource manager > Betreff: Re: [Pacemaker] Clone Resources Individual Configuration per Node > > Hi F

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Felix Zachlod
> It seems no rule has been selected here and it has fallen back to the default. > It looks similar on the other node- but some times it seems that the script is > being called with the correct params (without changing the cib, of course). I > have no idea, why the crm seems to randomly select one

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Rainer Brestan
Felix Zachlod" An: "'The Pacemaker cluster resource manager'" Betreff: Re: [Pacemaker] Clone Resources Individual Configuration per Node Hi again, > I'd be interested to hear your conclusions. I am currently trying your suggestion with using rules. Can anyone t

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Felix Zachlod
Hello Jake, > Might not be quite what your looking for but... > > http://crmsh.nongnu.org/crm.8.html#cmdhelp_configure > > Under that section find location and it talks about rule parameters Yes I read that. But it does not work this way for the params section. I now edited the XML and added th

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Jake Smith
- Original Message - > From: "Felix Zachlod" > To: "The Pacemaker cluster resource manager" > Sent: Tuesday, April 9, 2013 9:32:34 AM > Subject: Re: [Pacemaker] Clone Resources Individual Configuration per Node > > Hi again, > > > I'

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Felix Zachlod
Hi again, > I'd be interested to hear your conclusions. I am currently trying your suggestion with using rules. Can anyone tell how to apply such a config via the crm shell? I usually do not edit the xml directly. But I cant find a way to do via the crm shell and did not find any documentation ho

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Andrew Beekhof
On 09/04/2013, at 5:16 PM, Felix Zachlod wrote: > Hello Andrew, > > hello everyone else. > >> All the other replies will work, however the original intention was that > people >> would use > > Thank you all for your replies. I will try the different approaches and see > which one fits best fo

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-09 Thread Felix Zachlod
Hello Andrew, hello everyone else. > All the other replies will work, however the original intention was that people > would use Thank you all for your replies. I will try the different approaches and see which one fits best for us. regards, Felix _

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-08 Thread Andrew Beekhof
All the other replies will work, however the original intention was that people would use http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html/Pacemaker_Explained/_using_rules_to_control_resource_options.html In practice it may be more or less usable than the alternatives. On 08/04/20

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-08 Thread Rainer Brestan
Hi Felix,   basically you have three option to provide information to the resource agent. - Resource parameters - Resource meta attributes - Node attributes   Let me assume some information for an example. Your nodes are named nodeA and nodeB. The hardware address for nodeA shall be 0x30

Re: [Pacemaker] Clone Resources Individual Configuration per Node

2013-04-08 Thread David Vossel
- Original Message - > From: "Felix Zachlod" > To: Pacemaker@oss.clusterlabs.org > Sent: Monday, April 8, 2013 2:34:07 AM > Subject: [Pacemaker] Clone Resources Individual Configuration per Node > > Hello List, > > I am up to writing a resource agent for Pacemaker which shall be used