LVS Heartbeat Ldirectord在RedhatAS4.2上的实现
环境描述:
本文在配置LVS时使用三台linux,一台做Directorserver (192.168.0.25),两台做realserver(192.168.0.127
192.168.0.12,在配置lvs+heartbeat时又添加了一台(192.168.0.126)做为备份主节点,虚拟VIP:
192.168.0.100
2004 年 11 月 08 日
本文是由 5 篇文章组成的系列文章中的第一篇,在文中,您将了解高可用性对软件意味着什么,学习如何在一个两节点系统上安装并设置来自 High-Availability Linux 项目的 heartbeat 软件。您还将学到如何配置 Apache Web 服务器,将其作为一项高可用性服务来运行。
维持最长的系统正常运行时间对随需应变计算的成功来说越来越重要。不幸的是,很多现成即用(off-the-shelf)的高可用性(high availability,HA)解决方案价格昂贵,而且需要专门技术。本系列的 5 篇文章将提供一个使用公开可用软件获得 HA 服务的廉价替代方案。
本系列中的详尽步骤将展示如何在 Linux™ 上构建一个高可用性的 Apache Web 服务器、WebSphere® MQ 队列管理器、LoadLeveler 群集、WebSphere Application Server 群集和 DB2® Universal Database。系统管理员可以投入最少的时间来学习如何使用和维护这个系统。本系列讲述的技术也适用于 Linux 上的很多服务。
英文版:Getting Started with Linux-HA
首先,本文中的大部分内容并非原创。撰写本文的目的只是以某种方式作出贡献。我所作的工作只是将Linux-HA的其他文档中(如Volker Wiegand的硬件安装指南)的部分编辑成一份文档,这份文档可以帮助初学者了解Linux-HA, 而不需麻烦Alan Robertson, 并且避免在邮件列表上出现重复的问题。
Heartbeat + LVS + ldirectord构建可伸缩网络服务
网络环境:
机器数量:2
操作系统:Centos 5.0,Centos 5.2
机器名:centos50,centos52
机器IP:
Centos 5.0: 10.2.20.15
Centos 5.2: 10.2.20.88
虚拟IP: 10.2.20.17
一.基本介绍
背景描述
某大型商业网站由于业务量的发展非常迅速,目前的网站架构根本无法缓解用户访问压力及单点故障。急需一套高可用的负载均衡集群解决方案,http://www.linuxTone.org(IT运维专家网)根据这家商业网站在的状况,部署了一套负载均衡及高可用的集群方案及相关优化,项目实施以后该商业网站得WEB压力得到了很好的解决,访问速度大幅度提升.以下是相关配置文档,拿出来与朋友们分享希望对更多想了解LVS/HA的朋友有帮助。
本文特色
1.介绍LVS+Heartbeat两种案装方法
2.采用heartbeat 2.x style的配置(使用cib.xml)
3.测试日志分析及相关技巧
4.两个在真实案例中的经验分享
Rhel4的Heartbeat安装与配置
一、安装前环境设定
两台主机硬件环境(不必完全一致)
CPU:Xeon 2.833*2
MEM:2G
Eth0:对外服务器IP
Eth1:HA专用IP
OS平台:Redhat enterprise 4 update7 (2.6.9-78 EL)
---------------------------------------------------------------
As more and more mission-critical applications move on the Internet, providing highly available services becomes increasingly important. One of the advantages of a clustered system is that it has hardware and software redundancy, because the cluster system consists of a number of independent nodes, and each node runs a copy of operating system and application software. High availability can be achieved by detecting node or daemon failures and reconfiguring the system appropriately, so that the workload can be taken over by the remaining nodes in the cluster.
In fact, high availability is a big field. An advanced highly available system may have a reliable group communication sub-system, membership management, quoram sub-systems, concurrent control sub-system and so on. There must be a lot of work to do. However, we can use some existing software packages to construct highly available LVS cluster systems now.
本日志由 flyinweb 于 2009-11-13 11:25:11 发表到 系统架构 中,目前已经被浏览 4919 次,评论 0 次;
作者添加了以下标签: HA,High Availability,Piranha,UltraMonkey,heartbeat,mon,ldirectord;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
It is quite useful and interesting too.
VIRT 的上限是64G,也就是36位, cat /proc/cpuinfo的结果是:addre
昨天要准备用线程重写webbench,试验了下Fedora Linux 2.6.35.14
不明白您的具体的意思是什么?
已经发送到你QQ邮箱
http://www.2mysite.net/scriptencoder/screnc.asp 站长你好,看
你好,我发现一个问题,就是从mysqld2同步过来的数据,在mysqld1的
晕,我说是怎么回事情,原来我和你一样,忘记设置了活动分区