[Pacemaker] Pacemaker - failed actions on ocf:heartbeat:Filesystem

hj lee kerdosa at gmail.com
Tue Aug 11 10:54:46 EDT 2009


Hi,

I think you will need order and colocation constraints. Please read DRBD
Howto http://www.clusterlabs.org/wiki/DRBD_HowTo_1.0.

Thanks

On Mon, Aug 10, 2009 at 10:56 AM, Michal <michal at sonet.internetdsl.pl>wrote:

> Hello
> I have following error while running pacemaker-openais:
>
> Failed actions:
>   fs0_monitor_0 (node=(null), call=3, rc=5, status=complete): not installed
>   fs0_monitor_0 (node=(null), call=3, rc=5, status=complete): not installed
>
> I set drbd resource also and it is starting correctly.
>
>
>
> Anybody know what is wrong?
>
>
>
> Output of crm_mon  -1
>
> ============
>
> Last updated: Mon Aug 10 18:56:30 2009
>
> Stack: openais
>
> Current DC: node1 - partition with quorum
>
> Version: 1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d
>
> 2 Nodes configured, 2 expected votes
>
> 2 Resources configured.
>
> ============
>
>
>
> Online: [ node1 node2 ]
>
>
>
> Master/Slave Set: ms-drbd0
>
>       Masters: [ node1 ]
>
>       Slaves: [ node2 ]
>
>
>
> Failed actions:
>
>   fs0_monitor_0 (node=(null), call=3, rc=5, status=complete): not installed
>
>   fs0_monitor_0 (node=(null), call=3, rc=5, status=complete): not installed
>
> My config file:
>
>
>
> <?xml version="1.0" ?>
>
> <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">
>
>  <configuration>
>
>   <crm_config>
>
>     <cluster_property_set id="cib-bootstrap-options">
>
>       <nvpair id="cib-bootstrap-options-stonith-enabled"
> name="stonith-enabled" value="false"/>
>
>       <nvpair id="cib-bootstrap-options-no-quorum-policy"
> name="no-quorum-policy" value="ignore"/>
>
>       <nvpair id="cib-bootstrap-options-expected-quorum-votes"
> name="expected-quorum-votes" value="2"/>
>
>       <nvpair id="cib-bootstrap-options-dc-version" name="dc-version"
> value="1.0.4-2ec1d189f9c23093bf9239a980534b661baf782d"/>
>
>       <nvpair id="cib-bootstrap-options-cluster-infrastructure"
> name="cluster-infrastructure" value="openais"/>
>
>     </cluster_property_set>
>
>   </crm_config>
>
>   <rsc_defaults/>
>
>   <op_defaults/>
>
>   <nodes>
>
>     <node id="node1" type="normal" uname="node1"/>
>
>     <node id="node2" type="normal" uname="node2"/>
>
>   </nodes>
>
>   <resources>
>
>     <primitive class="ocf" id="fs0" provider="heartbeat" type="Filesystem">
>
>       <instance_attributes id="fs0-instance_attributes">
>
>         <nvpair id="fs0-instance_attributes-fstype" name="fstype"
> value="ext3"/>
>
>         <nvpair id="fs0-instance_attributes-directory" name="directory"
> value="/home/drbd"/>
>
>         <nvpair id="fs0-instance_attributes-device" name="device"
> value="/dev/drbd0"/>
>
>         <nvpair id="fs0-instance_attributes-target-role" name="target-role"
> value="stopped"/>
>
>       </instance_attributes>
>
>       <meta_attributes id="fs0-meta_attributes">
>
>         <nvpair id="fs0-meta_attributes-target-role" name="target-role"
> value="Started"/>
>
>       </meta_attributes>
>
>     </primitive>
>
>     <master id="ms-drbd0">
>
>       <meta_attributes id="ms-drbd0-meta_attributes">
>
>         <nvpair id="ms-drbd0-meta_attributes-clone-max" name="clone-max"
> value="2"/>
>
>         <nvpair id="ms-drbd0-meta_attributes-notify" name="notify"
> value="true"/>
>
>         <nvpair id="ms-drbd0-meta_attributes-globally-unique"
> name="globally-unique" value="false"/>
>
>         <nvpair id="ms-drbd0-meta_attributes-target-role"
> name="target-role" value="stopped"/>
>
>       </meta_attributes>
>
>       <primitive class="ocf" id="drbd0" provider="heartbeat" type="drbd">
>
>         <instance_attributes id="drbd0-instance_attributes">
>
>           <nvpair id="drbd0-instance_attributes-drbd_resource"
> name="drbd_resource" value="web"/>
>
>         </instance_attributes>
>
>         <operations>
>
>           <op id="drbd0-monitor-59s" interval="59s" name="monitor"
> role="Master" timeout="30s"/>
>
>           <op id="drbd0-monitor-60s" interval="60s" name="monitor"
> role="Slave" timeout="30s"/>
>
>         </operations>
>
>         <meta_attributes id="drbd0-meta_attributes">
>
>           <nvpair id="drbd0-meta_attributes-target-role" name="target-role"
> value="Started"/>
>
>         </meta_attributes>
>
>       </primitive>
>
>     </master>
>
>   </resources>
>
>   <constraints/>
>
>  </configuration>
>
> </cib>
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>



-- 
Dream with longterm vision!
kerdosa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090811/334a6476/attachment-0002.html>


More information about the Pacemaker mailing list