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

Table of Contents

Advertisement

134
Chapter 10. Configuring the LVS Routers with Piranha Configuration Tool
Important
To use
the
scp
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
The
file is only modified once in most situations. This file is read at boot time and
sysctl
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
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
type the following command:
/sbin/service iptables restart
must be running on the backup router, see Section 8.1 Configur-
sshd
sysctl
, you will need to synchronize the appropriate configuration file
session to the backup router or log into the machine as root and
ssh

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cluster suite

Table of Contents