Alteon Application Switch Operating System Application Guide
Server Load Balancing
For example, to configure the cookie name session-id with the value gold:
>> Main# /cfg/slb/layer7/slb/cntclss/
Enter Class id: cookie-gold
------------------------------------------------------------
[HTTP Content Class cookie-gold Menu]
name
- Set the Descriptive HTTP content class name
hostname - URL Hostname lookup Menu
path
- URL Path lookup Menu
filename - URL File Name lookup Menu
filetype - URL File Type lookup Menu
header
- Header lookup Menu
cookie
- Cookie lookup Menu
text
- Text lookup Menu
xmltag
- XML tag lookup Menu
logexp
- Set logical expression between classes
copy
- Copy HTTP content class
del
- Delete HTTP content class
cur
- Display current HTTP content class
>> HTTP Content Class cookie-gold# cookie/
Enter cookie id: 1
------------------------------------------------------------
[Cookie 1 Menu]
cookie
- Set cookie to match
match
- Set match type
case
- Enable/disable case sensitive for string matching
copy
- Copy cookie
del
- Delete cookie
cur
- Display current cookie configuration
>> Cookie 1# cookie
Current cookie to match: key= value=
Enter new cookie key to match or none []:session-id
Enter new cookie value to match or none []:gold
3. Repeat
step 2
to define HTTP content classes to match the values silver and bronze.
4. Define real server groups to serve each client group according to their cookie value.
For example, Gold clients are served by Real Servers 1 through 4 (Group 1), Silver clients are
served by Real Servers 5 through 8 (Group 2), Bronze clients are served by Real server 9
through 10 (Group 3).
228
Document ID: RDWR-ALOS-V2900_AG1302