[ClusterLabs] Resource stop when another resource run on that node

Andrei Borzenkov arvidjaar at gmail.com
Tue Jun 30 14:24:42 UTC 2015


On Tue, Jun 30, 2015 at 2:50 PM, John Gogu <ionut.gogu at gmail.com> wrote:
> Hello,
> i would like to ask you if you have any idea about how to accomplish
> following scenario:
>
> 2 cluster nodes (node01 node02)
> 2 different resources (ex. IP1 run on node01 and IP2 run on node02)
>
> I would like to setup a constraint (or another ideea) that will shutdown
> resource IP2 on node02 when IP1 is moved manually or automatically by
> pacemaker to node02.
>

This is called colocation constraints. See
http://clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-resource-colocation.html#_colocation_properties
for details.




More information about the Users mailing list