[Pacemaker] location constraint question

Andrew Beekhof andrew at beekhof.net
Tue Sep 21 03:04:44 EDT 2010


On Tue, Sep 21, 2010 at 8:58 AM, Pavlos Parissis
<pavlos.parissis at gmail.com> wrote:
> On 21 September 2010 08:38, Andrew Beekhof <andrew at beekhof.net> wrote:
>>> BTW, why does crm_mon report only 4 resource?
>>
>> Because the drbd resources were made into master/slaves.
>>
>> See:
>>   ms ms-drbd_01 drbd_01 \
>>        meta master-max="1" master-node-max="1" clone-max="2"
>> clone-node-max="1" notify="true"
>>
> OK, thanks.
>
> I tried several things today in order to avoid a location constraint
> directly on drbd ms resource but nothing worked.
> I am pretty sure that if you have an a-symmetric cluster you need to
> have location constraint on drbd ms resource.

yep, otherwise it doesn't know where its allowed to start

>
> BTW Adrew, why shouldn't we have location preference constraints on
> the master role directly?

No reason at all. Its allowed.




More information about the Pacemaker mailing list