diff options
Diffstat (limited to 'cts/scheduler/xml/site-specific-params.xml')
-rw-r--r-- | cts/scheduler/xml/site-specific-params.xml | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/cts/scheduler/xml/site-specific-params.xml b/cts/scheduler/xml/site-specific-params.xml new file mode 100644 index 0000000..845c56f --- /dev/null +++ b/cts/scheduler/xml/site-specific-params.xml @@ -0,0 +1,80 @@ +<cib epoch="1" num_updates="22" admin_epoch="0" validate-with="pacemaker-3.0" cib-last-written="Fri Jul 13 13:51:21 2012" have-quorum="1"> + <configuration> + <crm_config> + <cluster_property_set id="cib-bootstrap-options"> + <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="true"/> + <nvpair id="cib-bootstrap-options-cluster-name" name="cluster-name" value="clusterA"/> + </cluster_property_set> + </crm_config> + <nodes> + <node id="node1" uname="node1"> + <instance_attributes id="node1-instance_attributes"> + <nvpair id="node1-instance_attributes-site-name" name="site-name" value="siteA"/> + </instance_attributes> + </node> + <node id="node2" uname="node2"> + <instance_attributes id="node2-instance_attributes"> + <nvpair id="node2-instance_attributes-site-name" name="site-name" value="siteB"/> + </instance_attributes> + </node> + <node id="node3" uname="node3"/> + </nodes> + <resources> + <primitive class="stonith" id="rsc_stonith" type="null"/> + <primitive class="ocf" id="rsc1" provider="pacemaker" type="Dummy"> + <instance_attributes id="rsc1-instance_attributes-1"> + <nvpair id="rsc1-instance_attributes-1-state" name="state" value="/var/run/Dummy-rsc1-siteA"/> + <rule id="rsc1-instance_attributes-1-rule-1" score="0"> + <expression id="rsc1-instance_attributes-1-rule-1-expr-1" attribute="#site-name" operation="eq" value="siteA"/> + </rule> + </instance_attributes> + <instance_attributes id="rsc1-instance_attributes-2"> + <nvpair id="rsc1-instance_attributes-2-state" name="state" value="/var/run/Dummy-rsc1-siteB"/> + <rule id="rsc1-instance_attributes-2-rule-1" score="0"> + <expression id="rsc1-instance_attributes-2-rule-1-expr-1" attribute="#site-name" operation="eq" value="siteB"/> + </rule> + </instance_attributes> + <instance_attributes id="rsc1-instance_attributes-3"> + <nvpair id="rsc1-instance_attributes-3-state" name="state" value="/var/run/Dummy-rsc1-clusterA"/> + <rule id="rsc1-instance_attributes-3-rule-1" score="0"> + <expression id="rsc1-instance_attributes-3-rule-1-expr-1" attribute="#site-name" operation="eq" value="clusterA"/> + </rule> + </instance_attributes> + <operations> + <op id="rsc1-monitor-10" interval="10" name="monitor"/> + </operations> + </primitive> + </resources> + <constraints/> + </configuration> + <status> + <node_state id="node1" uname="node1" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="crm_simulate"> + <lrm id="node1"> + <lrm_resources> + <lrm_resource id="rsc_stonith" class="stonith" type="null"> + <lrm_rsc_op id="rsc_stonith_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.5" transition-key="1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:7;1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="1" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + <lrm_rsc_op id="rsc_stonith_start_0" operation="start" crm-debug-origin="crm_simulate" crm_feature_set="3.0.5" transition-key="2:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:0;2:-1:0:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="2" rc-code="0" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + </lrm_resources> + </lrm> + </node_state> + <node_state id="node2" uname="node2" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="crm_simulate"> + <lrm id="node2"> + <lrm_resources> + <lrm_resource id="rsc_stonith" class="stonith" type="null"> + <lrm_rsc_op id="rsc_stonith_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.5" transition-key="1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:7;1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="1" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + </lrm_resources> + </lrm> + </node_state> + <node_state id="node3" uname="node3" ha="active" in_ccm="true" crmd="online" join="member" expected="member" crm-debug-origin="crm_simulate"> + <lrm id="node3"> + <lrm_resources> + <lrm_resource id="rsc_stonith" class="stonith" type="null"> + <lrm_rsc_op id="rsc_stonith_monitor_0" operation="monitor" crm-debug-origin="crm_simulate" crm_feature_set="3.0.5" transition-key="1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" transition-magic="0:7;1:-1:7:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" call-id="1" rc-code="7" op-status="0" interval="0" op-digest="f2317cad3d54cec5d7d7aa7d0bf35cf8"/> + </lrm_resource> + </lrm_resources> + </lrm> + </node_state> + </status> +</cib> |