Hi,<br><br>I think you will need order and colocation constraints. Please read DRBD Howto <a href="http://www.clusterlabs.org/wiki/DRBD_HowTo_1.0">http://www.clusterlabs.org/wiki/DRBD_HowTo_1.0</a>.<br><br>Thanks<br><br><div class="gmail_quote">
On Mon, Aug 10, 2009 at 10:56 AM, Michal <span dir="ltr"><<a href="mailto:michal@sonet.internetdsl.pl">michal@sonet.internetdsl.pl</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello<br>
I have following error while running pacemaker-openais:<br>
<br>
Failed actions:<br>
   fs0_monitor_0 (node=(null), call=3, rc=5, status=complete): not installed<br>
   fs0_monitor_0 (node=(null), call=3, rc=5, status=complete): not installed<br>
<br>
I set drbd resource also and it is starting correctly.<br>
<br>
<br>
<br>
Anybody know what is wrong?<br>
<br>
<br>
<br>
Output of crm_mon  -1<br>
<br>
============<br>
<br>
Last updated: Mon Aug 10 18:56:30 2009<br>
<br>
Stack: openais<br>
<br>
Current DC: node1 - partition with quorum<br>
<br>
Version: 1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d<br>
<br>
2 Nodes configured, 2 expected votes<br>
<br>
2 Resources configured.<br>
<br>
============<br>
<br>
<br>
<br>
Online: [ node1 node2 ]<br>
<br>
<br>
<br>
Master/Slave Set: ms-drbd0<br>
<br>
       Masters: [ node1 ]<br>
<br>
       Slaves: [ node2 ]<br>
<br>
<br>
<br>
Failed actions:<br>
<br>
   fs0_monitor_0 (node=(null), call=3, rc=5, status=complete): not installed<br>
<br>
   fs0_monitor_0 (node=(null), call=3, rc=5, status=complete): not installed<br>
<br>
My config file:<br>
<br>
<br>
<br>
<?xml version="1.0" ?><br>
<br>
<cib admin_epoch="0" cib-last-written="Mon Aug 10 17:26:25 2009" crm_feature_set="3.0.1" dc-uuid="node1" epoch="233" have-quorum="1" num_updates="1" validate-with="pacemaker-1.0"><br>

<br>
 <configuration><br>
<br>
   <crm_config><br>
<br>
     <cluster_property_set id="cib-bootstrap-options"><br>
<br>
       <nvpair id="cib-bootstrap-options-stonith-enabled" name="stonith-enabled" value="false"/><br>
<br>
       <nvpair id="cib-bootstrap-options-no-quorum-policy" name="no-quorum-policy" value="ignore"/><br>
<br>
       <nvpair id="cib-bootstrap-options-expected-quorum-votes" name="expected-quorum-votes" value="2"/><br>
<br>
       <nvpair id="cib-bootstrap-options-dc-version" name="dc-version" value="1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d"/><br>
<br>
       <nvpair id="cib-bootstrap-options-cluster-infrastructure" name="cluster-infrastructure" value="openais"/><br>
<br>
     </cluster_property_set><br>
<br>
   </crm_config><br>
<br>
   <rsc_defaults/><br>
<br>
   <op_defaults/><br>
<br>
   <nodes><br>
<br>
     <node id="node1" type="normal" uname="node1"/><br>
<br>
     <node id="node2" type="normal" uname="node2"/><br>
<br>
   </nodes><br>
<br>
   <resources><br>
<br>
     <primitive class="ocf" id="fs0" provider="heartbeat" type="Filesystem"><br>
<br>
       <instance_attributes id="fs0-instance_attributes"><br>
<br>
         <nvpair id="fs0-instance_attributes-fstype" name="fstype" value="ext3"/><br>
<br>
         <nvpair id="fs0-instance_attributes-directory" name="directory" value="/home/drbd"/><br>
<br>
         <nvpair id="fs0-instance_attributes-device" name="device" value="/dev/drbd0"/><br>
<br>
         <nvpair id="fs0-instance_attributes-target-role" name="target-role" value="stopped"/><br>
<br>
       </instance_attributes><br>
<br>
       <meta_attributes id="fs0-meta_attributes"><br>
<br>
         <nvpair id="fs0-meta_attributes-target-role" name="target-role" value="Started"/><br>
<br>
       </meta_attributes><br>
<br>
     </primitive><br>
<br>
     <master id="ms-drbd0"><br>
<br>
       <meta_attributes id="ms-drbd0-meta_attributes"><br>
<br>
         <nvpair id="ms-drbd0-meta_attributes-clone-max" name="clone-max" value="2"/><br>
<br>
         <nvpair id="ms-drbd0-meta_attributes-notify" name="notify" value="true"/><br>
<br>
         <nvpair id="ms-drbd0-meta_attributes-globally-unique" name="globally-unique" value="false"/><br>
<br>
         <nvpair id="ms-drbd0-meta_attributes-target-role" name="target-role" value="stopped"/><br>
<br>
       </meta_attributes><br>
<br>
       <primitive class="ocf" id="drbd0" provider="heartbeat" type="drbd"><br>
<br>
         <instance_attributes id="drbd0-instance_attributes"><br>
<br>
           <nvpair id="drbd0-instance_attributes-drbd_resource" name="drbd_resource" value="web"/><br>
<br>
         </instance_attributes><br>
<br>
         <operations><br>
<br>
           <op id="drbd0-monitor-59s" interval="59s" name="monitor" role="Master" timeout="30s"/><br>
<br>
           <op id="drbd0-monitor-60s" interval="60s" name="monitor" role="Slave" timeout="30s"/><br>
<br>
         </operations><br>
<br>
         <meta_attributes id="drbd0-meta_attributes"><br>
<br>
           <nvpair id="drbd0-meta_attributes-target-role" name="target-role" value="Started"/><br>
<br>
         </meta_attributes><br>
<br>
       </primitive><br>
<br>
     </master><br>
<br>
   </resources><br>
<br>
   <constraints/><br>
<br>
 </configuration><br>
<br>
</cib><br>
<br>
<br>
_______________________________________________<br>
Pacemaker mailing list<br>
<a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Dream with longterm vision!<br>kerdosa<br>