BSR 구성 사례
- SungEun Kim
Owned by SungEun Kim
1:N
1개의 노드에서 N개의 노드에 미러를 구성하는 방법입니다.
Node OS | BSR | DRX in LAN | DRX in Remote | BSR in Remote |
---|---|---|---|---|
Windows |
Windows R0 Expand source
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 31.1.1.154:7789; } on w28r2-5 { node-id 2; device d minor 1; disk d; meta-disk m; address 31.1.1.155:7789; } on w28r2-6 { node-id 3; device d minor 1; disk d; meta-disk m; address 31.1.1.156:7789; } on w28r2-7 { node-id 4; device d minor 1; disk d; meta-disk m; address 31.1.1.157:7789; } connection 4-5 { 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-5 address 31.1.1.155:6677 via proxy on c73-p2 { inside 31.1.1.192:6678; 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; outside 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; 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: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; outside 31.1.1.192:6685; } } } |
Linux DRX R0 Expand source
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/bsr1; disk /dev/sdm1; meta-disk /dev/sdm1; address 31.1.1.154:7789; } on w28r2-5 { node-id 2; device /dev/bsr2; disk /dev/sdm2; meta-disk /dev/sdm2; address 31.1.1.155:7789; } connection 4-5 { 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-5 address 31.1.1.155: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 w28r2-4 { node-id 1; device /dev/bsr2; disk /dev/sdm2; meta-disk /dev/sdm2; address 31.1.1.154:7789; } on w28r2-6 { node-id 3; device /dev/bsr3; disk /dev/sdm3; meta-disk /dev/sdm3; address 31.1.1.156:7789; } connection 4-6 { host w28r2-4 address 31.1.1.154:6680 via proxy on c73-p1 { inside 31.1.1.191:6681; outside 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; 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 w28r2-4 { node-id 1; device /dev/bsr3; disk /dev/sdm3; meta-disk /dev/sdm3; address 31.1.1.154:7789; } on w28r2-7 { node-id 4; device /dev/bsr3; disk /dev/sdm3; meta-disk /dev/sdm3; address 31.1.1.157:7789; } connection 4-7 { 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.157:6683 via proxy on c73-p2 { inside 31.1.1.192:6684; outside 31.1.1.192:6685; } } } |
|
|
Linux Centos 7.4 |
Linux R0 Expand source
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/bsr0; disk /dev/sdd1; meta-disk /dev/sdb1; address 31.1.1.164:7789; } on c74-2 { node-id 2; device /dev/bsr0; disk /dev/sdd1; meta-disk /dev/sdb1; address 31.1.1.165:7789; } on c74-3 { node-id 3; device /dev/bsr0; disk /dev/sdd1; meta-disk /dev/sdb1; address 31.1.1.166:7789; } on c74-4 { node-id 4; device /dev/bsr0; disk /dev/sdd1; meta-disk /dev/sdb1; address 31.1.1.167:7789; } connection 1-2 { 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-2 address 31.1.1.165:6677 via proxy on c73-p2 { inside 31.1.1.192:6678; outside 31.1.1.192:6679; } } connection 1-3 { host c74-1 address 31.1.1.164: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 1-4 { host c74-1 address 31.1.1.164:6683 via proxy on c73-p1 { inside 31.1.1.191:6684; outside 31.1.1.191:6685; } host c74-4 address 31.1.1.167:6683 via proxy on c73-p2 { inside 31.1.1.192:6684; outside 31.1.1.192:6685; } } } |
Linux DRX R0 Expand source
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/bsr0; disk /dev/sdd1; meta-disk /dev/sdb1; address 31.1.1.164:7789; } on c74-2 { node-id 2; device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; address 31.1.1.165:7789; } connection 1-2 { 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-2 address 31.1.1.165: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-1 { node-id 1; device /dev/bsr2; disk /dev/sdd2; meta-disk /dev/sdb2; address 31.1.1.164:7789; } on c74-3 { node-id 3; device /dev/bsr2; disk /dev/sdd2; meta-disk /dev/sdb2; address 31.1.1.166:7789; } connection 1-3 { host c74-1 address 31.1.1.164: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; } } } resource r0-2 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } on c74-1 { node-id 1; device /dev/bsr3; disk /dev/sdd3; meta-disk /dev/sdb3; address 31.1.1.164:7789; } on c74-4 { node-id 4; device /dev/bsr3; disk /dev/sdd3; meta-disk /dev/sdb3; address 31.1.1.167:7789; } connection 1-4 { host c74-1 address 31.1.1.164:6683 via proxy on c73-p1 { inside 31.1.1.191:6684; outside 31.1.1.191:6685; } host c74-4 address 31.1.1.167: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 |
---|---|---|---|---|
Windows |
Windows R0 Expand source
resource r0 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } on w28r2-4 { device d minor 1; disk d; meta-disk m; node-id 1; address 31.1.1.154:6677; } on w28r2-7 { device d minor 1; disk d; meta-disk m; node-id 4; address 31.1.1.157:6677; } connection 4-7 { 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.192:6679; } } } resource r0-1 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } on w28r2-5 { device d minor 1; disk d; meta-disk m; node-id 2; address 31.1.1.155:6680; } on w28r2-7 { device e minor 2; disk e; meta-disk n; node-id 4; address 31.1.1.157:6680; } connection 5-7 { host w28r2-5 address 31.1.1.155:6680 via proxy on c73-p1 { inside 31.1.1.191:6681; outside 31.1.1.191:6682; } host w28r2-7 address 31.1.1.157: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 w28r2-6 { device d minor 1; disk d; meta-disk m; node-id 3; address 31.1.1.156:6683; } on w28r2-7 { device f minor 3; disk f; meta-disk o; node-id 4; address 31.1.1.157:6683; } connection 6-7 { host w28r2-6 address 31.1.1.156: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; outside 31.1.1.192:6685; } } } |
Linux DRX R0 Expand source
resource r0 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } on w28r2-4 { device /dev/bsr1; disk /dev/sdd; meta-disk /dev/sdm; node-id 1; address 31.1.1.154:6677; } on w28r2-7 { device /dev/bsr1; disk /dev/sdd; meta-disk /dev/sdm; node-id 4; address 31.1.1.157:6677; } connection 4-7 { 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.192:6679; } } } 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/sdm; node-id 2; address 31.1.1.155:6680; } on w28r2-7 { device /dev/bsr2; disk /dev/sde; meta-disk /dev/sdn; node-id 4; address 31.1.1.157:6680; } connection 5-7 { host w28r2-5 address 31.1.1.155:6680 via proxy on c73-p1 { inside 31.1.1.191:6681; outside 31.1.1.191:6682; } host w28r2-7 address 31.1.1.157: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 w28r2-6 { device /dev/bsr1; disk /dev/sdd; meta-disk /dev/sdm; node-id 3; address 31.1.1.156:6683; } on w28r2-7 { device /dev/bsr3; disk /dev/sdf; meta-disk /dev/sdo; node-id 4; address 31.1.1.157:6683; } connection 6-7 { host w28r2-6 address 31.1.1.156: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; outside 31.1.1.192:6685; } } } |
|
|
Linux Centos 7.4 |
Linux R0 Expand source
resource r0 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } on c74-1 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 1; address 31.1.1.164:6677; } on c74-4 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 4; address 31.1.1.167:6677; } connection 1-4 { 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-4 address 31.1.1.167: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 { device /dev/bsr2; disk /dev/sdd2; meta-disk /dev/sdb2; node-id 2; address 31.1.1.165:6680; } on c74-4 { device /dev/bsr2; disk /dev/sdd2; meta-disk /dev/sdb2; node-id 4; address 31.1.1.167:6680; } connection 2-4 { 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-4 address 31.1.1.168: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 c74-3 { device /dev/bsr3; disk /dev/sdd3; meta-disk /dev/sdb3; node-id 3; address 31.1.1.166:6683; } on c74-4 { device /dev/bsr3; disk /dev/sdd3; meta-disk /dev/sdb3; node-id 4; address 31.1.1.167:6683; } connection 3-4 { host c74-3 address 31.1.1.166:6683 via proxy on c73-p1 { inside 31.1.1.191:6684; outside 31.1.1.191:6685; } host c74-4 address 31.1.1.169:6683 via proxy on c73-p2 { inside 31.1.1.192:6684; outside 31.1.1.192:6685; } } } |
Linux DRX R0 Expand source
resource r0 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } on c74-1 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 1; address 31.1.1.164:6677; } on c74-4 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 4; address 31.1.1.167:6677; } connection 1-4 { 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-4 address 31.1.1.167: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 { device /dev/bsr2; disk /dev/sdd2; meta-disk /dev/sdb2; node-id 2; address 31.1.1.165:6680; } on c74-4 { device /dev/bsr2; disk /dev/sdd2; meta-disk /dev/sdb2; node-id 4; address 31.1.1.167:6680; } connection 2-4 { 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-4 address 31.1.1.168: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 c74-3 { device /dev/bsr3; disk /dev/sdd3; meta-disk /dev/sdb3; node-id 3; address 31.1.1.166:6683; } on c74-4 { device /dev/bsr3; disk /dev/sdd3; meta-disk /dev/sdb3; node-id 4; address 31.1.1.167:6683; } connection 3-4 { host c74-3 address 31.1.1.166:6683 via proxy on c73-p1 { inside 31.1.1.191:6684; outside 31.1.1.191:6685; } host c74-4 address 31.1.1.169:6683 via proxy on c73-p2 { inside 31.1.1.192:6684; 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 |
Windows R0 Expand source
resource r0 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } on w28r2-4 { device d minor 1; disk d; meta-disk m; node-id 1; address 31.1.1.154:6677; } on w28r2-7 { device d minor 1; disk d; meta-disk m; node-id 4; address 31.1.1.157:6677; } connection 4-7 { 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.192:6679; } } } resource r0-1 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } on w28r2-5 { device d minor 1; disk d; meta-disk m; node-id 2; address 31.1.1.155:6680; } on w28r2-6 { device d minor 1; disk d; meta-disk m; node-id 3; address 31.1.1.156:6680; } connection 5-6 { host w28r2-5 address 31.1.1.155:6680 via proxy on c73-p1 { inside 31.1.1.191:6681; outside 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; outside 31.1.1.192:6682; } } } |
Linux DRX R0 Expand source
resource r0 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } on w28r2-4 { device /dev/bsr1; disk /dev/sdd; meta-disk /dev/sdm; node-id 1; address 31.1.1.154:6677; } on w28r2-7 { device /dev/bsr1; disk /dev/sdd; meta-disk /dev/sdm; node-id 4; address 31.1.1.157:6677; } connection 4-7 { 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.192:6679; } } } 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/sdm; node-id 2; address 31.1.1.155:6680; } on w28r2-6 { device /dev/bsr1; disk /dev/sdd; meta-disk /dev/sdm; node-id 3; address 31.1.1.156:6680; } connection 5-6 { host w28r2-5 address 31.1.1.155:6680 via proxy on c73-p1 { inside 31.1.1.191:6681; outside 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; outside 31.1.1.192:6682; } } } |
|
|
Linux Centos 7.4 |
Linux R0 Expand source
resource r0 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } on c74-1 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 1; address 31.1.1.164:6677; } on c74-4 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 4; address 31.1.1.167:6677; } connection 1-4 { 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-4 address 31.1.1.167: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 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 2; address 31.1.1.165:6680; } on c74-3 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 3; address 31.1.1.166:6680; } connection 2-3 { 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; } } } |
Linux DRX R0 Expand source
resource r0 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } on c74-1 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 1; address 31.1.1.164:6677; } on c74-4 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 4; address 31.1.1.167:6677; } connection 1-4 { 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-4 address 31.1.1.167: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 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 2; address 31.1.1.165:6680; } on c74-3 { device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdb1; node-id 3; address 31.1.1.166:6680; } connection 2-3 { 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; } } } |
|
|
MDR
Mirror DR (MDR) 구성은 1개의 노드에서 2개의 노드에 미러를 구성하는 방법입니다.
Node OS | BSR in LAN | DRX in LAN | DRX in Remote | BSR in Remote |
---|---|---|---|---|
Windows |
Windows node r0 Expand source
resource r0 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } device d; disk d; meta-disk m; on w28r2-4 { node-id 1; } on w28r2-5 { node-id 2; } on w28r2-6 { node-id 3; } connection DR-4-6 { 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-6 address 31.1.1.156:6677 via proxy on c73-p2 { inside 31.1.1.192:6678; outside 31.1.1.192:6679; } } connection DR-5-6 { host w28r2-5 address 31.1.1.155:6680 via proxy on c73-p1 { inside 31.1.1.191:6681; outside 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; outside 31.1.1.192:6682; } } connection { host w28r2-4 address 31.1.1.154:6676; host w28r2-5 address 31.1.1.155:6676; } } |
Linux DRX R0 Expand source
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 { inside 31.1.1.191:6678; outside 31.1.1.191:6679; } 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 { proxy { memlimit 500M; } net { protocol A; verify-alg crc32c; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } device /dev/bsr1; disk /dev/sdd1; meta-disk /dev/sdm1; on w28r2-5 { node-id 2; } on w28r2-6 { node-id 3; } connection DR-5-6 { host w28r2-5 address 31.1.1.155:6680 via proxy on c73-p1 { inside 31.1.1.191:6681; outside 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; outside 31.1.1.192:6682; } } } |
|
|
Linux Centos 7.4 |
Linux r0 Expand source
resource r0 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } device /dev/bsr0; disk /dev/sdd1; meta-disk /dev/sdb1; on c74-1 { node-id 1; } on c74-2 { node-id 2; } on c74-3 { node-id 3; } connection DR-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-3 address 31.1.1.166:6677 via proxy on c73-p2 { inside 31.1.1.192:6678; outside 31.1.1.192:6679; } } connection DR-5-6 { 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 { host c74-1 address 31.1.1.164:6676; host c74-2 address 31.1.1.165:6676; } } |
Linux DRX R0 Expand source
resource r0 { proxy { memlimit 500M; } net { protocol A; on-congestion pull-ahead; sndbuf-size 10M; congestion-fill 480M; } device /dev/bsr0; disk /dev/sdd1; meta-disk /dev/sdb1; on c74-1 { node-id 1; } on c74-3 { node-id 3; } connection DR-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-3 address 31.1.1.166: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; } device /dev/bsr1; disk /dev/sdd2; meta-disk /dev/sdb2; on c74-2 { node-id 2; } on c74-3 { node-id 3; } connection DR-5-6 { 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노드에 미러를 구성하는 방법입니다.
Node OS | BSR in LAN | DRX in LAN | DRX in Remote | BSR in Remote |
---|---|---|---|---|
Windows |
Windows Node R0 Expand source
resource r0 { options { svc-autostart no; # => SDR 구성시 필수!(DR 노드 설정에선 제외) } protocol A; device d minor 1; disk d; meta-disk m; net { ping-timeout 300; } proxy { memlimit 500M; } floating 31.1.1.240:7780 { #node-id 0; proxy on 74a1p-1 { inside 31.1.1.191:7801; outside 31.1.1.191:7802; } } floating 31.1.1.243:7780 { #node-id 1; proxy on 74a1p-2 { inside 31.1.1.192:7801; outside 31.1.1.192:7802; } } } |
Linux DRX R0 Expand source
resource r0 { protocol A; device /dev/bsr1; # minor 1; disk /dev/sdb1; meta-disk internal; proxy { memlimit 500M; } net { #on-congestion pull-ahead; #congestion-fill 550M; } floating 31.1.1.240:7780 { #node-id 0; proxy on 74a1p-1 { inside 31.1.1.191:7801; outside 31.1.1.191:7802; } } floating 31.1.1.143:7780 { #node-id 1; proxy on 74a1p-2 { inside 31.1.1.192:7801; outside 31.1.1.192:7802; } } } |
|
Windows DR R0 Expand source
resource r0 { protocol A; device d minor 1; disk d; meta-disk m; net { ping-timeout 300; } proxy { memlimit 500M; } floating 31.1.1.240:7780 { #node-id 0; proxy on 74a1p-1 { inside 31.1.1.191:7801; outside 31.1.1.191:7802; } } floating 31.1.1.243:7780 { #node-id 1; proxy on 74a1p-2 { inside 31.1.1.192:7801; outside 31.1.1.192:7802; } } } |
Linux Centos 7.4 |
Linux R0 Expand source
resource r0 { protocol A; device /dev/bsr1; # minor 1; disk /dev/sdb; meta-disk internal; proxy { memlimit 500M; } floating 31.1.1.140:7780 { #node-id 0; proxy on 74a1p-1 { inside 31.1.1.191:7801; outside 31.1.1.191:7802; } } floating 31.1.1.143:7780 { #node-id 1; proxy on 74a1p-2 { inside 31.1.1.192:7801; outside 31.1.1.192:7802; } } } |
Linux DRX R0 Expand source
resource r0 { protocol A; device /dev/bsr1; # minor 1; disk /dev/sdb; meta-disk internal; proxy { memlimit 500M; } floating 31.1.1.140:7780 { #node-id 0; proxy on 74a1p-1 { inside 31.1.1.191:7801; outside 31.1.1.191:7802; } } floating 31.1.1.143:7780 { #node-id 1; proxy on 74a1p-2 { inside 31.1.1.192:7801; outside 31.1.1.192:7802; } } } |
|
|