Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
Hi all, I'm trying to set up HA with DRBD and Heartbeat on two identical RedHat VM's hosted on Windows VirtualBox. The details about the server(s) drbd biuld and config are given below: [root at cpvmdc1 ~]# uname -a Linux cpvmdc1 2.6.18-229.el5 #1 SMP Tue Oct 26 18:54:44 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux [root at cpvmdc1 ~]# cat /etc/drbd.d/r0.res resource r0 { meta-disk internal; device minor 0; on cpvmdc1 { address 192.168.1.100:7788; disk /dev/sdc1; } on cpvmdc2 { address 192.168.1.101:7788; disk /dev/sdc1; } } [root at cpvmdc1 ~]# ls -l /dev/drbd0 brw-r----- 1 root disk 147, 0 Dec 22 15:57 /dev/drbd0 [root at cpvmdc1 ~]# fdisk -l /dev/sdc Disk /dev/sdc: 209 MB, 209715200 bytes 255 heads, 63 sectors/track, 25 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdc1 1 25 200781 83 Linux [root at cpvmdc1 ~]# ls -l /usr/src/redhat/RPMS/x86_64/ total 2340 -rw-r--r-- 1 root root 24730 Dec 21 17:08 drbd-8.4.0-1.x86_64.rpm -rw-r--r-- 1 root root 5822 Dec 21 17:08 drbd-bash-completion-8.4.0-1.x86_64.rpm -rw-r--r-- 1 root root 661826 Dec 21 17:08 drbd-debuginfo-8.4.0-1.x86_64.rpm -rw-r--r-- 1 root root 7696 Dec 21 17:08 drbd-heartbeat-8.4.0-1.x86_64.rpm -rw-r--r-- 1 root root 1287825 Dec 21 17:13 drbd-km-2.6.18_229.el5-8.4.0-1.x86_64.rpm -rw-r--r-- 1 root root 3463 Dec 21 17:13 drbd-km-debuginfo-8.4.0-1.x86_64.rpm -rw-r--r-- 1 root root 21529 Dec 21 17:08 drbd-pacemaker-8.4.0-1.x86_64.rpm -rw-r--r-- 1 root root 4518 Dec 21 17:08 drbd-udev-8.4.0-1.x86_64.rpm -rw-r--r-- 1 root root 336012 Dec 21 17:08 drbd-utils-8.4.0-1.x86_64.rpm -rw-r--r-- 1 root root 7101 Dec 21 17:08 drbd-xen-8.4.0-1.x86_64.rpm [root at cpvmdc1 ~]# ifconfig eth1 eth1 Link encap:Ethernet HWaddr 08:00:27:AF:8A:CE inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4490 errors:0 dropped:0 overruns:0 frame:0 TX packets:4465 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1092709 (1.0 MiB) TX bytes:1081716 (1.0 MiB) [root at cpvmdc1 ~]# service drbd status drbd driver loaded OK; device status: version: 8.4.0 (api:1/proto:86-100) GIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by root at cpvmdc1, 2011-12-21 17:13:05 m:res cs ro ds p mounted fstype 0:r0 StandAlone Primary/Unknown UpToDate/DUnknown r----s All is fine except the following error/problem that I get when starting the drbd service: On the want be "primary": [root at cpvmdc1 ~]# service drbd start Starting DRBD resources: [ create res: r0 prepare disk: r0 adjust disk: r0 adjust net: r0:failed(connect:10) ] . [root at cpvmdc1 ~]# service drbd status drbd driver loaded OK; device status: version: 8.4.0 (api:1/proto:86-100) GIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by root at cpvmdc1, 2011-12-21 17:13:05 m:res cs ro ds p mounted fstype 0:r0 StandAlone Secondary/Unknown UpToDate/DUnknown r----s On the "secondary": [root at cpvmdc2 ~]# service drbd start Starting DRBD resources: [ create res: r0 prepare disk: r0 adjust disk: r0 adjust net: r0:failed(connect:10) ] . [root at cpvmdc2 ~]# service drbd status drbd driver loaded OK; device status: version: 8.4.0 (api:1/proto:86-100) GIT-hash: 28753f559ab51b549d16bcf487fe625d5919c49c build by root at cpvmdc1, 2011-12-21 17:13:05 m:res cs ro ds p mounted fstype 0:r0 StandAlone Secondary/Unknown UpToDate/DUnknown r----s For some reason they fail to connect. I have no firewall between/on the servers and they can ping each other. Trying to connect manually gives me the following error: [root at cpvmdc1 ~]# drbdsetup connect r0 ipv4:192.168.1.100:7788 ipv4: 192.168.1.101:7788 r0: Failure: (126) UnknownMandatoryTag additional info from kernel: Any idea what this "UnknownMandatoryTag" means? Thanks in advance for any help or advise. Igor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20111222/2bdb32a1/attachment.htm>