Hello,
I have two nodes in DRBD cluster.
The configuration is :
/etc/drbd.conf :
Global_common.conf:
R0.res :
When a physical host have a instability, I lost the drbd link.
In normal time, /proc/drbd :
And while an instability, /proc/drbd return :
And when I would restart DRBD Sync, I have an error with UpToDate or
For instant, the solution is to stop the running VM, restart the drbd services for each nodes and to do a sync. After this, Start the VMs which are stopped before.
Thanks per advance for your help !
I have two nodes in DRBD cluster.
The configuration is :
/etc/drbd.conf :
Code:
# You can find an example in /usr/share/doc/drbd.../drbd.conf.example
include "drbd.d/global_common.conf";
include "drbd.d/*.res";
Code:
global { usage-count no; }
common {
protocol C;
startup {
degr-wfc-timeout 120;
# become-primary-on proxmox001;
become-primary-on both;
}
disk {
}
net {
allow-two-primaries;
after-sb-0pri discard-zero-changes;
after-sb-1pri discard-secondary;
after-sb-2pri disconnect;
}
syncer {
verify-alg md5;
rate 30M;
}
}
Code:
resource r0 {
protocol C;
on proxmox001 {
device /dev/drbd0;
disk /dev/mapper/pve-lv_data;
address 192.168.0.1:7788;
meta-disk internal;
}
on proxmox002 {
device /dev/drbd0;
disk /dev/mapper/pve-lv_data;
address 192.168.0.2:7788;
meta-disk internal;
}
}
In normal time, /proc/drbd :
Code:
GIT-hash: 83ca112086600faacab2f157bc5a9324f7bd7f77 build by root@proxmox001, 2013-04-24 12:55:32
0: cs:Connected ro:Primary/Primary ds:UpToDate/UpToDate C r-----
ns:421142 nr:55715 dw:8498959 dr:10994034 al:1144 bm:420 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
And while an instability, /proc/drbd return :
Code:
cs:Standalone or cs:WFConnection st:Secondary/Unknown
Code:
ERROR: Module drbd is in use proxmox
Thanks per advance for your help !