predictor Configuring Load Sharing Network Address Translation (LSNAT)
Enterasys Matrix DFE-Gold Series Configuration Guide 19-9
Defaults
None.
Mode
Routercommand,SLBServerFarmConfigurat ionmode:Matrix>Router(config‐slb‐sfarm)#
Usage
Forbackwardscompatibility,enteringaportnumberisoptionalforTCP sessionpersistenceonly.
However,therecommendedprocedureistoalwaysconfigureaportnumberforarealserver.
Allrealserversinthesameserverfarmshouldbeconfiguredtousethesameport.
The“no”formofthiscommandremoves
theserverfromtheserverfarm.
Example
Thisexampleshowshowtoaddarealserver10.1.2.3totheserverfarmnamed“httpserver”and
toconfiguretheportnumbertobeusedfortheserviceprovidedbythisserver:
Matrix>Router(config)#ip slb serverfarm httpserver
Matrix>Router(config-slb-sfarm)#real 10.1.2.3 port 80
Matrix>Router(config-slb-real)#
predictor
Usethiscommandtospecifywhichloadbalancingalgorithmtouseforselectingareal serverin
anLSNATserverfarm.
Syntax
predictor [roundrobin | leastconns]
no predictor
Parameters
Defaults
Ifnotspecified,RoundRobinwillbeusedastheselectionalgorithm.
Mode
Routercommand,SLBServerFarmConfigurat ionmode:Matrix>Router(config‐slb‐sfarm)#
Usage
The“no”formofthiscommandresetstheselectionalgorithmtoRoundRobin.
roundrobin|
leastconns
(Optional)SpecifiesRoundRobinorLeastConnectionsastheselection
algorithm.