- 论坛徽章:
- 0
|
本帖最后由 shitoryu 于 2012-03-26 16:54 编辑
依照史老师的文档,搭建了RHCS,只有一个services: redhat_http
机器:hp g380 g3,存储hp msa-1000.每台机器各一块HBA卡,型号:qlogic 2312(使用操作系统自带的驱动)
操作系统:redhat 企业版 5.4
services包括ip, /share_fs, httpd启动脚本三种资源。
在fail over测试时,分别测试如下2种情况,假设services redhat_http在ha1.com上运行(恢复策略是relocate)
1.umount ha1.com上的共享磁盘,services会自动切换到ha2.com上
2.将ha1.com上的hba卡光纤拔掉,services有时能切换到ha2.com,有时不能,但services 状态显示的都是“ recoverable"
日志如下:
clurgmgrd: [2700]: <err> /share_fs is not a directory
clurgmgrd[2767]: <notice> status on clusterfs "share_fs" returned 1 (generic error)
clurgmgrd[2767]: <notice> Stopping service service:redhat_http
ha2 avahi-daemon[2621]: Withdrawing address record for 192.168.101.15 on eth1.
既然集群也检测到了资源错误,为什么第2种情况,服务不能顺利切换,请大家指导,谢谢. |
|