Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F4623116
lifetime-2.ref-2
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
lifetime-2.ref-2
View Options
<cib crm_feature_set="3.19.7" validate-with="pacemaker-4.0" epoch="16" num_updates="0" admin_epoch="0" original="1">
<configuration original="1">
<!-- The essential elements of this test are:
* There are two colocation constraints:
* rsc2-with-rsc1 has a lifetime element with two defined rules.
* rsc4-with-rsc3 has a lifetime element with two referenced rules.
* There are two order constraints:
* rsc1-then-rsc2 has a lifetime element with two defined rules.
* rsc3-then-rsc4 has a lifetime element with two referenced rules.
* The rules defined in the colocation and order constraints are not
referenced anywhere else.
In this situation, all lifetime elements should be removed, along with
their rule definitions.
-->
<crm_config original="1"/>
<nodes original="1">
<node id="node1" uname="node1" type="member" original="1"/>
</nodes>
<resources original="1">
<primitive id="rsc1" class="ocf" type="Dummy" provider="pacemaker" original="1"/>
<primitive id="rsc2" class="ocf" type="Dummy" provider="pacemaker" original="1"/>
<primitive id="rsc3" class="ocf" type="Dummy" provider="pacemaker" original="1"/>
<primitive id="rsc4" class="ocf" type="Dummy" provider="pacemaker" original="1"/>
</resources>
<constraints original="1">
<rsc_colocation id="rsc2-with-rsc1" score="INFINITY" rsc="rsc2" with-rsc="rsc1" original="1">
<lifetime original="1">
<rule id="rsc2-with-rsc1-lifetime-rule1" original="1">
<date_expression id="rsc2-with-rsc1-lifetime-rule1-expr" operation="in_range" start="2004-001" original="1"/>
</rule>
<rule id="rsc2-with-rsc1-lifetime-rule2" original="1">
<date_expression id="rsc2-with-rsc1-lifetime-rule2-expr" operation="in_range" end="2005-001" original="1"/>
</rule>
</lifetime>
</rsc_colocation>
<rsc_colocation id="rsc4-with-rsc3" score="INFINITY" rsc="rsc4" with-rsc="rsc3" original="1">
<lifetime original="1">
<rule id="rsc2-with-rsc1-lifetime-rule1" original="0">
<date_expression id="rsc2-with-rsc1-lifetime-rule1-expr" operation="in_range" start="2004-001" original="0"/>
</rule>
<rule id="rsc2-with-rsc1-lifetime-rule2" original="0">
<date_expression id="rsc2-with-rsc1-lifetime-rule2-expr" operation="in_range" end="2005-001" original="0"/>
</rule>
</lifetime>
</rsc_colocation>
<rsc_order id="rsc1-then-rsc2" first="rsc1" then="rsc2" original="1">
<lifetime original="1">
<rule id="rsc1-then-rsc2-lifetime-rule1" original="1">
<date_expression id="rsc1-then-rsc2-lifetime-rule1-expr" operation="in_range" start="2004-001" original="1"/>
</rule>
<rule id="rsc1-then-rsc2-lifetime-rule2" original="1">
<date_expression id="rsc1-then-rsc2-lifetime-rule2-expr" operation="in_range" end="2005-001" original="1"/>
</rule>
</lifetime>
</rsc_order>
<rsc_order id="rsc3-then-rsc4" first="rsc3" then="rsc4" original="1">
<lifetime original="1">
<rule id="rsc1-then-rsc2-lifetime-rule1" original="0">
<date_expression id="rsc1-then-rsc2-lifetime-rule1-expr" operation="in_range" start="2004-001" original="0"/>
</rule>
<rule id="rsc1-then-rsc2-lifetime-rule2" original="0">
<date_expression id="rsc1-then-rsc2-lifetime-rule2-expr" operation="in_range" end="2005-001" original="0"/>
</rule>
</lifetime>
</rsc_order>
</constraints>
</configuration>
<status original="1"/>
</cib>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jul 8, 2:43 PM (2 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1957211
Default Alt Text
lifetime-2.ref-2 (3 KB)
Attached To
Mode
rP Pacemaker
Attached
Detach File
Event Timeline
Log In to Comment