On Sun, Feb 20, 2011 at 12:52:32AM +0100, Thomas Elsäßer wrote:
> hi all,
> 

I suggest you try the pacemaker mailing list :"[email protected]".

-Angus

> i have a problem wtih my cluster. I have a resource with drbd master master
> here my config: the homeFS is not running (with ocfs2)
> -------------------------------snip-----------------------------
> node mail1
> node mail2 \
>         attributes standby="off"
> primitive CyrusFS ocf:heartbeat:Filesystem \
>         params device="/dev/drbd1" directory="/var/spool/cyrus"
> fstype="ext3" \
>         meta target-role="Started"
> primitive PostfixFS ocf:heartbeat:Filesystem \
>         params device="/dev/drbd2" directory="/var/spool/postfix"
> fstype="ext3" \
>         meta target-role="Started"
> primitive SieveFS ocf:heartbeat:Filesystem \
>         params device="/dev/drbd3" directory="/var/spool/sieve"
> fstype="ext3" \
>         meta target-role="Started"
> primitive homeFS ocf:heartbeat:Filesystem \
>         params device="/dev/drbd0" directory="/home" fstype="ocfs2" \
>         op monitor interval="120s"
> primitive resDLM ocf:pacemaker:controld \
>         op monitor interval="120s"
> primitive resDRBDCyrus ocf:linbit:drbd \
>         params drbd_resource="cyrus" \
>         op monitor interval="60s"
> primitive resDRBDPostfix ocf:linbit:drbd \
>         params drbd_resource="postfix" \
>         op monitor interval="60s"
> primitive resDRBDSieve ocf:linbit:drbd \
>         params drbd_resource="sieve" \
>         op monitor interval="60s"
> primitive resDRBDhome ocf:linbit:drbd \
>         params drbd_resource="home" \
>         op monitor interval="60s"
> primitive resO2CB ocf:pacemaker:o2cb \
>         op monitor interval="120s"
> ms CyrusDRBD resDRBDCyrus \
>         meta master-max="1" master-node-max="1" clone-max="2"
> clone-node-max="1" notify="true" target-role="Started"
> ms PostfixDRBD resDRBDPostfix \
>         meta master-max="1" master-node-max="1" clone-max="2"
> clone-node-max="1" notify="true" target-role="Started"
> ms SieveDRBD resDRBDSieve \
>         meta master-max="1" master-node-max="1" clone-max="2"
> clone-node-max="1" notify="true"
> ms homeDRBD resDRBDhome \
>         meta master-max="2" notify="true" resource-stickines="100"
> interleave="true"
> clone cloneDLM resDLM \
>         meta globally-unique="false" interleave="true" target-role="Started"
> clone cloneO2CB resO2CB \
>         meta globally-unique="false" interleave="true" target-role="Started"
> clone clonehomeFS homeFS \
>         meta interleave="true" ordered="true" target-role="Started"
> location FS_DRBD_location CyrusDRBD 50: mail1
> location locationPostfixDRBD PostfixDRBD 50: mail1
> location locationSieveDRBD SieveDRBD 50: mail1
> location locationhomeDRBD homeDRBD 50: mail1
> colocation FS_DRBD_Cyrus inf: CyrusFS CyrusDRBD:Master PostfixFS
> PostfixDRBD:Master SieveFS SieveDRBD:Master
> colocation colDLMDRBDhome inf: cloneDLM homeDRBD:Master
> colocation colO2CBDLM inf: cloneO2CB cloneDLM
> order Cluster-FS-After-DRBD inf: homeDRBD:promote clonehomeFS:start
> order ordDLMDRBDhome inf: homeDRBD:promote cloneDLM:start
> order orderCyrus inf: CyrusDRBD:promote CyrusFS:start
> order orderDLMO2CB inf: cloneDLM:start cloneO2CB:start
> order orderPostfix inf: PostfixDRBD:promote PostfixFS:start
> order orderSieve inf: SieveDRBD:promote SieveFS:start
> property $id="cib-bootstrap-options" \
>         dc-version="1.0.8-042548a451fce8400660f6031f4da6f0223dd5dd" \
>         cluster-infrastructure="openais" \
>         expected-quorum-votes="2" \
>         stonith-enabled="false" \
>         last-lrm-refresh="1298156573" \
>         default-action-timeout="120s" \
>         no-quorum-policy="ignore"
> rsc_defaults $id="rsc-options" \
>         resource-stickiness="100"
> -------------------------------snip-----------------------------
> 
> the drbd status is correct but the home is not mounted.
> I see following error mesages in the logfiles:
> Feb 20 00:32:53 mail1 pengine: [997]: debug: custom_action: Action
> resO2CB:0_stop_0 (unmanaged)
> Feb 20 00:32:53 mail1 pengine: [997]: debug: RecurringOp: <null>#011  
> resO2CB:0_monitor_120000 (cancelled : start un-runnable)
> Feb 20 00:32:53 mail1 pengine: [997]: debug: master_create_actions:
> Creating actions for homeDRBD
> Feb 20 00:32:53 mail1 pengine: [997]: debug: child_starting_constraints:
> clonehomeFS has no active children
> Feb 20 00:32:53 mail1 pengine: [997]: debug: child_stopping_constraints:
> clonehomeFS has no active children
> Feb 20 00:32:53 mail1 pengine: [997]: debug: find_compatible_child:
> Can't colocate unrunnable child resO2CB:0 with cloneDLM
> Feb 20 00:32:53 mail1 pengine: [997]: info: find_compatible_child:
> Colocating resO2CB:1 with resDLM:1 on mail1
> Feb 20 00:32:53 mail1 pengine: [997]: notice: clone_rsc_order_lh:
> Interleaving resDLM:1 with resO2CB:1
> Feb 20 00:32:53 mail1 pengine: [997]: info: find_compatible_child:
> Colocating resDLM:0 with resO2CB:0 on mail2
> Feb 20 00:32:53 mail1 pengine: [997]: notice: clone_rsc_order_lh:
> Interleaving resO2CB:0 with resDLM:0
> Feb 20 00:32:53 mail1 pengine: [997]: info: find_compatible_child:
> Colocating resDLM:1 with resO2CB:1 on mail1
> Feb 20 00:32:53 mail1 pengine: [997]: notice: clone_rsc_order_lh:
> Interleaving resO2CB:1 with resDLM:1
> Feb 20 00:32:53 mail1 pengine: [997]: info: find_compatible_child:
> Colocating resDLM:0 with resDRBDhome:1 on mail2
> Feb 20 00:32:53 mail1 pengine: [997]: notice: clone_rsc_order_lh:
> Interleaving resDRBDhome:1 with resDLM:0
> Feb 20 00:32:53 mail1 pengine: [997]: info: find_compatible_child:
> Colocating resDLM:1 with resDRBDhome:0 on mail1
> Feb 20 00:32:53 mail1 pengine: [997]: notice: clone_rsc_order_lh:
> Interleaving resDRBDhome:0 with resDLM:1
> Feb 20 00:32:53 mail1 pengine: [997]: info: find_compatible_child:
> Colocating resDRBDhome:0 with resDLM:1 on mail1
> Feb 20 00:32:53 mail1 pengine: [997]: notice: clone_rsc_order_lh:
> Interleaving resDLM:1 with resDRBDhome:0
> Feb 20 00:32:53 mail1 pengine: [997]: info: find_compatible_child:
> Colocating resDRBDhome:1 with resDLM:0 on mail2
> Feb 20 00:32:53 mail1 pengine: [997]: notice: clone_rsc_order_lh:
> Interleaving resDLM:0 with resDRBDhome:1
> Feb 20 00:32:53 mail1 pengine: [997]: debug: find_compatible_child:
> Can't colocate unrunnable child homeFS:0 with homeDRBD
> Feb 20 00:32:53 mail1 pengine: [997]: debug: find_compatible_child:
> Can't colocate unrunnable child homeFS:1 with homeDRBD
> Feb 20 00:32:53 mail1 pengine: [997]: debug: find_compatible_child:
> Can't colocate child resDRBDhome:0 with clonehomeFS
> Feb 20 00:32:53 mail1 pengine: [997]: debug: find_compatible_child:
> Can't colocate child resDRBDhome:1 with clonehomeFS
> 
> have any a idea?
> 
> ii  corosync                        1.2.0-0ubuntu1                   
> Standards-based cluster framework (daemon an
> ii  libcorosync4                    1.2.0-0ubuntu1                   
> Standards-based cluster framework (libraries
> ii  drbd8-source                    2:8.3.7-1ubuntu2.1               
> RAID 1 over tcp/ip for Linux module source
> ii  drbd8-utils                     2:8.3.7-1ubuntu2.1               
> RAID 1 over tcp/ip for Linux utilities
> ii  libdlm3-pacemaker               3.0.7-0ubuntu0ppa2.3             
> RHCS compatibility package -- dlm_controld f
> ii  pacemaker                       1.0.8+hg15494-2ubuntu2            HA
> cluster resource manager
> ii  ocfs2-tools                     1.4.3-1ubuntu0ppa4               
> tools for managing OCFS2 cluster filesystems
> ii  libdlm3                         3.0.7-0ubuntu0ppa2.3             
> Red Hat cluster suite - distributed lock man
> ii  libdlm3-pacemaker               3.0.7-0ubuntu0ppa2.3             
> RHCS compatibility package -- dlm_controld f
> ii  libdlmcontrol3                  3.0.7-0ubuntu0ppa2.3             
> Red Hat cluster suite - distributed lock man
> 
> Kind regards
> thomas
>  
> 
> _______________________________________________
> Openais mailing list
> [email protected]
> https://lists.linux-foundation.org/mailman/listinfo/openais
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to