4-22
User
Guide

for

the

Cisco

Application

Networking

Manager

5.2
OL-26572-01
Chapter
4






Using

Application

Template

Definitions
Managing
Application

Template

Definitions
</array>
Note
ANM
does

not

display

the

drop-down

list

for

Basic

and

Advanced

viewing

options

when
the
advanced

attribute

is

not

used

in

the

XML

code.
Procedure
Step
1
Choose
Config
>

Global

>

Application

Template

Definitions.
The
Application

Template

Definitions

window

appears,

displaying

the

list

of

existing

templates.
Step
2
Click
Add
(+)
to
begin

creating

a

new

template.
The
Create

New

Template

Definition

di

alog

box

a

ppears.
Step
3
From
the

dialog

box,

do

the

following:
a.
In
the

Application

Type

field,

enter

a

brief

description

of

the

intended

application.
b.
In
the

Version
field,
enter

the
template
version
number.
By

default,

this

field
is
set

to

1.0.
c.
In
the

Description
field,
describe

the
intended
use
of
the

template.
d.
Check
the
Load
Balance

check

box

if

the

configuration

is

to

perform

load

balancing

(it

is

checked
by
default).
If
you

uncheck

the

check

box,

go

to

Step

e.
If
you

check

the

check

box,

do

t

he

following:


From

the

vserver

type

drop-down

list,

choose

the

virtual

server

type:

http,

dns,


ftp,

rdp,
terminated-https,

or


other.


Check

the

Sticky

check

box

to

enable

sticky

(it

is

unchecked

by

default).
If
you

check

the

check

box,

choose

one

of

the

following

from

the

sticky

t

ype

drop-down

list:
ip-sticky,
http-cookie-sticky,

or

http-header-sticky.


Check

the

SSL

check

box

to

include

in

the

template

a

configuration

block

with

an

SSL
termination
proxy

(it

is

unchecked

by

default).
e.
Do
one

of

the

following:


Click

Go

to

Editor

to

open

the

template

editor

and

the

template

base

code,

which

is

configured
with
the

information

that

you

provided.

Go

to

Step

4 .


Click

Cancel

to

return

to

the

The

Application

Template

Definitions

window.
Step
4
Edit
the
code

as

needed.
For
information

about

using

the

ANM

template

editor

to

make

your

edits,

see

the

“Using

t

he

ANM
Template
Editor”

section

on

pa

ge

4-29 .
Step
5
(Optional)
Tag

specific

variable

fields

or

variable

arrays

with

the

advanced

attribute,

which

enables

the
Basic/Advanced
display

feature

when

creating

a

template

instance

that

uses

this

application

template
definition.
When
creating

an

application

template

instance,

the

Basic/Advanced

display

feature

allows

the

user

to
set
the

view

to

Basic,

which

displays

only

the

variable

fields

that

require

their

input.

For

more
information
about

configuring

this

feature,

see

t

he

“Guidelines

and

Restrictions”

section

on

pa

ge

4-21 .