[DRBD-user] 4-way replication

Andreas Kurz andreas at hastexo.com
Tue Jan 17 15:36:30 CET 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On 01/17/2012 03:02 PM, Benjamin Knoth wrote:
> Hello Andreas,
> 
> Am 17.01.2012 14:51, schrieb Andreas Kurz:
>> Hello,
>>
>> On 01/16/2012 11:05 AM, Benjamin Knoth wrote:
>>> Hello,
>>> i think it's clear and the pacemaker config is also clear but i can't
>>> get a positiv result.
>>>
>>> I started with 4 maschines
>>>
>>> vm01 vm02 vm03 vm04
>>>
>>> On vm01 and vm02 i created a DRBD resource with this config.
>>>
>>> resource test {
>>>         device /dev/drbd3;
>>>         meta-disk internal;
>>>         disk /dev/vg01/test;
>>>         protocol        C;
>>>
>>>
>>>         syncer{
>>>                         rate 800M;
>>>         }
>>>
>>>         on vm01 {
>>>                 address 10.10.255.12:7003;
>>>         }
>>>
>>>         on vm02 {
>>>                 address 10.10.255.13:7003;
>>>         }
>>> }
>>>
>>> On vm03 and vm04 i created this DRBD Resource
>>>
>>> resource test2 {
>>>         device /dev/drbd3;
>>>         meta-disk internal;
>>>         disk /dev/vg01/test;
>>>         protocol        C;
>>>
>>>
>>>         syncer{
>>>                         rate 800M;
>>>         }
>>>
>>>         on vm03 {
>>>                 address 10.10.255.14:7003;
>>>         }
>>>
>>>         on vm04 {
>>>                 address 10.10.255.15:7003;
>>>         }
>>> }
>>>
>>> This two unstacked resources are running.
>>>
>>> If i look in the documentation i think that i need to create the
>>> following DRBD Resource on vm01-04.
>>>
>>> resource stest {
>>>         protocol        A;
>>>         stacked-on-top-of test2 {
>>>                 device /dev/drbd13;
>>>                 address 10.10.255.16:7009;
>>>         }
>>>         stacked-on-top-of test {
>>>         device /dev/drbd13;
>>>         address 10.10.255.17:7009;
>>> }
>>> }
>>>
>>> But if i save this and copy them to all vms i get on vm03-04 if i run
>>> drbdadm --stacked create-md stest
>>
>> Use the same, complete config on all nodes.
> I copied this config on all nodes.

And still not working? Can you provide or pastebin "drbdadm dump all"
and "cat /proc/drbd" from a node that gives you that error?

Regards,
Andreas

-- 
Need help with DRBD?
http://www.hastexo.com/now

> 
> Best regards
> 
> Benjamin
> 
>>
>> Regards,
>> Andreas
>>
>>
>>
>>
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
> 
> 
> 
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 286 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120117/105d2dc3/attachment.pgp>


More information about the drbd-user mailing list