Red Hat CLUSTER SUITE - CONFIGURING AND MANAGING A CLUSTER 2006 Manual page 121

Table of Contents

Advertisement

Chapter 9. Setting Up a Red Hat Enterprise Linux LVS Cluster
Important
Be sure each interface on the backup node services the same network as the interface on
primary node. For instance, if eth0 connects to the public network on the primary node, it
must also connect to the public network on the backup node as well.
9.1.2. Routing on the Real Servers
The most important thing to remember when configuring the real servers network inter-
faces in a NAT cluster is to set the gateway for the NAT floating IP address of the LVS
router. In this example, that address will be 10.11.12.10.
Note
Once the network interfaces are up on the real servers, the machines will be unable to
ping or connect in other ways to the public network. This is normal. You will, however, be
able to ping the real IP for the LVS router's private interface, in this case 10.11.12.8.
So the real server's
similar to this:
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=10.11.12.1
NETMASK=255.255.255.0
GATEWAY=10.11.12.10
Warning
If a real server has more than one network interface configured with a
first one to come up will get the gateway. Therefore if both
and
is used for LVS clustering, the real servers may not route requests properly.
eth1
It is best to turn off extraneous network interfaces by setting
scripts within the
gateway is correctly set in the interface which comes up first.
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/
file could look
GATEWAY=
and
are configured
eth0
eth1
in their network
ONBOOT=no
directory or by making sure the
105
line, the

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CLUSTER SUITE - CONFIGURING AND MANAGING A CLUSTER 2006 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Cluster suite

Table of Contents