[Pacemaker] Problems with colocation/order with drbd tree-node-setup

Johan Verrept Johan.Verrept at able.be
Fri Oct 16 06:32:41 EDT 2009


Try a 

crm_resource --resource res.drbd.mysqlstack --cleanup
crm_resource --resource res.ip.mysql --cleanup

To clean up any transient errors that may clutter your cluster status.

Other than that, I have no more ideas

	J.

On Fri, 2009-10-16 at 12:22 +0200, Schmidt, Torsten wrote:
> i think you're right here; 
> i simply sticked to the example on http://www.drbd.org/users-guide/s-pacemaker-stacked-resources.html#s-pacemaker-stacked-dr 
> 
> so i've done:
> crm configure delete co.ms.drbd.mysqlstack_on_res.ip.mysql
> res.drbd.mysqlstack
> now 'ptest' gives:
> WARN: Resource res.drbd.mysqlstack:0 cannot run anywhere
> WARN: Resource res.ip.mysql cannot run anywhere
> 
> i think, there's no problem with the ordering but still ip (and mysqlstack) cannot be run anywhere !?
> 
> Mit freundlichen Grüßen / with kind regards
> 
> Torsten Schmidt
> 
> -----Ursprüngliche Nachricht-----
> Von: Johan Verrept [mailto:Johan.Verrept at able.be] 
> Gesendet: Freitag, 16. Oktober 2009 12:03
> An: pacemaker at oss.clusterlabs.org
> Betreff: Re: [Pacemaker] Problems with colocation/order with drbd tree-node-setup
> 
> I am unsure this is the source of your problems, but I think you have a colocation restraint too much.
> 
> > colocation co.ms.drbd.mysqlstack_on_res.ip.mysql inf:
> ms.drbd.mysqlstack res.ip.mysql 
> 
> Why this?
> 
> You already force both ms.drbd.mysqlstack and res.ip.mysql onto ms.drbd.mysqldb:Master, so there is no need to force ms.drbd.mysqlstack onto res.ip.mysql too.
> 
> 	J.
> 
> On Fri, 2009-10-16 at 11:49 +0200, Schmidt, Torsten wrote:
> > node mysqlHA1.cologne.tecdoc.local
> > node mysqlHA2.cologne.tecdoc.local
> > primitive res.drbd.mysqldb ocf:linbit:drbd \ 
> >         params drbd_resource="mysqldb" 
> > primitive res.drbd.mysqlstack ocf:linbit:drbd \ 
> >         params drbd_resource="mysqlstack" 
> > primitive res.ip.mysql ocf:heartbeat:IPaddr2 \ ms.drbd.mysqlstack
> >         params ip="172.30.2.10" nic="eth0" \ 
> >         op monitor interval="2s" timeout="0.5s" 
> > ms ms.drbd.mysqldb res.drbd.mysqldb \ 
> >         meta master-max="1" master-node-max="1" clone-max="2"
> > clone-node-max="1" notify="true" globally_unique="false" 
> > ms ms.drbd.mysqlstack res.drbd.mysqlstack \ 
> >         meta master-max="1" master-node-max="1" clone-max="1"
> > clone-node-max="1" notify="true" globally_unique="false" 
> > colocation co.ms.drbd.mysqlstack_on_ms.drbd.mysqldb inf:
> > ms.drbd.mysqlstack ms.drbd.mysqldb:Master colocation 
> > co.ms.drbd.mysqlstack_on_res.ip.mysql inf:
> > ms.drbd.mysqlstack res.ip.mysql
> > colocation co.res.ip.mysql_on_ms.drbd.mysqldb_master inf: res.ip.mysql 
> > ms.drbd.mysqldb:Master order o.ip.mysql_before_ms.drbd.mysqlstack inf: 
> > res.ip.mysql ms.drbd.mysqlstack:start order 
> > o.ms.drbd.mysqldb_before_ms.drbd.mysqlstack inf:
> > ms.drbd.mysqldb:promote ms.drbd.mysqlstack:start property 
> > $id="cib-bootstrap-options" \
> >         stonith-enabled="false" 
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 





More information about the Pacemaker mailing list