Specifications
Configuring Load Sharing Network Address Translation (LSNAT) faildetect (real server)
19-14 LSNAT Configuration
Parameters
Defaults
Ifnotspecified,pingwillbechosenasthefaildetectiontype.UnlesstheUDPoptionisspecified,
appdefaultstoTCP.
Mode
Routercommand,SLBRealServerConfigurationmode:Matrix>Router(config‐slb‐real)#
Usage
The“no”formofthiscommandresetsthefaildetectionconfigurationparameterstodefault
values.
Examples
Thisexampleshowshowtosetthepingintervalto10secondsandtheretrynumberto6forthe
realserveratIP10.1.2.3inthe“httpserver”serverfarm:
Matrix>Router(config)#ip slb serverfarm httpserver
Matrix>Router(config-slb-sfarm)#real 10.1.2.3 port 80
Matrix>Router(config-slb-real)#faildetect ping-int 10 ping-retries 6
Matrix>Router(config-slb-real)#inservice
ThisexamplesetstheapptypetoUPDforthe real serveratIP10.1.2.4inthe“SF‐UDP”server
farm:
Matrix>Router(config)#ip slb serverfarm SF-UPD
Matrix>Router(config-slb-sfarm)#real 10.1.2.4 port 7
typeboth|ping|
app[upd]|acv[udp]
Specifiesthatthefailuredetectionmechanismwillbeping,TCPorUDP
application,ACV,orthatbothapplicationTCPand pingmethodswill
beusedasfollows:
• acv‐Setorresetautocommandverificationasthefaildetect
mechanism
•
app‐Setorresetapplicationportmonitoringasthefaildetect
mechanism
• both‐SetorresetpingandapplicationTCPasthefaildetect
mechanisms
• ping‐Setorresetpingasthefaildetectmechanism
Thepingtypedetermineswhetherofnotarealserverinaserverfarm
willbe
pingedforconnectivitybeforebeingselectedasapotential
LSNATserver.ApplicationandACVdefaulttoTCP.Youcanoptionally
specifyUDPforeachtype.
ping‐intseconds Specifies anICMPpingfailuredetectionintervalinseconds.Valid
valuesare1‐200.Defaultis5seconds.
ping‐retriesnumber Specifiesthe
numberoftimesanICMPpingfailurewillresultinaretry.
Validvaluesare1‐200.Defaultis4.
app‐intseconds Specifiesanapplicationfailuredetectionintervalinseconds.Defaultis
15seconds.
app‐retriesnumber SpecifiesthenumberoftimesaTCPapplicationfailurewillresultina
retrial.
Defaultis3.