86
Chapter 7. Linux Virtual Server Overview
Figure 7-1. A Basic LVS Configuration
Service requests arriving at the LVS cluster are addressed to a
virtual IP
address or VIP.
This is a publicly-routable address the administrator of the site associates with a fully-
qualified domain name, such as www.example.com, and which is assigned to one or more
virtual server
1
. Note that a VIP address migrates from one LVS router to the other during a
failover, thus maintaining a presence at that IP address, also known as
floating IP addresses
.
VIP addresses may be aliased to the same device which connects the LVS router to the
Internet. For instance, if eth0 is connected to the Internet, than multiple virtual servers can
be aliased to
eth0:1
. Alternatively, each virtual server can be associated with a separate
device per service. For example, HTTP traffic can be handled on
eth0:1
, and FTP traffic
can be handled on
eth0:2
.
Only one LVS router is active at a time. The role of the active router is to redirect service
requests from virtual IP addresses to the real servers. The redirection is based on one of
eight supported load-balancing algorithms described further in Section 7.3
LVS Scheduling
Overview
.
1. A virtual server is a service configured to listen on a specific virtual IP. Refer to Section 10.6
VIRTUAL SERVERS
for more on configuring a virtual server using the
Piranha Configuration
Tool
.
Содержание Cluster Suite
Страница 1: ...Red Hat Cluster Suite Configuring and Managing a Cluster ...
Страница 5: ...Index 165 Colophon 171 ...
Страница 6: ......
Страница 14: ...viii Introduction ...
Страница 16: ......
Страница 24: ...8 Chapter 1 Red Hat Cluster Manager Overview ...
Страница 92: ...76 Chapter 4 Cluster Administration ...
Страница 98: ......
Страница 130: ...114 Chapter 9 Setting Up a Red Hat Enterprise Linux LVS Cluster ...
Страница 152: ...136 Chapter 10 Configuring the LVS Routers with Piranha Configuration Tool ...
Страница 154: ......
Страница 162: ...146 Appendix A Supplementary Hardware Information ...
Страница 180: ...164 Appendix C Multipath usage txt File for Red Hat Enterprise Linux 4 Update 3 ...
Страница 186: ......