7-33
User
Guide

for

the

Cisco

Application

Networking

Manager

5.2
OL-26572-01
Chapter
7






Configuring

Virtual

Servers
Configuring
Virtual

Servers
Step
7
In
the

Primary
Action
field,

choose

the

action

that

the
virtual
server

is

to

perform

on
the
traffic
if
it
matches
the

specified

match

criteria:


Drop—Client
requests
for
content
are
to
be
discarded

when

match

conditions

are

met.

Continue
with
Step

12 .


Fo
r

wa

r

d

—Client

requests
for

content

are

to

be

forwarded

without

performing

load

balancing

on

the
requests
when

match

conditions

are

met.

Continue

with

Step

12 .


Load
Balance—Client
requests
for
content

are

to

be

directed
to
a

server

farm

when

match
conditions
are

met.

Continue

with

Step

9 .


Sticky—Client
requests

for

content

are

to

be

handled

by

a

sticky

group

when

match

conditions

are
met.
Continue

with

Step

10 .
Step
8
(Optional)
From

the

HTTP

Header

Modify

Action

List

drop-down

list,

choose

an

existing

Action

List

or
choose
New

to

display

the

Action

List

configuration

table

and

create

a

new

one.

For

more

information,
see
th

e

“Configuring

an

HTTP

Header

Modify

Action

List”

section

on

pa

ge

14-85 .
Step
9
(Optional)
If

you
chose
Load

Balance
as
the

primary

action,
do
the
following:
a.
In
the

Server

Farm

field,

choose

the

primary

server

farm

to

use

for

load

balancing,

or

choose
*New*
to
configure

a

new

server

farm

(see

Ta

b

l

e


7-13 ).
If
you

chose

an

existing

object

in

this

field,

you

can

view,

modify,

or

duplicate

the

selected

object’s
existing
configuration.

See

the

“Shared

Objects

and

Virtual

Servers”

section

on

page

7-9

for

more
information
about

modifying

shared

objects

in

vi

rtual

ser

vers.
HTTP
URL
Condition
that

indicates

that

the

ACE

is

to

perform

regular

expression

matching

against

the
received
packet

data

from

a

particular

connection

based

on

the

HTTP

URL

string.
a.
In
the

URL

Expression
field,
enter

a

URL,

or

por

tion

of

a

U

RL,
to
match.

Valid

entries

ar

e
URL
strings

fr

om

1

t

o

255

al

phanumeric

characters.

Include

onl

y

t

he

portion

of

the

URL
following
www.hostname.domain

in

the

match

statement.

For

example,

in

the

URL
www.anydomain.com/latest/whatsnew.html,
include

only

/latest/whatsnew.html.

To

match

the
www.anydomain.com
portion,

the

URL

string

can

take

the

form

of

a

URL

regular

expression.
The
ACE

supports

regular

expressions

for

matching

URL

strings.

Ta

b

l

e


14-33

lists

the
supported
characters

that

you

can

use

in

regular

expressions.
b.
In
the

Method

Expression

field,

enter

the

HTTP

method

to

match.

Valid

entries

are

unquoted
text
strings

with

no

spa

ces

and

a

ma

ximum

of

15


alphanumeric

characters.

The

method

can
either
be

one

of

the

standard

HTTP

1.1

method

names

(OPTIONS,

GET,

HEAD,

POST,

PUT,
DELETE,
TRACE,

or

CONNECT)

or

a

text

string

that

must

be

matched

exactly

(for

example,
CORVETTE).
Source
Address
Client
source

IP

address

used

for

the

match

condition.
a.
In
the

Source

Address

field,
enter

the

source

IP

address
of
the

client.

Enter

the

IP

address
in
dotted-decimal
notation

(f

or

example,

192.168.11.2).
b.
In
the

Source

Netmask

field,

choose

the
subnet
mask
to

apply

t

o
the
sour

ce

IP

address.
Table
7-12
Layer
7

HTTP/HTTPS

Load-Balancing

Conditions

and

Options

(continued)
Match
Condition
Action