Applies To:Show Versions
BIG-IP Link Controller
Configuring HTTP Load Balancing with Cookie Persistence
Overview: HTTP load balancing with cookie persistence
Task summary for creating a basic HTTP load
balancing scenario with cookie persistence
Creating a custom cookie persistence profile
- On the Main tab, click.The Persistence profile list screen opens.
- ClickCreate.The New Persistence Profile screen opens.
- In theNamefield, type a unique name for the profile.
- From thePersistence Typelist, selectCookie.
- From theParent Profilelist, selectcookie.
- Select theCustomcheck box.
- From theCookie Methodlist, selectHTTP Cookie Insert.
- If you want the BIG-IP system to encrypt the pool name specified in the BigIPServer default cookie, select theDefault Cookie Encrypt Pool Namecheck box.
- Retain or change all other profile settings.
Create a pool to process HTTP traffic
- On the Main tab, click.The Pool List screen opens.
- ClickCreate.The New Pool screen opens.
- In theNamefield, type a unique name for the pool.
- For theHealth Monitorssetting, from theAvailablelist, select thehttpmonitor and move the monitor to theActivelist.
- From theLoad Balancing Methodlist, select how the system distributes traffic to members of this pool.The default isRound Robin.
- For thePriority Group Activationsetting, specify how to handle priority groups:
- SelectDisabledto disable priority groups. This is the default option.
- SelectLess than, and in theAvailable Membersfield type the minimum number of members that must remain available in each priority group in order for traffic to remain confined to that group.
- Using theNew Memberssetting, add each resource that you want to include in the pool:
- Type an IP address in theAddressfield.
- Type80in theService Portfield, or selectHTTPfrom the list.
- (Optional) Type a priority number in thePriorityfield.
Create a virtual server for HTTP traffic
- On the Main tab, click.The Virtual Server List screen opens.
- ClickCreate.The New Virtual Server screen opens.
- In theNamefield, type a unique name for the virtual server.
- For theDestination Address/Masksetting, confirm that theHostbutton is selected, and type the IP address in CIDR format.The supported format is address/prefix, where the prefix length is in bits. For example, an IPv4 address/prefix is10.0.0.1or10.0.0.0/24, and an IPv6 address/prefix isffe1::0020/64or2001:ed8:77b5:2:10:10:100:42/64. When you use an IPv4 address without specifying a prefix, the BIG-IP system automatically uses a/32prefix.The IP address you type must be available and not in the loopback network.
- In theService Portfield, type80, or selectHTTPfrom the list.
- From theHTTP Profilelist, selecthttp.
- In the Resources area of the screen, from theDefault Poollist, select the relevant pool name.
- From theDefault Persistence Profilelist, select the name of the custom cookie profile you created earlier, such asmycookie_profile.This implements cookie persistence, using a custom cookie persistence profile.