免费注册 查看新帖 |

Chinaunix

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

Red Hat Cluster HA遇到问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-12-14 14:31 |只看该作者 |倒序浏览
本帖最后由 xppxyy 于 2011-12-14 14:33 编辑

服务器是 IBM 3850 一块物理网卡
做了esx的虚拟化4台虚拟机 2台windows server 2008 R2  2台red hat 5.3

2台windows server 上建立weblogic 集群
2台red hat 用自带的cluster HA 软件做集群然后代理2008上的weblogic ,每台red hat 两块虚拟网卡

现在的情况是red hat 启动cman的时候 总是卡在starting fencing....
并且rgmanager启动后,system-config-cluster不能监控HA
很长时间才起起来,但是也无法ping通集群代理IP,虚拟集群ip也无法访问部署在weblogic上的应用


查看集群状态





/etc/hosts 如下:

# Do not remove the following line, or various programs
# that require network functionality will fail.
#127.0.0.1    localhost.localdomain localhost
#::1                localhost6.localdomain6 localhost6
10.115.158.34 ps34.localdomain ps34
10.10.10.34  ps34.localdomain  ps34
10.115.158.44 ps44.localdomain ps44
10.10.10.44  ps44.localdomain  ps44


10.10.10.* 为心跳  eht1
10.115.158.*为插在交换机上局域网内部地址 eth0

HA cluster.conf 配置文件如下:

<?xml version="1.0" ?>
<cluster config_version="2" name="cluster">
        <fence_daemon post_fail_delay="0" post_join_delay="3"/>
        <clusternodes>
                <clusternode name="ps34" nodeid="1" votes="1">
                        <multicast addr="239.222.222.222" interface="eth1"/>
                        <fence/>
                </clusternode>
                <clusternode name="ps44" nodeid="2" votes="1">
                        <multicast addr="239.222.222.222" interface="eth1"/>
                        <fence/>
                </clusternode>
        </clusternodes>
        <cman expected_votes="1" two_node="1">
                <multicast addr="239.222.222.222"/>
        </cman>
        <fencedevices/>
        <rm>
                <failoverdomains>
                        <failoverdomain name="httpd" ordered="0" restricted="0">
                                <failoverdomainnode name="ps34" priority="1"/>
                                <failoverdomainnode name="ps44" priority="1"/>
                        </failoverdomain>
                </failoverdomains>
                <resources>
                        <ip address="10.115.158.90" monitor_link="1"/>
                        <script file="/etc/rc.d/init.d/httpd" name="httpd"/>
                </resources>
                <service autostart="1" name="httpd">
                        <ip ref="10.115.158.90"/>
                        <script ref="httpd"/>
                </service>
        </rm>
</cluster>

集群状态.jpg (8.46 KB, 下载次数: 33)

集群状态.jpg

集群状态2.jpg (52.7 KB, 下载次数: 40)

集群状态2.jpg
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP