Specifications

LSNAT Configuration Example
September 8, 2010 Page 19 of 28
Configuring the myproductHTTP Server Farm and Real Servers
ConfigurethemyproductHTTPserverfarmby:
•NamingtheserverfarmmyproductHTTP
Configuringroundrobinastheloadbalancingalgorithmforthisserverfarm(weightwillbe
configuredduringrealserverconfiguration)
ConfiguretherealserversonthemyproductHTTPserverfarmby:
Configuringthefollowingrealservers:10.10.10.1:80,10.10.10.2:80,and10.10.10.3:80
Configuringthe
HTTPserversforApplication ContentVerificationTCPerrorhandling
Configuringafaildetectcommandstring,replystring,andreadtillindexvalueforeachHTTP
server
Configuringweightforeachrealserver
•Enablingeachrealserverbyplacingeachserverinservice
myproductHTTP Server Farm and Real Server CLI Input
System(rw)->configure
System(rw-config)->ip slb serverfarm myproductHTTP
System(rw-config-slb-sfarm)->predictor roundrobin
System(rw-config-slb-sfarm)->real 10.10.10.1 port 80
System(rw-config-slb-real)->faildetect type acv
System(rw-config-slb-real)->faildetect acv-command “HEAD / HTTP/1.1\\r\\nHost:
www.myproduct.com\\r\\n\\r\\n”
System(rw-config-slb-real)->faildetect acv-reply “200 OK”
System(rw-config-slb-real)->faildetect read-till-index 100
System(rw-config-slb-real)->weight 3
System(rw-config-slb-real)->inservice
System(rw-config-slb-real)->exit
System(rw-config-slb-sfarm)->real 10.10.10.2 port 80
System(rw-config-slb-real)->faildetect type acv
System(rw-config-slb-real)->faildetect acv-command “HEAD / HTTP/1.1\\r\\nHost:
www.myproduct.com\\r\\n\\r\\n”
System(rw-config-slb-real)->faildetect acv-reply “200 OK”
System(rw-config-slb-real)->faildetect read-till-index 100
System(rw-config-slb-real)->weight 2
System(rw-config-slb-real)->inservice
System(rw-config-slb-real)->exit
System(rw-config-slb-sfarm)->real 10.10.10.3 port 80
System(rw-config-slb-real)->faildetect type acv
Note: We will not modify the maximum number of active connections allowed on any real server for
this configuration example.