Alteon Application Switch Operating System Application Guide
Server Load Balancing
222
Document
ID:
RDWR-ALOS-V2900_AG1302
2. Define the HTTP classes to be used for URL load balancing.
—
For an HTTP class to match a path that includes "cgi",
do the following:
—
For an HTTP class to match a path that includes "images", perform the same procedure and
specify "images" in the path parameter.
—
For an HTTP class to match a path that includes "secure", perform the same procedure and
specify "secure" in the path parameter.
3. Create two additional server groups containing the real servers that only serve "cgi" (Real
Servers 1 and 2), and the real servers that only serve "images" (Real Servers 3 and 4), and
assign health checks to the groups.
4. Create Layer 7 content switching rules on the HTTP virtual service, including matching and traffic
redirection.
>> Server Load balance Resource# /cfg/slb/layer7/slb
>> Server Load balance Resource# cntclss
Enter Class id: cgi
------------------------------------------------------------
[HTTP Content Class cgi 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 cgi# path
Enter path id: 1
------------------------------------------------------------
[Path 1 Menu]
path - Set path to match
match - Set match type
case - Enable/disable case sensitive for string matching
copy - Copy path
del - Delete path
cur - Display current path configuration
>> Path 1# path
Current path to match:
Enter new path to match: cgi
>> Path 1# match
Current matching type: include
Enter new matching type [sufx|prefx|equal|include|regex]: include
>> Path 1# case
Current Case sensitive matching: disabled
Enter new Case sensitive matching [d/e]: d