Alteon Application Switch Operating System Application Guide
Application Redirection
Document ID: RDWR-ALOS-V2900_AG1302
473
—
Define an IP interface.
—
Define each real server.
—
Assign servers to real server groups.
—
Define virtual servers and services.
2. Turn on Layer 7 lookup for the filter.
3. Enable header load balancing for the Host: header.
4. Define the hostnames.
5. Apply and save your configuration changes.
6. Identify the string ID numbers with this command.
Each defined string has an associated ID number:
7. Configure the real servers to handle the appropriate load balance strings.
8. Add the defined string IDs to the real servers, where ID is the identification number of the
defined string.
Note:
If you do not add a defined string (or add ID=1), the server will handle any request.
>> # /cfg/slb/filt 1/adv/layer7/l7lkup ena
>> # /cfg/slb/layer7/redir/header ena host
>> # /cfg/slb/layer7/slb/addstr ".com"
>> Server Load Balance Resource# add ".org"
>> Server Load Balance Resource# add ".net"
>> # /cfg/slb/layer7/slb/cur
Table 43: SLB Strings
ID
SLB String
1
any
2
.com
3
.org
4
.net
>> # /cfg/slb/real 2/layer7/addlb <ID>