[Pacemaker] resource monitor operations on wrong nodes

martin.braun at icw.de martin.braun at icw.de
Fri Apr 9 06:06:35 EDT 2010


Hi,

I have a non-symmetric cluster (symmetric-cluster="false") with four 
nodes.

On two nodes I have allowed a resource group:
 
location grpFS-pref1 grpFS 200: wdf-ux-0040
location grpFS-pref2 grpFS 200: wdf-ux-0041

grpFS is configured as:

group grpFS resFS resVIP resAPP

the other nodes are not mentioned in any location constraints for now.

However I get this:

<<
Failed actions:
    resAPP_monitor_0 (node=ux-4, call=4, rc=5, status=complete): not 
installed
    resAPP_monitor_0 (node=ux-5, call=4, rc=5, status=complete): not 
installed
>>


My question is why does pacemaker try to monitor the app on the wrong 
nodes, I would have thought that with an opt-in cluster this should not 
happen?
Or do I have to use explicitly loc constraints to avoid  runnning 
monitoring the resource on the other nodes?

Overall Config:


node ux-0 \
        attributes standby="off"
node ux-1 \
        attributes standby="off"
node ux-4
node ux-5
primitive resDRBD ocf:linbit:drbd \
        operations $id="resDRBD-operations" \
        op monitor interval="20" role="Slave" timeout="20" 
start-delay="1m" \
        op monitor interval="10" role="Master" timeout="20" 
start-delay="1m" \
        params drbd_resource="r0" drbdconf="/usr/local/etc/drbd.conf"
primitive resFS ocf:heartbeat:Filesystem \
        operations $id="resFS-operations" \
        op monitor interval="20" timeout="40" start-delay="0" \
        params device="/dev/drbd0" directory="/opt/icw" fstype="ext3"
primitive resAPP ocf:icw:ocfapp2 \
        operations $id="resapp-operations" \
        op start interval="0" timeout="3m" \
        op monitor interval="60s" timeout="30s" start-delay="3m" \
        params [....]
        meta target-role="Started" is-managed="true"
primitive resVIP ocf:heartbeat:IPaddr2 \
        params ip="192.168.210.91" cidr_netmask="24" nic="eth3" \
        operations $id="resVIP-operations" \
        op monitor interval="10s" timeout="20s" start-delay="2s" \
        meta target-role="Started"
group grpFS resFS resVIP resapp \
        meta target-role="started"
ms msDRBD resDRBD \
        meta clone-max="2" notify="true" target-role="started"
location grpFS-pref1 grpFS 200: wdf-ux-0040
location grpFS-pref2 grpFS 200: wdf-ux-0041
location master-pref1 msDRBD 200: wdf-ux-0040
location master-pref2 msDRBD 200: wdf-ux-0041
colocation colFSDRBD inf: grpFS msDRBD:Master
order orderFSDRBD : msDRBD:promote grpFS:start
property $id="cib-bootstrap-options" \
        dc-version="1.0.8-9881a7350d6182bae9e8e557cf20a3cc5dac3ee7" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="4" \
        no-quorum-policy="ignore" \
        stonith-enabled="false" \
        last-lrm-refresh="1270053177" \
        symmetric-cluster="false"


Thanks in advance,
Martin



InterComponentWare AG:  
Vorstand: Peter Kirschbauer (Vors.), Jörg Stadler / Aufsichtsratsvors.: Prof. Dr. Christof Hettich  
Firmensitz: 69190 Walldorf, Industriestraße 41 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516  



More information about the Pacemaker mailing list