[Pacemaker] constraint colocation or resource group

Chris Feist cfeist at redhat.com
Thu Jan 2 18:56:38 UTC 2014


On 01/02/2014 10:37 AM, Lars Marowsky-Bree wrote:
> On 2014-01-02T11:22:01, Luc Paulin <paulinster at gmail.com> wrote:
>
>> That make sense to use the colocation. So I guess that I should define a
>> "master" resource and tell each other resource that they should colocated
>> on the same node at the "master" resource.
>
> You could also use a resource set to achieve this, but I don't know the
> pcs syntax for it.

You can create a resource set with pcs like this:
pcs constraint colocation set resourceA resourceB ...

Thanks!
Chris

>
>
> Regards,
>      Lars
>





More information about the Pacemaker mailing list