Re: [Pacemaker] Creating a resource from a script

2011-03-15 Thread Andrew Beekhof
Please keep all replies on the mailing list On Mon, Mar 14, 2011 at 8:06 PM, tariq fillah wrote: > Thank you for your response. > By master, I mean, a node that will start the service Then you should add them to the start action of the resource agent. > > 2011/3/14 Andrew Beekhof >> >> Define

Re: [Pacemaker] Creating a resource from a script

2011-03-14 Thread Andrew Beekhof
Define "master" in this context? In Pacemaker a node is either running a service or its not, being a "master" doesn't come into it. On Sun, Mar 13, 2011 at 6:04 PM, tariq fillah wrote: > Hello the list, > > I want to execute some actions when the master node changes. So, I would > like to know ho

[Pacemaker] Creating a resource from a script

2011-03-13 Thread tariq fillah
Hello the list, I want to execute some actions when the master node changes. So, I would like to know how we can tell pacemaker to add the execution of a script as a resource that is started in the master node and stoped in the slave one. Thanks in advance. ___