Alteon Application Switch Operating System Application Guide
Server Load Balancing
200
Document
ID:
RDWR-ALOS-V2900_AG1302
Example - Enabling Source MAC Substitution for a One-Arm Topology
To set up submac for one arm topology
Direct Access Mode
Direct Access Mode (DAM) allows any client to communicate with any real server's load-balanced
service. Also, with DAM enabled, any number of virtual services can be configured to load balance a
real service.
DAM enables both client and server processing on the same port to handle traffic that requires direct
access to real servers.
The following topics are discussed in this section:
•
Configuring Global Direct Access Mode, page 200
•
Blocking Direct Access Mode on Selected Services, page 201
•
Direct Access Mode Limitations, page 201
Configuring Global Direct Access Mode
To configure Direct Access Mode globally on Alteon
When DAM (
/cfg/slb/adv/direct
) is enabled, any client can communicate with any real server's
load-balanced service. Also, any number of virtual services can be configured to load balance a real
service.
With DAM, traffic that is sent directly to real server IP addresses (instead of the virtual server IP
address) is excluded from load-balancing decisions. The same clients may also communicate to the
virtual server IP address for load-balanced requests.
DAM is necessary for applications such as:
•
Direct access to real servers for management or administration.
•
One real server serving multiple virtual server IP (VIP) addresses.
/cfg/l2/stg 1/off
/cfg/l3/if 1/addr 10.1.1.1/mask 255.255.255.0/en
/cfg/l3/if 2/addr 192.168.1.1/mask 255.255.255.0/en
/cfg/slb/on
/cfg/slb/adv/direct en
/cfg/slb/real 1/rip 192.168.1.101/en/submac en
/cfg/slb/real 2/rip 192.168.1.102/en/submac en
/cfg/slb/group 1/add 1/add 2
/cfg/slb/virt 1/vip 10.1.1.100/en
/cfg/slb/virt 1/service 80/group 1
/cfg/slb/port 1/client en
/cfg/slb/port 1/server en
>> Main# /cfg/slb/adv/direct e
Current Direct Access Mode: disabled
New Direct Access Mode: enabled