Applies To:

Show Versions Show Versions

Manual Chapter: BIG-IP Local Traffic Manager version 9.3 Implementations: 8 -Load Balancing HTTP Traffic with Source Address Affinity Persistence
Manual Chapter
Table of Contents   |   << Previous Chapter   |   Next Chapter >>


8

Load Balancing HTTP Traffic with Source Address Affinity Persistence


Introducing basic HTTP load balancing

Many computing environments want to use a BIG-IP® system to intelligently manage their HTTP traffic. You can easily control your HTTP traffic by implementing a BIG-IP system feature known as an HTTP profile. An HTTP profile is a group of settings that affect the behavior of HTTP traffic. An HTTP profile defines the way that you want the BIG-IP system to manage HTTP traffic.

You can use the default HTTP profile, with all of its default values, or you can create a custom HTTP profile. When you create a custom HTTP profile, you not only modify the setting values, but you can enable more advanced features such as data compression of server responses.

When you configure the BIG-IP system to manage HTTP traffic, you can also implement simple session persistence, also known as source address affinity persistence. Source address affinity persistence directs session requests to the same server based solely on the source IP address of a packet. To implement source address affinity persistence, the BIG-IP system offers a default persistence profile that you can implement. Just as for HTTP, you can use the default profile, or you can create a custom simple persistence profile.

The remainder of this chapter describes how to set up a basic HTTP load balancing scenario and source address affinity persistence, using the default HTTP and persistence profiles. For detailed information on managing HTTP traffic and setting up source address affinity persistence, see the Configuration Guide for BIG-IP® Local Traffic Management.

Configuring HTTP load balancing with source address affinity persistence

To set up basic HTTP load balancing with persistence that is based on source IP addresses, you need to create a load balancing pool, and then create a virtual server to process the HTTP traffic and send it to the pool. Because this solution configures HTTP load balancing and session persistence using the default HTTP and source address affinity profiles, you do not need to specifically configure these profiles. Instead, you simply configure some settings on the virtual server when you create it.

Creating a pool

The first task in a basic configuration is to create a load balancing pool to load balance HTTP connections. Use the Configuration utility to create this pool. For more detailed information about configuring a pool, see the Configuration Guide for BIG-IP® Local Traffic Management.

To create a pool for load balancing HTTP traffic

  1. On the Main tab of the navigation pane, expand Local Traffic, and click Pools.
    The Pools screen opens.
  2. In the upper-right corner of the screen, click Create.
    The New Pool screen opens.
  3. In the Name box, type a name for the pool, such as http_pool.
  4. For the Health Monitors setting, from the Available box select http, and click the Move button (<<) to move the monitor name to the Active box.
  5. For the New Members setting, add the pool members:
    1. Click the New Address option.
    2. In the Address box, type the IP address of a server in the pool.
    3. In the Service Port box, type 80, or select HTTP.
    4. Click Add.
    5. Repeat steps b, c, and d for each server in the pool.
  6. Click Finished.

Creating a virtual server

The next task in a basic configuration is to define a virtual server that references the HTTP pool. You use the Configuration utility to create the virtual server. For more information about configuring a virtual server, see the Configuration Guide for BIG-IP® Local Traffic Management.

To create a virtual server for HTTP traffic

  1. On the Main tab of the navigation pane, expand Local Traffic, and click Virtual Servers.
    The Virtual Servers screen opens.
  2. In the upper-right corner of the screen, click Create.
    The New Virtual Server screen opens.
  3. Note: If the Create button is unavailable, this indicates that your user role does not grant you permission to create a virtual server.
  4. In the Name box, type a name for the virtual server, such as vs_http.
  5. In the Destination box, verify that the type of virtual server is Host, and in the Address box, type an IP address for the virtual server.
  6. In the Service Port box, type 80, or select HTTP from the list.
  7. In the Configuration area of the screen, locate the HTTP Profile setting and select http.
    This assigns the default HTTP profile to the virtual server.
  8. In the Resources area of the screen, locate the Default Pool setting and select the name of the HTTP pool you created in the previous section (for example, http_pool).
  9. From the Default Persistence Profile setting, select source_addr.
    This implements simple persistence, using the default source address affinity profile.
  10. Click Finished.



Table of Contents   |   << Previous Chapter   |   Next Chapter >>

Was this resource helpful in solving your issue?




NOTE: Please do not provide personal information.



Incorrect answer. Please try again: Please enter the words to the right: Please enter the numbers you hear:

Additional Comments (optional)