R
ribafs
Guest
Hi!
Before thanks to the development team provmox ve. Very good virtualization solution.
Hi follow the DRBD Howto to apply HA on two servers.
I connected with a direct crossover cable the eth1 in both.
I create the cluster from both using the eth0.
I fithfully follow the Howto and my configuration is:
interfaces in both server is:
auto lo
iface lo inet loopback
iface eth0 inet manual
auto eth1
iface eth1 inet static
address 10.10.10.30
netmask 255.255.255.0
auto vmbr0
iface vmbr0 inet static
address 192.168.1.30
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
/etc/drbd.conf
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 {
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 dnocs3 {
device /dev/drbd0;
disk /dev/sdb1;
address 10.10.10.30:7788;
meta-disk internal;
}
on dnocs4 {
device /dev/drbd0;
disk /dev/sdb1;
address 10.10.10.31:7788;
meta-disk internal;
}
}
See my in master node
cat /proc/drbd
version: 8.3.7 (api:88/proto:86-91)
srcversion: EE47D8BF18AC166BE219757
0: cs:Connected ro
rimary/Primary ds:UpToDate/UpToDate C r----
ns:132 nr:525668 dw:525800 dr:3925 al:11 bm:144 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
In both server the /dev/sdb1 is LVM.
I create the LVM storage and create a VM in this.
In DRBD Howto
"... all the data is already replicated automatically on both nodes..."
apparently everything working but replication dont occurrs.
Please, help me.
Before thanks to the development team provmox ve. Very good virtualization solution.
Hi follow the DRBD Howto to apply HA on two servers.
I connected with a direct crossover cable the eth1 in both.
I create the cluster from both using the eth0.
I fithfully follow the Howto and my configuration is:
interfaces in both server is:
auto lo
iface lo inet loopback
iface eth0 inet manual
auto eth1
iface eth1 inet static
address 10.10.10.30
netmask 255.255.255.0
auto vmbr0
iface vmbr0 inet static
address 192.168.1.30
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0
bridge_stp off
bridge_fd 0
/etc/drbd.conf
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 {
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 dnocs3 {
device /dev/drbd0;
disk /dev/sdb1;
address 10.10.10.30:7788;
meta-disk internal;
}
on dnocs4 {
device /dev/drbd0;
disk /dev/sdb1;
address 10.10.10.31:7788;
meta-disk internal;
}
}
See my in master node
cat /proc/drbd
version: 8.3.7 (api:88/proto:86-91)
srcversion: EE47D8BF18AC166BE219757
0: cs:Connected ro

ns:132 nr:525668 dw:525800 dr:3925 al:11 bm:144 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
In both server the /dev/sdb1 is LVM.
I create the LVM storage and create a VM in this.
In DRBD Howto
"... all the data is already replicated automatically on both nodes..."
apparently everything working but replication dont occurrs.
Please, help me.
