Clearing The Cache; To Clear The Cache - 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
In the following example, content from the domain
from
www.yahoo.com
domain=hp.com partition=1,2
hostname=www.yahoo.com partition=3
NOTE
5. Assign a generic partition to use for content that does not belong to any of the origin servers or domains
listed in the file. If all partitions for a particular origin server become corrupt, Traffic Server will also use
the generic partition to store content for that origin server.
Enter the following line in the
hostname=* partition=list_of_partition_numbers
where
list_of_partition_numbers
store the content that belongs to all other origin servers and domains not listed in the file.
6. Save and close the
7. Run the following command to apply the configuration changes.
traffic_line -x
8. Restart the traffic server with the command

Clearing the cache

When you clear the cache, you remove all data from the entire cache. You should clear the cache before
performing certain cache configuration tasks, such as partitioning.
IMPORTANT

To clear the cache:

1. Stop the Traffic Server using the command
2. Enter the following Traffic Server command and press Return.
traffic_server -Cclear
CAUTION
3. Enter the following command to restart Traffic Server.
start_traffic_server
is stored on partition 3.
If you want to allocate more than one partition to an origin server or domain, you
must enter the partitions in a comma-separated list on one line as shown in the above
example. The file cannot contain multiple entries for the same origin server or
domain.
hosting.config
is a comma-separated list of the partitions on which you want to
file.
hosting.config
Save your current Traffic Server configuration before you clear the cache by taking a
snapshot of your configuration (refer to
The
command deletes all data in the Traffic Server cache. You are not
clear
prompted to confirm the deletion.
is stored on partition 1 and 2, while content
hp.com
file:
start_traffic_server.
The Snapshots button‚ on page
.
stop_traffic_server
Configuring the cache
76).
62

Advertisement

Table of Contents
loading

This manual is also suitable for:

P4535a

Table of Contents