MDR
...
1:N
1개의 노드에서 2개의 N개의 노드에 미러를 구성하는 방법입니다.
OS in LAN LAN LAN | DRX in Remote | BSR 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; } connection DR-4-6 {hostw28r2-4address1546677viaproxy c73p1inside 31.1.1.191:6678 outside 31.1.1.191:6679}hostw28r2-6address6677viaproxy c73p2 inside 31.1.1.192:6678 outside 31device d minor 1;
disk 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 {
|
|
host w28r2-5 address inside 31.1.1.191:6681;
outside 31.1.1. |
|
1556676} 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;
}
device /dev/bsr0;
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 address 31.1.1.154:6677 via proxy on c73-p1 {
host w28r2-6 address 31.1.1.156:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 31.1.1.192:6682;
}
}
connection 4-7 {
host w28r2-4 address 31.1.1.154:6683 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66786684;
outside 31.1.1.191: |
|
6679615666776683 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66786684;
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/bsr1;
disk /dev/ |
|
sdd1sdm1;
meta-disk /dev/sdm1;
address 31.1.1.154:7789;
}
on w28r2-5 {
node-id 2;
|
|
} onw28r2-6 {node-id 3}
connection DR-5-6 {hostw28r2-5address6680via proxy }
connection 4-5 {
host w28r2-4 address 31.1.1.154:6677 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/ |
|
bsr0sdd1sdb1
onc74-1{
node-id 1;c7422 }
on c74-3 {
node-id 3 device /dev/bsr3;
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 connectionDR-5-6host c74-2 address 31.1.1.165:6680 via proxy on c73-p1 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 c74-1 address 31.1.1.164:6676/dev/sdm3;
meta-disk /dev/sdm3;
|
|
hostc74-2address1656676}
Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
|
resource r0 {
proxy {
memlimit 500M;
}
netprotocol A;
on-congestion pull-aheadsndbuf-size 10M;
congestion-fill 480M;
}
devicebsr0sdd1sdb1
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
| |
|
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-1 {
node-id 1;
device /dev/ |
|
bsr1sdd2sdb2
onc74-2{
node-id 2 31.1.1.164:7789;
}
on c74- |
|
33} connectionDR-5-6 {hostc74-2address 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;
outsidemeta-disk /dev/sdb1;
address 31.1.1. |
|
192:6682;
}
}
}
1:N
1개의 노드에서 N개의 노드에 미러를 구성하는 방법입니다.
Node OS | BSR | DRX in LAN | DRX in Remote | BSR in Remote |
---|
Windows | Code Block |
---|
|
title | Windows R0 |
---|
collapse | true |
---|
|
resource r0 {
proxymemlimit500M} net {protocol Aoncongestion pull-aheadsndbuf-size10M; congestion-fill 480M
w28r21 dminor1/dev/sdd1;
meta-disk /dev/sdb1;
address |
dmetadiskm;addresshost 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 3device d minor 1disk d;
meta-disk m;
address 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: |
6679
connection 4-6
Code Block |
---|
title | Linux DRX R0 |
---|
collapse | true |
---|
| resource r0 {
proxy {
memlimit 500M;
}
net {
|
| host w28r2-4 address 31.1.1.154:6680 via proxy on c73-p1protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on c74-1 {
|
| inside 31.1.1.191:6681node-id 1;
device /dev/bsr0;
|
| outside 31.1.1.191:6682 | } | host | w28r2-6 | address | 156 | 6680 | via | proxy | c73 | p22 {
node-id 2;
device /dev/bsr1;
|
| inside 31.1.1.192:6681disk /dev/sdd1;
meta-disk /dev/sdb1;
|
| outside | 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 w28r2c74-41 {
node-id 1;
device /dev/bsr1bsr2;
disk /dev/sdm1sdd2;
meta-disk /dev/sdm1sdb2;
address 31.1.1.154164:7789;
}
on w28r2c74-53 {
node-id 23;
device /dev/bsr2;
disk /dev/sdm2sdd2;
meta-disk /dev/sdm2sdb2;
address 31.1.1.155166:7789;
}
connection 41-53 {
host w28r2c74-41 address 31.1.1.154164:66776680 via proxy on c73-p1 {
inside 31.1.1.191:66786681;
outside 31.1.1.191:66796682;
}
host w28r2c74-53 address 31.1.1.155166:66776680 via proxy on c73-p2 {
inside 31.1.1.192:66786681;
outside 31.1.1.192:66796682;
}
}
}
resource r0-12 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2c74-41 {
node-id 1;
device /dev/bsr2bsr3;
disk /dev/sdm2sdd3;
meta-disk /dev/sdm2sdb3;
address 31.1.1.154164:7789;
}
on w28r2c74-64 {
node-id 34;
device /dev/bsr3;
disk /dev/sdm3sdd3;
meta-disk /dev/sdm3sdb3;
address 31.1.1.156167:7789;
}
connection 1-4-6 {
host w28r2c74-41 address 31.1.1.154164:66806683 via proxy on c73-p1 {
inside 31.1.1.191:66816684;
outside 31.1.1.191:66826685;
}
host w28r2c74-64 address 31.1.1.156167:66806683 via proxy on c73-p2 {
inside 31.1.1.192:66816684;
outside 31.1.1.192:66826685;
}
}
}
|
| | |
N:1
N개의 노드에서 1개의 서버에 미러를 구성하는 방법입니다.
Node OS | BSR in LAN | DRX in LAN | DRX in Remote | BSR in Remote |
---|
Windows |
Code Block |
---|
title | Windows R0 |
---|
collapse | true |
---|
| resource r0 |
|
-2 {
proxy {
memlimit 500M;
}
net {
protocol A;
on-congestion pull-ahead;
sndbuf-size 10M;
congestion-fill 480M;
}
on w28r2-4 {
|
|
node-iddevice/dev/bsr3 /dev/sdm3metadisk /dev/sdm3id 1;
address 31.1.1.154: |
|
7789node-id 4device/dev/bsr3 /dev/sdm3metadisk /dev/sdm3id 4;
address 31.1.1.157: |
|
77896677;
}
connection 4-7 {
host w28r2-4 address 31.1.1.154: |
|
66836677 via proxy on c73-p1 {
inside 31.1.1.191: |
|
66846678;
outside 31.1.1.191: |
|
66856679;
}
host w28r2-7 address 31.1.1.157: |
|
66836677 via proxy on c73-p2 {
inside 31.1.1.192: |
|
66846678;
outside 31.1.1.192: |
|
6685
| 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 |
|
c741node-iddevice/dev/bsr0 /dev/sdd1metadisk /dev/sdb11647789c742node-iddevice/dev/bsr0 /dev/sdd1metadisk /dev/sdb11657789onc743nodeid3;
device /dev/bsr0;
disk /dev/sdd1;
meta-disk /dev/sdb1;
address address 31.1.1.155:6680 via proxy on c73-p1 {
inside 31.1.1. |
|
1667789}
on c74-4 {
node-id 4;outside 31.1.1.191:6682;
}
|
|
device /dev/bsr0;
disk /dev/sdd1;
meta-disk /dev/sdb1;
address 31.1.1.157:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 31.1.1. |
|
1677789connection 1 host c74-1 address 31.1.1.164:6677 via proxy on c73-p1proxy {
memlimit 500M;
}
net {
|
|
inside 31.1.1.191:6678 outside 31.1.1.191:6679on-congestion pull-ahead;
|
|
}host c742address 31.1.1.165:6677 via proxy on c73-p2 inside 31.1.1.192:6678 outside 31.1.1.192:6679}}
connection1- {hostc74-1address1646680viaproxy c73p1 inside 31.1.1.191:6681;
outside 31.1.1.191:6682} hostc74-3address31.1.1.166:6680 via proxy on c73-p2 {
inside 31.1.1.192:6681;
outside 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 1devicebsr0 sdd1metadisk /dev/sdb11647789c742node-id 2devicebsr1 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 1devicebsr2 sdd2metadisk /dev/sdb21647789c743
node-id 3;
device /dev/bsr2;
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 1devicebsr3 sdd3metadisk /dev/sdb31647789c744node-id 4;
device /dev/bsr3;
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;
}
}
}
|
| | |
N:1
N개의 노드에서 1개의 서버에 미러를 구성하는 방법입니다.
Node OS | BSR in LAN | DRX in LAN | DRX in Remote | BSR 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/bsr1;
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/bsr1;
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/bsr2;
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/bsr2;
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/bsr3;
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/bsr3;
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/bsr1;
disk /dev/sddsdd1;
meta-disk /dev/sdmsdb1;
node-id 1;
address 31.1.1.154164:6677;
}
on w28r2c74-74 {
device /dev/bsr1;
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/bsr1bsr2;
disk /dev/sddsdd2;
meta-disk /dev/sdmsdb2;
node-id 2;
address 31.1.1.155165:6680;
}
on w28r2c74-74 {
device /dev/bsr2;
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/bsr1bsr3;
disk /dev/sddsdd3;
meta-disk /dev/sdmsdb3;
node-id 3;
address 31.1.1.156166:6683;
}
on w28r2c74-74 {
device /dev/bsr3;
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
N개의 노드에서 N개의 노드에 미러를 구성하는 방법입니다.
Node OS | BSR in LAN | DRX in LAN | DRX in Remote | BSR 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/bsr1/dev/sdd1/dev/sdb1m;
node-id 1;
address 31.1.1. |
|
164c744/dev/bsr1/dev/sdd1/dev/sdb1m;
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/bsr2/dev/sdd2/dev/sdb2 m;
node-id 2;
address 31.1.1. |
|
165c744/dev/bsr2/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 bsr3sdd3sdb331666683c744 bsr3sdd3sdb3sdm;
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 bsr2sdd2sdb2216566806677;
}
on c74-4 {
device |
|
bsr2sdd2sdb2sdb1;
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 bsr3sdd3sdb3316666834 bsr3sdd3sdb341676683-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 | | N:N
N개의 노드에서 N개의 노드에 미러를 구성하는 방법입니다.
Node OS | BSR in LAN | DRX in LAN | DRX in Remote | BSR 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/bsr1;
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/bsr1;
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;
}
net {
protocol Aon c74-2 {
device /dev/bsr1;
disk /dev/sdd1;
onmeta-congestion pull-aheaddisk /dev/sdb1;
sndbufnode-sizeid 10M2;
congestion-fill 480Maddress 31.1.1.165:6680;
}
on w28r2c74-53 {
device d minor 1/dev/bsr1;
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) 구성은 1개의 노드에서 2개의 노드에 미러를 구성하는 방법입니다.
Node OS | BSR in LAN | DRX in LAN | DRX in Remote | BSR 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/bsr1;
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/bsr1;
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/bsr1;
disk /dev/sdd;
meta-disk /dev/sdmnodeid2address 31.1.1.155:6680
on w28r2-6{ bsr1 /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/bsr1;
disk /dev/sdd1;
meta-disk /dev/sdb1;
node-id 4;
address 31.1.1.167:66776 {
node-id 3;
}
connection |
|
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;
}
device /dev/bsr0;
|
|
sndbuf-size 10M;disk /dev/sdd1;
meta-disk /dev/sdb1;
on c74-1 {
|
|
congestionfill480M
device /dev/bsr1disk /dev/sdd1;metadisk /dev/sdb1 node-id 2;addresshost c74-1 address 31.1.1. |
|
165:6680;
}
on c74-3 {
device /dev/bsr1;
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{ bsr1 node-id 1;address 31.1.1.164:66774 {
device /dev/bsr1;
disk /dev/sdd1;
meta-disk /dev/sdb1;
node-id 4;
address 31.1.1.167:66773 {
node-id 3;
}
connection |
|
1DR-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/bsr1;
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
공유 디스크를 사용하는 노드에서 DR노드에 미러를 구성하는 방법입니다.
...