Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
On Mon, 2006-09-11 at 17:06 +0400, Alexei Ilin wrote:
> > Can someone kindly point what configuration is wrong in my conf file.
>
> Hope I understood you right
> There is only configuration for drbd0 in your config, you should make the
> second section
Its totally optional. drbd0 will be one replication and drbd1 will be
totally different replication.
>
> resource drbd-mirror1 {
> .../drbd0
> }
>
> resource drbd-mirror2 {
> .../drbd1
> }
>
> And as far I understood, ports should be different for your resources, for
> example 7788 for drbd0 and 7789 for drbd1
>
> here is my config that works with 0.7.2:
>
> resource fir {
> protocol C;
> startup {
> wfc-timeout 0;
> degr-wfc-timeout 120; # 2 minutes.
> }
>
> disk {
> on-io-error detach;
> }
>
> syncer {
> rate 120M;
> group 1;
> }
>
> on ts12 {
> device /dev/drbd0;
> disk /dev/sda5;
> address 10.17.0.60:7788;
> meta-disk internal;
> }
>
> on ts14 {
> device /dev/drbd0;
> disk /dev/sda5;
> address 10.17.0.103:7788;
> meta-disk internal;
> }
>
> }
>
> resource sec {
> protocol C;
> startup {
> wfc-timeout 0;
> degr-wfc-timeout 120; # 2 minutes.
> }
>
> disk {
> on-io-error detach;
> }
>
> syncer {
> rate 120M;
> group 1;
> }
>
> on ts12 {
> device /dev/drbd1;
> disk /dev/sda6;
> address 10.17.0.60:7789;
> meta-disk internal;
> }
>
> on ts14 {
> device /dev/drbd1;
> disk /dev/sda6;
> address 10.17.0.103:7789;
> meta-disk internal;
> }
>
> }
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
>
--
-Milind
"There is no place like 127.0.0.1"