Alteon Application Switch Operating System Application Guide
Content-Intelligent Server Load Balancing Not Using Layer 7 Content
Document ID: RDWR-ALOS-V2900_AG1302
815
2. Turn on URL parsing for the virtual server for virtual hosting.
3. Define the host names.
4. Configure the real servers to handle the appropriate load balancing strings. To add a defined
string where ID is the identification number of the defined string.
Note:
The server handles any request if no string or the string any is defined.
Cookie-Based Preferential Load Balancing
Cookies can be used to provide preferential services for customers, ensuring that certain users are
offered better access to resources than other users when site resources are scarce. For example, a
Web server could authenticate a user via a password and then set cookies to identify them as
"Gold," "Silver," or "Bronze" customers. Using cookies, you can distinguish individuals or groups of
users and place them into groups or communities that get redirected to better resources and receive
better services than all other users.
Note:
Cookie-based persistent load balancing is described in
.
Cookie-based preferential services enable the following support:
•
Redirect higher priority users to a larger server or server group.
•
Identify a user group and redirect them to a particular server.
•
Serve content-based on user identity.
•
Prioritize access to scarce resources on a Web site.
•
Provide better services to repeat customers, based on access count.
Clients that receive preferential service can be distinguished from other users by one of the
following methods:
•
Individual User—Distinguish a specific user by IP address, login authentication, or permanent
HTTP cookie.
•
User Communities—Identify some set of users, such as "Premium Users" for service providers
who pay higher membership fees than "Normal Users" by source address range, login
authentication, or permanent HTTP cookie.
>> # /cfg/slb/virt 1
(Select the virtual IP for host header-
based SLB)
>> Virtual Server 1 # service 80
(Select the HTTP service)
>> Virtual Server 1 http Service # http/httpslb host
>> # /cfg/slb/layer7/slb/addstr "www.customer1.com"
>> Server Loadbalance Resource# addstr "www.customer2.com"
>> Server Loadbalance Resource# addstr "www.customer3.com"
>># /cfg/slb/real 2
(Select the real server)
>> Real Server 2 # Layer7
>> Real Server 2 Layer 7 Commands # addlb
<ID>
(Specify the string ID)