[Pacemaker] Monitoring on master node not running after standby is connected
Juraj Fabo
juraj.fabo at gmail.com
Fri Sep 20 07:06:36 UTC 2013
Juraj Fabo <juraj.fabo at ...> writes:
>
> Juraj Fabo <juraj.fabo <at> ...> writes:
>
> >
> > Dear all
> >
> > Attached is my 2-nodes, master slave cluster configuration with master-slave
> > postgresql resource and some IP resources.
> > I've modified pgsql resource agent to log its "main" entry with the
> > parameter to see what operation is called.
> > My problem is that while the single node is running, the monitor operation
> > on pgsql resource is running.
> > Even after promoting to master.
> >
> > However, when second node is connected, monitor operation is no longer
> > executed on master node, only on hot-standby.
> > I've seen very similar bug report
> > http://bugs.clusterlabs.org/show_bug.cgi?id=5072 which was quite some time
> > ago fixed.
> > I know that the monitor operation on MS resource must be configured twice
> > with different intervals to work properly
> > according to
> >
>
> Hi
>
> in verbose logs I found messages that the pgsql resource agent on running
> master is notified with pre/post stop operation when second node connects
> and the monitoring operation on master is cancelled.
>
> in my log "ifds1" is master and "ifds2" slave (or slave candidate)
>
> but why is the pgsql RA on master monitoring cancelled?
>
> Juraj
>
Recently I've replaced pgsql RA with example Stateful RA to check whether
the monitoring will be affected also or it is pgsql specific.
However, the result was again that the monitoring on master was cancelled
after standby connected
Sep 20 08:57:18 [4314] ifds1 lrmd: debug: process_lrmd_message:
Processed lrmd_rsc_info operation from
f1a10810-ef4e-4b8e-8e7f-41f060fa53a5: rc=0, reply=0, notify=0, exit=4202544
Sep 20 08:57:18 [17177] ifds1 crmd: debug:
stop_recurring_action_by_rsc: Cancelling op 190 for IFDS-Stateful
(IFDS-Stateful:190)
Sep 20 08:57:18 [17177] ifds1 crmd: debug: cancel_op: Cancelling
op 190 for IFDS-Stateful (IFDS-Stateful:190)
Sep 20 08:57:18 [4314] ifds1 lrmd: info: cancel_recurring_action:
Cancelling operation IFDS-Stateful_monitor_10000
Sep 20 08:57:18 [4314] ifds1 lrmd: debug: log_finished:
finished - rsc:IFDS-Stateful action:monitor call_id:190 exit-code:8
exec-time:0ms queue-time:0ms
Sep 20 08:57:18 [4314] ifds1 lrmd: debug: process_lrmd_message:
Processed lrmd_rsc_cancel operation from
f1a10810-ef4e-4b8e-8e7f-41f060fa53a5: rc=0, reply=1, notify=0, exit=4202544
Sep 20 08:57:18 [17177] ifds1 crmd: debug: cancel_op: Op 190 for
IFDS-Stateful (IFDS-Stateful:190): cancelled
Sep 20 08:57:18 [17177] ifds1 crmd: debug: do_lrm_rsc_op:
Stopped 0 recurring operations in preparation for IFDS-Stateful_notify_0
Sep 20 08:57:18 [17177] ifds1 crmd: info: do_lrm_rsc_op:
Performing key=70:8:0:8c89d21b-182a-4a6e-8211-4a0c16277426
op=IFDS-Stateful_notify_0
Sep 20 08:57:18 [4314] ifds1 lrmd: debug: process_lrmd_message:
Processed lrmd_rsc_exec operation from
f1a10810-ef4e-4b8e-8e7f-41f060fa53a5: rc=204, reply=1, notify=0, exit=4202544
Sep 20 08:57:18 [4314] ifds1 lrmd: info: log_execute:
executing - rsc:IFDS-Stateful action:notify call_id:204
Sep 20 08:57:18 [17177] ifds1 crmd: notice: te_rsc_command:
Initiating action 72: notify IFDS-Stateful_pre_notify_demote_0 on ifds2
Sep 20 08:57:18 [17177] ifds1 crmd: debug: run_graph: Transition 8
(Complete=2, Pending=4, Fired=2, Skipped=0, Incomplete=32,
Source=/var/lib/pacemaker/pengine/pe-error-4.bz2): In-progress
Sep 20 08:57:18 [4314] ifds1 lrmd: debug: process_lrmd_message:
Processed lrmd_rsc_info operation from
f1a10810-ef4e-4b8e-8e7f-41f060fa53a5: rc=0, reply=0, notify=0, exit=4202544
Sep 20 08:57:18 [17177] ifds1 crmd: info: process_lrm_event: LRM
operation IFDS-Stateful_monitor_10000 (call=190, status=1, cib-update=0,
confirmed=true) Cancelled
More information about the Pacemaker
mailing list