Sorry for the noise ... address cut & paste error

Regards,
Andreas

On 10/24/2011 12:12 AM, Andreas Kurz wrote:
> On 10/23/2011 11:18 PM, Nick Khamis wrote:
>> Hello Everyone,
>>
>> I was wondering if it's possible to use the "order" directive to ensure that
>> drbd is fully started before attempting to mount the filesystem? I tried the
>> following:
>>
>> node mydrbd1 \
>>        attributes standby="off"
>> node mydrbd2 \
>>        attributes standby="off"
>> primitive myIP ocf:heartbeat:IPaddr2 \
>>      op monitor interval="60" timeout="20" \
>>         params ip="192.168.2.5" cidr_netmask="24" \
>>         nic="eth1" broadcast="192.168.2.255" \
>>      lvs_support="true"
>> primitive myDRBD ocf:linbit:drbd \
>>      params drbd_resource="r0.res" \
>>      op monitor role=Master interval="10" \
>>      op monitor role=Slave interval="30"
>> ms msMyDRBD myDRBD \
>>      meta master-max="1" master-node-max="1" \
>>      clone-max="2" clone-node-max="1" \
>>      notify="true" globally-unique="false"
>> primitive myFilesystem ocf:heartbeat:Filesystem \
>>      params device="/dev/drbd0" directory="/service" fstype="ext3" \
>>         op monitor interval="15" timeout="60" \
>>         meta target-role="Started"
>> group MyServices myIP myFilesystem meta target-role="Started"
>> order drbdAfterIP \
>>      inf: myIP msMyDRBD
>> order filesystemAfterDRBD \
>>      inf: msMyDRBD:promote myFilesystem:start
> 
> There is no colocation between the DRBD master and the filesystem ....
> 
>> location prefer-mysql1 MyServices inf: mydrbd1
>> location prefer-mysql2 MyServices inf: mydrbd2
> 
> ????? ... these constraints make no sense ...
> 
> Regards,
> Andreas
> 
> 
> 
> 
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to