summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/promoted_monitor_restart.xml
blob: e66f64013165996454772ce1e315946ccecde808 (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
68
69
70
71
72
73
74
75
76
77
78
79
80
<cib epoch="89" num_updates="8" admin_epoch="0" validate-with="pacemaker-3.7" crm_feature_set="3.0.6" update-origin="node2" update-client="crm_attribute" cib-last-written="Fri Jul 13 13:51:08 2012" have-quorum="1" dc-uuid="1031448768">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.1.7-fc03be0"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
        <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/>
        <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/>
        <nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1340915639"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="1048225984" type="member" uname="node2">
        <instance_attributes id="nodes-1048225984">
          <nvpair id="nodes-1048225984-standby" name="standby" value="on"/>
        </instance_attributes>
      </node>
      <node id="1031448768" type="member" uname="node1">
        <instance_attributes id="nodes-1031448768">
          <nvpair id="nodes-1031448768-standby" name="standby" value="off"/>
        </instance_attributes>
      </node>
    </nodes>
    <resources>
      <clone id="MS_RSC">
        <meta_attributes id="MS_RSC-meta_attributes">
          <nvpair id="MS_RSC-meta_attributes-promotable" name="promotable" value="true"/>
          <nvpair id="MS_RSC-meta_attributes-promoted-max" name="promoted-max" value="1"/>
          <nvpair id="MS_RSC-meta_attributes-promoted-node-max" name="promoted-node-max" value="1"/>
          <nvpair id="MS_RSC-meta_attributes-clone-max" name="clone-max" value="2"/>
          <nvpair id="MS_RSC-meta_attributes-clone-node-max" name="clone-node-max" value="1"/>
          <nvpair id="MS_RSC-meta_attributes-notify" name="notify" value="true"/>
        </meta_attributes>
        <primitive class="ocf" id="MS_RSC_NATIVE" provider="pacemaker" type="Stateful">
          <operations>
            <op id="drbd_pgdrive-monitor-4" interval="4s" name="monitor" role="Unpromoted"/>
            <op id="drbd_pgdrive-monitor-5" interval="5s" name="monitor" role="Promoted"/>
          </operations>
        </primitive>
      </clone>
    </resources>
    <constraints/>
  </configuration>
  <status>
    <node_state id="1031448768" uname="node1" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0">
      <transient_attributes id="1031448768">
        <instance_attributes id="status-1031448768">
          <nvpair id="status-1031448768-probe_complete" name="probe_complete" value="true"/>
          <nvpair id="status-1031448768-promoted-MS_RSC_NATIVE.0" name="master-MS_RSC_NATIVE:0" value="10"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="1031448768">
        <lrm_resources>
          <lrm_resource id="MS_RSC_NATIVE:0" type="Stateful" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="MS_RSC_NATIVE:0_last_0" operation_key="MS_RSC_NATIVE:0_promote_0" operation="promote" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="7:27:0:316d1226-9a84-4153-b3a9-4cc2eafaaf5c" transition-magic="0:0;7:27:0:316d1226-9a84-4153-b3a9-4cc2eafaaf5c" call-id="135" rc-code="0" op-status="0" interval="0" last-run="1341247220" last-rc-change="0" exec-time="78" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
            <lrm_rsc_op id="MS_RSC_NATIVE:0_monitor_5000" operation_key="MS_RSC_NATIVE:0_monitor_5000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="9:16:8:316d1226-9a84-4153-b3a9-4cc2eafaaf5c" transition-magic="0:8;9:16:8:316d1226-9a84-4153-b3a9-4cc2eafaaf5c" call-id="82" rc-code="8" op-status="0" interval="5000" last-rc-change="1341247063" exec-time="33" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
    <node_state id="1048225984" uname="node2" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="do_update_resource" shutdown="0">
      <transient_attributes id="1048225984">
        <instance_attributes id="status-1048225984">
          <nvpair id="status-1048225984-probe_complete" name="probe_complete" value="true"/>
        </instance_attributes>
      </transient_attributes>
      <lrm id="1048225984">
        <lrm_resources>
          <lrm_resource id="MS_RSC_NATIVE:0" type="Stateful" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="MS_RSC_NATIVE:0_last_0" operation_key="MS_RSC_NATIVE:0_monitor_0" operation="monitor" crm-debug-origin="build_active_RAs" crm_feature_set="3.0.6" transition-key="5:3:7:316d1226-9a84-4153-b3a9-4cc2eafaaf5c" transition-magic="0:7;5:3:7:316d1226-9a84-4153-b3a9-4cc2eafaaf5c" call-id="5" rc-code="7" op-status="0" interval="0" last-run="1341246675" last-rc-change="1341246675" exec-time="25" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
          </lrm_resource>
          <lrm_resource id="MS_RSC_NATIVE:1" type="Stateful" class="ocf" provider="pacemaker">
            <lrm_rsc_op id="MS_RSC_NATIVE:1_last_0" operation_key="MS_RSC_NATIVE:1_stop_0" operation="stop" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="10:26:0:316d1226-9a84-4153-b3a9-4cc2eafaaf5c" transition-magic="0:0;10:26:0:316d1226-9a84-4153-b3a9-4cc2eafaaf5c" call-id="126" rc-code="0" op-status="0" interval="0" last-run="1341247219" last-rc-change="0" exec-time="109" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
            <lrm_rsc_op id="MS_RSC_NATIVE:1_monitor_5000" operation_key="MS_RSC_NATIVE:1_monitor_5000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.0.6" transition-key="9:22:8:316d1226-9a84-4153-b3a9-4cc2eafaaf5c" transition-magic="0:8;9:22:8:316d1226-9a84-4153-b3a9-4cc2eafaaf5c" call-id="103" rc-code="8" op-status="0" interval="5000" last-rc-change="1341247145" exec-time="13" queue-time="0" op-digest="4811cef7f7f94e3a35a70be7916cb2fd"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
  </status>
</cib>