Alteon Application Switch Operating System Application Guide
Server Load Balancing
216
Document
ID:
RDWR-ALOS-V2900_AG1302
Configuring Source Network-Based Server Load Balancing
To configure differentiated service for a specific source network, you can configure network classes
that define the required source network for specific virtual servers.
The configuration described in this example procedure is defined with the following service
differentiation requirements:
•
Accelerate applications for external service users. Caching and compression are applied to
external client traffic.
•
Regular application delivery for internal service customers.
To configure source network-based SLB
1. Before you can configure SLB string-based load balancing, ensure that Alteon is configured for
basic SLB with the following tasks:
—
Assign an IP address to each of the real servers in the server pool.
—
Define an IP interface.
—
Define each real server.
—
Assign servers to real server group 1.
—
Define caching policy cache_ext.
—
Define compression policy compress_ext.
—
Enable SLB
—
Enable client processing on the port connected to the clients.
For information on how to configure your network for SLB, see
Server Load Balancing, page 165
2. Define network classes for the type of differentiated services you want to configure.
3. Define virtual servers for internal and external customers, and assign the network classes you
defined for each virtual server accordingly. Define an HTTP service for each of the virtual
servers.
>> # /cfg/slb/nwclss internal
(Create a network class called internal.)
>> Network Classifier internal# network 1/net
range 10.201.1.1 10.205.255.255 include
(Define network element 1 for this
network class to include an IP address
range.)
>> # /cfg/slb/nwclss external
(Create a network class called external.)
>> Network Classifier external# network 1/net
range 10.201.1.1 10.205.255.255 exclude
(Specify a network element 1 for this
network class to exclude an IP address
range.)
>> # /cfg/slb/virt 1/vip 128.100.100.100
(Define VIP for Virtual Server 1)
>> Virtual 1 # srcnet internal
(Assign the network class internal to
Virtual Server 1)
>> Virtual Server 1# service HTTP
(Define the HTTP service for Virtual
Server 1)
>> Virtual Server 1 80 http Service# group 1
(Set the group to Group 1)
>> # /cfg/slb/virt 2/vip 128.100.100.100
(Define the same VIP for Virtual Server
2)