diff options
Diffstat (limited to 'cts/scheduler/xml/bundle-probe-order-1.xml')
-rw-r--r-- | cts/scheduler/xml/bundle-probe-order-1.xml | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/cts/scheduler/xml/bundle-probe-order-1.xml b/cts/scheduler/xml/bundle-probe-order-1.xml new file mode 100644 index 0000000..e86fb88 --- /dev/null +++ b/cts/scheduler/xml/bundle-probe-order-1.xml @@ -0,0 +1,95 @@ +<cib crm_feature_set="3.0.12" validate-with="pacemaker-3.7" epoch="295" num_updates="0" admin_epoch="0" cib-last-written="Thu Oct 12 09:31:55 2017" update-origin="centos1" update-client="crmd" update-user="hacluster" have-quorum="1" dc-uuid="1" execution-date="1507793516"> + <configuration> + <crm_config> + <cluster_property_set id="cib-bootstrap-options"> + <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" 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="1.1.16-12.bundle.3.el7.centos.4-94ff4df"/> + <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/> + <nvpair id="cib-bootstrap-options-cluster-name" name="cluster-name" value="ratester"/> + <nvpair id="cib-bootstrap-options-last-lrm-refresh" name="last-lrm-refresh" value="1507793515"/> + </cluster_property_set> + </crm_config> + <nodes> + <node id="1" uname="centos1"/> + <node id="2" uname="centos2"/> + <node id="3" uname="centos3"/> + </nodes> + <resources> + <bundle id="galera-bundle"> + <meta_attributes id="galera-bundle-meta_attributes"> + <nvpair id="galera-bundle-meta_attributes-is-managed" name="is-managed" value="false"/> + </meta_attributes> + <docker promoted-max="3" network="host" replicas="3" image="docker.io/tripleoupstream/centos-binary-mariadb:latest" run-command="/usr/sbin/pacemaker_remoted" options="--user=root --log-driver=journald"/> + <network control-port="3123"/> + <storage> + <storage-mapping target-dir="/etc/libqb/force-filesystem-sockets" options="ro" id="map1" source-dir="/foo"/> + <storage-mapping target-dir="/etc/my.cnf.d/galera.cnf" options="ro" id="map2" source-dir="/etc/my.cnf.d/galera.cnf"/> + <storage-mapping target-dir="/var/lib/mysql" options="rw" id="map3" source-dir="/var/lib/mysql"/> + </storage> + <primitive class="ocf" id="galera" provider="heartbeat" type="galera"> + <instance_attributes id="galera-instance_attributes"> + <nvpair id="galera-instance_attributes-cluster_host_map" name="cluster_host_map" value="centos1:centos1;centos2:centos2;centos3:centos3"/> + <nvpair id="galera-instance_attributes-enable_creation" name="enable_creation" value="true"/> + <nvpair id="galera-instance_attributes-wsrep_cluster_address" name="wsrep_cluster_address" value="gcomm://centos1,centos2,centos3"/> + </instance_attributes> + <meta_attributes id="galera-meta_attributes"> + <nvpair id="galera-meta_attributes-container-attribute-target" name="container-attribute-target" value="host"/> + <nvpair id="galera-meta_attributes-is-managed" name="is-managed" value="false"/> + </meta_attributes> + <operations> + <op id="galera-demote-interval-0s" interval="0s" name="demote" timeout="120"/> + <op id="galera-monitor-interval-20" interval="20" name="monitor" timeout="30"/> + <op id="galera-monitor-interval-10" interval="10" name="monitor" role="Promoted" timeout="30"/> + <op id="galera-monitor-interval-30" interval="30" name="monitor" role="Unpromoted" timeout="30"/> + <op id="galera-promote-interval-0s" interval="0s" name="promote" on-fail="block"/> + <op id="galera-start-interval-0s" interval="0s" name="start" timeout="120"/> + <op id="galera-stop-interval-0s" interval="0s" name="stop" timeout="120"/> + </operations> + </primitive> + </bundle> + </resources> + <constraints> + <rsc_location id="cli-ban-galera-bundle-on-centos1" rsc="galera-bundle" role="Started" node="centos1" score="-INFINITY"/> + <rsc_location id="cli-ban-galera-bundle-on-centos3" rsc="galera-bundle" role="Started" node="centos3" score="-INFINITY"/> + </constraints> + </configuration> + <status> + <node_state id="3" uname="centos3" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member"> + <lrm id="3"> + <lrm_resources/> + </lrm> + <transient_attributes id="3"> + <instance_attributes id="status-3"> + <nvpair id="status-3-shutdown" name="shutdown" value="0"/> + </instance_attributes> + </transient_attributes> + </node_state> + <node_state id="1" uname="centos1" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member"> + <lrm id="1"> + <lrm_resources/> + </lrm> + <transient_attributes id="1"> + <instance_attributes id="status-1"> + <nvpair id="status-1-shutdown" name="shutdown" value="0"/> + </instance_attributes> + </transient_attributes> + </node_state> + <node_state id="2" uname="centos2" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member"> + <lrm id="2"> + <lrm_resources/> + </lrm> + <transient_attributes id="2"> + <instance_attributes id="status-2"> + <nvpair id="status-2-shutdown" name="shutdown" value="0"/> + <nvpair id="status-2-promoted-galera" name="master-galera" value="100"/> + </instance_attributes> + </transient_attributes> + </node_state> + <node_state remote_node="true" id="galera-bundle-0" uname="galera-bundle-0" in_ccm="true" crm-debug-origin="remote_ra_maintenance" node_fenced="0" node_in_maintenance="1"> + <lrm id="galera-bundle-0"> + <lrm_resources/> + </lrm> + </node_state> + </status> +</cib> |