Specifications
LSNAT Overview
September 8, 2010 Page 6 of 28
configuredwiththedefaultweight,eachrealserveristreatedequallyasdescribedinthesimple
roundrobin.Whenanon‐defaultweightisappliedtoanyrealserversintheserverfarm,the
algorithmtakesthatweightintoaccountwhenassigningsessionstotherealservers.
Considerthefollowingexample.
Aserverfarmcontainsthreerealserverswiththefollowing
weights:serverAhasaweightof1,serverBhasaweightof2,andserverChasaweightof3.For
eachsix(thesumofthethreeweights)activesessions,serverAwillbeassigned
1session,serverB
willbeassigned2sessions,andserverCwillbeassigned3sessionsinaroundrobinfashion.For
thisexample,theweightratiobetweenthethreeserverswouldbe1:2:3.
Least Connections
Theleastconnectionsalgorithmalwaysassignsthenextsessiontotheserverwiththeleast
numberofactivesessionscurrentlyassigned.
Stickiness
StickinessreferstotheabilityofavirtualservertoassociatetheclientsourceIPaddress(and
optionally,destinationIPanddestinationUDP/TCPportnumber)IPnetworktupleinformationto
arealserver.
Avirtualserverusingstickinesswillcreateastickyentrywhenitcreatesabinding.Thesticky
entry
containsamappingoftheIPnetworktupleinformationandtherealserverthatwas
selected.Thebindingscancomeandgobutthestickyentriespersistusingaseparateidletimer.
Whenanewrequestisprocessedbyavirtualserver,thestickytableischeckedforanentry
matching
thevirtualserverʹsstickytype.Ifanentryisfound,thentheloadbalancingalgorithmis
skippedandtherequestismappedtothestickyentry’sindica ted real server.
Inthiswayavirtualserverassociatesparticularclientstoarealserverforaslongasthesticky
entryremains
inthetable.
Astickyentrywillonlystartagingwhenithasnoassociatedbindings.
The Real Server
Arealserverisanactualphysicalserverthatisamemberofaserverfarm.Oncearealserver
becomesamemberofaserverfarm,youmustenableitforservice.Allotherrealserver
configurationsareoptional.
Realserversmaybelongtomultipleserverfarms.Eachserverfarm
isaccessedbyauniquevirtual
server.TheLSNATrouterwillapplytheloadbalancingalgorithmfortheserverfarmassociated
withthissession.Thevirtualserverconfigurationcontainstheoptionalstickypersistence
configurationforthissession.
Eachrealservercanbeoptionallyconfiguredforfailuredetection,maximumnumberofactive
connections,andrealserverweightusedbytheweightedroundrobinloadbalancing algorithm.
Failure Detection
ItisimportantforLSNATtoknowwhetheraserverisdownsoitcanberemovedfromtheserver
selectionprocess.Thereareanumberofmethodstodeterminewhetherarealserverisupor
downbeforebeingselectedforapotentialLSNATsession:
• Ping‐Therealserver
ispinged.
•TCP/UDPPortServiceVerification‐Theapplicationserviceportisverified.
• ApplicationContentVerification(ACV)‐Thecontentofanapplicationisverified.