[Pacemaker] Trouble with ordering

Serge Dubrouski sergeyfd at gmail.com
Fri Sep 30 13:03:14 UTC 2011


May be you didn't look carefully but that script does exactly that, it
monitors process and service. Also if you want cluster to control your
service, it has to be able to start and stop it. You can configure your
service as a clone and it'll be up on several nodes.
But if you don't want to use it you don't have to.
On Sep 30, 2011 6:02 AM, "Gerald Vogt" <vogt at spamcop.net> wrote:
> On 30.09.11 13:41, Serge Dubrouski wrote:
>> OCF script for bind was recently added to cluster-resources on gorging.
>> Could you please try to use that one?
>
> Which script where?
>
> The one you have posted here:
>
http://lists.linux-ha.org/pipermail/linux-ha-dev/attachments/20110712/e1a1e792/attachment.obj
>
> doesn't do what I need. I don't want to start or stop the name server.
> The name server (bind process) is supposed to be running all the time to
> get updates from the master.
>
> The script also doesn't check whether the process is working or not. The
> process could be running but not responding.
>
> My script tests whether bind is listening on the resource ip address and
> whether it resolves one of our domains. If it does, it's O.K. If not, it
> fails.
>
> The script is working properly. I just need to tell pacemaker that
> ns1-ip should always be stopped before ns1-dns. That's not the case if
> ns1-dns monitor returns failure.
>
> Thanks!
>
> Gerald
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110930/c5a50c1e/attachment.htm>


More information about the Pacemaker mailing list