diff options
Diffstat (limited to 'cts/scheduler/exp/notify-behind-stopping-remote.exp')
-rw-r--r-- | cts/scheduler/exp/notify-behind-stopping-remote.exp | 422 |
1 files changed, 422 insertions, 0 deletions
diff --git a/cts/scheduler/exp/notify-behind-stopping-remote.exp b/cts/scheduler/exp/notify-behind-stopping-remote.exp new file mode 100644 index 0000000..7bcbe27 --- /dev/null +++ b/cts/scheduler/exp/notify-behind-stopping-remote.exp @@ -0,0 +1,422 @@ +<transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY" transition_id="0"> + <synapse id="0" priority="1000000"> + <action_set> + <rsc_op id="78" operation="notify" operation_key="redis_post_notify_promote_0" internal_operation_key="redis:0_post_notify_promote_0" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"> + <primitive id="redis" long-id="redis:0" class="ocf" provider="heartbeat" type="redis"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_container_attribute_target="host" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="notify" CRM_meta_notify="true" CRM_meta_notify_active_resource="redis:0 redis:2" CRM_meta_notify_active_uname="redis-bundle-0 redis-bundle-2" CRM_meta_notify_all_hosts="ra1 ra2 ra3 ra1 ra2 ra3" CRM_meta_notify_all_uname="ra1 ra2 ra3 redis-bundle-0 redis-bundle-1 redis-bundle-2" CRM_meta_notify_available_uname="ra1 ra2 ra3 redis-bundle-0 redis-bundle-1 redis-bundle-2" CRM_meta_notify_demote_resource=" " CRM_meta_notify_demote_uname=" " CRM_meta_notify_inactive_resource="redis:1" CRM_meta_notify_key_operation="promoted" CRM_meta_notify_key_type="post" CRM_meta_notify_master_resource=" " CRM_meta_notify_master_uname=" " CRM_meta_notify_operation="promote" CRM_meta_notify_promote_resource="redis:0" CRM_meta_notify_promote_uname="redis-bundle-0" CRM_meta_notify_promoted_resource=" " CRM_meta_notify_promoted_uname=" " CRM_meta_notify_slave_resource="redis:0 redis:2" CRM_meta_notify_slave_uname="redis-bundle-0 redis-bundle-2" CRM_meta_notify_start_resource=" " CRM_meta_notify_start_uname=" " CRM_meta_notify_stop_resource=" " CRM_meta_notify_stop_uname=" " CRM_meta_notify_type="post" CRM_meta_notify_unpromoted_resource="redis:0 redis:2" CRM_meta_notify_unpromoted_uname="redis-bundle-0 redis-bundle-2" CRM_meta_on_node="redis-bundle-0" CRM_meta_on_node_uuid="redis-bundle-0" CRM_meta_physical_host="ra1" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="90000" wait_last_known_master="true"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="54" operation="notify" operation_key="redis-bundle-master_post_notify_promoted_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="1"> + <action_set> + <rsc_op id="77" operation="notify" operation_key="redis_pre_notify_promote_0" internal_operation_key="redis:0_pre_notify_promote_0" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"> + <primitive id="redis" long-id="redis:0" class="ocf" provider="heartbeat" type="redis"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_container_attribute_target="host" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="notify" CRM_meta_notify="true" CRM_meta_notify_active_resource="redis:0 redis:2" CRM_meta_notify_active_uname="redis-bundle-0 redis-bundle-2" CRM_meta_notify_all_hosts="ra1 ra2 ra3 ra1 ra2 ra3" CRM_meta_notify_all_uname="ra1 ra2 ra3 redis-bundle-0 redis-bundle-1 redis-bundle-2" CRM_meta_notify_available_uname="ra1 ra2 ra3 redis-bundle-0 redis-bundle-1 redis-bundle-2" CRM_meta_notify_demote_resource=" " CRM_meta_notify_demote_uname=" " CRM_meta_notify_inactive_resource="redis:1" CRM_meta_notify_key_operation="promote" CRM_meta_notify_key_type="pre" CRM_meta_notify_master_resource=" " CRM_meta_notify_master_uname=" " CRM_meta_notify_operation="promote" CRM_meta_notify_promote_resource="redis:0" CRM_meta_notify_promote_uname="redis-bundle-0" CRM_meta_notify_promoted_resource=" " CRM_meta_notify_promoted_uname=" " CRM_meta_notify_slave_resource="redis:0 redis:2" CRM_meta_notify_slave_uname="redis-bundle-0 redis-bundle-2" CRM_meta_notify_start_resource=" " CRM_meta_notify_start_uname=" " CRM_meta_notify_stop_resource=" " CRM_meta_notify_stop_uname=" " CRM_meta_notify_type="pre" CRM_meta_notify_unpromoted_resource="redis:0 redis:2" CRM_meta_notify_unpromoted_uname="redis-bundle-0 redis-bundle-2" CRM_meta_on_node="redis-bundle-0" CRM_meta_on_node_uuid="redis-bundle-0" CRM_meta_physical_host="ra1" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="90000" wait_last_known_master="true"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="52" operation="notify" operation_key="redis-bundle-master_pre_notify_promote_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="2"> + <action_set> + <rsc_op id="32" operation="monitor" operation_key="redis_monitor_20000" internal_operation_key="redis:0_monitor_20000" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"> + <primitive id="redis" long-id="redis:0" class="ocf" provider="heartbeat" type="redis"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_container_attribute_target="host" CRM_meta_globally_unique="false" CRM_meta_interval="20000" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="monitor" CRM_meta_notify="true" CRM_meta_on_node="redis-bundle-0" CRM_meta_on_node_uuid="redis-bundle-0" CRM_meta_op_target_rc="8" CRM_meta_physical_host="ra1" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_role="Promoted" CRM_meta_timeout="60000" wait_last_known_master="true"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="31" operation="promote" operation_key="redis_promote_0" internal_operation_key="redis:0_promote_0" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"/> + </trigger> + <trigger> + <pseudo_event id="55" operation="notified" operation_key="redis-bundle-master_confirmed-post_notify_promoted_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="3"> + <action_set> + <rsc_op id="31" operation="promote" operation_key="redis_promote_0" internal_operation_key="redis:0_promote_0" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"> + <primitive id="redis" long-id="redis:0" class="ocf" provider="heartbeat" type="redis"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_container_attribute_target="host" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="promote" CRM_meta_notify="true" CRM_meta_notify_active_resource="redis:0 redis:2" CRM_meta_notify_active_uname="redis-bundle-0 redis-bundle-2" CRM_meta_notify_all_hosts="ra1 ra2 ra3 ra1 ra2 ra3" CRM_meta_notify_all_uname="ra1 ra2 ra3 redis-bundle-0 redis-bundle-1 redis-bundle-2" CRM_meta_notify_available_uname="ra1 ra2 ra3 redis-bundle-0 redis-bundle-1 redis-bundle-2" CRM_meta_notify_demote_resource=" " CRM_meta_notify_demote_uname=" " CRM_meta_notify_inactive_resource="redis:1" CRM_meta_notify_master_resource=" " CRM_meta_notify_master_uname=" " CRM_meta_notify_promote_resource="redis:0" CRM_meta_notify_promote_uname="redis-bundle-0" CRM_meta_notify_promoted_resource=" " CRM_meta_notify_promoted_uname=" " CRM_meta_notify_slave_resource="redis:0 redis:2" CRM_meta_notify_slave_uname="redis-bundle-0 redis-bundle-2" CRM_meta_notify_start_resource=" " CRM_meta_notify_start_uname=" " CRM_meta_notify_stop_resource=" " CRM_meta_notify_stop_uname=" " CRM_meta_notify_unpromoted_resource="redis:0 redis:2" CRM_meta_notify_unpromoted_uname="redis-bundle-0 redis-bundle-2" CRM_meta_on_node="redis-bundle-0" CRM_meta_on_node_uuid="redis-bundle-0" CRM_meta_physical_host="ra1" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="120000" wait_last_known_master="true"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="7" operation="cancel" operation_key="redis_monitor_60000" internal_operation_key="redis:0_monitor_60000" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"/> + </trigger> + <trigger> + <rsc_op id="8" operation="cancel" operation_key="redis_monitor_45000" internal_operation_key="redis:0_monitor_45000" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"/> + </trigger> + <trigger> + <pseudo_event id="50" operation="promote" operation_key="redis-bundle-master_promote_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="4"> + <action_set> + <rsc_op id="8" operation="cancel" operation_key="redis_monitor_45000" internal_operation_key="redis:0_monitor_45000" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"> + <primitive id="redis" long-id="redis:0" class="ocf" provider="heartbeat" type="redis"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_interval="45000" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="monitor" CRM_meta_notify="true" CRM_meta_on_node="redis-bundle-0" CRM_meta_on_node_uuid="redis-bundle-0" CRM_meta_operation="monitor" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="60000" wait_last_known_master="true"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="5"> + <action_set> + <rsc_op id="7" operation="cancel" operation_key="redis_monitor_60000" internal_operation_key="redis:0_monitor_60000" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"> + <primitive id="redis" long-id="redis:0" class="ocf" provider="heartbeat" type="redis"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_interval="60000" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="monitor" CRM_meta_notify="true" CRM_meta_on_node="redis-bundle-0" CRM_meta_on_node_uuid="redis-bundle-0" CRM_meta_operation="monitor" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_role="Unpromoted" CRM_meta_timeout="60000" wait_last_known_master="true"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="6" priority="1000000"> + <action_set> + <rsc_op id="80" operation="notify" operation_key="redis_post_notify_promote_0" internal_operation_key="redis:2_post_notify_promote_0" on_node="redis-bundle-2" on_node_uuid="redis-bundle-2" router_node="ra3"> + <primitive id="redis" long-id="redis:2" class="ocf" provider="heartbeat" type="redis"/> + <attributes CRM_meta_clone="2" CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_container_attribute_target="host" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="notify" CRM_meta_notify="true" CRM_meta_notify_active_resource="redis:0 redis:2" CRM_meta_notify_active_uname="redis-bundle-0 redis-bundle-2" CRM_meta_notify_all_hosts="ra1 ra2 ra3 ra1 ra2 ra3" CRM_meta_notify_all_uname="ra1 ra2 ra3 redis-bundle-0 redis-bundle-1 redis-bundle-2" CRM_meta_notify_available_uname="ra1 ra2 ra3 redis-bundle-0 redis-bundle-1 redis-bundle-2" CRM_meta_notify_demote_resource=" " CRM_meta_notify_demote_uname=" " CRM_meta_notify_inactive_resource="redis:1" CRM_meta_notify_key_operation="promoted" CRM_meta_notify_key_type="post" CRM_meta_notify_master_resource=" " CRM_meta_notify_master_uname=" " CRM_meta_notify_operation="promote" CRM_meta_notify_promote_resource="redis:0" CRM_meta_notify_promote_uname="redis-bundle-0" CRM_meta_notify_promoted_resource=" " CRM_meta_notify_promoted_uname=" " CRM_meta_notify_slave_resource="redis:0 redis:2" CRM_meta_notify_slave_uname="redis-bundle-0 redis-bundle-2" CRM_meta_notify_start_resource=" " CRM_meta_notify_start_uname=" " CRM_meta_notify_stop_resource=" " CRM_meta_notify_stop_uname=" " CRM_meta_notify_type="post" CRM_meta_notify_unpromoted_resource="redis:0 redis:2" CRM_meta_notify_unpromoted_uname="redis-bundle-0 redis-bundle-2" CRM_meta_on_node="redis-bundle-2" CRM_meta_on_node_uuid="redis-bundle-2" CRM_meta_physical_host="ra3" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="90000" wait_last_known_master="true"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="54" operation="notify" operation_key="redis-bundle-master_post_notify_promoted_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="7"> + <action_set> + <rsc_op id="79" operation="notify" operation_key="redis_pre_notify_promote_0" internal_operation_key="redis:2_pre_notify_promote_0" on_node="redis-bundle-2" on_node_uuid="redis-bundle-2" router_node="ra3"> + <primitive id="redis" long-id="redis:2" class="ocf" provider="heartbeat" type="redis"/> + <attributes CRM_meta_clone="2" CRM_meta_clone_max="3" CRM_meta_clone_node_max="1" CRM_meta_container_attribute_target="host" CRM_meta_globally_unique="false" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="notify" CRM_meta_notify="true" CRM_meta_notify_active_resource="redis:0 redis:2" CRM_meta_notify_active_uname="redis-bundle-0 redis-bundle-2" CRM_meta_notify_all_hosts="ra1 ra2 ra3 ra1 ra2 ra3" CRM_meta_notify_all_uname="ra1 ra2 ra3 redis-bundle-0 redis-bundle-1 redis-bundle-2" CRM_meta_notify_available_uname="ra1 ra2 ra3 redis-bundle-0 redis-bundle-1 redis-bundle-2" CRM_meta_notify_demote_resource=" " CRM_meta_notify_demote_uname=" " CRM_meta_notify_inactive_resource="redis:1" CRM_meta_notify_key_operation="promote" CRM_meta_notify_key_type="pre" CRM_meta_notify_master_resource=" " CRM_meta_notify_master_uname=" " CRM_meta_notify_operation="promote" CRM_meta_notify_promote_resource="redis:0" CRM_meta_notify_promote_uname="redis-bundle-0" CRM_meta_notify_promoted_resource=" " CRM_meta_notify_promoted_uname=" " CRM_meta_notify_slave_resource="redis:0 redis:2" CRM_meta_notify_slave_uname="redis-bundle-0 redis-bundle-2" CRM_meta_notify_start_resource=" " CRM_meta_notify_start_uname=" " CRM_meta_notify_stop_resource=" " CRM_meta_notify_stop_uname=" " CRM_meta_notify_type="pre" CRM_meta_notify_unpromoted_resource="redis:0 redis:2" CRM_meta_notify_unpromoted_uname="redis-bundle-0 redis-bundle-2" CRM_meta_on_node="redis-bundle-2" CRM_meta_on_node_uuid="redis-bundle-2" CRM_meta_physical_host="ra3" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="90000" wait_last_known_master="true"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="52" operation="notify" operation_key="redis-bundle-master_pre_notify_promote_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="8" priority="1000000"> + <action_set> + <pseudo_event id="55" operation="notified" operation_key="redis-bundle-master_confirmed-post_notify_promoted_0"> + <attributes CRM_meta_clone_max="3" 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_key_operation="promoted" CRM_meta_notify_key_type="confirmed-post" CRM_meta_notify_operation="promote" CRM_meta_notify_type="post" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="54" operation="notify" operation_key="redis-bundle-master_post_notify_promoted_0"/> + </trigger> + <trigger> + <rsc_op id="78" operation="notify" operation_key="redis_post_notify_promote_0" internal_operation_key="redis:0_post_notify_promote_0" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"/> + </trigger> + <trigger> + <rsc_op id="80" operation="notify" operation_key="redis_post_notify_promote_0" internal_operation_key="redis:2_post_notify_promote_0" on_node="redis-bundle-2" on_node_uuid="redis-bundle-2" router_node="ra3"/> + </trigger> + </inputs> + </synapse> + <synapse id="9" priority="1000000"> + <action_set> + <pseudo_event id="54" operation="notify" operation_key="redis-bundle-master_post_notify_promoted_0"> + <attributes CRM_meta_clone_max="3" 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_key_operation="promoted" CRM_meta_notify_key_type="post" CRM_meta_notify_operation="promote" CRM_meta_notify_type="post" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="51" operation="promoted" operation_key="redis-bundle-master_promoted_0"/> + </trigger> + <trigger> + <pseudo_event id="53" operation="notified" operation_key="redis-bundle-master_confirmed-pre_notify_promote_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="10"> + <action_set> + <pseudo_event id="53" operation="notified" operation_key="redis-bundle-master_confirmed-pre_notify_promote_0"> + <attributes CRM_meta_clone_max="3" 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_key_operation="promote" CRM_meta_notify_key_type="confirmed-pre" CRM_meta_notify_operation="promote" CRM_meta_notify_type="pre" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="52" operation="notify" operation_key="redis-bundle-master_pre_notify_promote_0"/> + </trigger> + <trigger> + <rsc_op id="77" operation="notify" operation_key="redis_pre_notify_promote_0" internal_operation_key="redis:0_pre_notify_promote_0" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"/> + </trigger> + <trigger> + <rsc_op id="79" operation="notify" operation_key="redis_pre_notify_promote_0" internal_operation_key="redis:2_pre_notify_promote_0" on_node="redis-bundle-2" on_node_uuid="redis-bundle-2" router_node="ra3"/> + </trigger> + </inputs> + </synapse> + <synapse id="11"> + <action_set> + <pseudo_event id="52" operation="notify" operation_key="redis-bundle-master_pre_notify_promote_0"> + <attributes CRM_meta_clone_max="3" 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_key_operation="promote" CRM_meta_notify_key_type="pre" CRM_meta_notify_operation="promote" CRM_meta_notify_type="pre" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="45" operation="notified" operation_key="redis-bundle-master_confirmed-post_notify_running_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="12" priority="1000000"> + <action_set> + <pseudo_event id="51" operation="promoted" operation_key="redis-bundle-master_promoted_0"> + <attributes CRM_meta_clone_max="3" 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_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <rsc_op id="31" operation="promote" operation_key="redis_promote_0" internal_operation_key="redis:0_promote_0" on_node="redis-bundle-0" on_node_uuid="redis-bundle-0" router_node="ra1"/> + </trigger> + </inputs> + </synapse> + <synapse id="13"> + <action_set> + <pseudo_event id="50" operation="promote" operation_key="redis-bundle-master_promote_0"> + <attributes CRM_meta_clone_max="3" 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_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="39" operation="running" operation_key="redis-bundle-master_running_0"/> + </trigger> + <trigger> + <pseudo_event id="53" operation="notified" operation_key="redis-bundle-master_confirmed-pre_notify_promote_0"/> + </trigger> + <trigger> + <pseudo_event id="62" operation="promote" operation_key="redis-bundle_promote_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="14" priority="1000000"> + <action_set> + <pseudo_event id="45" operation="notified" operation_key="redis-bundle-master_confirmed-post_notify_running_0"> + <attributes CRM_meta_clone_max="3" 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_key_operation="running" CRM_meta_notify_key_type="confirmed-post" CRM_meta_notify_operation="start" CRM_meta_notify_type="post" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="44" operation="notify" operation_key="redis-bundle-master_post_notify_running_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="15" priority="1000000"> + <action_set> + <pseudo_event id="44" operation="notify" operation_key="redis-bundle-master_post_notify_running_0"> + <attributes CRM_meta_clone_max="3" 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_key_operation="running" CRM_meta_notify_key_type="post" CRM_meta_notify_operation="start" CRM_meta_notify_type="post" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="39" operation="running" operation_key="redis-bundle-master_running_0"/> + </trigger> + <trigger> + <pseudo_event id="43" operation="notified" operation_key="redis-bundle-master_confirmed-pre_notify_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="16"> + <action_set> + <pseudo_event id="43" operation="notified" operation_key="redis-bundle-master_confirmed-pre_notify_start_0"> + <attributes CRM_meta_clone_max="3" 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_key_operation="start" CRM_meta_notify_key_type="confirmed-pre" CRM_meta_notify_operation="start" CRM_meta_notify_type="pre" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="42" operation="notify" operation_key="redis-bundle-master_pre_notify_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="17"> + <action_set> + <pseudo_event id="42" operation="notify" operation_key="redis-bundle-master_pre_notify_start_0"> + <attributes CRM_meta_clone_max="3" 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_key_operation="start" CRM_meta_notify_key_type="pre" CRM_meta_notify_operation="start" CRM_meta_notify_type="pre" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs/> + </synapse> + <synapse id="18" priority="1000000"> + <action_set> + <pseudo_event id="39" operation="running" operation_key="redis-bundle-master_running_0"> + <attributes CRM_meta_clone_max="3" 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_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="38" operation="start" operation_key="redis-bundle-master_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="19"> + <action_set> + <pseudo_event id="38" operation="start" operation_key="redis-bundle-master_start_0"> + <attributes CRM_meta_clone_max="3" 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_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="25" operation="start" operation_key="redis-bundle_start_0"/> + </trigger> + <trigger> + <pseudo_event id="43" operation="notified" operation_key="redis-bundle-master_confirmed-pre_notify_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="20"> + <action_set> + <rsc_op id="15" operation="monitor" operation_key="redis-bundle-0_monitor_30000" on_node="ra1" on_node_uuid="1"> + <primitive id="redis-bundle-0" class="ocf" provider="pacemaker" type="remote"/> + <attributes CRM_meta_container="redis-bundle-docker-0" CRM_meta_interval="30000" CRM_meta_name="monitor" CRM_meta_on_node="ra1" CRM_meta_on_node_uuid="1" CRM_meta_timeout="30000" addr="ra1" port="3123"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="21"> + <action_set> + <rsc_op id="4" operation="cancel" operation_key="redis-bundle-0_monitor_60000" on_node="ra1" on_node_uuid="1"> + <primitive id="redis-bundle-0" class="ocf" provider="pacemaker" type="remote"/> + <attributes CRM_meta_call_id="14" CRM_meta_container="redis-bundle-docker-0" CRM_meta_interval="60000" CRM_meta_on_node="ra1" CRM_meta_on_node_uuid="1" CRM_meta_operation="monitor" CRM_meta_timeout="20000" addr="ra1" port="3123"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="22"> + <action_set> + <rsc_op id="16" operation="stop" operation_key="redis-bundle-docker-1_stop_0" on_node="ra2" on_node_uuid="2"> + <primitive id="redis-bundle-docker-1" class="ocf" provider="heartbeat" type="docker"/> + <attributes CRM_meta_on_node="ra2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" allow_pull="true" force_kill="false" image="docker.io/tripleoqueens/centos-binary-redis:current-tripleo-rdo" monitor_cmd="/bin/true" mount_points="/var/log/pacemaker/bundles/redis-bundle-1" reuse="false" run_cmd="/usr/sbin/pacemaker_remoted" run_opts=" --restart=no -e PCMK_stderr=1 --net=host -e PCMK_remote_port=3123 -v /dev/log:/dev/log -v /dev/zero:/etc/libqb/force-filesystem-sockets:ro -v /etc/hosts:/etc/hosts:ro -v /etc/localtime:/etc/localtime:ro -v /etc/redis.conf:/etc/redis.conf:ro -v /var/lib/redis:/var/lib/redis:rw -v /var/log/redis:/var/log/redis:rw -v /var/run/redis:/var/run/redis:rw -v /usr/lib/ocf:/usr/lib/ocf:rw -v /var/log/pacemaker:/var/log/pacemaker:rw -v /etc/pacemaker/authkey:/etc/pacemaker/authkey -v /var/log/pacemaker/bundles/redis-bundle-1:/var/log --user=root --log-driver=journald "/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="17" operation="stop" operation_key="redis-bundle-1_stop_0" on_node="ra2" on_node_uuid="2"/> + </trigger> + <trigger> + <pseudo_event id="27" operation="stop" operation_key="redis-bundle_stop_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="23"> + <action_set> + <rsc_op id="17" operation="stop" operation_key="redis-bundle-1_stop_0" on_node="ra2" on_node_uuid="2"> + <primitive id="redis-bundle-1" class="ocf" provider="pacemaker" type="remote"/> + <attributes CRM_meta_container="redis-bundle-docker-1" CRM_meta_on_node="ra2" CRM_meta_on_node_uuid="2" CRM_meta_timeout="20000" addr="ra2" port="3123"/> + <downed> + <node id="redis-bundle-1"/> + </downed> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="24"> + <action_set> + <rsc_op id="2" operation="cancel" operation_key="redis-bundle-1_monitor_60000" on_node="ra2" on_node_uuid="2"> + <primitive id="redis-bundle-1" class="ocf" provider="pacemaker" type="remote"/> + <attributes CRM_meta_call_id="14" CRM_meta_container="redis-bundle-docker-1" CRM_meta_interval="60000" CRM_meta_on_node="ra2" CRM_meta_on_node_uuid="2" CRM_meta_operation="monitor" CRM_meta_timeout="20000" addr="ra2" port="3123"/> + </rsc_op> + </action_set> + <inputs> + <trigger> + <rsc_op id="17" operation="stop" operation_key="redis-bundle-1_stop_0" on_node="ra2" on_node_uuid="2"/> + </trigger> + </inputs> + </synapse> + <synapse id="25"> + <action_set> + <rsc_op id="24" operation="monitor" operation_key="redis-bundle-2_monitor_30000" on_node="ra3" on_node_uuid="3"> + <primitive id="redis-bundle-2" class="ocf" provider="pacemaker" type="remote"/> + <attributes CRM_meta_container="redis-bundle-docker-2" CRM_meta_interval="30000" CRM_meta_name="monitor" CRM_meta_on_node="ra3" CRM_meta_on_node_uuid="3" CRM_meta_timeout="30000" addr="ra3" port="3123"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="26"> + <action_set> + <rsc_op id="6" operation="cancel" operation_key="redis-bundle-2_monitor_60000" on_node="ra3" on_node_uuid="3"> + <primitive id="redis-bundle-2" class="ocf" provider="pacemaker" type="remote"/> + <attributes CRM_meta_call_id="14" CRM_meta_container="redis-bundle-docker-2" CRM_meta_interval="60000" CRM_meta_on_node="ra3" CRM_meta_on_node_uuid="3" CRM_meta_operation="monitor" CRM_meta_timeout="20000" addr="ra3" port="3123"/> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="27" priority="1000000"> + <action_set> + <pseudo_event id="63" operation="promoted" operation_key="redis-bundle_promoted_0"> + <attributes CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="55" operation="notified" operation_key="redis-bundle-master_confirmed-post_notify_promoted_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="28"> + <action_set> + <pseudo_event id="62" operation="promote" operation_key="redis-bundle_promote_0"> + <attributes CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="26" operation="running" operation_key="redis-bundle_running_0"/> + </trigger> + <trigger> + <pseudo_event id="28" operation="stopped" operation_key="redis-bundle_stopped_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="29" priority="1000000"> + <action_set> + <pseudo_event id="28" operation="stopped" operation_key="redis-bundle_stopped_0"> + <attributes CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <rsc_op id="16" operation="stop" operation_key="redis-bundle-docker-1_stop_0" on_node="ra2" on_node_uuid="2"/> + </trigger> + </inputs> + </synapse> + <synapse id="30"> + <action_set> + <pseudo_event id="27" operation="stop" operation_key="redis-bundle_stop_0"> + <attributes CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs/> + </synapse> + <synapse id="31" priority="1000000"> + <action_set> + <pseudo_event id="26" operation="running" operation_key="redis-bundle_running_0"> + <attributes CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="45" operation="notified" operation_key="redis-bundle-master_confirmed-post_notify_running_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="32"> + <action_set> + <pseudo_event id="25" operation="start" operation_key="redis-bundle_start_0"> + <attributes CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <pseudo_event id="28" operation="stopped" operation_key="redis-bundle_stopped_0"/> + </trigger> + </inputs> + </synapse> +</transition_graph> |