Synchronizing Network Packet Filtering Rules; Starting Lvs - Red Hat LINUX VIRTUAL SERVER - FOR ENTERPRISE LINUX 5.2 REV 05-2008 Manual

Linux virtual server (lvs) for red hat enterprise linux 5.2
Table of Contents

Advertisement

Important
If you are not sure whether or not packet forwarding is enabled in the kernel, see
Section 5, "Turning on Packet Forwarding"
if necessary, enable this key functionality.

7.3. Synchronizing Network Packet Filtering Rules

If you are using
iptables
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 command, replace
Next either open an
ssh
the following command:
/sbin/service iptables restart
Once you have copied these files over to the backup router and started the appropriate services
(see
Section 1, "Configuring Services on the LVS Routers"
to start LVS.

8. Starting LVS

To start LVS, it is best to have two root terminals open simultaneously or two simultaneous root
open
sessions to the primary LVS router.
ssh
In one terminal, watch the kernel log messages with the command:
tail -f /var/log/messages
Then start LVS by typing the following command into the other terminal:
/sbin/service pulse start
Follow the progress of the
When you see the following output, the pulse daemon has started properly:
gratuitous lvs arps finished
To stop watching
/var/log/messages
From this point on, the primary LVS router is also the active LVS router. While you can make
, you will need to synchronize the appropriate configuration file on the
with the real IP address of the backup LVS router.
n.n.n.n
session to the backup router or log into the machine as root and type
service's startup in the terminal with the kernel log messages.
pulse
, type Ctrl-c.
Synchronizing Network Packet Filtering
for instructions on how to check and,
for more on this topic) you are ready
55

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux virtual server

Table of Contents