[Pacemaker] Monitoring on master node not running after standby is connected

Juraj Fabo juraj.fabo at gmail.com
Tue Sep 24 17:38:23 UTC 2013


On Mon, Sep 23, 2013 at 7:38 AM, Andrew Beekhof <andrew at beekhof.net> wrote:

>
> On 20/09/2013, at 1:39 AM, Juraj Fabo <juraj.fabo at gmail.com> wrote:
>
> > -                   g_hash_table_size(lrm_state->pending_ops), removed,
> when);
> > +                   g_hash_table_size(lrm_state->pending_ops), when,
> removed);
> >     }
> >
> >     if (lrm_state->pending_ops) {
>
> Should be:
>
> diff --git a/crmd/lrm.c b/crmd/lrm.c
> index 734f73f..191625b 100644
> --- a/crmd/lrm.c
> +++ b/crmd/lrm.c
> @@ -353,7 +353,7 @@ lrm_state_verify_stopped(lrm_state_t * lrm_state, enum
> crmd_fsa_state cur_state,
>              lrm_state->pending_ops, stop_recurring_actions, lrm_state);
>
>          crm_notice("Stopped %u recurring operations at %s (%u ops
> remaining)",
> -                   g_hash_table_size(lrm_state->pending_ops), when,
> removed);
> +                   removed, when,
> g_hash_table_size(lrm_state->pending_ops));
>      }
>
>      if (lrm_state->pending_ops) {
>
>
Hello Andrew

thank you for the response.
I've patched crmd, cleaned the cluster, done the scenario steps and created
crm_report which is attached.
After loading the cluster configuration both nodes were running the
IFDS-Stateful resource monitoring properly, however after restarting
pacemaker on the slave node monitoring on the master node was cancelled

ifds1 was slave, monitoring of IFDS-Stateful running 11seconds interval
ifds2 was master,  monitoring of IFDS-Stateful running 10 seconds interval
log messages in ifds_ha.log

with best regards

Juraj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130924/d3c0bbb6/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: monitoring_stopped_on_ifds2.tar.bz2
Type: application/x-bzip2
Size: 163036 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130924/d3c0bbb6/attachment-0009.bz2>


More information about the Pacemaker mailing list