55
Chapter 7
Hierarchical Caching
To set ICP options from Traffic Manager:
1. Access Traffic Manager from your browser (refer to
Accessing Traffic Manager‚ on page 8
).
2. On the Configure tab, click the Routing button.
3. Scroll to the ICP section of the Routing page (shown below)
4. In the ICP mode area, select:
o
Only Receive Queries to configure Traffic Server to receive ICP queries from other ICP peers only.
In this mode, Traffic Server cannot send queries to other ICP peers.
o
Send/Receive Queries to configure Traffic Server to both send and receive ICP queries.
o
Disabled to turn off ICP hierarchical caching.
5. In the ICP Port field, enter the port that you want to use for ICP messages. The default is 3130.
6. Select ICP Multicast enabled:On to send ICP messages through multicast if your Traffic Server has a
multicast channel connection to its ICP peers.
7. In the ICP Query Timeout field, enter the timeout for ICP queries. The default is 2 seconds.
8. Click the Make These Changes button.
To set ICP options manually:
1. Telnet into the HP web cache appliance and select Shell Access as described in
Overview of Access
Methods‚ on page 7
.
2. Open the
records.config
file located in Traffic Server’s
config
directory with Vi.
3. Edit the following variables:
Variable
Description
proxy.config.icp.enabled
Set this variable to:
•
0 to disable ICP.
•
1 to allow Traffic Server to receive ICP queries only.
•
2 to allow Traffic Server to send and receive ICP queries.
proxy.config.icp.icp_port
Set this variable to specify the UDP port that you want to use for
ICP messages. The default is 3130.