134
Chapter 10. Configuring the LVS Routers with Piranha Configuration Tool
Important
To use
scp
the
sshd
must be running on the backup router, see Section 8.1
Configur-
ing Services on the LVS Routers
for details on how to properly configure the necessary
services on the LVS routers.
Issue the following command as the root user from the primary LVS router to sync the
lvs.cf
files between the router nodes:
scp /etc/sysconfig/ha/lvs.cf
n.n.n.n
:/etc/sysconfig/ha/lvs.cf
In the above command, replace
n.n.n.n
with the real IP address of the backup LVS
router.
10.7.2. Synchronizing
sysctl
The
sysctl
file is only modified once in most situations. This file is read at boot time and
tells the kernel to turn on packet forwarding.
Important
If you are not sure whether or not packet forwarding is enabled in the kernel, see Section
8.5
Turning on Packet Forwarding
for instructions on how to check and, if necessary,
enable this key functionality.
10.7.3. Synchronizing Network Packet Filtering Rules
If you are using
iptables
, you will need to synchronize the appropriate configuration file
on the backup LVS router.
If you alter the any network packet filter rules, enter the following command as root from
the primary LVS router:
scp /etc/sysconfig/iptables
n.n.n.n
:/etc/sysconfig/
In the above command, replace
n.n.n.n
with the real IP address of the backup LVS
router.
Next either open an
ssh
session to the backup router or log into the machine as root and
type the following command:
/sbin/service iptables restart
Summary of Contents for Cluster Suite
Page 1: ...Red Hat Cluster Suite Configuring and Managing a Cluster ...
Page 5: ...Index 165 Colophon 171 ...
Page 6: ......
Page 14: ...viii Introduction ...
Page 16: ......
Page 24: ...8 Chapter 1 Red Hat Cluster Manager Overview ...
Page 92: ...76 Chapter 4 Cluster Administration ...
Page 98: ......
Page 130: ...114 Chapter 9 Setting Up a Red Hat Enterprise Linux LVS Cluster ...
Page 152: ...136 Chapter 10 Configuring the LVS Routers with Piranha Configuration Tool ...
Page 154: ......
Page 162: ...146 Appendix A Supplementary Hardware Information ...
Page 180: ...164 Appendix C Multipath usage txt File for Red Hat Enterprise Linux 4 Update 3 ...
Page 186: ......