53-1002435-01January, 2012®ServerIron ADXAdvanced Server Load Balancing GuideSupporting Brocade ServerIron ADX version 12.4.00
x ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01For readability, command names in the narrative portions of this guide are presented
88 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Sample configurations2Defining the cache groupsA cache group is a collection of Ser
ServerIron ADX Advanced Server Load Balancing Guide 8953-1002435-01Sample configurations2Traffic entering from a BAR destined for a RAS is not cached
90 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Sample configurations2Policy-based cachingPolicy-based caching enables you to selec
ServerIron ADX Advanced Server Load Balancing Guide 9153-1002435-01Sample configurations2Policy based caching configurationThe following configuration
92 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Sample configurations2NOTEEven when use the FastCache feature, the ServerIron ADX s
ServerIron ADX Advanced Server Load Balancing Guide 9353-1002435-01Sample configurations2To prevent this situation from occurring:• Define the other i
94 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Sample configurations2FIGURE 24 Configuration using policy-based Cache Failover (CF
ServerIron ADX Advanced Server Load Balancing Guide 9553-1002435-01Sample configurations2TCS with reverse proxyTCS with reverse proxy relieves clients
96 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Sample configurations2As shown in Figure 25, some clients’ web browsers are configu
ServerIron ADX Advanced Server Load Balancing Guide 9753-1002435-01High availability designs with TCS2ServerIronADX(config)# server virtual-name-or-ip
ServerIron ADX Advanced Server Load Balancing Guide xi53-1002435-01Notice to the readerThis document may contain references to the trademarks of the f
98 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01High availability designs with TCS2Layer 3 basic TCS configurationFigure 26 illustr
ServerIron ADX Advanced Server Load Balancing Guide 9953-1002435-01High availability designs with TCS2ServerIronADX(config)# ip l4-policy 1 cache tcp
100 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01High availability designs with TCS2ServerIronADX(config)# vlan 16 by portServerIro
ServerIron ADX Advanced Server Load Balancing Guide 10153-1002435-01High availability designs with TCS2ServerIronADX(config)# vlan 100 by portServerIr
102 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01High availability designs with TCS2ServerIronADX(config)# router vrrp-extendedServ
ServerIron ADX Advanced Server Load Balancing Guide 10353-1002435-01High availability designs with TCS2ServerIronADX(config-ve-1-vrid-1)# ip-address 1
104 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01High availability designs with TCS2ServerIronADX(config)# vlan 500 by portServerIr
ServerIron ADX Advanced Server Load Balancing Guide 10553-1002435-01High availability designs with TCS2Layer 3 Sym-Active SLB with TCSFigure 29 illust
106 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01High availability designs with TCS2NetIron(config)# vlan 23 by portNetIron(config-
ServerIron ADX Advanced Server Load Balancing Guide 10753-1002435-01High availability designs with TCS2ServerIronADX(config-ve-1-vrid-5)# track-port e
xii ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Web accessThe Knowledge Portal (KP) contains the latest version of this guide and
108 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01High availability designs with TCS2ServerIronADX(config-rs-rs29)# port http url &q
ServerIron ADX Advanced Server Load Balancing Guide 10953-1002435-01High availability designs with TCS2ServerIronADX(config)# server virtual-name-or-i
110 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01High availability designs with TCS2NetIron(config-ve-1-vrid-3)# ip-address 172.1.1
ServerIron ADX Advanced Server Load Balancing Guide 11153-1002435-01High availability designs with TCS2ServerIronADX(config-ve-1-vrid-6)# track-port e
112 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01High availability designs with TCS2ServerIronADX(config-rs-rs30)# port http url &q
ServerIron ADX Advanced Server Load Balancing Guide 11353-1002435-01High availability designs with TCS2ServerIronADX(config)# server virtual-name-or-i
114 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01High availability designs with TCS2Configuring Router R1The following commands con
ServerIron ADX Advanced Server Load Balancing Guide 11553-1002435-01High availability designs with TCS2ServerIronADX(config)# vlan 13 by portServerIro
116 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Interoperability issues with cache servers2Interoperability issues with cache serv
ServerIron ADX Advanced Server Load Balancing Guide 11753-1002435-01Cache Persistence using URL Hashing2On this page, disable IP Fast Output. When thi
ServerIron ADX Advanced Server Load Balancing Guide 153-1002435-01Chapter1SIP Server Load BalancingSIP OverviewThe Session Initiation Protocol (SIP) i
118 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Cache Persistence using URL Hashing21. Get http://login.yahoo.com/config/mail?.src
ServerIron ADX Advanced Server Load Balancing Guide 11953-1002435-01Cache Persistence using URL Hashing2NOTESince hash-persist action is a secondary a
120 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Cache Persistence using URL Hashing2With this command, the third step is for the s
ServerIron ADX Advanced Server Load Balancing Guide 12153-1002435-01Cache Persistence using URL Hashing2ServerIronADX(config-csw-p1)# match r1 forward
122 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Cache Persistence using URL Hashing2system will start the second step. The second
ServerIron ADX Advanced Server Load Balancing Guide 12353-1002435-01Cache Persistence using URL Hashing2ServerIronADX(config-csw-p1)# match r1 hash-pe
124 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Cache Persistence using URL Hashing2ServerIron ADX supports multiple pattern searc
2 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01SIP Overview1This example shows packet exchange between two SIP clients, also known
ServerIron ADX Advanced Server Load Balancing Guide 353-1002435-01SIP Overview1 Content-Length: 142Since User1's SIP phone does not know the
4 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01SIP Overview1SIP client registrationRegistration is another common SIP operation. Re
ServerIron ADX Advanced Server Load Balancing Guide 553-1002435-01SIP Overview1SIP message headersThis section describes SIP message headers that you
6 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01SIP SLB and Call Persistence using ServerIron ADX1Max-ForwardsThe Max-Forwards heade
ServerIron ADX Advanced Server Load Balancing Guide 753-1002435-01SIP SLB and Call Persistence using ServerIron ADX1• Proxy • Redirect • RegistrarThe
© 2012 Brocade Communications Systems, Inc. All Rights Reserved. Brocade, Brocade Assurance, the B-wing symbol, DCX, Fabric OS, MLX, SAN Health, VCS,
8 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01SIP SLB and Call Persistence using ServerIron ADX1FIGURE 3 SIP server farm with DSR
ServerIron ADX Advanced Server Load Balancing Guide 953-1002435-01SIP SLB and Call Persistence using ServerIron ADX1NOTEThe proxy server's IP add
10 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01SIP SLB and Call Persistence using ServerIron ADX1FIGURE 5 SIP Server Load Balancin
ServerIron ADX Advanced Server Load Balancing Guide 1153-1002435-01Configuring SIP SLB1SIP server health monitoringThere are two types of SIP servers
12 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring SIP SLB1• sip-proxy-server— Identifies the server as SIP proxy server.•
ServerIron ADX Advanced Server Load Balancing Guide 1353-1002435-01Configuring SIP SLB1NOTEYou can specify SIP port number 5060 or the keyword SIP.3.
14 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring SIP SLB1Configure a SIP virtual serverFollow the steps given below to c
ServerIron ADX Advanced Server Load Balancing Guide 1553-1002435-01Configuring SIP SLB1SIP stateless sample configurationLoad Balancing SIP over UDP (
16 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring SIP SLB1Configure max number of SIP sessionsServerIronADX(config)# serv
ServerIron ADX Advanced Server Load Balancing Guide 1753-1002435-01Configuring SIP SLB1Example show sip session all detailServerIronADX# show sip sess
ServerIron ADX Advanced Server Load Balancing Guideiii53-1002435-01
18 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring SIP SLB1show sip session infoServerIronADX# show sip session infoSyntax
ServerIron ADX Advanced Server Load Balancing Guide 1953-1002435-01Configuring SIP SLB1SIP Stateful sample configurationLoad Balancing SIP over TCPLik
20 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring SIP SLB1FIGURE 6 Single TCP connection for each SIP requestClient side:
ServerIron ADX Advanced Server Load Balancing Guide 2153-1002435-01Configuring SIP SLB1FIGURE 7 Reuse of TCP connectionServer side connection: With so
22 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring SIP SLB1Connection handling with SIP requestsinitiated by proxy server
ServerIron ADX Advanced Server Load Balancing Guide 2353-1002435-01Configuring SIP SLB1Use the following command to configure the maximum number of TC
24 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring SIP SLB1Enter the following command.ServerIronADX(config-rs-sip)# sip a
ServerIron ADX Advanced Server Load Balancing Guide 2553-1002435-01Configuring SIP SLB1ServerIronADX(config)#server virtual vs-sip 172.28.8.100ServerI
26 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring SIP SLB1Rehashing the SIP hash tableThis section describes the commands
ServerIron ADX Advanced Server Load Balancing Guide 2753-1002435-01Configuring SIP SLB1Example Displaying SIP virtual server connection rateUse the sh
ivServerIron ADX Advanced Server Load Balancing Guide53-1002435-01
28 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring SIP SLB1NOTE This command is not required when ServerIron is configured
ServerIron ADX Advanced Server Load Balancing Guide 2953-1002435-01Configuring SIP SLB1Debug SIP TCP connectionSyntax: show sip debug tcp-connectionDe
30 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01SIP SLB command reference1SIP SLB command referenceThis section describes the synta
ServerIron ADX Advanced Server Load Balancing Guide 3153-1002435-01SIP SLB command reference1• sip-both-registrar-proxy-server— Identifies the server
32 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01SIP SLB command reference1
ServerIron ADX Advanced Server Load Balancing Guide 3353-1002435-01Chapter2Transparent Cache SwitchingTCS OverviewTransparent Cache Switching (TCS) al
34 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01TCS Overview2FIGURE 9 Logical representation of transparent cachingFour cache serve
ServerIron ADX Advanced Server Load Balancing Guide 3553-1002435-01TCS Overview2The cache server determines how the web query will be handled by pulli
36 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Sample Deployment Topologies2Advanced statisticsOur TCS implementation provides the
ServerIron ADX Advanced Server Load Balancing Guide 3753-1002435-01Sample Deployment Topologies2The following table lists the entries that need to be
ServerIron ADX Advanced Server Load Balancing Guide v53-1002435-01ContentsAbout This DocumentAudience . . . . . . . . . . . . . . . . . . . . . . . .
38 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Sample Deployment Topologies2In flow 1b, the ServerIron changes the destination add
ServerIron ADX Advanced Server Load Balancing Guide 3953-1002435-01Sample Deployment Topologies2In flow 1b, the ServerIron ADX changes the source addr
40 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring TCS2The following table lists the entries that need to be programmed in
ServerIron ADX Advanced Server Load Balancing Guide 4153-1002435-01Configuring TCS2• You must apply an IP policy to redirect Internet traffic to the c
42 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring TCS2NOTEWhere a non-well-known port is configured for the <portname
ServerIron ADX Advanced Server Load Balancing Guide 4353-1002435-01Configuring TCS2Assigning web cache servers to cache groupsTCS requires all cache s
44 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Configuring TCS2Enabling TCSWhen TCS is enabled, the feature detects web traffic ad
ServerIron ADX Advanced Server Load Balancing Guide 4553-1002435-01Other TCS options2In the following example, the ip policy command is configured to
46 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Other TCS options2Removing an interface from a cache groupYou can remove an interfa
ServerIron ADX Advanced Server Load Balancing Guide 4753-1002435-01Other TCS options2Syntax: [no] server cache-router-offloadNOTEFTP is not supported
vi ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Sample Deployment Topologies. . . . . . . . . . . . . . . . . . . . . . . . . . . .
48 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Other TCS options2You can reduce the burden on the BAR by enabling CRO. This featu
ServerIron ADX Advanced Server Load Balancing Guide 4953-1002435-01Other TCS options2• The BAR does not send an ICMP redirect in this case, as you mig
50 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Other TCS options2When the cache server transmits the next packet, the ServerIron A
ServerIron ADX Advanced Server Load Balancing Guide 5153-1002435-01Other TCS options2However, if the time since the last packet the ServerIron ADX sen
52 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Other TCS options2ServerIronADX(config)# server cache-group 1ServerIronADX(config-t
ServerIron ADX Advanced Server Load Balancing Guide 5353-1002435-01Other TCS options2ServerIronADX(config-rs-server1)# port http url “HEAD/”ServerIron
54 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Other TCS options2NOTEIf you configure the ServerIron ADX for Server Load Balancing
ServerIron ADX Advanced Server Load Balancing Guide 5553-1002435-01Other TCS options2• "AND" the destination IPv6 address and destination IP
56 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Other TCS options2Increasing the TCS hash bucket countThe ServerIron ADX supports 2
ServerIron ADX Advanced Server Load Balancing Guide 5753-1002435-01Other TCS options2Configuring an increased hash bucket countYou can set the size of
ServerIron ADX Advanced Server Load Balancing Guide vii53-1002435-01Sample configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
58 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Other TCS options2NOTEYou cannot use the cache server spoofing feature with the Rev
ServerIron ADX Advanced Server Load Balancing Guide 5953-1002435-01Other TCS options2Syntax: show cache-groupConfiguring maximum connections for a cac
60 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Other TCS options2Optionally, you can direct the ServerIron ADX to send client requ
ServerIron ADX Advanced Server Load Balancing Guide 6153-1002435-01Other TCS options2Setting the cache server weightYou can assign a performance weigh
62 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Other TCS options2This example assumes that a source IP address is configured and S
ServerIron ADX Advanced Server Load Balancing Guide 6353-1002435-01Other TCS options2This option is simple because it does not require any configurati
64 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Other TCS options2Traffic flow of passive FTPUsing normal or passive FTP, a client
ServerIron ADX Advanced Server Load Balancing Guide 6553-1002435-01Other TCS options2TCS with spoofingIn Figure 14, the cache server is spoofing the c
66 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Other TCS options2Asymmetric flowThe control and data traffic between a client and
ServerIron ADX Advanced Server Load Balancing Guide 6753-1002435-01Policy based caching2Enabling passive FTP cachingThere is no specific CLI command t
viii ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01
68 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Policy based caching2Creating a set of filters using access-listFirst create a set
ServerIron ADX Advanced Server Load Balancing Guide 6953-1002435-01Policy based caching2The <acl-id>variable specifies the ID of the IPv4 or IPv
70 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Content aware cache switching2Content aware cache switchingContent aware cache swit
ServerIron ADX Advanced Server Load Balancing Guide 7153-1002435-01Content aware cache switching2Basic example of content aware cache switchingThe dia
72 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Content aware cache switching21. Since the URL ends with "gif", the CSW p
ServerIron ADX Advanced Server Load Balancing Guide 7353-1002435-01Content aware cache switching2Syntax: csw-rule r1 url prefix | suffix | pattern&quo
74 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Content aware cache switching2A server group can contain one or more cache servers.
ServerIron ADX Advanced Server Load Balancing Guide 7553-1002435-01Content aware cache switching2Configuring policies for dynamic contentFor dynamic W
76 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Content aware cache switching2FIGURE 20 Sending requests for Active Server Pages to
ServerIron ADX Advanced Server Load Balancing Guide 7753-1002435-01Content aware cache switching2ServerIronADX(config)# csw-rule r1 url pattern “asp”
ServerIron ADX Advanced Server Load Balancing Guide ix53-1002435-01About This DocumentAudienceThis document is designed for system administrators with
78 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Content aware cache switching2state machine to track HTTP request/response transact
ServerIron ADX Advanced Server Load Balancing Guide 7953-1002435-01Content aware cache switching2Syntax: show server proxy keep-aliveThe fields descri
80 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Traffic Distribution based on Cache Server Capacity2Traffic Distribution based on C
ServerIron ADX Advanced Server Load Balancing Guide 8153-1002435-01Traffic Distribution based on Cache Server Capacity2Configuring SNMP-based Cache Se
82 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Traffic Distribution based on Cache Server Capacity2ServerIronADX(config-tc-1)# has
ServerIron ADX Advanced Server Load Balancing Guide 8353-1002435-01Displaying cache information2Displaying cache informationTo display cache informati
84 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Displaying cache information2Hash_info The source and destination mask for the cach
ServerIron ADX Advanced Server Load Balancing Guide 8553-1002435-01Displaying cache information2TotConn The total number of connections between hosts
86 ServerIron ADX Advanced Server Load Balancing Guide53-1002435-01Sample configurations2Sample configurationsBasic TCS configurationFigure 21 shows a
ServerIron ADX Advanced Server Load Balancing Guide 8753-1002435-01Sample configurations2In a transparent caching scheme, the ServerIron ADX acts as t
Comments to this Manuals