summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/rule-dbl-as-integer-match.xml
blob: 4be7f34490f8712c8fb1470621f46e7dd723f5a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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="integer" value="3.6"/>
        </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>