词条 | Linux Virtual Server |
释义 |
| name = Linux Virtual Server | title = | logo = Lvslogo.png | logo caption = LVS official logo | logo_size = 200px | logo_alt = LVS official logo | screenshot = | caption = | screenshot_size = | screenshot_alt = | collapsible = | author = Wensong Zhang | developer = et al. | released = {{Start date and age|1998|05}} | discontinued = | latest release version = | latest release date = | latest preview version = | latest preview date = | frequently updated = | status = active | programming language = C | operating system = Linux | platform = | size = | genre = load balancing | license = GNU General Public License | website = {{URL|http://www.LinuxVirtualServer.org}} }} Linux Virtual Server (LVS) is load balancing software for Linux kernel–based operating systems. LVS is a free and open-source project started by Wensong Zhang in May 1998, subject to the requirements of the GNU General Public License (GPL), version 2. The mission of the project is to build a high-performance and highly available server for Linux using clustering technology, which provides good scalability, reliability and serviceability. OverviewThe major work of the LVS project is now to develop advanced IP load balancing software (IPVS), application-level load balancing software (KTCPVS), and cluster management components.
LVS can be used for building highly scalable and highly available network services, such as web, email, media and VoIP services, and integrating scalable network services into large-scale reliable e-commerce or e-government applications. LVS-based solutions already have been deployed in many real applications throughout the world, including Wikipedia. The LVS components depend upon the Linux Netfilter framework, and its source code is available in the The userland utility program used to configure LVS is called {{man|8|ipvsadm|man.cx||inline}}, which requires superuser privileges to run. SchedulersLVS implements several balancing schedulers, listed below with the relevant source files:[3]
GlossaryCommonly used terms include the following:[4]
ExamplesSetting up a virtual HTTP server with two real servers: ipvsadm -A -t 192.168.0.1:80 -s rr ipvsadm -a -t 192.168.0.1:80 -r 172.16.0.1:80 -m ipvsadm -a -t 192.168.0.1:80 -r 172.16.0.2:80 -m The first command assigns TCP port 80 on IP address 192.168.0.1 to the virtual server. The chosen scheduling algorithm for load balancing is round-robin ( Querying the status of the above configured LVS setup:
IP Virtual Server version 1.0.8 (size=65536) Prot LocalAddress:Port Scheduler Flags TCP 192.168.0.1:80 rr -> 172.16.0.2:80 Masq 1 3 1 -> 172.16.0.1:80 Masq 1 4 0 See also{{Portal|Computer networking|Linux}}
References1. ^{{cite web | url = http://www.linuxvirtualserver.org/software/ipvs.html | title = IPVS Software - Advanced Layer-4 Switching | date = 2011-02-08 | accessdate = 2014-01-12 | publisher = linuxvirtualserver.org}} 2. ^{{cite web|author=Wensong Zhang |url=http://www.linuxvirtualserver.org/software/ktcpvs/ktcpvs.html |title=KTCPVS Software - Application-Level Load Balancing |publisher=Linuxvirtualserver.org |date=2011-02-08 |accessdate=2014-03-25}} 3. ^{{cite web | url = http://www.linuxvirtualserver.org/docs/scheduling.html | title = Job Scheduling Algorithms in Linux Virtual Server | date = 2011-02-08 | accessdate = 2013-11-24 | publisher = linuxvirtualserver.org}} 4. ^{{cite web | url = http://bobcares.com/blog/linux-virtual-server-load-balance-your-networked-services/ | title = Linux Virtual Server: Load Balance Your Networked Services | year = 2008 | accessdate = 2013-11-24 | publisher = bobcares.com}} External links{{Portal|Free and open-source software}}
5 : High-availability cluster computing|Free network-related software|Internet software for Linux|Linux-only software|Parallel computing |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。