diff options
Diffstat (limited to 'cts/scheduler/xml/date-1.xml')
-rw-r--r-- | cts/scheduler/xml/date-1.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/cts/scheduler/xml/date-1.xml b/cts/scheduler/xml/date-1.xml new file mode 100644 index 0000000..71653af --- /dev/null +++ b/cts/scheduler/xml/date-1.xml @@ -0,0 +1,60 @@ +<cib admin_epoch="0" epoch="1" num_updates="1" dc-uuid="0" have-quorum="false" remote-tls-port="0" validate-with="pacemaker-3.0" cib-last-written="Fri Jul 13 13:51:04 2012"> + <configuration> + <crm_config> + <cluster_property_set id="no-stonith"> + <nvpair id="opt-no-stonith" name="stonith-enabled" value="false"/> + </cluster_property_set> + <cluster_property_set id="cib-bootstrap-options"> + <nvpair id="nvpair.id21841" name="no-quorum-policy" value="ignore"/> + </cluster_property_set> + </crm_config> + <nodes> + <node id="uuid1" uname="node1" type="member"> + <instance_attributes id="instance_attributes.id21862"> + <nvpair id="nvpair.id21869" name="server_group" value="group1"/> + </instance_attributes> + </node> + <node id="uuid2" uname="node2" type="member"> + <instance_attributes id="instance_attributes.id21889"> + <nvpair id="nvpair.id21907" name="server_group" value="group2"/> + <rule score="0" id="rule.auto-1"> + <date_expression operation="in_range" id="date_expression.auto-1" end="2005-001"/> + </rule> + </instance_attributes> + <instance_attributes id="instance_attributes.id21918"> + <nvpair id="nvpair.id21937" name="server_group" value="group3"/> + <rule score="0" id="rule.auto-2"> + <date_expression operation="gt" id="date_expression.auto-2" start="2005-001"/> + </rule> + </instance_attributes> + </node> + </nodes> + <resources> + <primitive id="rsc1" class="ocf" provider="heartbeat" type="apache"> + <instance_attributes id="instance_attributes.id21961"> + <nvpair id="nvpair.id21982" name="interface" value="eth1"/> + <rule score="0" id="rule.auto-3"> + <expression id="expression.id21969" attribute="#uname" operation="eq" value="node1"/> + </rule> + </instance_attributes> + <instance_attributes id="instance_attributes.id21993"> + <nvpair id="nvpair.id22014" name="interface" value="eth2"/> + <rule score="0" id="rule.auto-4"> + <expression id="expression.id22001" attribute="#uname" operation="eq" value="node2"/> + </rule> + </instance_attributes> + </primitive> + </resources> + <constraints> + <rsc_location id="run_rsc1" rsc="rsc1"> + <rule id="prefer_group3" score="100"> + <expression id="expression.id22042" attribute="server_group" operation="eq" value="group3"/> + </rule> + </rsc_location> + </constraints> + </configuration> + <status> + <node_state id="uuid1" ha="active" uname="node1" crmd="online" join="member" expected="member" in_ccm="true"/> + <node_state id="uuid2" ha="active" uname="node2" crmd="online" join="member" expected="member" in_ccm="true"/> + </status> +</cib> |