Optional) Configuring Session Stickiness - Huawei S9700 Series Configuration Manual

Terabit routing switches spu
Hide thumbs Also See for S9700 Series:
Table of Contents

Advertisement

S9700 Core Routing Switch
Configuration Guide - SPU
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,
the subsequent requests of the user are sent to the same server. The SPU thus does not make
load balancing decisions.
The SPU supports static and dynamic stickiness:
l
l
The SPU supports session stickiness at the network layer and the application layer.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Issue 01 (2012-03-15)
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.
When packets of a session match static sticky entries, the stickiness corresponding to the
session is called static stickiness. Static stickiness takes effect as long as static sticky entries
exist.
When packets of a session match dynamic sticky entries, the stickiness corresponding to
the session is called dynamic stickiness. Dynamic stickiness takes effect only in the aging
time. After dynamic sticky entries age, stickiness becomes invalid.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
216

Advertisement

Table of Contents
loading

Table of Contents