[DRBD-user] Two network cards

Adrian Chapela achapela.rexistros at gmail.com
Thu Nov 20 12:17:05 CET 2008

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


Johannes Thoma escribió:
> Adrian, 
>
> Google for "Network Bonding" I guess that is what you want to do ...
>   
No, I don't want network bonding. I am asking for two different paths on 
different networks.

Something like this:

resource r0 {
  device    /dev/drbd1;
  disk      /dev/sda7;
  meta-disk internal;
  on alice {
    address   10.1.1.31:7789;
    second_address 172.16.1.1:7790;
  }
  on bob {
    address   10.1.1.32:7789;
    second_address 172.16.1.2:7790;

  }
}


Do you have any other option ?
> Hope that helps..
>
> - Johannes
>
>
> On Thursday 20 November 2008 11:53:45 am Adrian Chapela wrote:
>   
>> Hello,
>>
>> I have DRBD cluster with two nodes. I want to have network redundancy
>> between nodes adding a second network card to nodes. I don't know how
>> can I configure the resources.
>>
>> A example of resources
>>
>> resource r0 {
>>   device    /dev/drbd1;
>>   disk      /dev/sda7;
>>   meta-disk internal;
>>   on alice {
>>     address   10.1.1.31:7789;
>>   }
>>   on bob {
>>     address   10.1.1.32:7789;
>>   }
>> }
>>
>>
>> Should I add a second address field on definition ?
>>
>> The Squema would be like this:
>>
>>           eth0 --------------- SWITCH ----------------- eth0 (Network:
>> 192.168.1.X)
>> node1
>> node2
>>           eth1 -------------- CROSS OVER ---------- eth1 (Network:
>> 172.16.1.X)
>>
>> Have you a good solution ?
>>
>> Thank you!
>> _______________________________________________
>> drbd-user mailing list
>> drbd-user at lists.linbit.com
>> http://lists.linbit.com/mailman/listinfo/drbd-user
>>     
>
>
>
>   




More information about the drbd-user mailing list