Marco Leone wrote:
Hi,

I'm using drbd 8.2.4 and heartbeat v.2 too on two ubuntu 7.04 server nodes.

I guess you did not completey do that.

I followed this link http://linux-ha.org/DRBD/HowTov2 <constraints>
       <rsc_location id="rsc_location_group_1" rsc="group_1">
         <rule id="prefered_location_group_1" score="100">
<expression attribute="#uname" id="prefered_location_group_1_expr" operation="eq" value="ub704ha01"/>
         </rule>
       </rsc_location>
<rsc_order id="drbd0_before_fs0" from="fs0" action="start" to="ms-drbd0" to_action="promote"/>
     </constraints>
   </configuration>
 </cib>

Otherwise you'd have the master colocation constraint:

<rsc_colocation id="fs0_on_drbd0" to="ms-drbd0" to_role="master" from="fs0" score="infinity"/>

This should do what you want.

Regards
Dominik
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to