Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
lars, -- global { minor-count 16; usage-count no; } common { protocol C; syncer { rate 40M; al-extents 1021; verify-alg md5; } handlers { pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt -f"; pri-lost-after-sb "echo o > /proc/sysrq-trigger ; halt -f"; # Soome more .... } startup { wfc-timeout 300; degr-wfc-timeout 120; # 2 minutes. } disk { on-io-error detach; fencing dont-care; } net { timeout 300; # 30 seconds (unit = 0.1 seconds) connect-int 10; # 10 seconds (unit = 1 second) ping-int 10; # 10 seconds (unit = 1 second) ping-timeout 5; # 500 ms (unit = 0.1 seconds) max-buffers 4096; sndbuf-size 0; # only with 8.2.7 or 8.2.11 cram-hmac-alg "sha1"; after-sb-0pri disconnect; after-sb-1pri disconnect; after-sb-2pri disconnect; rr-conflict disconnect; data-integrity-alg "md5"; } } include "/etc/HOST/drbd.conf.d/*.cfg"; --- HOST:~# for i in //etc/ovzrdb64/drbd.conf.d/*; do echo $i; cat $i;done //etc/HOST/drbd.conf.d/dummy.cfg #empty file for DRBD, otherwise the drbdadm dump command failes //etc/HOST/drbd.conf.d/ovz1236610.cfg # DRBD Ressource Template resource ovz1236610 { device drbd4; flexible-meta-disk /dev/vg00/ovz1236610md; disk /dev/vg00/ovz1236610; net { shared-secret "HOST"; } on ovzrdb9.tec457.1und1.de { address 10.0.10.39:7792; } on host2 { address 1.2.3.5:7792; } } //etc/HOST/drbd.conf.d/ovz1236611.cfg # DRBD Ressource Template resource ovz1236611 { device drbd5; flexible-meta-disk /dev/vg00/ovz1236611md; disk /dev/vg00/ovz1236611; net { shared-secret "HOST"; } on ovzrdb9.tec457.1und1.de { address 10.0.10.39:7793; } on host2 { address 1.2.3.5:7793; } } //etc/HOST/drbd.conf.d/ovz123666.cfg # DRBD Ressource Template resource ovz123666 { device drbd0; flexible-meta-disk /dev/vg00/ovz123666md; disk /dev/vg00/ovz123666; net { shared-secret "HOST"; } on ovzrdb9.tec457.1und1.de { address 10.0.10.39:7788; } on host2 { address 1.2.3.5:7788; } } //etc/HOST/drbd.conf.d/ovz123667.cfg # DRBD Ressource Template resource ovz123667 { device drbd1; flexible-meta-disk /dev/vg00/ovz123667md; disk /dev/vg00/ovz123667; net { shared-secret "HOST"; } on ovzrdb9.tec457.1und1.de { address 10.0.10.39:7789; } on host2 { address 1.2.3.5:7789; } } //etc/HOST/drbd.conf.d/ovz123668.cfg # DRBD Ressource Template resource ovz123668 { device drbd2; flexible-meta-disk /dev/vg00/ovz123668md; disk /dev/vg00/ovz123668; net { shared-secret "HOST"; } on ovzrdb9.tec457.1und1.de { address 10.0.10.39:7790; } on host2 { address 1.2.3.5:7790; } } //etc/HOST/drbd.conf.d/ovz123669.cfg # DRBD Ressource Template resource ovz123669 { device drbd3; flexible-meta-disk /dev/vg00/ovz123669md; disk /dev/vg00/ovz123669; net { shared-secret "HOST"; } on ovzrdb9.tec457.1und1.de { address 10.0.10.39:7791; } on host2 { address 1.2.3.5:7791; } } Hope this helps, Robert