122
Chapter 8:Setting Up a Red Hat Enterprise Linux AS LVS Cluster
8.1.1 Putting the Cluster Together
After determining which of the above routing methods to use, the hardware for the LVS cluster should
be linked together on the network.
Important
The adapter devices on the LVS routers must be configured to access the
same networks. For instance if
eth0
connects to public network and
eth1
connects to the private network, then these same devices on the backup LVS
router must connect to the same networks.
Also the gateway listed in the first interface to come up at boot time is added
to the routing table and subsequent gateways listed in other interfaces are
ignored. This is especially important to consider when configuring the real
servers.
After physically connecting together the cluster hardware, configure the network interfaces on the
primary and backup LVS routers. This can be done using a graphical application such as
redhat-con-
fig-network
or by editing the network scripts manually. For more information about adding devices
using
redhat-config-network
, see the chapter titled Network Configuration in the Official Red Hat
Linux Customization Guide. For more information on editing network scripts by hand, see the chap-
ter titled Network Scripts in the Official Red Hat Linux Reference Guide. For the remainder of the
chapter, example alterations to network interfaces are made either manually or through the
Piranha
Configuration Tool
.
General LVS Networking Tips
Configure the real IP addresses for both the public and private networks on the LVS routers before
attempting to configure the cluster using the
Piranha Configuration Tool
. The sections on each to-
pography give example network addresses, but the actual network addresses are needed. Below are
some useful commands for bringing up network interfaces or checking their status.
Bringing Up Real Network Interfaces
The best way to bring up any real network interface is to use the following commands as root
replacing N with the number corresponding to the interface (
eth0
and
eth1
):
/sbin/ifup eth
N
Содержание 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 ...