Installation guide

Chapter 10. Configuring the LVS Routers with Piranha Configuration Tool 133
Warning
Remember to click the ACCEPT button after making any changes in this panel. To make
sure you do not lose any changes when selecting a new panel.
Once you have configured virtual servers using the Piranha Configuration
Tool, you must copy specific configuration files to the backup LVS router. See
Section 10.7 Synchronizing Configuration Files for details.
10.7. Synchronizing Configuration Files
After configuring the primary LVS router, there are several configuration files that must be
copied to the backup LVS router before you start the cluster.
These files include:
/etc/sysconfig/ha/lvs.cf — the configuration file for the LVS routers.
/etc/sysctl the configuration file that, among other things, turns on packet for-
warding in the kernel.
/etc/sysconfig/iptables — If you are using firewall marks, you should synchro-
nize one of these files based on which network packet filter you are using.
Important
The /etc/sysctl.conf and /etc/sysconfig/iptables files do not change when you
configure the cluster using the Piranha Configuration Tool.
10.7.1. Synchronizing lvs.cf
Anytime the LVS configuration file, /etc/sysconfig/ha/lvs.cf, is created or up-
dated, you must copy it to the backup LVS router node.
Warning
Both the active and backup LVS router nodes must have identical lvs.cf files. Mis-
matched LVS configuration files between the LVS router nodes can prevent failover.