![Red Hat ENTERPRISE LINUX AS 2.1 - Скачать руководство пользователя страница 126](http://html1.mh-extra.com/html/red-hat/enterprise-linux-as-2-1/enterprise-linux-as-2-1_installation-manual_1427525126.webp)
126
Chapter 8:Setting Up a Red Hat Enterprise Linux AS LVS Cluster
Once forwarding is enabled on the LVS routers and the real servers are set up and have the clustered
services running, use the
Piranha Configuration Tool
to configure the cluster as shown in Chapter
9, Configuring the LVS Routers with
Piranha Configuration Tool
.
WARNING
Do not configure the floating IP for
eth0:1
or
eth1:1
by manually
editing network scripts or using a network configuration tool. Instead,
use the
Piranha Configuration Tool
as shown in Section 9.4,
GLOBAL
SETTINGS
and Section 9.6.1, The
VIRTUAL SERVER
Subsection to con-
figure any cluster-related virtual interfaces.
When finished, start the
pulse
service as shown in Section 9.8, Starting the Cluster. Once
pulse
is up and running, the active LVS router will begin routing requests to the pool of real servers.
8.3 Multi-port Services and LVS Clustering
LVS routers under any topology require extra configuration when creating multi-port LVS services.
Multi-port services can be created artificially by using firewall marks to bundle together different, but
related protocols, such as HTTP (port 80) and HTTPS (port 443), or when LVS is used to cluster true
multi-port protocols, such as FTP. In either case, the LVS router uses firewall marks to recognize that
packets destined for different ports, but bearing the same firewall mark, should be handled identically.
Also, when combined with persistence, firewall marks ensure connections from the client machine are
routed to the same host, as long as the connections occur within the length of time specified by the
persistence parameter. For more on assigning persistence to a virtual server, see Section 9.6.1, The
VIRTUAL SERVER
Subsection.
Unfortunately, the mechanism used to balance the loads on the real servers — IPVS — can recognize
the firewall marks assigned to a packet, but cannot itself assign firewall marks. The job of assigning
firewall marks must be performed by a network packet filter, such as
iptables
or
ipchains
out-
side of
Piranha Configuration Tool
.
8.3.1 Assigning Firewall Marks
To assign firewall marks to a packet destined for a particular port, the administrator must use
ipta-
bles
or
ipchains
.
Содержание ENTERPRISE LINUX AS 2.1 -
Страница 1: ...Red Hat Enterprise Linux AS 2 1 The Official Red Hat Enterprise Linux AS Installation Guide ...
Страница 8: ...viii ...
Страница 14: ...xiv Introduction ...
Страница 15: ...Part I Installing Red Hat Enterprise Linux AS ...
Страница 16: ......
Страница 26: ...26 Chapter 1 Steps to Get You Started ...
Страница 30: ...30 Chapter 2 System Requirements Table ...
Страница 80: ...80 Chapter 3 Installing Red Hat Enterprise Linux AS ...
Страница 94: ...94 Chapter 4 Installing Red Hat Enterprise Linux AS via Text Mode ...
Страница 95: ...Part II Configuring Red Hat Enterprise Linux AS ...
Страница 96: ......
Страница 100: ...100 Chapter 5 Introduction ...
Страница 114: ...114 Chapter 6 Linux Virtual Server Overview ...
Страница 153: ...Part III Appendixes ...
Страница 154: ......
Страница 156: ...156 Appendix A Additional Resources for LVS Clustering ...
Страница 160: ...160 Appendix B A Sample etc sysconfig ha lvs cf File ...
Страница 162: ...162 Appendix C Removing Red Hat Linux ...
Страница 168: ...168 Appendix D Getting Technical Support ...
Страница 178: ...178 Appendix E Troubleshooting Your Installation of Red Hat Enterprise Linux AS ...