免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4141 | 回复: 3
打印 上一主题 下一主题

RHCS5.2 浮动IP和服务器IP必须在同一网段? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-07-11 14:26 |只看该作者 |倒序浏览
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
两台服务器IP分别是192.168.10.20和21,浮动IP为192.168.2.39。
报错如下:
Jul 11 14:27:51 localhost clurgmgrd[10164]: <notice> Starting stopped service service:httpservice
Jul 11 14:27:51 localhost clurgmgrd[10164]: <notice> start on ip "192.168.2.39" returned 1 (generic error)
Jul 11 14:27:51 localhost clurgmgrd[10164]: <warning> #68: Failed to start service:httpservice; return value: 1
Jul 11 14:27:51 localhost clurgmgrd[10164]: <notice> Stopping service service:httpservice
Jul 11 14:27:51 localhost clurgmgrd[10164]: <notice> Service service:httpservice is recovering
Jul 11 14:27:51 localhost clurgmgrd[10164]: <warning> #71: Relocating failed service service:httpservice
Jul 11 14:27:52 localhost clurgmgrd[10164]: <notice> Service service:httpservice is stopped

论坛徽章:
0
2 [报告]
发表于 2008-07-11 14:31 |只看该作者
在不在都没有问题。。

论坛徽章:
0
3 [报告]
发表于 2008-07-11 14:44 |只看该作者
把浮动IP改成192.168.10.19,一切正常没有报错。

但不同网段老是报错,cluster.conf配置如下:
<?xml version="1.0" ?>
<cluster alias="new_cluster" config_version="5" name="new_cluster">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="rhel5-1" nodeid="1" votes="1">
                        <fence/>
                </clusternode>
                <clusternode name="rhel5-2" nodeid="2" votes="1">
                        <fence/>
                </clusternode>
        </clusternodes>
        <cman expected_votes="1" two_node="1"/>
        <fencedevices/>
        <rm>
                <failoverdomains/>
                <resources>
                        <ip address="192.168.2.39" monitor_link="1"/>
                        <script file="/etc/init.d/httpd" name="httpd_script"/>
                </resources>
                <service autostart="1" name="httpservice" recovery="relocate">
                        <ip ref="192.168.2.39"/>
                        <script ref="httpd_script"/>
                </service>
        </rm>
</cluster>

论坛徽章:
0
4 [报告]
发表于 2008-07-11 15:03 |只看该作者
那要详细了解你的结构和配置的方法过程了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP