[DRBD-user] 4-way replication

Benjamin Knoth knoth at mpdl.mpg.de
Tue Jan 17 15:02:11 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.


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.

Best regards

Benjamin

> 
> Regards,
> Andreas
> 
> 
> 
> 
> _______________________________________________
> 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/2442dd60/attachment.bin>


More information about the drbd-user mailing list