4.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 Load Balancer Add-On.
4.7.1. Synchronizing lvs.cf
Anytime the LVS configuration file, /etc/sysconfig/ha/lvs.cf
, is created or updated, you must copy it to the backup LVS router node.
Both the active and backup LVS router nodes must have identical lvs.cf
files. Mismatched LVS configuration files between the LVS router nodes can prevent failover.
The best way to do this is to use the scp
command.
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 command, replace n.n.n.n
with the real IP address of the backup LVS router.