diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:53:20 +0000 |
commit | e5a812082ae033afb1eed82c0f2df3d0f6bdc93f (patch) | |
tree | a6716c9275b4b413f6c9194798b34b91affb3cc7 /cts/scheduler/xml/rule-dbl-as-number-match.xml | |
parent | Initial commit. (diff) | |
download | pacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.tar.xz pacemaker-e5a812082ae033afb1eed82c0f2df3d0f6bdc93f.zip |
Adding upstream version 2.1.6.upstream/2.1.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'cts/scheduler/xml/rule-dbl-as-number-match.xml')
-rw-r--r-- | cts/scheduler/xml/rule-dbl-as-number-match.xml | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/cts/scheduler/xml/rule-dbl-as-number-match.xml b/cts/scheduler/xml/rule-dbl-as-number-match.xml new file mode 100644 index 0000000..af87055 --- /dev/null +++ b/cts/scheduler/xml/rule-dbl-as-number-match.xml @@ -0,0 +1,67 @@ +<cib crm_feature_set="3.4.1" validate-with="pacemaker-3.5" epoch="9" num_updates="10" admin_epoch="1" cib-last-written="Sat Aug 8 15:47:36 2020" update-origin="node1" update-client="cibadmin" update-user="root" have-quorum="1" dc-uuid="1"> + <configuration> + <crm_config> + <cluster_property_set id="cib-bootstrap-options"> + <nvpair id="cib-bootstrap-options-enable-acl" name="enable-acl" value="false"/> + <nvpair id="cib-bootstrap-options-have-watchdog" name="have-watchdog" value="false"/> + <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="2.0.4-80b75c64a"/> + <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/> + <nvpair id="cib-bootstrap-options-cluster-name" name="cluster-name" value="testcluster"/> + <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/> + </cluster_property_set> + </crm_config> + <nodes> + <node id="1" uname="node1"> + <instance_attributes id="nodes-1"> + <nvpair id="nodes-1-test_val" name="test_val" value="3.4"/> + </instance_attributes> + </node> + <node id="2" uname="node2"> + <instance_attributes id="nodes-2"> + <nvpair id="nodes-2-standby" name="standby" value="on"/> + </instance_attributes> + </node> + </nodes> + <resources> + <primitive class="ocf" id="dummy" provider="heartbeat" type="Dummy"> + <operations> + <op id="dummy-migrate_from-interval-0s" interval="0s" name="migrate_from" timeout="20s"/> + <op id="dummy-migrate_to-interval-0s" interval="0s" name="migrate_to" timeout="20s"/> + <op id="dummy-monitor-interval-10s" interval="10s" name="monitor" timeout="20s"/> + <op id="dummy-reload-interval-0s" interval="0s" name="reload" timeout="20s"/> + <op id="dummy-start-interval-0s" interval="0s" name="start" timeout="20s"/> + <op id="dummy-stop-interval-0s" interval="0s" name="stop" timeout="20s"/> + </operations> + </primitive> + </resources> + <constraints> + <rsc_location id="ban-dummy-by_test_val" rsc="dummy"> + <rule id="ban-dummy-rule" score="-INFINITY"> + <expression attribute="test_val" id="ban-dummy-expr" operation="eq" type="number" value="3.4"/> + </rule> + </rsc_location> + </constraints> + <acls/> + </configuration> + <status> + <node_state id="1" uname="node1" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member"> + <lrm id="1"> + <lrm_resources> + <lrm_resource id="dummy" type="Dummy" class="ocf" provider="heartbeat"> + <lrm_rsc_op id="dummy_last_0" operation_key="dummy_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.4.1" transition-key="1:156:0:7da33dac-2387-4da8-99fa-177eb69326d7" transition-magic="0:0;1:156:0:7da33dac-2387-4da8-99fa-177eb69326d7" exit-reason="" on_node="node1" call-id="11" rc-code="0" op-status="0" interval="0" last-rc-change="1596926857" last-run="1596926857" exec-time="48" queue-time="4" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8" op-force-restart=" state " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + <lrm_rsc_op id="dummy_monitor_10000" operation_key="dummy_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.4.1" transition-key="2:156:0:7da33dac-2387-4da8-99fa-177eb69326d7" transition-magic="0:0;2:156:0:7da33dac-2387-4da8-99fa-177eb69326d7" exit-reason="" on_node="node1" call-id="12" rc-code="0" op-status="0" interval="10000" last-rc-change="1596926857" exec-time="18" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/> + </lrm_resource> + </lrm_resources> + </lrm> + </node_state> + <node_state id="2" uname="node2" crmd="online" crm-debug-origin="do_state_transition" in_ccm="true" join="member" expected="member"> + <lrm id="2"> + <lrm_resources> + <lrm_resource id="dummy" type="Dummy" class="ocf" provider="heartbeat"> + <lrm_rsc_op id="dummy_last_0" operation_key="dummy_stop_0" operation="stop" crm-debug-origin="build_active_RAs" crm_feature_set="3.4.1" transition-key="2:152:0:7da33dac-2387-4da8-99fa-177eb69326d7" transition-magic="0:0;2:152:0:7da33dac-2387-4da8-99fa-177eb69326d7" exit-reason="" on_node="node2" call-id="9" rc-code="0" op-status="0" interval="0" last-rc-change="1596926778" last-run="1596926778" exec-time="13" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + </lrm_resources> + </lrm> + </node_state> + </status> +</cib> |