Installation guide

134 Chapter 10. Configuring the LVS Routers with Piranha Configuration Tool
The best way to do this is to use the scp command.
Important
To use scp the sshd must be running on the backup router, see
Section 8.1 Configuring 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.