在微软的MSDN网站上看到一篇理论文章《Failover Cluster(故障转移群集) 》,文中的故障转移群集解决方案,有点类似两台 F5 BIG-IP 负载均衡交换机通过串口线进行心跳检测的互备模式,对我来说很有参考价值。

  最近打算写一套基于Linux系统的实际应用方案,在两台Web服务器之间实现故障转移:用户实际访问的IP地址是“x.x.1.10”,两台服务器自动切换用Linux的IP别名来实现,当主服务器“x.x.1.1”正常时,主服务器的IP别名“x.x.1.10”对外提供服务,当两台服务器之间的心跳检测程序发现主服务器“x.x.1.1”发生故障或死机时,会停掉主服务器“x.x.1.1”的IP别名“x.x.1.10”(主服务器死机时该IP别名会自动消失),而由备用服务器“x.x.1.2”启用相同的IP别名“x.x.1.10”来接替主服务器提供服务;“信号”打算自己写一个心跳检测程序来实现;共享数据部分还没想好用什么方式来实现,NFS吗?不知道NFS在高负载读写下的性能如何?

  附:故障转移群集解决方案
  点击在新窗口中浏览此图片

  第一台服务器 (Database01) 是处理所有事务的活动服务器。 仅当 Database01 发生故障时,处于空闲状态的第二台服务器 (Database02) 才会处理事务。 群集将一个虚拟 IP 地址和主机名 (Database10) 在客户端和应用程序所使用的网络上公开。

  注意:您可以将此设计扩展为包括多台活动服务器(除了所示的服务器外),要么使它们共享单个备用服务器,要么将每个活动服务器配置为另一个活动服务器的备用服务器。

Tags:



技术大类 » 其他Unix技术 | 评论(31) | 引用(0) | 阅读(27096)
jou
2012-10-25 02:06
friv | y1 | y34 | 344
www.Gmail.com Email Homepage
2020-4-24 18:26
Even when you are quite good at using internet or email, you may have problems with it. Some problems are quite common and you can solve it (forgot password, forgot username...) but sometimes, because of the high secure policy of Google, proxy problems... you may cannot sign in your email. If you cannot solve it yourself, www.Gmail.com will be a helpful choice.
shz Email
2022-8-16 22:35
Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post .  online business
shz Email
2022-8-16 22:39
I will be interested in more similar topics. i see you got really very useful topics , i will be always checking your blog thanks  online business
shz Email
2022-8-16 23:02
Thumbs up guys your doing a really good job.  online business
shz Email
2022-8-16 23:06
I have read your excellent post. This is a great job. I have enjoyed reading your post first time. I want to say thanks for this post. Thank you...  online business
shz Email
2022-8-16 23:14
Glad to chat your blog, I seem to be forward to more reliable articles and I think we all wish to thank so many good articles, blog to share with us.  online business
shz Email
2022-8-16 23:17
It is perfect time to make some plans for the future and it is time to be happy. I’ve read this post and if I could I desire to suggest you few interesting things or tips. Perhaps you could write next articles referring to this article. I want to read more things about it!  online business
shzz Email
2022-8-16 23:18
It is the intent to provide valuable information and best practices, including an understanding of the regulatory process.  online business
shz Email
2022-8-16 23:25
I'm happy to see the considerable subtle element here!.  online business
分页: 2/2 第一页 上页 1 2 最后页
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]