免费注册 查看新帖 |

Chinaunix

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

RHCS 能否实现 N+M HA? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-10-30 10:53 |只看该作者 |倒序浏览
各位达人,
   RHCS能否实现N+M HA模式?即对某一种服务:
   N 个 nodes active ,M 个 node standby 。
   
   有人知道吗?谢谢。

论坛徽章:
0
2 [报告]
发表于 2008-10-30 11:28 |只看该作者
sure

论坛徽章:
0
3 [报告]
发表于 2008-10-30 12:20 |只看该作者
原帖由 aplomb2 于 2008-10-30 10:53 发表
各位达人,
   RHCS能否实现N+M HA模式?即对某一种服务:
   N 个 nodes active ,M 个 node standby 。
   
   有人知道吗?谢谢。


actually I am looking for the answer myself, here is my understanding:

1) with VIP on node1-5, rgmanager move vip to active node, only one active node with VIP
2) without VIP, 4 nodes are active with their own IPs, 1 node standby, LVS schedule traffic to nodes

[ 本帖最后由 gl00ad 于 2008-10-30 12:22 编辑 ]

rhcs-nm.gif (8.72 KB, 下载次数: 14)

rhcs-nm.gif

论坛徽章:
0
4 [报告]
发表于 2008-10-30 12:30 |只看该作者
gl00ad
骑士

不太明白你的意思?什么是VIP?

我刚才和同事讨论一下,应该可以建立N个 不同名字 service cluster 来解决这个问题。
但服务的内容都是一样的比如 httpd

论坛徽章:
0
5 [报告]
发表于 2008-10-30 20:39 |只看该作者

回复 #4 aplomb2 的帖子

virtual IP = floating IP = VIP

node1 eth0 192.168.0.11 eth0:0 192.168.0.10
node2 eth0 192.168.0.12 eth0:0 192.168.0.10

ifcfg-eth0
ifcfg-eth0:0

the active node took the floating iP, so the client always connect to floating IP, do not need to know node switching behind the High Availability.

[ 本帖最后由 gl00ad 于 2008-10-30 20:44 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP