Hi, All, especially heartbeat developers.

I am evaluating heartbeat-2.0.8 and dev-tree, naturally 2.1.1, and
aware of changing the behaviour of maybe crmd. The phenomena is that
on 2.0.8 the attached cib.xml makes 'sel3' host Master for ms-drbd0
and ms-sf, but on dev-tree it makes Master for only ms-drbd0 and
Started for ms-sf. I found the same phenomena for other own RA script.
So, I think that the crmd feature is changed from 2.0.8 to current
dev-tree. If it is true, because from now the same questions will be
posted to here, I want to you to write documentations for this problem
and show me the way to escape it.

Best Regards
MATSUDA, Daiki
 <cib admin_epoch="0" generated="true" have_quorum="true" ignore_dtd="false" num_peers="1" cib_feature_revision="1.3" epoch="13" num_updates="61" cib-last-written="Tue Jul 24 13:42:37 2007" ccm_transition="1" dc_uuid="1ee1b756-2292-49bf-aed2-8ff15e8cc503">
   <configuration>
     <crm_config>
       <cluster_property_set id="cib-bootstrap-options">
         <attributes/>
       </cluster_property_set>
     </crm_config>
     <nodes>
       <node id="1ee1b756-2292-49bf-aed2-8ff15e8cc503" uname="sel3" type="normal"/>
       <node id="5d98a2ff-f9bf-45be-964b-27e4246c0085" uname="sel4" type="normal"/>
     </nodes>
     <resources>
       <master_slave id="ms-drbd0">
         <meta_attributes id="ma-ms-drbd0">
           <attributes>
             <nvpair id="ma-ms-drbd0-1" name="clone_max" value="2"/>
             <nvpair id="ma-ms-drbd0-2" name="clone_node_max" value="1"/>
             <nvpair id="ma-ms-drbd0-3" name="master_max" value="1"/>
             <nvpair id="ma-ms-drbd0-4" name="master_node_max" value="1"/>
             <nvpair id="ma-ms-drbd0-5" name="notify" value="yes"/>
             <nvpair id="ma-ms-drbd0-6" name="globally_unique" value="false"/>
           </attributes>
         </meta_attributes>
         <primitive id="drbd0" class="ocf" provider="heartbeat" type="drbd">
           <instance_attributes id="ia-drbd0">
             <attributes>
               <nvpair id="ia-drbd0-1" name="drbd_resource" value="drbd0"/>
             </attributes>
           </instance_attributes>
         </primitive>
       </master_slave>
       <master_slave id="ms-sf">
         <meta_attributes id="ma-ms-sf">
           <attributes>
             <nvpair id="ma-ms-sf-1" name="clone_max" value="2"/>
             <nvpair id="ma-ms-sf-2" name="clone_node_max" value="1"/>
             <nvpair id="ma-ms-sf-3" name="master_max" value="1"/>
             <nvpair id="ma-ms-sf-4" name="master_node_max" value="1"/>
           </attributes>
         </meta_attributes>
         <primitive id="sf" class="ocf" provider="heartbeat" type="Stateful">
           <instance_attributes id="ia-sf">
             <attributes/>
           </instance_attributes>
         </primitive>
       </master_slave>
       <primitive class="ocf" provider="heartbeat" type="Filesystem" id="fs0">
         <meta_attributes id="ma-fs0">
           <attributes/>
         </meta_attributes>
         <instance_attributes id="ia-fs0">
           <attributes>
             <nvpair id="ia-fs0-1" name="fstype" value="ext3"/>
             <nvpair id="ia-fs0-2" name="directory" value="/drbd"/>
             <nvpair id="ia-fs0-3" name="device" value="/dev/drbd0"/>
           </attributes>
         </instance_attributes>
       </primitive>
     </resources>
     <constraints>
       <rsc_location id="rsc_location_group_0" rsc="ms-sf">
         <rule id="prefered_location_group_0" role="Master" score="100">
           <expression id="prefered_location_group_0_expr" attribute="#uname" operation="eq" value="sel3"/>
         </rule>
       </rsc_location>
       <rsc_location id="rsc_location_group_1" rsc="ms-drbd0">
         <rule id="prefered_location_group_1" role="Master" score="100">
           <expression id="prefered_location_group_1_expr" attribute="#uname" operation="eq" value="sel3"/>
         </rule>
       </rsc_location>
       <rsc_order id="drbd0_before_fs0" from="fs0" action="start" to="ms-drbd0" to_action="promote"/>
       <rsc_order id="sf_before_fs0" from="fs0" action="start" to="ms-sf" to_action="promote"/>
       <rsc_colocation id="fs0_on_drbd0" to="ms-drbd0" to_role="master" from="fs0" score="infinity"/>
     </constraints>
   </configuration>
 </cib>
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to