[ClusterLabs] Problem with MariaDB cluster
Valentin Vidić
vvidic at valentin-vidic.from.hr
Wed Feb 1 19:47:32 EST 2023
On Tue, Jan 31, 2023 at 02:45:46PM +0000, Thomas CAS wrote:
> What solution can I use while waiting for a fix for this bug?
> Modify RA?
AFAICT this is not a bug in RA and notify variables are also set for
start/stop/promote/demote actions:
https://github.com/ClusterLabs/pacemaker/blob/9c4ea063f77e55b012c9f61e86052f2e6b270834/lib/pengine/pe_notif.c#L809
For example:
<synapse id="10">
<action_set>
<rsc_op id="10" operation="start" operation_key="drbd1:1_start_0" on_node="dktest1sles10" on_node_uuid="c563f60c-45a8-439e-85dc-645f4ecc150d">
<primitive id="drbd1" long-id="drbd1:1" class="ocf" provider="heartbeat" type="drbd"/>
<attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_notify="true" CRM_meta_notify_active_resource="drbd1:0" CRM_meta_notify_active_uname="dktest2sles10" CRM_meta_notify_all_uname="dktest1sles10 dktest2sles10" CRM_meta_notify_available_uname="dktest1sles10 dktest2sles10" CRM_meta_notify_demote_resource="drbd1:0" CRM_meta_notify_demote_uname="dktest2sles10" CRM_meta_notify_inactive_resource="drbd1:1" CRM_meta_notify_master_resource="drbd1:0" CRM_meta_notify_master_uname="dktest2sles10" CRM_meta_notify_promote_resource=" " CRM_meta_notify_promote_uname=" " CRM_meta_notify_promoted_resource="drbd1:0" CRM_meta_notify_promoted_uname="dktest2sles10" CRM_meta_notify_slave_resource=" " CRM_meta_notify_slave_uname=" " CRM_meta_notify_start_resource="drbd1:1" CRM_meta_notify_start_uname="dktest1sles10" CRM_meta_notify_stop_resource="drbd1:0" CRM_meta_notify_stop_uname="dktest2sles10" CRM_meta_notify_unpromoted_resource=" " CRM_meta_notify_unpromoted_uname=" " CRM_meta_on_node="dktest1sles10" CRM_meta_on_node_uuid="c563f60c-45a8-439e-85dc-645f4ecc150d" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" drbd_resource="drbd1"/>
</rsc_op>
</action_set>
<inputs>
<trigger>
<pseudo_event id="12" operation="start" operation_key="ms-drbd1_start_0"/>
</trigger>
</inputs>
</synapse>
Is there any difference in the configuration, maybe meta option notify=true is
not set on the RA?
--
Valentin
More information about the Users
mailing list