Example For Configuring Session Stickiness - Huawei quidway s7700 Configuration Manual

Smart routing switch
Hide thumbs Also See for quidway s7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - SPU

6.6.5 Example for Configuring Session Stickiness

This section provides an example for configuring session stickiness. With the session stickiness
function, requests of the same type of users are processed by the same server, meeting e-
commerce requirements of internal network users.
Networking Requirements
As shown in
server group. The load balancing group provides HTTP services through a virtual IP address.
The user IP address is 10.10.10.2, the virtual IP address is 20.20.20.2:80, and the IP addresses
of the four servers are 192.168.20.1:80, 192.168.20.2:4002, 192.168.20.3:80, and
192.168.20.4:8080. The processing capabilities of each server such as the CPU, memory, and
performance are different. Server C is the backup server of Server A and Server D is the backup
server of Server B. The requirements are as follows:
l
l
l
The Switch is connected to the Internet through GE 3/0/0 and the SPU is installed in slot 5 of
the Switch.
GE 3/0/1, GE 3/0/2, GE 3/0/3, and GE 3/0/4 of the Switch are connected to ServerA, ServerB,
ServerC, and ServerD respectively.
Issue 01 (2011-07-15)
l7classifier l7cls1 action act1
nat outbound address-group 2
if-match acl 3000
#
load-balance policy lbp1
l3classifier l3cls1
#
return
Figure
6-12, a user accesses servers. There are four servers, which constitute a
The server with greater processing capabilities receives more service requests.
The return traffic of servers passes through the load balancing device.
After the master server fails, the load balancing device randomly selects an available server
from backup servers.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
311

Advertisement

Table of Contents
loading

Table of Contents