[Pacemaker] Restart service after failover or failback

Andrew Beekhof andrew at beekhof.net
Thu Aug 29 21:39:29 EDT 2013


On 30/08/2013, at 1:28 AM, Digimer <lists at alteeve.ca> wrote:

> Use the "script" resource agent.

No!
LSB scripts are supported directly:
  http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Pacemaker_Explained/_linux_standard_base.html

example at the bottom of:
  http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Pacemaker_Explained/s-resource-options.html


> 
> On 29/08/13 00:45, lista linux wrote:
>> Hi,
>> 
>> I already see the docs, but I dont understand How I can do pacemaker
>> execute "/etc/init.d/named restart"?
>> 
>> Regards,
>> On 08/29/2013 01:24 AM, Digimer wrote:
>>> On 29/08/13 00:16, lista linux wrote:
>>>> Hi,
>>>> 
>>>> Sorry for my english.
>>>> 
>>>> I need help to configure my corosync/pacemaker to restart the named
>>>> service after failover or failback.
>>>> 
>>>> Regards,
>>> 
>>> The "Cluster from Scratch" at the link below is the best place to start;
>>> 
>>> http://clusterlabs.org/doc/
>>> 
>> 
> 
> 
> -- 
> Digimer
> Papers and Projects: https://alteeve.ca/w/
> What if the cure for cancer is trapped in the mind of a person without access to education?
> 
> _______________________________________________
> 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://bugs.clusterlabs.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130830/db631662/attachment-0003.sig>


More information about the Pacemaker mailing list