beautypg.com

Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 9

background image

Brocade Virtual ADX Server Load Balancing Guide

ix

53-1003247-01

Chapter 5

Layer 7 Content Switching

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .243

Layer 7 content switching. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .243

Enabling CSW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .244
Specifying scan depth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .244
Enabling CSW load balance . . . . . . . . . . . . . . . . . . . . . . . . . . .244
CSW rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .245
CSW policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .250
Explanation of offsets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .265

Sample configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .266

CSW topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .267
Request delete configuration . . . . . . . . . . . . . . . . . . . . . . . . . .267

Layer 7 content switching on HTTP response . . . . . . . . . . . . . . . . . 271

Response header rewrite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Configuring HTTP header response rewrite . . . . . . . . . . . . . . . 271

Using multiple cookies under virtual server port . . . . . . . . . . . . . .273

Configuring multiple unique cookie insertion with
cookie path. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
273
Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274

Server passive cookie persistence . . . . . . . . . . . . . . . . . . . . . . . . .275

Configuring server passive cookie persistence . . . . . . . . . . . . 276
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .278

Server and server port persistence with CSW nested rules. . . . . .279

Configuring server and server port persistence with
CSW nested rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
279
Configuring persist on the nested rule . . . . . . . . . . . . . . . . . . .280
Configuring persist on the real port . . . . . . . . . . . . . . . . . . . . .280

Displaying CSW information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .282

Displaying the statistics for all HTTP content rewrites . . . . . .287
Displaying Layer 7 switching statistics . . . . . . . . . . . . . . . . . . .288

Usage guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .289

Support for large GET requests. . . . . . . . . . . . . . . . . . . . . . . . .290

Miscellaneous Layer 7 switching configurations . . . . . . . . . . . . . .290

Cleaning up all hash buckets . . . . . . . . . . . . . . . . . . . . . . . . . .290
Layer 7 content buffering options. . . . . . . . . . . . . . . . . . . . . . .290
HTTP 1.1 support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .291
Layer 7 CSW pseudo stack client-side retransmission
handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
295
Layer 7 CSW pseudo stack server-side TCP packet
out-of-sequence handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
297

Setting up SSL session ID switching . . . . . . . . . . . . . . . . . . . . . . . .298

Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .301

Command reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .302

rewrite request-delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .302
rewrite request-insert . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .303
rewrite request-replace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .303