summaryrefslogtreecommitdiffstats
path: root/cts/scheduler/xml/bundle-replicas-change.xml
blob: 60b148b2ae8d66d47c8537de818233b55a2b6bfb (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
<cib crm_feature_set="3.1.0" validate-with="pacemaker-3.0" epoch="5" num_updates="0" admin_epoch="0" cib-last-written="Fri Mar  9 10:10:21 2018" update-origin="rh74-test" update-client="cibadmin" update-user="root" have-quorum="0" dc-uuid="3232287163">
  <configuration>
    <crm_config>
      <cluster_property_set id="cib-bootstrap-options">
        <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.0-9cd0f6cb86"/>
        <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/>
        <nvpair name="no-quorum-policy" value="ignore" id="cib-bootstrap-options-no-quorum-policy"/>
        <nvpair name="stonith-enabled" value="false" id="cib-bootstrap-options-stonith-enabled"/>
        <nvpair name="startup-fencing" value="false" id="cib-bootstrap-options-startup-fencing"/>
      </cluster_property_set>
    </crm_config>
    <nodes>
      <node id="3232287163" uname="rh74-test"/>
    </nodes>
    <resources>
      <bundle id="httpd-bundle">
        <docker image="pcmktest:http" replicas="3" replicas-per-host="3" options="--log-driver=journald"/>
        <network ip-range-start="192.168.20.188" host-interface="ens192" host-netmask="24">
          <port-mapping id="httpd-port" port="80"/>
        </network>
        <storage>
          <storage-mapping id="httpd-root" source-dir-root="/var/local/containers" target-dir="/var/www/html" options="rw"/>
          <storage-mapping id="httpd-logs" source-dir-root="/var/log/pacemaker/bundles" target-dir="/etc/httpd/logs" options="rw"/>
        </storage>
        <primitive class="ocf" id="httpd" provider="heartbeat" type="apache">
          <operations>
            <op id="rabbitmq-monitor-interval-10" interval="10" name="monitor" timeout="40"/>
            <op id="rabbitmq-start-interval-0s" interval="0s" name="start" timeout="200s"/>
            <op id="rabbitmq-stop-interval-0s" interval="0s" name="stop" timeout="200s" on-fail="fence"/>
          </operations>
        </primitive>
      </bundle>
    </resources>
    <constraints/>
    <rsc_defaults>
      <meta_attributes id="rsc-options">
        <nvpair name="resource-stickiness" value="INFINITY" id="rsc-options-resource-stickiness"/>
        <nvpair name="migration-threshold" value="INFINITY" id="rsc-options-migration-threshold"/>
      </meta_attributes>
    </rsc_defaults>
  </configuration>
  <status>
    <node_state id="3232287163" uname="rh74-test" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member">
      <lrm id="3232287163">
        <lrm_resources>
          <lrm_resource id="httpd-bundle-ip-192.168.20.188" type="IPaddr2" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="httpd-bundle-ip-192.168.20.188_last_0" operation_key="httpd-bundle-ip-192.168.20.188_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.1.0" transition-key="5:2:0:24d86a16-8eb7-4652-871c-a96b77104147" transition-magic="0:0;5:2:0:24d86a16-8eb7-4652-871c-a96b77104147" exit-reason="" on_node="rh74-test" call-id="10" rc-code="0" op-status="0" interval="0" last-run="1520557731" last-rc-change="1520557731" exec-time="112" queue-time="0" op-digest="bed932c9e12e6a9f54826c22f0c0c741"/>
            <lrm_rsc_op id="httpd-bundle-ip-192.168.20.188_monitor_60000" operation_key="httpd-bundle-ip-192.168.20.188_monitor_60000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.1.0" transition-key="6:2:0:24d86a16-8eb7-4652-871c-a96b77104147" transition-magic="0:0;6:2:0:24d86a16-8eb7-4652-871c-a96b77104147" exit-reason="" on_node="rh74-test" call-id="11" rc-code="0" op-status="0" interval="60000" last-rc-change="1520557731" exec-time="81" queue-time="0" op-digest="bfe7247114ffd09887005fb41035f1c7"/>
          </lrm_resource>
          <lrm_resource id="httpd-bundle-docker-0" type="docker" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="httpd-bundle-docker-0_last_0" operation_key="httpd-bundle-docker-0_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.1.0" transition-key="7:2:0:24d86a16-8eb7-4652-871c-a96b77104147" transition-magic="0:0;7:2:0:24d86a16-8eb7-4652-871c-a96b77104147" exit-reason="" on_node="rh74-test" call-id="12" rc-code="0" op-status="0" interval="0" last-run="1520557731" last-rc-change="1520557731" exec-time="1064" queue-time="0" op-digest="7b6e3c0aaac6b26663e0fb771d05aafd"/>
            <lrm_rsc_op id="httpd-bundle-docker-0_monitor_60000" operation_key="httpd-bundle-docker-0_monitor_60000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.1.0" transition-key="8:2:0:24d86a16-8eb7-4652-871c-a96b77104147" transition-magic="0:0;8:2:0:24d86a16-8eb7-4652-871c-a96b77104147" exit-reason="" on_node="rh74-test" call-id="13" rc-code="0" op-status="0" interval="60000" last-rc-change="1520557732" exec-time="282" queue-time="0" op-digest="51b1367d1aef52d668091056d0333dad"/>
          </lrm_resource>
          <lrm_resource id="httpd-bundle-0" type="remote" class="ocf" provider="pacemaker" container="httpd-bundle-docker-0">
            <lrm_rsc_op id="httpd-bundle-0_last_0" operation_key="httpd-bundle-0_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.1.0" transition-key="9:2:0:24d86a16-8eb7-4652-871c-a96b77104147" transition-magic="0:0;9:2:0:24d86a16-8eb7-4652-871c-a96b77104147" exit-reason="" on_node="rh74-test" call-id="2" rc-code="0" op-status="0" interval="0" last-run="1520557732" last-rc-change="1520557732" exec-time="0" queue-time="0" op-digest="a307ec40ef4478a192b587881f6932c1" op-force-restart=" server " op-restart-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
            <lrm_rsc_op id="httpd-bundle-0_monitor_30000" operation_key="httpd-bundle-0_monitor_30000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.1.0" transition-key="11:3:0:24d86a16-8eb7-4652-871c-a96b77104147" transition-magic="0:0;11:3:0:24d86a16-8eb7-4652-871c-a96b77104147" exit-reason="" on_node="rh74-test" call-id="3" rc-code="0" op-status="0" interval="30000" last-rc-change="1520557733" exec-time="0" queue-time="0" op-digest="7babc9a2a669e3db263b2bbe41ab9ad8"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
    <node_state remote_node="true" id="httpd-bundle-0" uname="httpd-bundle-0" in_ccm="true" crm-debug-origin="do_update_resource" node_fenced="0">
      <lrm id="httpd-bundle-0">
        <lrm_resources>
          <lrm_resource id="httpd" type="apache" class="ocf" provider="heartbeat">
            <lrm_rsc_op id="httpd_last_0" operation_key="httpd_start_0" operation="start" crm-debug-origin="do_update_resource" crm_feature_set="3.1.0" transition-key="16:3:0:24d86a16-8eb7-4652-871c-a96b77104147" transition-magic="0:0;16:3:0:24d86a16-8eb7-4652-871c-a96b77104147" exit-reason="" on_node="rh74-test" call-id="8" rc-code="0" op-status="0" interval="0" last-run="1520557733" last-rc-change="1520557733" exec-time="226" queue-time="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/>
            <lrm_rsc_op id="httpd_monitor_10000" operation_key="httpd_monitor_10000" operation="monitor" crm-debug-origin="do_update_resource" crm_feature_set="3.1.0" transition-key="17:3:0:24d86a16-8eb7-4652-871c-a96b77104147" transition-magic="0:0;17:3:0:24d86a16-8eb7-4652-871c-a96b77104147" exit-reason="" on_node="rh74-test" call-id="9" rc-code="0" op-status="0" interval="10000" last-rc-change="1520557734" exec-time="135" queue-time="0" op-digest="c2a712efd2293923763d9f0b4c6bad17"/>
          </lrm_resource>
        </lrm_resources>
      </lrm>
    </node_state>
  </status>
</cib>