- 论坛徽章:
- 0
|
本帖最后由 lonelysoul011 于 2010-09-10 17:21 编辑
我的drbd装了好几天了。以前可以正常使用。现在无法正常使用。
2台主机的配置文件如下:
global { usage-count yes; }
common { syncer { rate 100M; } }
global { usage-count yes; }
common { syncer { rate 100M; } }
resource r0
{
protocol C;
net
{
cram-hmac-alg sha1;
shared-secret "coship";
}
on MAP-Mysql-ZX-81
{
device /dev/drbd0;
disk /dev/sda2;
address 172.18.11.81:7898;
meta-disk internal;
}
on MAP-Mysql-ZX-82
{
device /dev/drbd0;
disk /dev/sda2;
address 172.18.11.82:7898;
meta-disk internal;
}
}
主机1
[root@MAP-Mysql-ZX-81 etc]# cat /proc/drbd
version: 8.3.6 (api:88/proto:86-91)
GIT-hash: f3606c47cc6fcf6b3f086e425cb34af8b7a81bbf build by root@MAP-Mysql-ZX-81, 2010-08-20 11:58:11
0: cs:StandAlone ro rimary/Unknown ds:UpToDate/DUnknown r----
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:96
查看进程,发现少了2个进程,但不知道怎么少的?
[root@MAP-Mysql-ZX-81 etc]# ps -ef | grep drbd
root 11576 1 0 16:15 ? 00:00:00 [drbd0_worker]
主机2
[root@MAP-Mysql-ZX-82 etc]# cat /proc/drbd
version: 8.3.6 (api:88/proto:86-91)
GIT-hash: f3606c47cc6fcf6b3f086e425cb34af8b7a81bbf build by root@MAP-Mysql-ZX-82, 2010-08-20 11:56:06
0: cs:StandAlone ro:Secondary/Unknown ds:UpToDate/DUnknown r----
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:301260
[root@MAP-Mysql-ZX-82 etc]# ps -ef | grep drbd
root 4461 1 0 16:16 ? 00:00:00 [drbd0_worker] |
|