Alteon Application Switch Operating System Application Guide
Server Load Balancing
Document ID: RDWR-ALOS-V2900_AG1302
233
Regular expressions (regex) can be used to match multiple browser user agents with a single
value. Additional desktop or laptop browser user agents can be added to this class.
3. Configure Class2 to match mobile browsers user-agent header values using the same procedure
as Class1 in
4. Configure Class3 to match URL my-site.com and class1 (desktop-browsers) by using the logical
expression option in the Class menu:
5. Configure Class4 to match URL my-site.com and Class2 (mobile-browsers) using the procedure
in
.
6. Configure Class5 matched with URL mobile.my-site.com using the same procedure in the
URL-based content load balancing example (
URL Hashing for Server Load Balancing, page 236
7. Configure an HTTP Layer7 content switching rule in the HTTP virtual service to match Class3
(with URL my-site.com and desktop-browsers), and perform load balancing using Server
Group 1.
>> Server Load balance Resource# cntclss
Enter Class id: class3
------------------------------------------------------------
[HTTP Content Class class3 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 class3# hostname
Enter hostname id: 1
------------------------------------------------------------
[Hostname 1 Menu]
hostname - Set hostname to match
match - Set match type
copy - Copy hostname
del - Delete hostname
cur - Display current hostname configuration
>> Hostname 1# hostname
Current hostname to match:
Enter new hostname to match: my-site.com
>> Hostname 1# ..
>> HTTP Content Class class3# logexp
Current logical expression:
Enter new logical expression:
Enter logical expression: desktop-browsers
Содержание Alteon
Страница 2: ...Alteon Application Switch Operating System Application Guide 2 Document ID RDWR ALOS V2900_AG1302 ...
Страница 42: ...Alteon Application Switch Operating System Application Guide Preface 42 Document ID RDWR ALOS V2900_AG1302 ...
Страница 582: ...Alteon Application Switch Operating System Application Guide High Availability 582 Document ID RDWR ALOS V2900_AG1302 ...