diff options
Diffstat (limited to 'cts/scheduler/exp/template-clone-primitive.exp')
-rw-r--r-- | cts/scheduler/exp/template-clone-primitive.exp | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/cts/scheduler/exp/template-clone-primitive.exp b/cts/scheduler/exp/template-clone-primitive.exp new file mode 100644 index 0000000..7cd26d5 --- /dev/null +++ b/cts/scheduler/exp/template-clone-primitive.exp @@ -0,0 +1,79 @@ +<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="3" operation="start" operation_key="rsc1:0_start_0" on_node="node1" on_node_uuid="node1"> + <primitive id="rsc1" long-id="rsc1:0" class="ocf" provider="pacemaker" type="Dummy"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="node1" CRM_meta_on_node_uuid="node1" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="5" operation="start" operation_key="clone1_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="1"> + <action_set> + <rsc_op id="1" operation="monitor" operation_key="rsc1:0_monitor_0" on_node="node1" on_node_uuid="node1"> + <primitive id="rsc1" long-id="rsc1:0" class="ocf" provider="pacemaker" type="Dummy"/> + <attributes CRM_meta_clone="0" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="node1" CRM_meta_on_node_uuid="node1" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="2"> + <action_set> + <rsc_op id="4" operation="start" operation_key="rsc1:1_start_0" on_node="node2" on_node_uuid="node2"> + <primitive id="rsc1" long-id="rsc1:1" class="ocf" provider="pacemaker" type="Dummy"/> + <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="node2" CRM_meta_on_node_uuid="node2" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs> + <trigger> + <pseudo_event id="5" operation="start" operation_key="clone1_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="3"> + <action_set> + <rsc_op id="2" operation="monitor" operation_key="rsc1:1_monitor_0" on_node="node2" on_node_uuid="node2"> + <primitive id="rsc1" long-id="rsc1:1" class="ocf" provider="pacemaker" type="Dummy"/> + <attributes CRM_meta_clone="1" CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_on_node="node2" CRM_meta_on_node_uuid="node2" CRM_meta_op_target_rc="7" CRM_meta_timeout="20000" /> + </rsc_op> + </action_set> + <inputs/> + </synapse> + <synapse id="4" priority="1000000"> + <action_set> + <pseudo_event id="6" operation="running" operation_key="clone1_running_0"> + <attributes CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <rsc_op id="3" operation="start" operation_key="rsc1:0_start_0" on_node="node1" on_node_uuid="node1"/> + </trigger> + <trigger> + <rsc_op id="4" operation="start" operation_key="rsc1:1_start_0" on_node="node2" on_node_uuid="node2"/> + </trigger> + <trigger> + <pseudo_event id="5" operation="start" operation_key="clone1_start_0"/> + </trigger> + </inputs> + </synapse> + <synapse id="5"> + <action_set> + <pseudo_event id="5" operation="start" operation_key="clone1_start_0"> + <attributes CRM_meta_clone_max="2" CRM_meta_clone_node_max="1" CRM_meta_globally_unique="false" CRM_meta_notify="false" CRM_meta_timeout="20000" /> + </pseudo_event> + </action_set> + <inputs> + <trigger> + <rsc_op id="1" operation="monitor" operation_key="rsc1:0_monitor_0" on_node="node1" on_node_uuid="node1"/> + </trigger> + <trigger> + <rsc_op id="2" operation="monitor" operation_key="rsc1:1_monitor_0" on_node="node2" on_node_uuid="node2"/> + </trigger> + </inputs> + </synapse> +</transition_graph> |