Synchronizing; Synchronizing Sysctl - 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

Chapter 4. Configuring the LVS Routers with Piranha Configuration Tool
/etc/sysconfig/iptables
these files based on which network packet filter you are using.
Important
The
/etc/sysctl.conf
when you configure LVS using the Piranha Configuration Tool.

7.1. Synchronizing

Anytime the LVS configuration file,
must copy it to the backup LVS router node.
Warning
Both the active and backup LVS router nodes must have identical
Mismatched LVS configuration files between the LVS router nodes can prevent
failover.
The best way to do this is to use the
Important
To use
"Configuring Services on the LVS Routers"
configure the necessary services on the LVS routers.
Issue the following command as the root user from the primary LVS router to sync the
files between the router nodes:
scp /etc/sysconfig/ha/lvs.cf n.n.n.n:/etc/sysconfig/ha/lvs.cf
In the command, replace
7.2. Synchronizing
The
file is only modified once in most situations. This file is read at boot time and tells
sysctl
the kernel to turn on packet forwarding.
54
— If you are using firewall marks, you should synchronize one of
and
/etc/sysconfig/iptables
lvs.cf
/etc/sysconfig/ha/lvs.cf
command.
scp
the
must be running on the backup router, see
scp
sshd
with the real IP address of the backup LVS router.
n.n.n.n
sysctl
files do not change
, is created or updated, you
Section 1,
for details on how to properly
files.
lvs.cf
lvs.cf

Advertisement

Table of Contents
loading

This manual is also suitable for:

Linux virtual server

Table of Contents