[Pacemaker] Is there an 'OR' type of constraint?

Andrew Beekhof andrew at beekhof.net
Tue Mar 5 22:41:27 EST 2013


For ordering: yes, use resource sets with require-all=false
For colocation: no, its a much harder problem unfortunately

On Tue, Mar 5, 2013 at 6:51 AM, Doug Clow <doug.clow at dashbox.com> wrote:
> Hello,
>
> I have a Filesystem resource that is an NFS mount.  This NFS resource is available at two separate IPs on two separate servers.  Is it possible to create two Filesystem resources with this mount but point them to different ips and then have only one active at a time, but have a single active mount satisfy the later constraints?  Something like an OR link between them.  That way the NFS mount point would have failover.
>
> Best Regards,
> Doug
> _______________________________________________
> 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




More information about the Pacemaker mailing list