Product SiteDocumentation Site

Chapter 4. Configuring the Load Balancer Add-On with Piranha Configuration Tool

4.1. Necessary Software
4.2. Logging Into the Piranha Configuration Tool
4.3. CONTROL/MONITORING
4.4. GLOBAL SETTINGS
4.5. REDUNDANCY
4.6. VIRTUAL SERVERS
4.6.1. The VIRTUAL SERVER Subsection
4.6.2. REAL SERVER Subsection
4.6.3. EDIT MONITORING SCRIPTS Subsection
4.7. Synchronizing Configuration Files
4.7.1. Synchronizing lvs.cf
4.7.2. Synchronizing sysctl
4.7.3. Synchronizing Network Packet Filtering Rules
4.8. Starting the Load Balancer Add-On
The Piranha Configuration Tool provides a structured approach to creating the necessary configuration file for the Load Balancer Add-On — /etc/sysconfig/ha/lvs.cf. This chapter describes the basic operation of the Piranha Configuration Tool and how to activate Load Balancer Add-On once configuration is complete.

Important

The configuration file for the Load Balancer Add-On follows strict formatting rules. Using the Piranha Configuration Tool is the best way to prevent syntax errors in the lvs.cf and therefore prevent software failures.

4.1. Necessary Software

The piranha-gui service must be running on the primary LVS router to use the Piranha Configuration Tool. To configure the Load Balancer Add-On, you minimally need a text-only Web browser, such as links. If you are accessing the LVS router from another machine, you also need an ssh connection to the primary LVS router as the root user.
While configuring the primary LVS router it is a good idea to keep a concurrent ssh connection in a terminal window. This connection provides a secure way to restart pulse and other services, configure network packet filters, and monitor /var/log/messages during trouble shooting.
The next four sections walk through each of the configuration pages of the Piranha Configuration Tool and give instructions on using it to set up the Load Balancer Add-On.