- 论坛徽章:
- 0
|
现有两个虚拟机,系统centos 5.5 ,安装drbd版本为8.3.1 ,安装完成后两台主机只能启动一个,当启动另外一台机器后,开始启动的那台机器自动关闭了DRBD服务。不知道怎么回事啊,大家帮我分析一下,谢谢!!我的配置文件如下:
# more drbd.d/oradata.res
resource oradata
protocol C;
startup {
degr-wfc-timeout 120;
}
disk {
on-io-error detach;
}
net {
}
syncer {
rate 100M;
al-extents 257;
}
on sys_1{
device /dev/drbd0;
disk /dev/sda5;
address 192.168.1.21:7788;
meta-disk internal;
}
on sys_2{
device /dev/drbd0;
disk /dev/sda5;
address 192.168.1.22:7788;
meta-disk internal;
}
}
停止的那台日志显示信息如下:
Oct 13 11:41:01 sys_2 kernel: drbd0: Handshake successful: Agreed network protocol version 89
Oct 13 11:41:01 sys_2 kernel: drbd0: conn( WFConnection -> WFReportParams )
Oct 13 11:41:01 sys_2 kernel: drbd0: Starting asender thread (from drbd0_receiver [9691])
Oct 13 11:41:01 sys_2 kernel: drbd0: data-integrity-alg: <not-used>
Oct 13 11:41:01 sys_2 kernel: drbd0: some backing storage is needed
Oct 13 11:41:01 sys_2 kernel: drbd0: conn( WFReportParams -> Disconnecting )
Oct 13 11:41:01 sys_2 kernel: drbd0: error receiving ReportSizes, l: 32!
Oct 13 11:41:01 sys_2 kernel: drbd0: asender terminated
Oct 13 11:41:01 sys_2 kernel: drbd0: Terminating asender thread
Oct 13 11:41:01 sys_2 kernel: drbd0: Connection closed
Oct 13 11:41:01 sys_2 kernel: drbd0: conn( Disconnecting -> StandAlone )
Oct 13 11:41:01 sys_2 kernel: drbd0: receiver terminated
Oct 13 11:41:01 sys_2 kernel: drbd0: Terminating receiver thread
Oct 13 11:41:01 sys_2 kernel: drbd0: drbd_bm_resize called with capacity == 0
Oct 13 11:41:01 sys_2 kernel: drbd0: worker terminated
Oct 13 11:41:01 sys_2 kernel: drbd0: Terminating worker thread |
|