summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/exp/promoted-promotion-constraint.exp
diff options
context:
space:
mode:
Diffstat (limited to 'cts/scheduler/exp/promoted-promotion-constraint.exp')
-rw-r--r--cts/scheduler/exp/promoted-promotion-constraint.exp63
1 files changed, 63 insertions, 0 deletions
diff --git a/cts/scheduler/exp/promoted-promotion-constraint.exp b/cts/scheduler/exp/promoted-promotion-constraint.exp
new file mode 100644
index 0000000..88ed2fc
--- /dev/null
+++ b/cts/scheduler/exp/promoted-promotion-constraint.exp
@@ -0,0 +1,63 @@
+<transition_graph cluster-delay="60s" stonith-timeout="60s" failed-stop-offset="INFINITY" failed-start-offset="INFINITY" transition_id="0">
+ <synapse id="0">
+ <action_set>
+ <rsc_op id="12" operation="monitor" operation_key="s0:1_monitor_21000" internal_operation_key="s0:0_monitor_21000" on_node="hex-14" on_node_uuid="hex-14">
+ <primitive id="s0" long-id="s0:1" class="ocf" provider="pacemaker" type="Stateful"/>
+ <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_interval="21000" CRM_meta_master_max="1" CRM_meta_master_node_max="1" CRM_meta_name="monitor" CRM_meta_notify="false" CRM_meta_on_node="hex-14" CRM_meta_on_node_uuid="hex-14" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_role="Unpromoted" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="10" operation="demote" operation_key="s0:1_demote_0" internal_operation_key="s0:0_demote_0" on_node="hex-14" on_node_uuid="hex-14"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="1">
+ <action_set>
+ <rsc_op id="10" operation="demote" operation_key="s0:1_demote_0" internal_operation_key="s0:0_demote_0" on_node="hex-14" on_node_uuid="hex-14">
+ <primitive id="s0" long-id="s0:1" class="ocf" provider="pacemaker" type="Stateful"/>
+ <attributes CRM_meta_clone="0" 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="false" CRM_meta_on_node="hex-14" CRM_meta_on_node_uuid="hex-14" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="1" operation="cancel" operation_key="s0:1_monitor_20000" internal_operation_key="s0:0_monitor_20000" on_node="hex-14" on_node_uuid="hex-14"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="21" operation="demote" operation_key="ms0_demote_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="2">
+ <action_set>
+ <rsc_op id="1" operation="cancel" operation_key="s0:1_monitor_20000" internal_operation_key="s0:0_monitor_20000" on_node="hex-14" on_node_uuid="hex-14">
+ <primitive id="s0" long-id="s0:1" class="ocf" provider="pacemaker" type="Stateful"/>
+ <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" 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="false" CRM_meta_on_node="hex-14" CRM_meta_on_node_uuid="hex-14" CRM_meta_operation="monitor" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_role="Promoted" CRM_meta_timeout="20000" />
+ </rsc_op>
+ </action_set>
+ <inputs/>
+ </synapse>
+ <synapse id="3" priority="1000000">
+ <action_set>
+ <pseudo_event id="22" operation="demoted" operation_key="ms0_demoted_0">
+ <attributes 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="false" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" />
+ </pseudo_event>
+ </action_set>
+ <inputs>
+ <trigger>
+ <rsc_op id="10" operation="demote" operation_key="s0:1_demote_0" internal_operation_key="s0:0_demote_0" on_node="hex-14" on_node_uuid="hex-14"/>
+ </trigger>
+ <trigger>
+ <pseudo_event id="21" operation="demote" operation_key="ms0_demote_0"/>
+ </trigger>
+ </inputs>
+ </synapse>
+ <synapse id="4">
+ <action_set>
+ <pseudo_event id="21" operation="demote" operation_key="ms0_demote_0">
+ <attributes 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="false" CRM_meta_promoted_max="1" CRM_meta_promoted_node_max="1" CRM_meta_timeout="20000" />
+ </pseudo_event>
+ </action_set>
+ <inputs/>
+ </synapse>
+</transition_graph>