Scenario: F5 load balancer setup in a highly available system
This scenario details the rudimentary configuration of the LTM module of the BigIP to create highly available load balanced clusters, including:
- Creating a virtual server in which users connect with the IP address
- Creating a server pool to service user requests
- Setting up rudimentary monitoring for crash recovery with Tomcat.
See PDN article How to test whether a Process Commander node is running for other examples.
To set up the F5 load balancer, do the following:
- From the Main tab, select Local Traffic.
- Select Virtual Servers and click the Create button.
- In the General Properties section, enter Name, Description, and Destination.
- In the Service Port field, enter a port and select
HTTP
from the menu.
- In the Configuration section, select
oneconnect
from the OneConnect Profile menu.
- Scroll to the bottom of the screen and click Finish.
- Select Pools from the Virtual Server drop down menu and click the Create button.
- In the Pools General Properties section, enter Name and Description.
- From the available Health Monitors, make monitors Active, and then click Finished.
- Create monitors based on the installed application server software and monitoring requirements.
- For example, the default HTTP_Get monitors work for simple Tomcat monitoring.
- From the Virtual Server menu, select
Nodes
, then click Create.
- In the Nodes General Properties section, enter Name and Description, then click Finish.
- Return to the Pool list and select the pool that was just created.
- Select the Members tab. In the Current Members section, click Add.
- The default load balancing method is Round Robin.
- If necessary, select an alternate load balancing method to use from the menu.
- Click Node List. Select the node from the menu, add the Service Port, and then click Finished.
- Return to the Virtual Server list and select the Virtual Server that was just created.
- Click the Resources tab. Select the pool that was just created for the Default Pool from the menu, select
cookie
for the Default Persistence Profile, and then click Update.
Related information
Open topic with navigation