免费注册 查看新帖 |

Chinaunix

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

[HACMP集群] hacmp 5.1 不能启动问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-09 13:29 |只看该作者 |倒序浏览
在AIX5。1上安装hacmp 5.1,配置后,启动HA,但启动时报错,且service ip起不来。不知道哪位高手能给看看,先谢了。

/etc/hosts

127.0.0.1               loopback host1  # loopback (lo0) name/address

#the addressed below are for host1

192.168.0.2     host1_boot1   host1
192.168.1.100   host1_boot2   host1
192.168.2.100   host1_service
192.168.2.201   host1_per


#the addressed below are for host2
192.168.0.3     host2_boot1   host2
192.168.2.101   host2_service
192.168.1.101   host2_boot2   host2
192.168.2.202   host2_per




hacmp display configuration

Cluster Description of Cluster: ha51
Cluster Security Level: Standard
There are 2 node(s) and 1 network(s) defined

NODE host1:
        Network net_ether_01
                host2_service   192.168.2.101
                host1_service   192.168.2.100
                host1_boot1     192.168.0.2
                host1_boot2     192.168.1.100

NODE host2:
        Network net_ether_01
                host2_service   192.168.2.101
                host1_service   192.168.2.100
                host2_boot1     192.168.0.3
                host2_boot2     192.168.1.101

Resource Group res1
        Behavior                 cascading
        Participating Nodes      host1 host2  
        Service IP Label                 host1_service

Resource Group res2
        Behavior                 cascading
        Participating Nodes      host2 host1
        Service IP Label                 host2_service

论坛徽章:
0
2 [报告]
发表于 2006-08-09 13:29 |只看该作者
这是启动HA后的,服务IP没有起来

# netstat -in
Name  Mtu   Network     Address            Ipkts Ierrs    Opkts Oerrs  Coll
en0   1500  link#2      0.6.29.ba.4a.17      31879     0    28735     0     0
en0   1500  192.168.0   192.168.0.2          31879     0    28735     0     0
en0   1500  192.168.2   192.168.2.201        31879     0    28735     0     0
en1   1500  link#3      0.4.ac.5e.c5.ff       2733     0      386     0     0
en1   1500  192.168.1   192.168.1.100         2733     0      386     0     0
lo0   16896 link#1                            2353     0     2373     0     0
lo0   16896 127         127.0.0.1             2353     0     2373     0     0
lo0   16896 ::1

论坛徽章:
0
3 [报告]
发表于 2006-08-09 13:30 |只看该作者
查看hacmp.out,里面的报错信息如下:

HACMP Event Summary
Event: node_up host1
Start time: Mon Jan 24 03:33:03 2000

End time: Mon Jan 24 03:33:09 2000

Action:         Resource:                       Script Name:
----------------------------------------------------------------------------
No resources changed as a result of this event
----------------------------------------------------------------------------

Jan 24 03:33:09 EVENT START: event_error 1 1_node_up host1 _2

:event_error[52] [[ high = high ]]
:event_error[52] version=1.10
:event_error[53] :event_error[53] cl_get_path
HA_DIR=es
:event_error[55] EXIT_STATUS=1
:event_error[56] RP_NAME=1 1_node_up host1 _2
:event_error[59] [ 2 -ne 2 ]
:event_error[65] set -u
:event_error[67] RP_NAME=node_up host1 _2
:event_error[68] RP_NAME=node_up host1
:event_error[70] :event_error[70] cllsclstr -c
:event_error[70] grep -v cname
:event_error[70] cut -d : -f2
CLUSTER=ha51
:event_error[74] [ -x /usr/lpp/ssp/bin/spget_syspar ]
:event_error[81] echo WARNING: Cluster ha51 Failed while running node_up host1 , exit status

was 1
:event_error[81] 1> /dev/console
:event_error[82] echo WARNING: Cluster ha51 Failed while running node_up host1 , exit status

was 1
WARNING: Cluster ha51 Failed while running node_up host1 , exit status was 1
:event_error[88] [[ node_up host1  = reconfig_resource* ]]
Jan 24 03:33:10 EVENT FAILED: -1: event_error 1 1_node_up host1 _2 -1

论坛徽章:
0
4 [报告]
发表于 2006-08-09 14:08 |只看该作者
service_ip是怎么配置的

论坛徽章:
0
5 [报告]
发表于 2006-08-09 15:05 |只看该作者
#the addressed below are for host1

192.168.0.2     host1_boot1   host1
192.168.1.100   host1_boot2   host1
192.168.2.100   host1_service
192.168.2.201   host1_per


#the addressed below are for host2
192.168.0.3     host2_boot1   host2
192.168.2.101   host2_service
192.168.1.101   host2_boot2   host2
192.168.2.202   host2_per


分别是192。168。2。100和192。168。2。101


在HA中,IP Label是 host1_service
             Network Name: net_ether-01

             IP Label是 host2_service
             Network Name: net_ether-01

论坛徽章:
0
6 [报告]
发表于 2006-08-10 10:31 |只看该作者
哪位老大给指点指点?谢了。

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
7 [报告]
发表于 2006-08-10 11:01 |只看该作者
你HA同步都通过了吗??

论坛徽章:
0
8 [报告]
发表于 2006-08-10 11:08 |只看该作者
同步都通过了。没有报错。

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
9 [报告]
发表于 2006-08-10 14:57 |只看该作者
把你HA的拓扑结构贴出来看看

论坛徽章:
0
10 [报告]
发表于 2006-08-10 16:15 |只看该作者
hacmp-->Initialization and standard configuration-->Display HACMP Configuration 的结果:

Cluster Description of Cluster: ha51
Cluster Security Level: Standard
There are 2 node(s) and 2 network(s) defined

NODE host1:
        Network net_ether_01
                host2_service   192.168.2.101
                host1_service   192.168.2.100
                host1_boot2     192.168.1.100
                host1_boot1     192.168.0.2
        Network net_rs232_01
                host1_tty0_01   /dev/tty0

NODE host2:
        Network net_ether_01
                host2_service   192.168.2.101
                host1_service   192.168.2.100
                host2_boot1     192.168.0.3
                host2_boot2     192.168.1.101
        Network net_rs232_01
                host2_tty0_01   /dev/tty0

Resource Group res1
        Behavior                 cascading
        Participating Nodes      host1 host2  
        Service IP Label                 host1_service

Resource Group res2
        Behavior                 cascading
        Participating Nodes      host2 host1
        Service IP Label                 host2_service


hacmp-->extended configuration-->extended topology configuration-->show cluster topology的结果:

Cluster Description of Cluster: ha51
Cluster Security Level: Standard

NODE host1:
        Network net_ether_01
                host2_service   192.168.2.101
                host1_service   192.168.2.100
                host1_boot2     192.168.1.100
                host1_boot1     192.168.0.2
        Network net_rs232_01
                host1_tty0_01   /dev/tty0

NODE host2:
        Network net_ether_01
                host2_service   192.168.2.101
                host1_service   192.168.2.100
                host2_boot1     192.168.0.3
                host2_boot2     192.168.1.101
        Network net_rs232_01
                host2_tty0_01   /dev/tty0
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP