[DRBD-user] 4-way replication

Benjamin Knoth knoth at mpdl.mpg.de
Tue Jan 17 16:25:26 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.


Hi Jake,

Am 17.01.2012 15:41, schrieb Jake Smith:
> ----- Original Message -----
>> From: "Andreas Kurz" <andreas at hastexo.com>
>> To: drbd-user at lists.linbit.com
>> Sent: Tuesday, January 17, 2012 9:36:30 AM
>> Subject: Re: [DRBD-user] 4-way replication
>>
>> 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.
> 
> You did combine the config that had test and the config that had test2 into one correct? (or have all 3 configs on each node if you have each resource in it's own config file)
> 
> So "test", "test2", and "stest" all exist in the config on vm01-04?

No, stest is on all 4 nodes vm01-04, but test is only available on
vm01-02 and test2 only available on vm03-04.

Best regards

Benjamin

> 
>>
>> 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
>>
>>
>>
>> _______________________________________________
>> 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

-- 
Benjamin Knoth
Max Planck Digital Library (MPDL)
Systemadministration
Amalienstrasse 33
80799 Munich, Germany
http://www.mpdl.mpg.de

Mail: knoth at mpdl.mpg.de
Phone:  +49 89 38602 228
Fax:    +49-89-38602-280

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4520 bytes
Desc: S/MIME Kryptografische Unterschrift
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20120117/d6ed208e/attachment.bin>


More information about the drbd-user mailing list