节点文献

基于Linux的Web服务集群软件设计及实现

Linux Web Service Cluster Design and Implementation

【作者】 丁宇光

【导师】 陈英; 黄润才;

【作者基本信息】 上海交通大学 , 计算机技术, 2007, 硕士

【摘要】 随着网络技术的不断发展,Web服务广泛的被企业用于产品宣传,日常管理,售后服务以及电子商务。对于一般企业而言,都希望自己的Web服务器能够满足不间断的应用服务需求,但是出于成本考虑,很多企业又都会使用Linux操作系统集群来构建其Web应用的基础架构。但是,长期以来在Linux平台上却一直缺少一种易用性高,扩展灵活,硬件成本低的Web集群软件。本文仔细探讨了各种集群的特点,同时在Linux Web集群中选取了目前被广泛使用的LVS (Linux Virtual Server) Web集群软件进行设计改进。事实上,通过分析,可以看出,LVS本身具有很多非常好的Web集群理念,这些理念在负载均衡方面实现非常优秀,但是作为一种Web集群软件而言,易用性和可靠性依然不够高。与此同时,LVS集群也没有考虑到应用的实际需求,整个集群的管理对管理者和内容发布者都非常复杂,稍有不慎,就有可能造成发布内容不一致的问题。本文在以上基础上,对LVS系统提出改进,并构建了WS-LVS这样一个更适合目前企业应用的Web集群系统。由于LVS本身具备了多种可供选择的负载均衡,因此,在对多种负载均衡方式的详细分析和对比后,最终采用了VS/DR的负载均衡方案,其次,为了满足Web发布者,又经过多方考证,引用了Lustre的集群文件系统。系统最主要的部分是新加入的集群管理模块,该模块从本质上修改了LVS原来的前置机-Web服务器的两层构架,从而使得仅仅使用两台服务器便能够达到LVS可以达到的易用性标准,同时随着WS-LVS集群中的服务器数量增加,集群易用性也能够不断继续提高。原来在LVS系统前置机部分可能存在的集群的性能瓶颈问题也在WS-LVS系统中得以解决。本文最终也以实验数据证明,WS-LVS系统比其原型LVS系统利用率更高,系统易用性和可靠性也更为提高,而可伸缩性也大大的优于原型系统。同时,WS-LVS系统具有目前主流商用集群系统的很多特性,使得新系统能够切实满足各行业Web应用服务基础建设的需要,具有很强的使用价值。同时,系统依然基于Linux及其开放源代码,也使得企业本身对系统的本地化改进成为可能。

【Abstract】 With the development of internet technique, Web service is widely used in product propagandism, daily control, after service and e-business. Most of the enterprises hope its own Web server can meet the consecutive needs of application service and many of them will set up the Web-based basic system by Linux operation system cluster due to cost reasons. However, the markets lack of a Linux platform with high availability, agility and lost cost of hard ware.This article probes into the specifications of different clusters and make improvement on LVS Web cluster software which is widely used nowadays in Linux Web cluster. In fact, we can see from the analysis that LVS itself owns a lot of good Web cluster concepts which is excellent on Load Balancing, but lack of higher availability and credibility as a Web cluster software. Meanwhile, LVS does not consider the actual needs of application and control of the whole cluster is complicated to the controller and promulgator which will lead to inconsistent of promulgated contents if any inadvertent.Based on the above, the article makes some improvement f LVS system and build up WS-LVS Web cluster system which is more suitable for the usage of enterprises. As LVS itself has multiple choices for Load Balancing, VS/DR Load Balancing scheme is adopted after the detailed analysis and contrast for these choices. Second, Lustre cluster file system is used after crosscheck to meet the needs of the web propagandism. The major parts of the system is the newly-added cluster control mode, which amend the previous two-layer frame of prepositive Web server of LVS and can meet the availability standard of LVS by only using two servers. Meanwhile, the cluster’s availability can increase with the increasing of the servers in WS-LVS cluster. The capability bottleneck in prepositive parts in LVS system.It is proved by lab data in this article that WS-LVS system owns higher availability, credibility and expansibility than the previous LVS system. At the same time, WS-LVS system owns lot characteristics of mainstreamed business cluster system, which can meet the Web application service building up requirement of all kinds of business and has high usage value. The system is still based on Linux and open to source code, which makes the possibility of system localization for enterprises.

  • 【分类号】TP311.52
  • 【被引频次】7
  • 【下载频次】332
节点文献中: