Alteon Application Switch Operating System Application Guide
Server Load Balancing
196
Document
ID:
RDWR-ALOS-V2900_AG1302
Table 23 - Basic Virtual Port-to-Real Port Mapping Configuration Example, page 196
illustrates this example:
In the example, four real servers are used to support a single service (HTTP). Clients access this
service through a virtual server with IP address 192.168.2.100 on virtual port 80. Since each real
server uses two ports (8001 and 8002) for HTTP services, the logical real servers are:
•
192.168.2.1/8001
•
192.168.2.1/8002
•
192.168.2.2/8001
•
192.168.2.2/8002
•
192.168.2.3/8001
•
192.168.2.3/8002
•
192.168.2.4/8001
•
192.168.2.4/8002
Load-Balancing Metric
For each service, a real server is selected using the configured load-balancing metric (hash,
leastconns, minmisses, or roundrobin). To ensure even distribution, once an available server is
selected, Alteon uses the roundrobin metric to choose a real port to receive the incoming
connection.
If the algorithm is leastconns, Alteon sends the incoming connections to the logical real server (real
server IP address/port combination) with the least number of connections.
The
/cfg/slb/virt
command defines the real server TCP or UDP port assigned to a service. By
default, this is the same as the virtual port (service virtual port). If rport is configured to be different
from the virtual port defined in
/cfg/slb/virt
<virtual server number>
/ service
<virtual port>
, Alteon maps the virtual port to the real port.
Note:
To use the single virtual port to multiple rports feature, set this real server port option to 0.
However, you cannot configure multiple services with multiple rports in the same server if the
multiple rport feature is enabled.
Table 23: Basic Virtual Port-to-Real Port Mapping Configuration Example
Domain Name
Virtual Server IP
Address
Ports
Activated
Port Mapping
Real Server IP
Address
www.abcxyz.com 192.168.2.100
80 (HTTP)
8001 (rport 1)
8002 (rport 2)
192.168.2.1 (RIP 1)
192.168.2.2 (RIP 2)
192.168.2.3 (RIP 3
192.168.2.4 (RIP 4)
Содержание Alteon
Страница 2: ...Alteon Application Switch Operating System Application Guide 2 Document ID RDWR ALOS V2900_AG1302 ...
Страница 42: ...Alteon Application Switch Operating System Application Guide Preface 42 Document ID RDWR ALOS V2900_AG1302 ...
Страница 582: ...Alteon Application Switch Operating System Application Guide High Availability 582 Document ID RDWR ALOS V2900_AG1302 ...