On 13 August 2010 03:28, Dejan Muhamedagic <deja...@fastmail.fm> wrote:
>> cr...@alpha:~$ sudo crm configure show
>> node $id="9f30b106-0f96-483c-9976-5eded7c810df" alpha
>> node $id="c1f2d7c5-f66d-4dab-8da3-bb10bc6f2046" bravo
>> primitive drbd_disk ocf:linbit:drbd \
>>       params drbd_resource="r0" \
>>       op monitor interval="30s"
>> primitive fs_drbd ocf:heartbeat:Filesystem \
>>       params device="/dev/drbd/by-res/r0" directory="/media/data" 
>> fstype="ext3"
>> ms ms_drbd drbd_disk \
>>       meta master-max="1" master-node-max="1" clone-max="2"
>> clone-node-max="1" notify="true"
>> location loc-1 fs_drbd -inf: bravo
>> location loc-2 drbd_disk -inf: bravo
>
> Here you explicitely prevented fs_drbd to run on host bravo. The
> right location preference would be something like:
>
> location loc-1 fs_drbd 100: alpha
>
> No need to do a preference for drbd, it will follow the
> filesystem.
>
> Does that help?
>
> Thanks,
>
> Dejan

Yes it did help.  Thank you.
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to