LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1131|回复: 1

关于lvs集群,heartbeat的正确配置急求@!!!!

[复制链接]
发表于 2007-5-22 11:36:04 | 显示全部楼层 |阅读模式
为什么我一启动heartbeat 就会出现下例的错误,不知道配置文件哪里错了,有谁知道??谁有正确的heartbeat的配置啊,传老弟一份,谢谢了!QQ:509302322 QQ:509447546
让我看看有没有强人好不好??????!
[root@heartbeat1 ~]# service heartbeat start
logd is already running
Starting High-Availability services:
2007/05/22_11:10:24 INFO:  Running OK
2007/05/22_11:10:24 CRITICAL: Resource 192.168.0.168 is active, and should not be!
2007/05/22_11:10:24 CRITICAL: Non-idle resources can affect data integrity!
2007/05/22_11:10:24 info: If you don't know what this means, then get help!
2007/05/22_11:10:24 info: Read the docs and/or source to /usr/lib/heartbeat/ResourceManager for more details.
CRITICAL: Resource 192.168.0.168 is active, and should not be!
CRITICAL: Non-idle resources can affect data integrity!
info: If you don't know what this means, then get help!
info: Read the docs and/or the source to /usr/lib/heartbeat/ResourceManager for more details.
2007/05/22_11:10:24 CRITICAL: Non-idle resources will affect resource takeback!
2007/05/22_11:10:24 CRITICAL: Non-idle resources may affect data integrity!
                                                           [FAILED]
heartbeat[8038]: 2007/05/22_11:10:24 ERROR: Invalid group name [haclient]
heartbeat[8038]: 2007/05/22_11:10:24 ERROR: Bad gid list [haclient uid=hacluster]
heartbeat[8038]: 2007/05/22_11:10:24 ERROR: Invalid apiauth directive [ipfail gid=haclient uid=hacluster]
heartbeat[8038]: 2007/05/22_11:10:24 info: Syntax: apiauth client [uid=uidlist] [gid=gidlist]
heartbeat[8038]: 2007/05/22_11:10:24 info: Where uidlist is a comma-separated list of uids,
heartbeat[8038]: 2007/05/22_11:10:24 info: and gidlist is a comma-separated list of gids
heartbeat[8038]: 2007/05/22_11:10:24 info: One or the other must be specified.
heartbeat[8038]: 2007/05/22_11:10:24 debug: uid=hacluster, gid=<null>
heartbeat[8038]: 2007/05/22_11:10:24 debug: uid=hacluster, gid=<null>
heartbeat[8038]: 2007/05/22_11:10:24 debug: uid=<null>, gid=haclient
heartbeat[8038]: 2007/05/22_11:10:24 ERROR: Invalid group name [haclient]
heartbeat[8038]: 2007/05/22_11:10:24 ERROR: Bad gid list [haclient]
heartbeat[8038]: 2007/05/22_11:10:24 ERROR: Invalid apiauth directive [ping gid=haclient]
heartbeat[8038]: 2007/05/22_11:10:24 info: Syntax: apiauth client [uid=uidlist] [gid=gidlist]
heartbeat[8038]: 2007/05/22_11:10:24 info: Where uidlist is a comma-separated list of uids,
heartbeat[8038]: 2007/05/22_11:10:24 info: and gidlist is a comma-separated list of gids
heartbeat[8038]: 2007/05/22_11:10:24 info: One or the other must be specified.
heartbeat[8038]: 2007/05/22_11:10:24 debug: uid=root, gid=<null>
heartbeat[8038]: 2007/05/22_11:10:24 debug: uid=<null>, gid=haclient
heartbeat[8038]: 2007/05/22_11:10:24 ERROR: Invalid group name [haclient]
heartbeat[8038]: 2007/05/22_11:10:24 ERROR: Bad gid list [haclient]
heartbeat[8038]: 2007/05/22_11:10:24 ERROR: Invalid apiauth directive [anon gid=haclient]
heartbeat[8038]: 2007/05/22_11:10:24 info: Syntax: apiauth client [uid=uidlist] [gid=gidlist]
heartbeat[8038]: 2007/05/22_11:10:24 info: Where uidlist is a comma-separated list of uids,
heartbeat[8038]: 2007/05/22_11:10:24 info: and gidlist is a comma-separated list of gids
heartbeat[8038]: 2007/05/22_11:10:24 info: One or the other must be specified.
heartbeat[8038]: 2007/05/22_11:10:24 ERROR: Heartbeat not started: configuration error.
heartbeat[8038]: 2007/05/22_11:10:24 ERROR: Configuration error, heartbeat not started.
heartbeat[8038]: 2007/05/22_11:10:24 debug: Exiting from pid 8038 [rc=6]
发表于 2007-5-22 21:53:43 | 显示全部楼层
意思是:交给heartbeat管理的资源192.168.0.168不可以同时被其它程序管理,否则数据会乱掉。
把你的heartbeat配置文件贴出来。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表