diff options
Diffstat (limited to 'cts/scheduler/xml/op-defaults.xml')
-rw-r--r-- | cts/scheduler/xml/op-defaults.xml | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/cts/scheduler/xml/op-defaults.xml b/cts/scheduler/xml/op-defaults.xml new file mode 100644 index 0000000..ae3b248 --- /dev/null +++ b/cts/scheduler/xml/op-defaults.xml @@ -0,0 +1,87 @@ +<cib crm_feature_set="3.3.0" validate-with="pacemaker-3.4" epoch="130" num_updates="31" admin_epoch="1" cib-last-written="Fri Apr 24 16:08:36 2020" update-origin="cluster01" update-client="crmd" update-user="hacluster" have-quorum="1" dc-uuid="1"> + <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.3-1.c40fb040a.git.el7-c40fb040a"/> + <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="corosync"/> + <nvpair id="cib-bootstrap-options-cluster-name" name="cluster-name" value="test-cluster"/> + <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="true"/> + <nvpair id="cib-bootstrap-options-maintenance-mode" name="maintenance-mode" value="false"/> + </cluster_property_set> + </crm_config> + <nodes> + <node id="1" uname="cluster01"/> + <node id="2" uname="cluster02"/> + </nodes> + <resources> + <primitive class="stonith" id="fencing" type="fence_xvm"> + <instance_attributes id="fencing-instance_attributes"> + <nvpair id="fencing-instance_attributes-ip_family" name="ip_family" value="ipv4"/> + </instance_attributes> + <operations/> + </primitive> + <primitive class="ocf" id="ip-rsc" provider="heartbeat" type="IPaddr2"> + <instance_attributes id="ip-rsc-instance_attributes"> + <nvpair id="ip-rsc-instance_attributes-cidr_netmask" name="cidr_netmask" value="32"/> + <nvpair id="ip-rsc-instance_attributes-ip" name="ip" value="172.17.1.1"/> + </instance_attributes> + <operations> + <op id="ip-rsc-monitor-interval-20s" interval="20s" name="monitor"/> + </operations> + </primitive> + <primitive class="ocf" id="ip-rsc2" provider="heartbeat" type="IPaddr2"> + <instance_attributes id="ip-rsc2-instance_attributes"> + <nvpair id="ip-rsc2-instance_attributes-cidr_netmask" name="cidr_netmask" value="32"/> + <nvpair id="ip-rsc2-instance_attributes-ip" name="ip" value="172.17.1.1"/> + </instance_attributes> + <operations> + <op id="ip-rsc2-monitor-interval-10s" interval="10s" name="monitor"/> + </operations> + </primitive> + <primitive class="ocf" id="dummy-rsc" provider="pacemaker" type="Dummy"> + <instance_attributes id="dummy-rsc-instance_attributes"> + <nvpair id="dummy-rsc-instance_attributes-op_sleep" name="op_sleep" value="10"/> + </instance_attributes> + <operations> + <op id="dummy-rsc-monitor-interval-60s" interval="60s" name="monitor" on-fail="stop"/> + </operations> + </primitive> + <primitive class="ocf" id="ping-rsc-ping" provider="pacemaker" type="ping"> + <instance_attributes id="ping-rsc-instance_attributes"> + <nvpair id="ping-rsc-host_list" name="host_list" value="4.2.2.2"/> + </instance_attributes> + <operations/> + </primitive> + </resources> + <constraints/> + <tags/> + <op_defaults> + <meta_attributes id="op-defaults"> + <nvpair id="op-defaults-timeout" name="timeout" value="5s"/> + </meta_attributes> + <meta_attributes id="op-dummy-defaults"> + <rule id="op-dummy-default-rule" score="INFINITY"> + <rsc_expression id="op-dummy-default-expr" class="ocf" provider="pacemaker" type="Dummy"/> + </rule> + <nvpair id="op-dummy-timeout" name="timeout" value="6s"/> + </meta_attributes> + <meta_attributes id="op-monitor-defaults"> + <rule id="op-monitor-default-rule" score="INFINITY"> + <op_expression id="op-monitor-default-expr" name="monitor"/> + </rule> + <nvpair id="op-monitor-timeout" name="timeout" value="7s"/> + </meta_attributes> + <meta_attributes id="op-monitor-interval-defaults"> + <rule id="op-monitor-interval-default-rule" score="INFINITY"> + <op_expression id="op-monitor-interval-default-expr" name="monitor" interval="10s"/> + </rule> + <nvpair id="op-monitor-interval-timeout" name="timeout" value="8s"/> + </meta_attributes> + </op_defaults> + </configuration> + <status> + <node_state id="1" uname="cluster01" in_ccm="true" crmd="online" crm-debug-origin="do_state_transition" join="member" expected="member"/> + <node_state id="2" uname="cluster02" in_ccm="true" crmd="online" crm-debug-origin="do_update_resource" join="member" expected="member"/> + </status> +</cib> |