Partitioning The Cache According To Origin Server Or Domain; To Partition The Cache According To Hostname And Domain - 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

Chapter 8

Partitioning the cache according to origin server or domain

After you have partitioned the cache according to size and protocol, you can assign the partitions you created
to specific origin servers and/or domains.
You can assign a partition to a single origin server or multiple origin servers. However, if a partition is assigned
to multiple origin servers, there is no guarantee on the space available in the partition for each origin server.
Content is stored in the partition according to popularity.
In addition to assigning partitions to specific origin servers and domains, you must assign a generic partition
to store content from all origin servers and domains that are not listed. This generic partition is also used if the
partitions for a particular origin server or domain become corrupt.
IMPORTANT
NOTE

To partition the cache according to hostname and domain:

1. Configure the cache partitions according to size and protocol as described in
specific protocols‚ on page
You should create a separate partition based on protocol for each host and domain, and an additional
generic partition to use for content that does not belong to these origin servers or domains. For example, if
you want to separate content from two different origin servers, and you want the content to be separated
by protocol so that HTTP content and streaming media content is stored separately, you must have five
separate partitions. One HTTP-based partition for each origin server, one streaming media-based partition
for each origin server, and a generic partition for all other origin servers not listed (the partitions do not
have to be the same size).
2. Telnet into the HP web cache appliance and select Shell Access as described in
Methods‚ on page
3. Open the
hosting.config
4. Enter a line in the file to allocate the partition(s) used for each origin server and/or domain. For an origin
server, the line must contain the following format:
hostname=hostname
For a domain, the line must contain the following format:
domain=domain_name
where:
is the fully qualified hostname of the origin server whose content you want to store on a
hostname
particular partition (for example,
domain_name
).
hp.com
list_of_partition_numbers
the content that belongs to the origin servers or domains listed. The partition numbers must be valid
numbers listed in the
If you do not assign a generic partition, you will be unable to start Traffic Server.
You do not need to stop Traffic Server before you assign partitions to particular hosts or
domains. However, this type of configuration can cause a spike in memory usage and is
time consuming. HP recommends that you configure partition assignment during
periods of low traffic.
60.
7.
file located in Traffic Server's
partition=list_of_partition_numbers
partition=list_of_partition_numbers
www.hp.com
is the domain whose content you want to store on a particular partition (for example,
is a comma-separated list of the partitions on which you want to store
partition.config
directory with Vi.
config
).
file.
Configuring the cache
Creating cache partitions for
Overview of Access
61

Advertisement

Table of Contents
loading

This manual is also suitable for:

P4535a

Table of Contents