Huawei S9700 Series Configuration Manual page 225

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

Advertisement

S9700 Core Routing Switch
Configuration Guide - SPU
percent1 specifies the threshold for the master server group to remain active and percent2
specifies the threshold for the backup server group to remain active. When the percentage of
active servers in the master server group is smaller than or equal to the value of percent1, the
SPU switches services to the backup server group. When the percentage of active servers in the
master server group is greater than the value of percent2, the master server group is recovered
and starts to provide services.
By default, the thresholds for the master and backup server groups to remain active are 0. In this
case, if all the servers in the master server group are invalid, the SPU automatically switches
services to the backup server group. If a server in the master server group becomes active, the
SPU switches services back to the master server group.
Step 7 Run:
forward-mode dnat
The packet forwarding mode is set to DNAT.
Or, run
forward-mode dmac
The packet forwarding mode is set to DMAC.
In server load balancing, the packet forwarding mode can be set to DNAT or DMAC. In DNAT
mode, the SPU changes the destination IP address of packets to the IP address of a server before
forwarding them. In DMAC mode, the SPU changes the destination MAC address of packets to
the MAC address of a server before forwarding them. The destination IP address of the packets,
however, remains unchanged.
Step 8 Run:
load-balance method { { hash address { destination | source | both } [ netmask ] }
| { hash url [ begin-pattern expression1 ] [ end-pattern expression2 ] } |
leastconns | roundrobin }
The load balancing algorithm is set.
By default, the WRR algorithm is used for load balancing.
Step 9 Run:
member member-name
A server is bound to the server group and the server instance view is displayed.
Step 10 (Optional) Run:
rate-limit { bandwidth { inbound | outbound } band-limit [ threshold threshold-
value ] | connection conn-limit }
The bandwidth limit, bandwidth threshold for receiving new traffic, and connection rate limit
of the server instance are set.
By default, the connection rate of a server instance is not limited, the inbound/outbound
bandwidth limit is 1000000 kbit/s, and the inbound/outbound bandwidth threshold is 100%.
When the values of the bandwidth limit, connection rate limit, or bandwidth threshold of a server
instance and a server are set simultaneously, both the values of the server instance and the server
take effect. For example, the bandwidth limit of a server is 200 kbit/s and server instance A and
server instance B are configured on the server. The bandwidth limit of server instance A is 200
kbit/s and the bandwidth limit of server instance B is 100 kbit/s. When selecting a link, the
S9700 needs to consider the bandwidth limit of the server instance and server. That is, the total
bandwidth of server instance A and link server B cannot exceed the bandwidth of the server.
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
6 Load Balancing Configuration
214

Advertisement

Table of Contents
loading

Table of Contents