16-5
User
Guide
for
the
Cisco
Application
Networking
Manager
5.2
OL-26572-01
Chapte
r
16
Using
Configuration
Building
Blocks
Enabling
the
Building
Block
Feature
Enabling
the
Building
Block
Feature
Beginning
with
ANM
software
Version
5.1,
the
building
block
feature
by
default
is
hidden
because
it
has
been
replaced
with
the
application
template
feature
introduced
in
the
same
release.
The
application
template
feature
pr
ovides
a
more
efficient
and
easier
way
of
configuring
ACE
devices
(see
Chapter
4,
“Using
Application
Template
Definitions”
)
.
If
you
have
used
the
building
block
feature
in
the
past
and
want
to
continuing
using
it
after
upgrading
to
ANM
5.1,
you
must
enable
it.
This
procedure
shows
how
to
enable
the
building
block
feature
on
ANM
server
and
ANM
Virtual
Appliance.
Procedure
Step
1
Enable
the
building
bl
ock
feature
as
follows:
•
ANM
Server—Open
the
/opt/CSCOanm/etc/cs-config.properties
file
in
a
text
editor
and
add
the
following
line:
web.buildingblocks.enable=true
•
ANM
Virtual
Appliance—Enter
the
following
command:
anm-property
set
web.buildingblocks.enable
true
Step
2
Restart
ANM
as
fo
llows:
•
ANM
Server—Enter
the
following
command:
/opt/CSCOanm/bin/anm-tool
restart
•
ANM
Virtual
Appliance—Enter
the
following
command:
anm-tool
restart
Step
3
From
the
ANM
client
devices,
close
all
open
ANM
browser
instances,
clear
the
browser
cache,
and
log
in
again.
Failure
to
clear
the
browser
cache
after
enabling
the
building
block
feature
can
result
in
the
Extract
Building
Block
function
buttons
not
displaying.
Creating
Building
Blocks
Use
t
his
procedure
t
o
create
a
building
bl
ock
without
using
an
existing
configuration.
To
create
a
building
block
from
an
existing
virtual
context,
see
Extracting
Building
Blocks
from
Virtual
Contexts,
page
16-6
.
Procedure
Step
1
Choose
Config
>
Building
Blocks
.
The
All
Building
Blocks
table
appears.
Step
2
In
the
All
Building
Blocks
table,
click
Add
.
The
New
Building
Bl
ock
window
appears.
Step
3
In
the
Name
field
of
the
New
Building
Block
window,
enter
a
unique
name
for
this
building
block.