[Pacemaker] LRM operation monitor gives unknown error

Andrew Beekhof andrew at beekhof.net
Fri Jul 30 06:22:51 UTC 2010


On Thu, Jul 29, 2010 at 3:56 PM, Cory Coager <ccoager at davisvision.com> wrote:
> Hi all, first time setup here.  I'm having an issue with one specific
> service, bind.  The service actually starts and stops fine through pacemaker
> but for whatever reason the monitor event always gives an unknown error for
> this service on both nodes.  How can I fix this?

Looks like your init scripts are not LSB compliant.
   http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ap-lsb.html

>
> I am running Ubuntu 10.04 x64.  I'm trying to cluster drbd, nagios, bind and
> apache.  My setup seems to work, services stop and start fine, I can
> failover fine just have this one small problem.
>
>
> crm_mon shows:
> bind_monitor_0 (node=node2, call=55, rc=1, status=complete): unknown error
>
> logs show:
> crmd: [1398]: info: process_lrm_event: LRM operation bind_monitor_0 (call=3,
> rc=1, cib-update=8, confirmed=true) unknown error
>
> config:
> node $id="2890c964-4ae7-4707-8f80-d66f682e286e" node1
> node $id="4b7f43c4-d04f-4f92-ba60-be8a3abcbcd0" node2
> primitive apache lsb:apache2
> primitive bind lsb:bind9
> primitive drbd0 ocf:heartbeat:drbd \
>        params drbd_resource="nagios" ignore_deprecation="true" \
>        op monitor interval="29s" role="Master" timeout="10s" \
>        op monitor interval="30s" role="Slave" timeout="10s"
> primitive fs_nagios ocf:heartbeat:Filesystem \
>        params fstype="ext4" directory="/mnt/nagios" device="/dev/drbd0"
> primitive nagios lsb:nagios3
> group rg_nagios fs_nagios bind apache nagios \
>        meta target-role="Started"
> ms ms-drbd0 drbd0 \
>        meta clone-max="2" notify="true" globally-unique="false"
> target-role="Started" is-managed="true"
> location cli-prefer-rg_nagios rg_nagios \
>        rule $id="cli-prefer-rule-rg_nagios" inf: #uname eq node1
> colocation rg_nagios-on-ms-drbd0 inf: rg_nagios ms-drbd0:Master
> order ms-drbd0-before-rg_nagios inf: ms-drbd0:promote rg_nagios:start
> property $id="cib-bootstrap-options" \
>        dc-version="1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd" \
>        cluster-infrastructure="Heartbeat" \
>        stonith-enabled="false" \
>        last-lrm-refresh="1280350700"
>
>
> ~Cory Coager
>
>
>
> ------------------------------------------------------------------------
> The information contained in this communication is intended
> only for the use of the recipient(s) named above. It may
> contain information that is privileged or confidential, and
> may be protected by State and/or Federal Regulations. If
> the reader of this message is not the intended recipient,
> you are hereby notified that any dissemination,
> distribution, or copying of this communication, or any of
> its contents, is strictly prohibited. If you have received
> this communication in error, please return it to the sender
> immediately and delete the original message and any copy
> of it from your computer system. If you have any questions
> concerning this message, please contact the sender.
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> 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