Optional) 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
When the weights of a server instance and a server are set simultaneously, the weight of the
server instance takes effect.
If the weight of a server instance is not set, the SPU uses the weight of a server. If the weight of
the server is not set, the SPU adopts the default value.
By default, the weight of a server instance is 8.
Step 14 (Optional) Run:
backup-member member-name
The backup member of the server instance is configured.
By default, no backup member is configured for a server instance.
A server instance can contain up to three backup members. Before configuring a backup member,
ensure that the backup member is added to the server group.
Step 15 (Optional) Run:
nat outbound address-group group-index [ no-pat ]
An NAT address pool is configured in the server instance for translating source IP addresses
through NAT.
no-pat indicates that PAT is not performed. That is, only the IP address of packets is translated
through NAT. The port number, however, is not translated.
When NAT for translating source IP addresses is enabled simultaneously in a server instance
and a Layer 3 classifier, NAT for translating source IP addresses enabled in the server instance
takes effect.
By default, NAT for translating source IP addresses is disabled in a server instance.
Step 16 Run:
inservice
The server is enabled.
----End

6.4.6 (Optional) Configuring Session Stickiness

Session stickiness indicates that multiple connections of a session are directed to the same server
in a specified period. In this case, the SPU does not make load balancing decisions.
Context
Session stickiness is often applicable to e-commerce. Multiple connections of a user needs to
be processed by only a server when the user shops online. In this case, the SPU is required to
identify users and send requests of a user to the same server for processing.
The SPU uses sticky groups to configure and manage related attributes of session stickiness. If
session stickiness is configured, after the SPU sends the first request of a user to a selected server,
Issue 01 (2011-07-15)
NOTE
The weight is only valid for the WRR algorithm and the least connection algorithm.
NOTE
If the forwarding mode is set to DMAC, the NAT address pool does not need to be configured in a server
instance or a Layer 3 classifier.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
256

Advertisement

Table of Contents
loading

Table of Contents