1
...
:N
A way to configure mirror on N nodes from one node to two nodes.
OS in LAN LAN LAN | DRX in Remote | DRBD in Remote |
---|
Windows | |
node r0 | resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2-4 {
node-id 1;
device d minor 1;
disk d;
meta-disk m;
|
|
onw28r2-4{
node-id 1 31.1.1.154:7789;
}
on w28r2-5 {
node-id 2;
|
|
}
on w28r2-6 {node-id3; } connectionDR-4-6 {host w28r2-4 addressmeta-disk m;
address 31.1.1. |
|
1546677viaproxy c73p1inside 31.1.1.191:6678 outside 31.1.1.191:6679}hostw28r2-6address6677viaproxy c73p2inside 31.1.1.192:6678 outside 31disk d;
meta-disk m;
address 31.1.1. |
|
1926679
}
DR-6515566806677 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66816678;
outside 31.1.1.191: |
|
6682615666806677 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66816678;
outside 31.1.1.192: |
|
6682
connection 4-6 {
host w28r2-4 address 31.1.1.154 |
|
:6676;
:6680 via proxy on c73-p1 {
inside 31.1.1.191:6681;
outside 31.1.1.191:6682;
}
host w28r2- |
|
51556676; }
} Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
|
resource r0proxy {
memlimit 500Minside 31.1.1.192:6681;
outside 31.1.1.192:6682;
}
}
|
|
netprotocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
device /dev/drbd0;
disk /dev/sdd;
meta-disk /dev/sdm;
on w28r2-4 {
node-id 1;
}
on w28r2-6 {
node-id 3;
}
connection DR-4-6 {
host w28r2-4 host w28r2-4 address 31.1.1.154:6683 via proxy on c73-p1 {
inside 31.1.1.191:6684;
outside 31.1.1.191:6685;
}
host w28r2-7 address 31.1.1. |
|
1546677p119166781916679 host w28r2-6 address 31.1.1.156:6677 via proxy on c73-p2 {
inside 31.1.1.192:6678;
outside 31.1.1.192:6679;
}
}
}
resource r0-1 |
Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
| resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
|
|
verify-alg crc32c;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2-4 {
node-id 1;
device /dev/drbd1;
disk /dev/ |
|
sdd1sdm1;
meta-disk /dev/sdm1;
|
|
onw28r2-5{
node-id 2 31.1.1.154:7789;
}
on w28r2- |
|
6 3 2;
device /dev/drbd2;
disk /dev/sdm2;
meta-disk /dev/sdm2;
address 31.1.1.155:7789;
} |
|
DR-6515566806677 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66816678;
outside 31.1.1.191: |
|
6682615666806677 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66816678;
outside 31.1.1.192: |
|
6682 | | Linux Centos 7.4 | Code Block |
---|
title | Linux r0 |
---|
collapse | true |
---|
|
resource r0-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2-4 {
node-id 1;
device /dev/ |
|
drbd0sdd1sdb1
onc74-1{
node-id 1c7422}
on c74-3 {
node-id 3 device /dev/drbd3;
disk /dev/sdm3;
meta-disk /dev/sdm3;
address 31.1.1.156:7789;
} |
|
DR-c74116466776680 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66786681;
outside 31.1.1.191: |
|
6679c74316666776680 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66786681;
outside 31.1.1.192: |
|
6679 connectionDR5-6 host c74-2 address 31.1.1.165:6680 via proxy on c73-p1 proxy {
memlimit 500M;
}
net {
|
|
inside 31.1.1.191:6681 outside 31.1.1.191:6682on-congestion pull-ahead;
|
|
}host c743address 31.1.1.166:6680 via proxy on c73-p2 inside 31.1.1.192:6681 outside 31.1.1.192:6682} } connection {host c741 address 31.1.1.164:6676hostc74-2address1656676}
Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
|
resource r0 {
proxymemlimit500M} net{
protocol Aon-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
devicedrbd0disk /dev/sdd1;
sdb1
onc74-1{
node-id 1
on c74-3 { node-id 3;
}
DR-6c74116466776683 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66786684;
outside 31.1.1.191: |
|
6679c74316666776683 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66786684;
outside 31.1.1.192: |
|
6679
resource r0-1 | |
|
Linux Centos 7.4 |
Code Block |
---|
title | Linux R0 |
---|
collapse | true |
---|
| resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on c74-1 {
node-id 1;
device /dev/ |
|
drbd1sdd2sdb2
onc74-2{
node-id 2 31.1.1.164:7789;
}
on c74- |
|
33} connectionDR-5-6 {hostc74-2 address 31.1.1.165:6680 via proxy on c73-p1 {
inside 31.1.1.191:6681;
outside /dev/sdd1;
meta-disk /dev/sdb1;
address 31.1.1. |
|
1916682 hostaddress 31.1.1.166:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside{
node-id 3;
device /dev/drbd0;
disk /dev/sdd1;
meta-disk /dev/sdb1;
address 31.1.1. |
|
1926682 }}
2. 1:N
A way to configure mirror on N nodes from one node.
Node OS | DRBD | DRX in LAN | DRX in Remote | DRBD in Remote |
---|
Windows | Code Block |
---|
|
title | Windows R0 |
---|
collapse | true |
---|
|
resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2-4 {
node-id 1;
device d minor 1;
disk d;
meta-disk m;
address c74-4 {
node-id 4;
device /dev/drbd0;
disk /dev/sdd1;
meta-disk /dev/sdb1;
address 31.1.1.167:7789;
}
connection 1-2 {
host c74-1 address 31.1.1. |
154:7789;
}
on w28r2-5164:6677 via proxy on c73-p1 {
|
node-id 2device d minor 1disk d;
meta-disk m;
address }
host c74-2 address 31.1.1. |
155:7789;
}
on w28r2-6165:6677 via proxy on c73-p2 {
|
node-id 3;
device d minor 1;
disk d;
meta-disk m;
address inside 31.1.1.192:6678;
outside 31.1.1.192:6679;
}
}
connection 1-3 {
host c74-1 address 31.1.1. |
156:7789;
}
on w28r2-7164:6680 via proxy on c73-p1 {
|
node-id 4device d minor 1;
disk d;
meta-disk m;
address outside 31.1.1.191:6682;
}
host c74-3 address 31.1.1.166:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 31.1.1. |
1577789-5w28r2415466776683 via proxy on c73-p1 {
inside 31.1.1.191: |
66786684;
outside 31.1.1.191: |
6679w28r2515566776683 via proxy on c73-p2 {
inside 31.1.1.192: |
66786684;
outside 31.1.1.192:6685;
}
}
} |
Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
| resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
|
| outside 31.1.1.192:6679 | | } | connection | 4 | 6 | host w28r2-4 address 31.1.1.154:6680 via proxy on c73-p1 {
inside 31.1.1.191:6681;
outsidenode-id 1;
device /dev/drbd0;
disk /dev/sdd1;
meta-disk /dev/sdb1;
address 31.1.1. |
| 191 | 6682 | } | host w28r2 | 6 | address 31.1.1.156:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside2;
device /dev/drbd1;
disk /dev/sdd1;
meta-disk /dev/sdb1;
address 31.1.1. |
| 192 | 6682 |
} | 4 | 7 | w28r2 | 4 | 154 | 66836677 via proxy on c73-p1 {
inside 31.1.1.191: |
| 66846678;
outside 31.1.1.191: |
| 6685 | w28r2 | 7 | 157 | 66836677 via proxy on c73-p2 {
inside 31.1.1.192: |
| 66846678;
outside 31.1.1.192: |
| 6685 | Code Block |
---|
| title | Linux DRX R0 |
---|
collapse | true |
---|
|
resource r0-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on |
w28r241 {
node-id 1;
device /dev/ |
drbd1sdm1sdm1154w28r2523;
device /dev/drbd2;
disk /dev/ |
sdm2sdm215545w28r2415466776680 via proxy on c73-p1 {
inside 31.1.1.191: |
66786681;
outside 31.1.1.191: |
6679w28r2515566776680 via proxy on c73-p2 {
inside 31.1.1.192: |
66786681;
outside 31.1.1.192: |
6679
12 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on |
w28r241 {
node-id 1;
device /dev/ |
drbd2sdm2sdm2154w28r2634;
device /dev/drbd3;
disk /dev/ |
sdm3sdm3156167:7789;
}
connection 1-4 |
-6w28r2415466806683 via proxy on c73-p1 {
inside 31.1.1.191: |
66816684;
outside 31.1.1.191: |
6682w28r2615666806683 via proxy on c73-p2 {
inside 31.1.1.192: |
66811.192:6682;
}
}
}
resource r0-2
| |
N:1
A way to configure mirror on 1 node from N nodes.
Node OS | DRBD in LAN | DRX in LAN | DRX in Remote | DRBD in Remote |
---|
Windows |
Code Block |
---|
title | Windows R0 |
---|
collapse | true |
---|
| resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2-4 |
|
{
node-id 1;
device /dev/drbd3;
disk /dev/sdm3;
meta-disk /dev/sdm3;
address 31.1.1.154:7789;
}
on w28r2-7node-id 4device/dev/drbd3 /dev/sdm3metadisk /dev/sdm31577789connection4hostw28r2-4address31.1.1.154:6683 via proxy on c73-p1 {
inside 31.1.1.191:6684 outside 31.1.1.191:6685;
}
host w28r2-7 address 31.1.1.157:6683 via proxy on c73-p2 {
inside 31.1.1.192:6684;
outsidedisk d;
meta-disk m;
node-id 4;
address 31.1.1. |
|
1926685 }
}
| Linux Centos 7.4 | Code Block |
---|
title | Linux R0 |
---|
collapse | true |
---|
|
resource r0proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on c74-1 {
node-id 1;
device /dev/drbd0;
disk /dev/sdd1;
meta-disk /dev/sdb1;
address host w28r2-4 address 31.1.1.154:6677 via proxy on c73-p1 {
inside 31.1.1.191:6678;
outside 31.1.1.191:6679;
}
host w28r2-7 address 31.1.1.157:6677 via proxy on c73-p2 {
inside 31.1.1.192:6678;
outside 31.1.1. |
|
1647789on c74-2}
}
resource r0-1 {
proxy {
|
|
node-id2device /dev/drbd0disk /dev/sdd1on-congestion pull-ahead;
|
|
metadisk /dev/sdb1address 31.1.1.165:7789congestion-fill 480M;
}
on |
|
c743node-id 3device/dev/drbd0 /dev/sdd1metadisk /dev/sdb11667789c744
node-id 4;/dev/drbd0/dev/sdd1/dev/sdb1 n;
node-id 4;
address 31.1.1. |
|
167778912c74116466776680 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66786681;
outside 31.1.1.191: |
|
6679c742 address7 address 31.1.1.157:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 31.1.1. |
|
165:6677 via proxy on c73-p2192:6682;
}
}
}
resource r0-2 {
proxy {
memlimit 500M;
}
net {
|
|
inside 31.1.1.192:6678protocol A;
on-congestion pull-ahead;
|
|
outside 31.1.1.192:6679}connection13host c74-1 address 31.1.1.164:6680 via proxy on c73-p1 {
inside 31.1.1.191:6681;
outsidedevice d minor 1;
disk d;
meta-disk m;
node-id 3;
address 31.1.1. |
|
1916682 }host c74-3 address 31.1.1.166:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outsidedevice f minor 3;
disk f;
meta-disk o;
node-id 4;
address 31.1.1. |
|
1926682 }
14c741164156:6683 via proxy on c73-p1 {
inside 31.1.1.191:6684;
outside 31.1.1.191:6685;
}
host |
|
c744167157:6683 via proxy on c73-p2 {
inside 31.1.1.192:6684;
outside 31.1.1.192:6685;
}
}
}
|
|
Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
| resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on |
|
c741node-id 1;
drbd0sdd1sdb1sdm;
node-id 1;
address 31.1.1. |
|
1647789c742node-id 2devicedrbd1 sdd1metadisk /dev/sdb1165778912c741164154:6677 via proxy on c73-p1 {
inside 31.1.1.191:6678;
outside 31.1.1.191:6679;
}
host |
|
c742165157:6677 via proxy on c73-p2 {
inside 31.1.1.192:6678;
outside 31.1.1.192:6679;
}
}
}
resource r0-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on |
|
c741node-id 1devicedrbd2 sdd2metadisk /dev/sdb21647789c74-3 {
node-id 3;w28r2-7 {
device /dev/drbd2;
disk /dev/ |
|
sdd2sdb2sdn;
node-id 4;
address 31.1.1. |
|
166778913c741164155:6680 via proxy on c73-p1 {
inside 31.1.1.191:6681;
outside 31.1.1.191:6682;
}
host |
|
c743166157:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 31.1.1.192:6682;
}
}
}
resource r0-2 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on |
|
c741node-id 1devicedrbd3 sdd3metadisk /dev/sdb31647789c744node-id 4;
device /dev/drbd3;
disk /dev/ |
|
sdd3sdb3sdo;
node-id 4;
address 31.1.1. |
|
167778914c741164156:6683 via proxy on c73-p1 {
inside 31.1.1.191:6684;
outside 31.1.1.191:6685;
}
host |
|
c744167157:6683 via proxy on c73-p2 {
inside 31.1.1.192:6684;
outside 31.1.1.192:6685;
}
}
}
|
| | |
3. N:1
A way to configure mirror on 1 node from N nodes.
Node OS | DRBD in LAN | DRX in LAN | DRX in Remote | DRBD in Remote |
---|
WindowsLinux Centos 7.4 |
Code Block |
---|
title | Windows Linux R0 |
---|
collapse | true |
---|
| resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2c74-41 {
device d minor 1/dev/drbd1;
disk d/dev/sdd1;
meta-disk m/dev/sdb1;
node-id 1;
address 31.1.1.154164:6677;
}
on w28r2c74-74 {
device d minor 1/dev/drbd1;
disk d/dev/sdd1;
meta-disk m/dev/sdb1;
node-id 4;
address 31.1.1.157167:6677;
}
connection 1-4-7 {
host w28r2c74-41 address 31.1.1.154164:6677 via proxy on c73-p1 {
inside 31.1.1.191:6678;
outside 31.1.1.191:6679;
}
host w28r2c74-74 address 31.1.1.157167:6677 via proxy on c73-p2 {
inside 31.1.1.192:6678;
outside 31.1.1.192:6679;
}
}
}
resource r0-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2c74-52 {
device d minor 1/dev/drbd2;
disk d/dev/sdd2;
meta-disk m/dev/sdb2;
node-id 2;
address 31.1.1.155165:6680;
}
on w28r2c74-74 {
device e minor 2/dev/drbd2;
disk e/dev/sdd2;
meta-disk n/dev/sdb2;
node-id 4;
address 31.1.1.157167:6680;
}
connection 52-74 {
host w28r2c74-52 address 31.1.1.155165:6680 via proxy on c73-p1 {
inside 31.1.1.191:6681;
outside 31.1.1.191:6682;
}
host w28r2c74-74 address 31.1.1.157168:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 31.1.1.192:6682;
}
}
}
resource r0-2 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2c74-63 {
device d minor 1/dev/drbd3;
disk d/dev/sdd3;
meta-disk m/dev/sdb3;
node-id 3;
address 31.1.1.156166:6683;
}
on w28r2c74-74 {
device f minor 3/dev/drbd3;
disk f/dev/sdd3;
meta-disk o/dev/sdb3;
node-id 4;
address 31.1.1.157167:6683;
}
connection 63-74 {
host w28r2c74-63 address 31.1.1.156166:6683 via proxy on c73-p1 {
inside 31.1.1.191:6684;
outside 31.1.1.191:6685;
}
host w28r2c74-74 address 31.1.1.157169:6683 via proxy on c73-p2 {
inside 31.1.1.192:6684;
outside 31.1.1.192:6685;
}
}
}
|
|
Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
| resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2c74-41 {
device /dev/drbd1;
disk /dev/sddsdd1;
meta-disk /dev/sdmsdb1;
node-id 1;
address 31.1.1.154164:6677;
}
on w28r2c74-74 {
device /dev/drbd1;
disk /dev/sddsdd1;
meta-disk /dev/sdmsdb1;
node-id 4;
address 31.1.1.157167:6677;
}
connection 1-4-7 {
host w28r2c74-41 address 31.1.1.154164:6677 via proxy on c73-p1 {
inside 31.1.1.191:6678;
outside 31.1.1.191:6679;
}
host w28r2c74-74 address 31.1.1.157167:6677 via proxy on c73-p2 {
inside 31.1.1.192:6678;
outside 31.1.1.192:6679;
}
}
}
resource r0-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2c74-52 {
device /dev/drbd1drbd2;
disk /dev/sddsdd2;
meta-disk /dev/sdmsdb2;
node-id 2;
address 31.1.1.155165:6680;
}
on w28r2c74-74 {
device /dev/drbd2;
disk /dev/sdesdd2;
meta-disk /dev/sdnsdb2;
node-id 4;
address 31.1.1.157167:6680;
}
connection 52-74 {
host w28r2c74-52 address 31.1.1.155165:6680 via proxy on c73-p1 {
inside 31.1.1.191:6681;
outside 31.1.1.191:6682;
}
host w28r2c74-74 address 31.1.1.157168:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 31.1.1.192:6682;
}
}
}
resource r0-2 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2c74-63 {
device /dev/drbd1drbd3;
disk /dev/sddsdd3;
meta-disk /dev/sdmsdb3;
node-id 3;
address 31.1.1.156166:6683;
}
on w28r2c74-74 {
device /dev/drbd3;
disk /dev/sdfsdd3;
meta-disk /dev/sdosdb3;
node-id 4;
address 31.1.1.157167:6683;
}
connection 63-74 {
host w28r2c74-63 address 31.1.1.156166:6683 via proxy on c73-p1 {
inside 31.1.1.191:6684;
outside 31.1.1.191:6685;
}
host w28r2c74-74 address 31.1.1.157169:6683 via proxy on c73-p2 {
inside 31.1.1.192:6684;
outside 31.1.1.192:6685;
}
}
}
|
| | | Linux Centos 7.4 |
N:N
A way to configure mirror on N nodes from N nodes.
Node OS | DRBD in LAN | DRX in LAN | DRX in Remote | DRBD in Remote |
---|
Windows | |
Linux | resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on |
|
c741/dev/drbd1/dev/sdd1/dev/sdb1 m;
node-id 1;
address 31.1.1. |
|
164c744/dev/drbd1/dev/sdd1/dev/sdb1 m;
node-id 4;
address 31.1.1. |
|
16714c741164154:6677 via proxy on c73-p1 {
inside 31.1.1.191:6678;
outside 31.1.1.191:6679;
}
host |
|
c744167157:6677 via proxy on c73-p2 {
inside 31.1.1.192:6678;
outside 31.1.1.192:6679;
}
}
}
resource r0-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on |
|
c742 /dev/drbd2/dev/sdd2/dev/sdb2m;
node-id 2;
address 31.1.1. |
|
165c744/dev/drbd2/dev/sdd2/dev/sdb2416724c742165155:6680 via proxy on c73-p1 {
inside 31.1.1.191:6681;
outside 31.1.1.191:6682;
}
host |
|
c744168156:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 31.1.1.192:6682;
}
}
}
|
|
|
Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
| resource r0 |
|
-2 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on |
|
c743 drbd3sdd3sdb331666683c744 drbd3sdd3sdb3sdm;
node-id 4;
address 31.1.1. |
|
167668334c74316666836677 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66846678;
outside 31.1.1.191: |
|
6685c74416966836677 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66846678;
outside 31.1.1.192: |
|
6685 Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
|
resource r0-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on |
|
c741 sdd1sdb111646677c744 sdd1sdb141676677
14c74116466776680 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66786681;
outside 31.1.1.191: |
|
6679c74416766776680 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66786681;
outside 31.1.1.192: |
|
6679
| | |
Linux Centos 7.4 |
Code Block |
---|
title | Linux R0 |
---|
collapse | true |
---|
| resource r0 |
|
-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on c74- |
|
2 drbd2sdd2sdb2216566806677;
}
on c74-4 {
device |
|
drbd2sdd2sdb2sdb1;
node-id 4;
address 31.1.1.167: |
|
66802216566806677 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66816678;
outside 31.1.1.191: |
|
66826679;
}
host c74-4 address 31.1.1. |
|
16866806677 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66816678;
outside 31.1.1.192: |
|
668221 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on c74- |
|
3 drbd3sdd3sdb3316666834 drbd3sdd3sdb341676683-4316666836680 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66846681;
outside 31.1.1.191: |
|
6685416966836680 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66846681;
outside 31.1.1.192: |
|
6685 | | 4. N:N
A way to configure mirror on N nodes from N nodes.
Node OS | DRBD in LAN | DRX in LAN | DRX in Remote | DRBD in Remote |
---|
Windows |
Code Block |
---|
title | Windows Linux DRX R0 |
---|
collapse | true |
---|
| resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2c74-41 {
device d minor 1/dev/drbd1;
disk d/dev/sdd1;
meta-disk m/dev/sdb1;
node-id 1;
address 31.1.1.154164:6677;
}
on w28r2c74-74 {
device d minor 1/dev/drbd1;
disk d/dev/sdd1;
meta-disk m/dev/sdb1;
node-id 4;
address 31.1.1.157167:6677;
}
connection 1-4-7 {
host w28r2c74-41 address 31.1.1.154164:6677 via proxy on c73-p1 {
inside 31.1.1.191:6678;
outside 31.1.1.191:6679;
}
host w28r2c74-74 address 31.1.1.157167:6677 via proxy on c73-p2 {
inside 31.1.1.192:6678;
outside 31.1.1.192:6679;
}
}
}
resource r0-1 {
proxy {
memlimit 500M;
}
net {
protocol A A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on c74-2 {
device /dev/drbd1;
disk /dev/sdd1;
meta-disk /dev/sdb1;
onnode-congestionid pull-ahead2;
sndbuf-sizeaddress 10M; congestion-fill 480M 31.1.1.165:6680;
}
on w28r2c74-53 {
device d minor 1/dev/drbd1;
disk d/dev/sdd1;
meta-disk m/dev/sdb1;
node-id 23;
address 31.1.1.155166:6680;
}
onconnection w28r22-63 {
devicehost c74-2 d minor 1;
disk d;
meta-disk m;
node-id 3;
address address 31.1.1.165:6680 via proxy on c73-p1 {
inside 31.1.1.191:6681;
outside 31.1.1.156191:66806682;
}
connection 5-6 {
host w28r2c74-53 address 31.1.1.155166:6680 via proxy on c73-p1p2 {
inside 31.1.1.191192:6681;
outside 31.1.1.191192:6682;
}
host w28r2-6 address 31.1.1.156:6680 via proxy on c73-p2}
}
|
| | |
MDR
Mirror DR (MDR) configuration is a way to configure mirror on one node to two nodes.
Node OS | DRBD in LAN | DRX in LAN | DRX in Remote | DRBD in Remote |
---|
Windows |
Code Block |
---|
title | Windows node r0 |
---|
collapse | true |
---|
| resource r0 {
proxy {
memlimit 500M;
}
net {
|
|
inside 31.1.1.192:6681protocol A;
on-congestion pull-ahead;
|
|
outside 31.1.1.192:6682sndbuf-size 10M;
congestion-fill 480M;
|
|
}}}
Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
|
resource r0 {
proxyd;
meta-disk m;
on w28r2-4 {
|
|
memlimit500M
net {
protocol A;oncongestionpull-aheadsndbufsize10M;congestionfill480Monw28r2device /dev/drbd1;
disk /dev/sdd;
meta-disk /dev/sdm;
node-id 1;
address host w28r2-4 address 31.1.1.154:6677 via proxy on c73-p1 {
inside 31.1.1.191:6678;
outside 31.1.1. |
|
1546677on7{
device /dev/drbd1;
disk /dev/sdd;
meta-disk /dev/sdm;
node-id 4;
address address 31.1.1.156:6677 via proxy on c73-p2 {
inside 31.1.1.192:6678;
outside 31.1.1. |
|
157667747415466776680 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66786681;
outside 31.1.1.191: |
|
667971576677 via proxy on c73-p26680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 31.1.1.192:6682;
}
}
connection {
|
|
insidehost w28r2-4 address 31.1.1. |
|
1926678 outsidehost w28r2-5 address 31.1.1. |
|
1926679 }
}
|
Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
| resource r0 |
|
-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead |
|
;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2-5 {
device /dev/drbd1;
disk /dev/sdd;
meta-disk /dev/sdmnodeid2address 31.1.1.155:6680 onw28r2-6 {
drbd1 /dev/sdm;
on w28r2-4 {
node-id |
|
3 address 31.1.1.156:6680}
on w28r2-6 {
node-id 3;
}
connection |
|
5515566806677 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66816678;
outside 31.1.1.191: |
|
66826679;
}
host w28r2-6 address 31.1.1.156: |
|
66806677 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66816678;
outside 31.1.1.192: |
|
6682}
}
| | Linux Centos 7.4 | Code Block |
---|
title | Linux R0 |
---|
collapse | true |
---|
|
}
}
resource r0-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
verify-alg crc32c;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
} |
|
on c74-1 { sdb1 node-id 1;address 31.1.1.164:6677c744 {
device /dev/drbd1;
disk /dev/sdd1;
meta-disk /dev/sdb1; 4;
address 31.1.1.167:667714c74116466776680 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66786681;
outside 31.1.1.191: |
|
6679c74416766776680 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66786681;
outside 31.1.1.192: |
|
6679
| | |
Linux Centos 7.4 |
Code Block |
---|
title | Linux r0 |
---|
collapse | true |
---|
| resource r0 |
|
-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
device /dev/drbd0;
|
|
sndbuf-size 10M;disk /dev/sdd1;
meta-disk /dev/sdb1;
on c74-1 {
|
|
congestionfill480M
device /dev/drbd1disk /dev/sdd1;metadisk /dev/sdb1 node-id 2;addresshost c74-1 address 31.1.1. |
|
165:6680;
}
on c74-3 {
device /dev/drbd1;
disk /dev/sdd1;
meta-disk /dev/sdb1;
node-id 3;
address 164:6677 via proxy on c73-p1 {
inside 31.1.1.191:6678;
outside 31.1.1.191:6679;
}
host c74-3 address 31.1.1.166:6677 via proxy on c73-p2 {
inside 31.1.1.192:6678;
outside 31.1.1. |
|
1666680236 {
host c74-2 address 31.1.1.165:6680 via proxy on c73-p1 {
inside 31.1.1.191:6681;
outside 31.1.1.191:6682;
}
host c74-3 address 31.1.1.166:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 31.1.1.192:6682;
}
}
connection { |
|
inside
host c74-1 address 31.1.1. |
|
1926681 outsidehost c74-2 address 31.1.1. |
|
1926682 }
|
Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
| resource r0 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
} |
|
on c74-1{ drbd1 node-id 1;address 31.1.1.164:66774 {
device /dev/drbd1;
disk /dev/sdd1;
meta-disk /dev/sdb1;id 4;
address 31.1.1.167:66771DR-4-6 {
host c74-1 address 31.1.1.164:6677 via proxy on c73-p1 {
inside 31.1.1.191:6678;
outside 31.1.1.191:6679;
}
host c74- |
|
4167166:6677 via proxy on c73-p2 {
inside 31.1.1.192:6678;
outside 31.1.1.192:6679;
}
}
}
resource r0-1 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
|
|
on c74-2 {
sdd1 sdb1;sdb2;
on c74-2 {
node-id 2;
|
|
address 31.1.1.165:6680;
device /dev/drbd1;
disk /dev/sdd1;
meta-disk /dev/sdb1; address 31.1.1.166:6680;
}
236 {
host c74-2 address 31.1.1.165:6680 via proxy on c73-p1 {
inside 31.1.1.191:6681;
outside 31.1.1.191:6682;
}
host c74-3 address 31.1.1.166:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 31.1.1.192:6682;
}
}
}
|
|
| |
...
SDR
A way to configure mirror on a DR node on nodes that uses a shared disk.
...