Nortel Networks WEB OS 212777 User Manual

Page 208

Advertising
background image

Web OS 10.0 Application Guide

208

n

Chapter 8: Application Redirection

212777-A, February 2002

6.

Set the real server group metric to

minmisses

.

This setting helps minimize Web cache misses in the event real servers fail or are taken out of
service:

7.

Verify that server processing is disabled on the ports supporting application redirection.

N

OTE

Do not use the “server” setting on a port with Application Redirection enabled. Server

processing is used only with SLB. To disable server processing on the port, use the commands
on the

/cfg/slb/port

menu, as described in Chapter 8 of the Web OS Command Refer-

ence.

8.

Create a filter that will intercept and redirect all client HTTP requests.

The filter must be able to intercept all TCP traffic for the HTTP destination port and must redi-
rect it to the proper port on the real server group:

The

rport

parameter must be configured whenever TCP/UDP protocol traffic is redirected.

The

rport

parameter defines the real server TCP or UDP port to which redirected traffic will

be sent. The port defined by the

rport

parameter is used when performing Layer 4 health

checks of TCP services.

Also, if NAT and proxy addresses are used on the Web switch (see

Step 3 on page 207

), the

rport

parameter must be configured for all application redirection filters. Take care to use

the proper port designation with

rport

: if the transparent proxy operation resides on the host,

the well-known port (80 or “http”) is probably required. If the transparent proxy occurs on the
Web switch, make sure to use the service port required by the specific software package.

See

“IP Proxy Addresses for NAT” on page 213

for more about IP proxy addresses.

>> Real server group 1# metric minmisses

(Metric for minimum cache misses.)

>> SLB port 6# /cfg/slb/filt 2

(Select the menu for Filter 2)

>> Filter 2# sip any

(From any source IP addresses)

>> Filter 2# dip any

(To any destination IP addresses)

>> Filter 2# proto tcp

(For TCP protocol traffic)

>> Filter 2# sport any

(From any source port)

>> Filter 2# dport http

(To an HTTP destination port)

>> Filter 2# action redir

(Set the action for redirection)

>> Filter 2# rport http

(Set the redirection port)

>> Filter 2# group 1

(Select real server group 1)

>> Filter 2# ena

(Enable the filter)

Advertising