As shown in Figure-1, an enterprise uses Server A, Server B, and Server C to provide HTTP services. Configure server load balancing to load balance HTTP requests from Host. The device assigns requests whose URLs contain sports, government, and news to Server A; assigns requests whose URLs contain finance, technology, and shopping to Server B; and assigns other requests to Server C.
This configuration example was created and verified on R9900P2705 of the F5000-AI-55-G device.
Assign IP addresses to interfaces and add the interfaces to security zones.
# On the top navigation bar, click
# From the navigation pane, select
# Click the
# In the dialog box that opens, configure the interface:
Select the
On the
Use the default settings for other parameters.
Click
# Add GE 1/0/2 to the
Configure security policies.
# On the top navigation bar, click
# From the navigation pane, select
# Click
# In the dialog box that opens, configure a security policy named
Enter policy name
Select type
Select source zone
Select destination zone
Enter destination IPv4 address
Select action
Use the default settings for other parameters.
Click
# Configure a security policy named
Enter policy name
Select type
Select source zone
Select destination zone
Enter destination IPv4 address
Select action
Use the default settings for other parameters.
Click
Create an ICMP-type probe template.
# On the top navigation bar, click
# From the navigation pane, select
# Click
Figure-2 Creating probe template t1
# Click
Create an HTTP cookie sticky group.
# On the top navigation bar, click
# From the navigation pane, select
# Click
Figure-3 Creating sticky group sticky_group
# Click
Create real servers.
# On the top navigation bar, click
# From the navigation pane, select
# Click
Figure-4 Creating real server rs_a
# Click
# Configure real server
# Configure real server
# Display the configured real servers as shown in Figure-5.
Figure-5 Displaying the configured real servers
Create server farms.
# On the top navigation bar, click
# From the navigation pane, select
# Click
Figure-6 Creating server farm sf1
# Click
# Configure server farm
# Configure server farm
# Display the configured server farms as shown in Figure-7.
Figure-7 Displaying the configured server farms
Create classes.
# On the top navigation bar, click
# From the navigation pane, select
# Click the
# Click
# Click
# Click
# Click
Create actions.
# On the top navigation bar, click
# From the navigation pane, select
# Click the
# Click
Figure-10 Creating action act_1
# Click
# Configure action
# Configure action
# Display the configured actions as shown in Figure-11.
Figure-11 Displaying the configured actions
Create a load balancing policy.
# On the top navigation bar, click
# From the navigation pane, select
# Click the
# Click
Figure-12 Creating load balancing policy loadbalance_policy
# Click
Create an HTTP-type parameter profile.
# On the top navigation bar, click
# From the navigation pane, select
# Click
Figure-13 Creating parameter profile loadbalance_profile
# Click
Create a virtual server.
# On the top navigation bar, click
# From the navigation pane, select
# Click
Figure-14 Creating virtual server vs
Figure-15 Creating virtual server vs (advanced configuration)
# Click
Verify that the device assigns Sever A the HTTP request with URL
# Access
# On the top navigation bar, click
# From the navigation pane, select
Figure-16 Displaying virtual server statistics
# On the top navigation bar, click
# From the navigation pane, select
Figure-17 Displaying server farm statistics
Verify that the device assigns Sever B the HTTP request with URL
Verify that the device assigns Sever C the HTTP request with URL