[Pacemaker] Creating a resource from a script

Andrew Beekhof andrew at beekhof.net
Tue Mar 15 07:32:36 UTC 2011


Please keep all replies on the mailing list

On Mon, Mar 14, 2011 at 8:06 PM, tariq fillah <tariqfcb at gmail.com> 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 <andrew at beekhof.net>
>>
>> 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 <tariqfcb at gmail.com> wrote:
>> > 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.
>> >
>> > _______________________________________________
>> > Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
>> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>> >
>> > Project Home: http://www.clusterlabs.org
>> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
>> > Bugs:
>> >
>> > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>> >
>> >
>
>




More information about the Pacemaker mailing list