Specifications
Configuring LSNAT
September 8, 2010 Page 12 of 28
•WhendifferentVIPsaccessthesamerealserverindifferentserverfarms,thepersistencelevel
mustbesetthesame.
Inordertousestickiness,thefollowingconfigurationcriteriaarerequired:
•Stickinessmustbeconfiguredforthevirtualserver.
•Therealserversinthisserverfarmaretobeusedforall
services.Theserversarenotallowed
tobeusedwithotherserverfarmstosupportothervirtualserverservices.Thereisone
exceptiontothisrule,describedinthenextbulletitem.
•StickinessmeansallTCPportsorallUDPportsonthevirtualserveraresupported,butnot
both.You
cancreatetwovirtualserverswitheitherthesameIPaddressanddifferentports,or
differentIPaddresses(oneforTCPprotocols/portsandoneforUDPprotocols/ports)anduse
thesamerealservers(withdifferentserverfarmnames).ThatwayallTCPandUDPportsare
supportedbythesameset
ofrealservers.
•Port0inthevirtualserverhastobeusedtosupportthisserviceandisreservedforthis
purpose.
Configuring an LSNAT Server Farm
Procedure 1describeshowtoconfigureanLSNATserverfarm.
Configuring an LSNAT Real Server
Procedure 2describeshowtoconfigureanLSNATrealserver.
Procedure 1 LSNAT Server Farm Configuration
Step Task Command(s)
1. In global router configuration command mode,
specify a name for this server farm.
ip slb serverfarm serverfarmname
2. In SLB server farm configuration command
mode, specify the load balancing algorithm for
this server farm.
predictor [roundrobin | leastconns]
3. In SLB server farm configuration command
mode, enable the this server farm. The default
setting for server farms is inservice.
inservice
Procedure 2 Configuring an LSNAT Real Server
Step Task Command(s)
1. In SLB server farm configuration command
mode, configure the real server members for this
server farm and enter real server configuration
command mode.
real ip-address [port number]
2. In SLB real server configuration command
mode, optionally configure the error handling on
this real server.
faildetect {type {both | ping | app [tcp | udp]
| acv [tcp | udp] | none}} | ping-int seconds
ping-retries number | app-int seconds
app-retries number