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">&lt;<a href="mailto:michal@sonet.internetdsl.pl">michal@sonet.internetdsl.pl</a>&gt;</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>
&lt;?xml version=&quot;1.0&quot; ?&gt;<br>
<br>
&lt;cib admin_epoch=&quot;0&quot; cib-last-written=&quot;Mon Aug 10 17:26:25 2009&quot; crm_feature_set=&quot;3.0.1&quot; dc-uuid=&quot;node1&quot; epoch=&quot;233&quot; have-quorum=&quot;1&quot; num_updates=&quot;1&quot; validate-with=&quot;pacemaker-1.0&quot;&gt;<br>

<br>
 &lt;configuration&gt;<br>
<br>
   &lt;crm_config&gt;<br>
<br>
     &lt;cluster_property_set id=&quot;cib-bootstrap-options&quot;&gt;<br>
<br>
       &lt;nvpair id=&quot;cib-bootstrap-options-stonith-enabled&quot; name=&quot;stonith-enabled&quot; value=&quot;false&quot;/&gt;<br>
<br>
       &lt;nvpair id=&quot;cib-bootstrap-options-no-quorum-policy&quot; name=&quot;no-quorum-policy&quot; value=&quot;ignore&quot;/&gt;<br>
<br>
       &lt;nvpair id=&quot;cib-bootstrap-options-expected-quorum-votes&quot; name=&quot;expected-quorum-votes&quot; value=&quot;2&quot;/&gt;<br>
<br>
       &lt;nvpair id=&quot;cib-bootstrap-options-dc-version&quot; name=&quot;dc-version&quot; value=&quot;1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d&quot;/&gt;<br>
<br>
       &lt;nvpair id=&quot;cib-bootstrap-options-cluster-infrastructure&quot; name=&quot;cluster-infrastructure&quot; value=&quot;openais&quot;/&gt;<br>
<br>
     &lt;/cluster_property_set&gt;<br>
<br>
   &lt;/crm_config&gt;<br>
<br>
   &lt;rsc_defaults/&gt;<br>
<br>
   &lt;op_defaults/&gt;<br>
<br>
   &lt;nodes&gt;<br>
<br>
     &lt;node id=&quot;node1&quot; type=&quot;normal&quot; uname=&quot;node1&quot;/&gt;<br>
<br>
     &lt;node id=&quot;node2&quot; type=&quot;normal&quot; uname=&quot;node2&quot;/&gt;<br>
<br>
   &lt;/nodes&gt;<br>
<br>
   &lt;resources&gt;<br>
<br>
     &lt;primitive class=&quot;ocf&quot; id=&quot;fs0&quot; provider=&quot;heartbeat&quot; type=&quot;Filesystem&quot;&gt;<br>
<br>
       &lt;instance_attributes id=&quot;fs0-instance_attributes&quot;&gt;<br>
<br>
         &lt;nvpair id=&quot;fs0-instance_attributes-fstype&quot; name=&quot;fstype&quot; value=&quot;ext3&quot;/&gt;<br>
<br>
         &lt;nvpair id=&quot;fs0-instance_attributes-directory&quot; name=&quot;directory&quot; value=&quot;/home/drbd&quot;/&gt;<br>
<br>
         &lt;nvpair id=&quot;fs0-instance_attributes-device&quot; name=&quot;device&quot; value=&quot;/dev/drbd0&quot;/&gt;<br>
<br>
         &lt;nvpair id=&quot;fs0-instance_attributes-target-role&quot; name=&quot;target-role&quot; value=&quot;stopped&quot;/&gt;<br>
<br>
       &lt;/instance_attributes&gt;<br>
<br>
       &lt;meta_attributes id=&quot;fs0-meta_attributes&quot;&gt;<br>
<br>
         &lt;nvpair id=&quot;fs0-meta_attributes-target-role&quot; name=&quot;target-role&quot; value=&quot;Started&quot;/&gt;<br>
<br>
       &lt;/meta_attributes&gt;<br>
<br>
     &lt;/primitive&gt;<br>
<br>
     &lt;master id=&quot;ms-drbd0&quot;&gt;<br>
<br>
       &lt;meta_attributes id=&quot;ms-drbd0-meta_attributes&quot;&gt;<br>
<br>
         &lt;nvpair id=&quot;ms-drbd0-meta_attributes-clone-max&quot; name=&quot;clone-max&quot; value=&quot;2&quot;/&gt;<br>
<br>
         &lt;nvpair id=&quot;ms-drbd0-meta_attributes-notify&quot; name=&quot;notify&quot; value=&quot;true&quot;/&gt;<br>
<br>
         &lt;nvpair id=&quot;ms-drbd0-meta_attributes-globally-unique&quot; name=&quot;globally-unique&quot; value=&quot;false&quot;/&gt;<br>
<br>
         &lt;nvpair id=&quot;ms-drbd0-meta_attributes-target-role&quot; name=&quot;target-role&quot; value=&quot;stopped&quot;/&gt;<br>
<br>
       &lt;/meta_attributes&gt;<br>
<br>
       &lt;primitive class=&quot;ocf&quot; id=&quot;drbd0&quot; provider=&quot;heartbeat&quot; type=&quot;drbd&quot;&gt;<br>
<br>
         &lt;instance_attributes id=&quot;drbd0-instance_attributes&quot;&gt;<br>
<br>
           &lt;nvpair id=&quot;drbd0-instance_attributes-drbd_resource&quot; name=&quot;drbd_resource&quot; value=&quot;web&quot;/&gt;<br>
<br>
         &lt;/instance_attributes&gt;<br>
<br>
         &lt;operations&gt;<br>
<br>
           &lt;op id=&quot;drbd0-monitor-59s&quot; interval=&quot;59s&quot; name=&quot;monitor&quot; role=&quot;Master&quot; timeout=&quot;30s&quot;/&gt;<br>
<br>
           &lt;op id=&quot;drbd0-monitor-60s&quot; interval=&quot;60s&quot; name=&quot;monitor&quot; role=&quot;Slave&quot; timeout=&quot;30s&quot;/&gt;<br>
<br>
         &lt;/operations&gt;<br>
<br>
         &lt;meta_attributes id=&quot;drbd0-meta_attributes&quot;&gt;<br>
<br>
           &lt;nvpair id=&quot;drbd0-meta_attributes-target-role&quot; name=&quot;target-role&quot; value=&quot;Started&quot;/&gt;<br>
<br>
         &lt;/meta_attributes&gt;<br>
<br>
       &lt;/primitive&gt;<br>
<br>
     &lt;/master&gt;<br>
<br>
   &lt;/resources&gt;<br>
<br>
   &lt;constraints/&gt;<br>
<br>
 &lt;/configuration&gt;<br>
<br>
&lt;/cib&gt;<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>