免费注册 查看新帖 |

Chinaunix

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

[HACMP集群] HACMP IPAT via ip aliase 为什么service IP 与boot IP 不能在同一subnet? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-10-31 17:22 |只看该作者 |倒序浏览
HACMP IPAT via ip aliase 为什么service IP 与boot IP 不能在同一subnet?
我有几套系统采用的是ip aliase,但service IP 与boot IP 在同一子网, 切换测试也能通过呀?
为什么?

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2007-10-31 23:47 |只看该作者
show一下你的拓扑出来看看

论坛徽章:
0
3 [报告]
发表于 2007-11-01 00:26 |只看该作者
测试怎么通过?   只能说明你测试不正确, 很简单的道理,在服务IP没有切换的时候没问题, 但服务IP切换到boot2后, 两块不同网卡的IP在一个网段了, 你的网络还会正常吗? 规定服务IP和bootIP不能在一个网段并不是因为HA无法通过, 而是因为基本的网络常识.

论坛徽章:
0
4 [报告]
发表于 2007-11-01 15:37 |只看该作者
原帖由 herowangzj 于 2007-11-1 00:26 发表
测试怎么通过?   只能说明你测试不正确, 很简单的道理,在服务IP没有切换的时候没问题, 但服务IP切换到boot2后, 两块不同网卡的IP在一个网段了, 你的网络还会正常吗? 规定服务IP和bootIP不能在一个网段并不是因为 ...

HA测试不过关啊

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
5 [报告]
发表于 2007-11-01 16:59 |只看该作者
肯定不到测试这一步
同步都过不了

肯定是LZ之前搞错了,贴一下拓扑出来先吧

论坛徽章:
0
6 [报告]
发表于 2007-11-02 15:41 |只看该作者
原帖由 herowangzj 于 2007-11-1 00:26 发表
测试怎么通过?   只能说明你测试不正确, 很简单的道理,在服务IP没有切换的时候没问题, 但服务IP切换到boot2后, 两块不同网卡的IP在一个网段了, 你的网络还会正常吗? 规定服务IP和bootIP不能在一个网段并不是因为 ...




en0: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,CHAIN>
        inet 100.41.41.35 netmask 0xffffffc0 broadcast 100.41.41.63
        inet 100.41.41.32 netmask 0xffffffc0 broadcast 100.41.41.63
         tcp_sendspace 131072 tcp_recvspace 65536
en1: flags=5e080863,c0<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST,GROUPRT,64BIT,CHECKSUM_OFFLOAD(ACTIVE),PSEG,CHAIN>
        inet 192.168.1.6 netmask 0xffffffc0 broadcast 192.168.1.63
        tcp_sendspace 131072 tcp_recvspace 65536
是不是路由表的问题?HACMP中设置Persistent IP时不是也可以和SERVICE在同一网段吗?这两个地址可以在两块网卡上。而且在别名方式配置中也可以配置多个同网段的服务IP?
能麻烦详细讲讲这个基本网络知识吗?谢谢!

[ 本帖最后由 caolifeng 于 2007-11-2 15:53 编辑 ]

论坛徽章:
0
7 [报告]
发表于 2007-11-02 17:29 |只看该作者

回复 #1 caolifeng 的帖子

只是为了网络安全,

论坛徽章:
0
8 [报告]
发表于 2007-11-05 18:30 |只看该作者
原帖由 mikegrant 于 2007-11-2 17:29 发表
只是为了网络安全,

  


能详细的讲讲吗?谢谢了!

论坛徽章:
0
9 [报告]
发表于 2007-11-05 19:03 |只看该作者

HACMP FAQ

主要是因为路由上的原因,参考http://www-03.ibm.com/systems/p/ha/faq5.html#3
Question: Why does HACMP require so many subnets for IP address takeover?

Answer: HACMP (using RSCT) determines adapter state by sending heartbeats across a specific network interface—as long as heartbeat messages can be sent through an interface, the interface is considered alive. Prior to AIX 5L V5, AIX did not allow more than one interface to own a subnet route but in AIX 5L V5.1 multiple interfaces can have a route to the same subnet. This is sometimes referred to as multipath routing or route striping and when this situation exists, AIX 5L will multiplex outgoing packets destined for a particular subnet across all interfaces with a route to that subnet. This interferes with RSCT's ability to reliably send heartbeats to a specific interface. Therefore the subnetting rules for boot, service and persistent labels are such that there will never be a duplicate subnet route created by the placement of these addresses.

论坛徽章:
0
10 [报告]
发表于 2007-11-06 17:20 |只看该作者

回复 #9 Charlemagne 的帖子

谢谢!
帮了大忙了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP