[Pacemaker] Colocation constraint to External Managed Resource

Andreas Kurz andreas at hastexo.com
Thu Oct 10 14:18:35 UTC 2013


On 2013-10-09 18:33, Robert H. wrote:
> Hello list,
> 
> I have a question regarding colocation.
> 
> I have an external managed resource (not part of pacemaker, but running
> on the pacemaker nodes as multi master application) - in this case
> XtraDB Cluster. I also want to keep this ressource manually managed.
> 
> For accessing the XtraDb Cluster I use a failover IP "DATABASE_IP"
> (IPaddr2) (I know, I'm actually using XtraDB as a MySQl Master / Slave
> replication alike with Master / Master handling).
> 
> Now I want to have a configuration, where Pacemaker migrates the
> DATABASE_IP away from the node if the externally managed XtraDB is
> stopped. However Pacemaker should not manage the XTraDB ressource for
> start / stopp.
> 
> I tried configuring as lsb:mysql resource with start and stop operations
> "enabled=false" -> did not work.
> I tried configuring as lsb:mysql resource with "is-managed=false" and
> failure-timeout="30s" -> did work, until I rebootet one of the machines.
> Then the resource was not discovered on the node after the reboot (it
> was shown as "stopped", while it was started already).

You configured a monitor operation for this unmanaged resource?

Regards,
Andreas

> 
> I'm using CentOS6 Pacemaker (1.1.8-7.el6-394e906) on corosync.
> 
> Any hints how to configure this ?
> 
> Regards,
> Robert
> 
> -- 
> Robert
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org


-- 
Need help with Pacemaker?
http://www.hastexo.com/now


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 287 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20131010/783eb52b/attachment-0004.sig>


More information about the Pacemaker mailing list