Example; Partition.config - HP P4535A - Web Cache Server Appliance Administrator's Manual

Hp cache server appliance administrator guide
Hide thumbs Also See for P4535A - Web Cache Server Appliance:
Table of Contents

Advertisement

Appendix D
The following tables lists the possible actions and their allowed values:
Action
parent
round_robin
go_direct

Example

The following rule sets up a parent cache hierarchy consisting of the Traffic Server (which is the child) and
two parents,
and
p1
parent server,
p1.x.com
p2.y.com. Because round_robin=true
dest_domain=. method=get parent="p1.x.com:8080; p2.y.com:8080" round_robin=true
The following rule tells the Traffic Server to route all requests containing the regular expression
and the path
/viewpoint
url_regex=politics prefix=/viewpoint go_direct=true
Every line in the
parent.config
A parent cache entry in the Parent Caching section of the Routing page, described on page 53, is entered as
the bottom line in the
enter
parent1:8080
bottom of the
parent.config
dest_domain=. parent=parent1:8080

partition.config

The
partition.config
creating cache partitions of different sizes for specific protocols. You can further configure these partitions to
store data from certain origin servers and/or domains in the
page
166).
For step by step instructions on partitioning the cache, refer to
IMPORTANT
You must stop Traffic Server before you change the cache partition size and protocol assignment.
Allowed Value
Enter an ordered list of parent proxies. If the request cannot be handled by the
last parent server in the list, it will be routed to the origin server.
true
Enter true if you want the Traffic Server to go through the parent cache list in a
round robin.
strict
Enter strict if you want Traffic Server machines to serve requests strictly in
turn. For example, machine ts-sun8 serves the first request, ts-sun9 serves the
second request, and so on.
false
Enter false if you do not want round robin selection to occur.
true
Enter true if you want requests to bypass parent hierarchies and go directly to
the origin server.
false
Enter false if you do not want requests to bypass parent hierarchies.
. All
requests, if they cannot be served by the Traffic Server, are routed to the first
p2
get
. If they are not in the first parent server, they are routed to the second parent server,
, the parent servers are queried in a round robin fashion.
directly to the origin server (bypassing any parent hierarchies).
file must contain either a
file (meaning that this entry serves as a default). For example, if you
parent.config
in the
field on the Routing page, the following line is entered at the
Parent Cache
file:
file lets you manage your cache space more efficiently and restrict disk usage by
The partition configuration must be the same on all nodes in a cluster.
or
parent=
go_direct=
file (refer to
hosting.config
Partitioning the cache‚ on page
Configuration Files
politics
directive.
hosting.config‚ on
59.
181

Advertisement

Table of Contents
loading

This manual is also suitable for:

P4535a

Table of Contents