I have a DRBD Cluster with Intel Xeon a Perc Controler in a node and a SASR Controler another node.
The nodes is conected in a exclusive network with a giga switch.
The Sincer parameter is put in 30M.
When resync operations occurs the network i have a very high usage (10/30 mb/s), its ok and resync is fast.
But in normal operations (when one vm have intensive write disc operation), This operation is very slow and no intensive network usage apear in monitoring (below 1 mb/s).
I using default drbd configuration in proxmox wiki. I think is needed some write cache configuration in secondary node, but drbd documentation is very hard to decrypt.... I try some parameters change , but not perceive any diference.
Here my DRBD.conf:
The nodes is conected in a exclusive network with a giga switch.
The Sincer parameter is put in 30M.
When resync operations occurs the network i have a very high usage (10/30 mb/s), its ok and resync is fast.
But in normal operations (when one vm have intensive write disc operation), This operation is very slow and no intensive network usage apear in monitoring (below 1 mb/s).
I using default drbd configuration in proxmox wiki. I think is needed some write cache configuration in secondary node, but drbd documentation is very hard to decrypt.... I try some parameters change , but not perceive any diference.
Here my DRBD.conf:
Code:
global { usage-count no; }
common { syncer { rate 30M; } }
resource r0 {
protocol C;
startup {
wfc-timeout 15; # wfc-timeout can be dangerous (http://forum.proxmox.com/threads/3465-Is-it-safe-to-use-wfc-timeout-in-DRBD-configuration)
degr-wfc-timeout 60;
become-primary-on both;
}
net {
max-buffers 8000;
max-epoch-size 8000;
sndbuf-size 512k;
cram-hmac-alg sha1;
shared-secret "my-secret";
allow-two-primaries;
after-sb-0pri discard-zero-changes;
after-sb-1pri discard-secondary;
after-sb-2pri disconnect;
}
on pm-cond {
device /dev/drbd0;
disk /dev/sdb1;
address 192.168.0.2:7788;
meta-disk internal;
}
on pm-dp {
device /dev/drbd0;
disk /dev/sda1;
address 192.168.0.3:7788;
meta-disk internal;
}
}
Last edited: