在运行ubuntu 14.04的2个虚拟机上有一个新configuration的DRBD-Cluster 8.4.5,下面是这个例子: http : //geekpeek.net/configure-drbd-ubuntu/
不幸的是,我无法启动服务。 这似乎是一个networking设置问题,也可能是与Ubuntu 14.04上的8.4.x不兼容的问题
这是我得到的味精:
sudo /etc/init.d/drbd start * Starting DRBD resources [ ] <1>bind(s->s_fd, (struct sockaddr*) &s->s_local, sizeof(s->s_local)) failed: -1 No such file or directory <1>error creating netlink socket .......... *************************************************************** DRBD's startup script waits for the peer node(s) to appear. - In case this node was already a degraded cluster before the reboot the timeout is 30 seconds. [degr-wfc-timeout] - If the peer was available before the reboot the timeout will expire after 30 seconds. [wfc-timeout] (These values are for resource 'disk1'; 0 sec -> wait forever) To abort waiting enter 'yes' [ 120]:No response from the DRBD driver! Is the module loaded?
configuration文件
resource disk1 { startup { wfc-timeout 30; outdated-wfc-timeout 20; degr-wfc-timeout 30; } net { cram-hmac-alg sha1; shared-secret sync_disk; } syncer { rate 100M; verify-alg sha1; } on node1 { # Node1 defined device /dev/drbd0; disk /dev/sdb; # Device to use with DRBD address 192.168.57.120:7789; # IP Address and port of Node1 meta-disk internal; } on node2 { # Node2 defined device /dev/drbd0; disk /dev/sdb; # Device to use with DRBD address 192.168.57.130:7789; # IP Address and port of Node2 meta-disk internal; } }
如何解决这个问题,在网上find一点也没有什么。 任何帮助是极大的赞赏。