Specifications

LSNAT Overview
September 8, 2010 Page 7 of 28
Ping
Realserverfailuredetectioncanbeconfiguredforpingonly.Inthiscase,therealserverispinged
beforeasessioniscreated.
TCP/UDP Port Service Verification
TCPportserviceverificationcanbeenabledononeormoreloadbalancingservers.Aconnect
requestissentouttotheserverport.IftheconnectrequestsucceedsthenLSNATknowstheserver
isup.YoucanconfigureTCPfailuredetectionforbothpingandTCPportserviceverification.
UPD
portserviceverificationcanbeenabledononeormoreloadbalancingservers.LSNAT
accomplishesthisbysendingaUDPpacketwith“\r\n”(CarriageReturn/LineFeed)asdatato
theUDPport.IftheserverrespondswithanICMP“PortUnreachable”message,itisconcluded
thattheportis
notactiveandtheserverisreportedas“DOWN”.Otherwise,iftheLSNATrouter
eithergetsdataback fromtherequesttotheserverordoesnotgetanyresponseatall,itis
assumedthattheportisactiveandtheserverisreportedas“UP”.Thelackof
aresponsecould
alsobetheresultoftheserveritselfnotbeingavailableandcouldproduceanerroneousindication
oftheserverbeing“UP”.ToavoidthiswhenrequestingaUDPapplicationonaUDPport,an
ICMPpingisissuedfirsttoensurethattheserverisavailablebefore
submittingtheUDP
applicationrequest.
Application Content Verification
ApplicationContentVerification(ACV)canbeenabledonaporttoverifythecontentofan
applicationononeormoreloadbalancingservers.ACVisamethodofensuringthatdatacoming
fromyourserversremainsintactanddoesnotchangewithoutyourknowledge.ACVcan
simultaneouslyprotectagainstserver
outages,accidental filemodificationordeletion,andservers
whosesecurityhasbeencompromised.Byitsnature,ACVisprotocolindependentandis
designedtoworkwithanytypeofserverthatcommunicatesviaformattedASCIItextmessages,
includingHTTP,FTP,andSMTP.ForACVverification,youspecifythefollowing :
•Astring
thattheroutersendstoasingleserver.ThestringcanbeasimpleHTTPcommandto
getaspecificHTMLpage,oritcanbeacommandtoexecuteauserdefinedCGIscriptthat
teststheoperationoftheapplication.
•Thereplythattheapplicationoneachserversends
backisusedbytheroutertovalidatethe
content.InthecasewhereaspecificHTMLpageisretrieved,thereplycanbeastringthat
appearsonthepage,suchas“OK”.IfaCGIscriptisexecutedontheserver,itshouldreturna
specificresponse(for
example,“OK”)thattheroutercanverify.
ACVworksbysendingacommandtoyourserverandsearchingtheresponseforacertainstring.
Ifitfindsthestring,theserverismarkedasUp.Ifthestringisnotfound,the serverismarkedas
Down.
Forexample,ifyou
sentthefollowingstringtoyourHTTPserver,“HEAD/
HTTP/1.1\\r\\nHost:www.enterasys.com\\r\\n\\r\\n”,youcouldexpecttogetaresponseof
areturnedstringsimilartothefollowing:
HTTP/1.1 200 OK
Date: Tue, 11 Dec 2007 20:03:40 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Last-Modified: Wed, 19 Sep 2007 13:56:03 GMT
ETag: “297bc-b52-65f942c0”
Accept-Ranges: bytes
Content-Length: 2898