[Pacemaker] monitor on disabled nodes
Radoslaw Garbacz
radoslaw.garbacz at xtremedatainc.com
Wed Sep 18 17:20:08 UTC 2013
Sorry for not being specific.
The agent is meant to run only on a specific node (the head), and by
constraints is disabled on all other nodes.
'pcs constraint' reports:
Location Constraints:
Resource: dbx_nfs_head
Enabled on: ip-10-138-14-225
Disabled on: ip-10-151-14-34 ip-10-238-146-54
'pcs status' reports:
Failed actions:
dbx_nfs_head_monitor_0 (node=ip-10-238-146-54, call=1127, rc=6,
status=complete): not configured
dbx_nfs_head_monitor_0 (node=ip-10-151-14-34, call=1127, rc=6,
status=complete): not configured
So it has been started with this constraint. The agent requires certain
configuration, which is present only on the head node, so I would like to
keep it away from all other nodes, but as far as I understand, the
pacemaker needs to check if it is running, so I would like to recognize
this situation and skip the check on all nodes except the head.
Thanks,
On Wed, Sep 18, 2013 at 11:17 AM, Lars Marowsky-Bree <lmb at suse.com> wrote:
> On 2013-09-18T11:13:46, Radoslaw Garbacz <
> radoslaw.garbacz at xtremedatainc.com> wrote:
>
> > Hi,
> >
> > I have a question regarding the "monitor" operation on disabled nodes.
> >
> > I noticed that this operation is called even, when an agent is disabled
> for
> > a node. Is it an indented behavior or is there something wrong with my
> > configuration?
>
> Can you define "agent is disabled for a node"? I don't know how to do
> that in pacemaker, so I have no idea what you mean.
>
> > Another question is, if it is intended, whether there is any way to
> > distinguish such a call from a normal health check of a running agent
> (like
> > "ocf_is_probe" for "validate-all" operation)?
>
> So you're not asking about the probe, but some other time? Do you mean
> the role="Stopped" one? I'm missing a few details; what is happening,
> what is your configuration?
>
>
> Regards,
> Lars
>
> --
> Architect Storage/HA
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
> Imendörffer, HRB 21284 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
>
> _______________________________________________
> 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
>
--
Best Regards,
Radoslaw Garbacz
XtremeData Incorporation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130918/2546deea/attachment.htm>
More information about the Pacemaker
mailing list