我在运行 ubuntu 14.04 的 2 台 VM 上新配置了 DRBD-Cluster 8.4.5,如下例所示:http://geekpeek.net/configure-drbd-ubuntu/
不幸的是,我无法启动该服务。这似乎是网络设置问题,或者是与 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?
配置文件
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;
}
}
网络上几乎找不到任何关于如何解决这个问题的信息。任何帮助都将不胜感激。