Alteon Application Switch Operating System Application Guide
Application Redirection
470 Document ID: RDWR-ALOS-V2900_AG1302
The server will handle any files in the ROOT directory:
//index.htm
/default.asp
/index.shtm
5. Apply and save your configuration changes.
6. Identify the defined string IDs.
For easy configuration and identification, each defined string has an ID attached, as shown in
Table 42 - SLB Strings, page 470
.
7. Configure the real servers to support cache redirection.
Note: If you do not add a defined string (or add the defined string any), the server will handle
any request.
Add the defined strings to the real servers, where ID is the identification number of the defined
string:
The server can have multiple defined strings. For example: "/images", "/sales", ".gif"
With these defined strings, the server can handle requests that begin with "/images" or "/sales"
and any requests that contain ".gif".
8. Define a real server group and add real servers to the group. The following configuration
combines three real servers into a group.
9. Configure a filter to support basic cache redirection.
The filter must be able to intercept all TCP traffic for the HTTP destination port and must redirect
it to the proper port in the real server group.
>> # /cfg/slb/layer7/slb/cur
Table 42: SLB Strings
ID SLB String
1
any
2
.gif
3
/sales
4
/xitami
5
/manual
6
.jpg
>> # /cfg/slb/real 2/layer7/addlb <ID>
>> # /cfg/slb/group 1
(Select Real Server Group 1)
>> Real server group 1# add 1
(Add Real Server 1 to Group 1)
>> Real server group 1# add 2
(Add Real Server 2 to Group 1)
>> Real server group 1# add 3
(Add Real Server 3 to Group 1)