On 21 September 2010 09:04, Andrew Beekhof <and...@beekhof.net> wrote:
> On Tue, Sep 21, 2010 at 8:58 AM, Pavlos Parissis
> <pavlos.paris...@gmail.com> wrote:
>> On 21 September 2010 08:38, Andrew Beekhof <and...@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.

Thanks for the clarification,
Pavlos

_______________________________________________
Pacemaker mailing list: Pacemaker@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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to