Example For Configuring Layer 3 Server Load Balancing In Dmac Mode - 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
6.6.2 Example for Configuring Layer 3 Server Load Balancing in
DMAC Mode
This section describes how to configure Layer 3 server load balancing in DMAC mode to
improve service processing capabilities of servers.
Networking Requirements
As shown in
four servers, which constitute a server group. The load balancing group provides DNS services
through a virtual IP address. The user IP address is 10.10.10.2, the virtual IP address is
20.20.20.200:80, and the IP addresses of the four servers of Server A, Server B, Server C, and
Server D are 20.20.20.1:80, 20.20.20.2:4002, 20.20.20.3:80, and 20.20.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
Switch B is connected to GE 3/0/0 and GE 3/0/1 of Switch A and the SPU is installed in slot 5
of Switch A.
The destination IP address of the external network that the user wants to access is 60.60.60.1/24.
Issue 01 (2012-03-15)
#
load-balance group linkgroup1
forward-mode redirect
member isp1
inservice
member isp2
inservice
probe probe1
#
load-balance action act1
group linkgroup1
#
load-balance l7classifier l7cls1
match any
#
load-balance ip interface XGigabitEthernet0/0/1.2
#
load-balance l3classifier l3cls1
l7classifier l7cls1 action act1
if-match acl 3000
#
load-balance policy lbp1
l3classifier l3cls1
#
return
Figure
6-9, an internal network user accesses external network servers. There are
The server with greater processing capabilities receives more service requests.
Switch B returns the response packets of servers to users.
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
238

Advertisement

Table of Contents
loading

Table of Contents