cc/td/doc/product/webscale/webcache/ce20
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Installing the Cache Engine

Installing the Cache Engine

After you determine where you want to put the Cache Engine, complete the following tasks to install the Cache Engine:

    1. Collecting the Information Required for Configuration

    2. Installing the Cache Engine

    3. Initializing the Cache Engine Configuration

    4. Enabling Cache Support on the Router

    5. Testing the Cache Engine Installation

    6. Connecting to the Cache Engine Management Interface

Read the Regulatory Compliance and Safety Information document that came with the Cache Engine before you begin the installation.

This chapter also covers the following tasks:


Warning Read the installation instructions before you connect the system to its power source.

Collecting the Information Required for Configuration

Before you install the Cache Engine, collect the following information required for the basic configuration:

When you power up the Cache Engine for the first time, you will be prompted to provide the information listed above.

Installing the Cache Engine


Warning Do not touch the power supply when the power cord is connected. For systems with a power switch, line voltages are present within the power supply even when the power switch is off and the power cord is connected. For systems without a power switch, line voltages are present within the power supply when the power cord is connected.


Warning The device is designed to work with TN power systems.


Warning The ports labeled "Ethernet 0" and "Ethernet 1" are safety extra-low voltage (SELV) circuits. SELV circuits should only be connected to other SELV circuits. Because the BRI circuits are treated like telephone-network voltage, avoid connecting the SELV circuit to the telephone network voltage (TNV) circuits.


Warning This product relies on the building's installation for short-circuit (overcurrent) protection. Ensure that a fuse or circuit breaker no larger than 120 VAC, 15A U.S. (240 VAC, 10A international) is used on the phase conductors (all current-carrying conductors).


Warning This equipment is intended to be grounded. Ensure that the host is connected to earth ground during normal use.


Warning Do not work on the system or connect or disconnect cables during periods of lightning activity.


Warning Before working on equipment that is connected to power lines, remove jewelry (including rings, necklaces, and watches). Metal objects will heat up when connected to power and ground and can cause serious burns or weld the metal object to the terminals.

Refer to Figure 2-1 and Figure 2-2 when installing the Cache Engine, to help you identify the connectors on the front and rear of the Cache Engine.

* = led is on o = led is off - = rolling appearance

During boot:

0 1 2 3 Appearance Meaning

* * * *

steady

Power on, first, and second level bootstrap

* o o o

steady

Image loaded and running

- - - -

rolling

Network hardware initialization

o * o o

steady

Network hardware initialization complete

- - - -

rolling

Disk hardware initialization

* * o o

steady

Disk hardware initialization complete

o o * o

steady

First IP packet received

o o o o

steady

First HTTP cache request received

Cache Engine is up and running:

0 1 2 3 Appearance Meaning

o o o o

steady

Normal operation

o * * *

steady

An exception has occurred (software or hardware failure)

* * * *

steady

A panic has occurred (software failure)

- - - -

rolling

Reboot has begun


Figure 2-1:
The Cache Engine, Rear View



Figure 2-2:
The Cache Engine, Front View


To install the Cache Engine, perform the following steps:


Step 1   Place the Cache Engine unit in the desired location. You can mount it on a rack for your convenience, or place it on a solid, stable surface. To attach the mounting brackets, you will need a Phillips-head screwdriver.

Step 2   Plug in the Cache Engine.

Step 3   Plug the network connection into the Ethernet port on the Cache Engine.

Step 4   Plug the console into the console port on the Cache Engine using the supplied serial cable. Open a window for the engine console using your terminal emulation program.

Step 5   Turn on the Cache Engine. The Cache Engine begins booting and sends messages to the console window. Once the operating system boots, you are ready to initialize the basic software configuration.

Initializing the Cache Engine Configuration

Once you have installed the Cache Engine and booted the operating system, you must initialize the basic configuration.

To initialize the Cache Engine's basic configuration once it has booted the operating system, perform the following steps:


Step 1   Enter values for the following parameters as you are prompted:

---- System Configuration Dialog ---- You may use Ctrl-D to abort Configuration Dialog at any prompt. Would you like to enter the initial configuration? [yes]: yes host name: cache domain name: cisco.com admin password: test cache IP address: 10.1.58.5 IP network mask: 255.255.255.0 gateway IP address: 10.1.58.1 DNS server: 171.69.2.132

Step 2   If the basic configuration is acceptable, enter yes. The Cache Engine indicates whether the configuration is accepted. At this point, the basic configuration is finished.

Use this configuration? [yes]: yes >> Building configuration... >> . . START - phase complete

Step 3   Once you have entered an acceptable basic configuration, the Cache Engine displays the URL that you would use to connect to it with a web browser. For example, http://10.1.1.1:8001. You must use the complete URL to connect to the Cache Engine and manage it.

The username is admin and the password is supplied by the user on the Login window.

Enabling Cache Support on the Router

Before the router can use the Cache Engine, it must know that the Cache Engine exists. This notification is done automatically by communications between the engine and the router. However, you must enable cache support in the router so that the router listens for the Cache Engine.

If you later want to disable caching temporarily, you can do so by disabling cache support in the router, rather than by turning off or otherwise disabling the individual Cache Engines. (Use the no ip wccp command on the router to disable caching.)

You must already know how to configure the router to make these configuration changes. If you do not know how to configure the router, consult the Cisco IOS documentation supplied with the router. Detailed information for the commands mentioned here is in the Cisco IOS documentation. See Appendix B, Web Cache Communication Protocol Version 1, and Appendix C, Web Cache Communication Protocol Version 2, for information on which IOS software supports which version of WCCP on which platform.

To enable cache support on the router for WCCP Version 1:


Step 1   Ensure that the router is running a release of the Cisco IOS software that includes WCCP Version 1. If it does not have this support, before you can continue, you must upgrade the Cisco IOS software.

Step 2   In global configuration mode, use the ip wccp enable command to enable cache support. For example, enter:

ip wccp enable

Step 3   In interface configuration mode, use the ip web-cache redirect command to have the interface redirect packets for port 80 to the Cache Engine. Enter this command for each interface that is an outgoing interface connecting to the following:

For example, to enable redirection, enter:

ip web-cache redirect

You can confirm your settings using the following show commands on the router:

Shows the number of Cache Engines and total number of packets redirected.

Shows detailed information about each Cache Engine connected to the router.

Shows detailed information about an interface, including whether web cache redirect is enabled.

To enable cache support on the router for WCCP Version 2:


Step 1   Ensure that the router is running a release of the Cisco IOS software that includes WCCP Version 2. If it does not have this support, before you can continue, you must upgrade the Cisco IOS software.

In global configuration mode, use the ip wccp command to enable cache support. For example, enter:

ip wccp webcache (or) ip wccp services

where service is the number of predefined services (0 to 99)

Step 2   In interface configuration mode, use the ip wccp web-cache redirect out or ip wccp services redirect out command to have the interface redirect packets for port 80 to the Cache Engine. Enter this command for each interface that is an outgoing interface connecting to the following:

For example, to enable redirection, enter:

ip web-cache redirect out

You can confirm your settings using the following show commands on the router:

Shows the number of Cache Engines and total number of packets redirected.

Shows detailed information about each Cache Engine connected to the router.

Shows detailed information about an interface, including whether web cache redirect is enabled.

Testing the Cache Engine Installation

Once you have installed and configured the Cache Engine and enabled caching on the router, check to ensure the Cache Engines working properly:


Step 1   From a machine on a network that uses the home router or routers, start a web browser and open various web pages on the Internet or your intranet. The web servers you connect to must be on a different subnet, so that the request goes through the home router or routers. Connect to some pages more than once, to ensure that some pages you request are in the cache.

Step 2   From the command-line interface (CLI), enter the following to display the Cache Engine HTTP caching saving statistics:

show statistics http savings

Step 3   Open a window for the engine console using your terminal emulation program to connect to the home router or routers, and enter the show ip wccp web-cache command to display information about the Cache Engines. The entry for the Cache Engine should show a number greater than 0 for packets redirected. Also, check for hash assignments.

If the router shows that no packets are being redirected to the Cache Engine, you need to troubleshoot your setup.

Connecting to the Cache Engine Management Interface

You can manage the Cache Engine using the CLI or the Cache Engine management interface. To connect to the Cache Engine's management interface:


Note   Please be sure to enable Java, JavaScript, and Cascading Style Sheets on your Internet Explorer or Netscape 4.0 or later browser.


Step 1   Start a web browser on a
machine that has access to the network on which the Cache Engine resides.

Step 2   Open the URL for the engine, using the URL given to you during basic configuration. For example, http://10.1.1.1:8001. You must include the port number, such as 8001, in the URL.

You are prompted for a username and password (see Figure 2-3).


Figure 2-3: Administrator's Login


Step 3   Enter a correct username and password. The Cache Engine returns the initial management page, which contains links to other management pages.

If you forget your password, you must have another administrator reset your password.

Removing or Replacing a Cache Engine


Warning Before working on a system that has an On/Off switch, turn OFF the power and unplug the power cord.


Warning Ultimate disposal of this product should be handled according to all national laws and regulations.

To remove a Cache Engine from a system, turn off the engine's power and physically remove it from the network.

The router and the Cache Engine are in constant communication: thus, when the router notices that the engine is no longer responding to it, the router stops sending requests to the engine. This is transparent to your users.

If there are other Cache Engines attached to the router, the router continues sending requests to the other engines.

When you remove a Cache Engine, the pages that were cached on the engine are no longer available to the router or other caches. Thus, you might see an increase in outgoing web traffic that might have otherwise been fulfilled by the engine you are removing. However, after a time, the router and other Cache Engines will have redistributed the load of web traffic.

If you remove the last Cache Engine from a router, you can also disable cache support on the router. However, this is not necessary; having cache support enabled when there are no Cache Engines attached has no effect on the router's performance.

To replace a Cache Engine, remove the old engine from the network. Then, add the new engine and configure it using the same configuration parameters (IP address, and so forth) that you used for the removed engine.

Replacing Cables (Pinout Information)

The Cache Engine includes the following cables and adapters:

Use these cables to connect the Cache Engine console port to the COM port of a console or computer that is running a console program.

In addition to the console cable, you must supply your own standard Ethernet cable to connect the Cache Engine to your network.

This section details the pinout information for these cables, so that you can purchase the correct cable for your network connection, and replace the console cable and adapters, if that becomes necessary.

Standards for the Ethernet Cable

To connect the Cache Engine to your network, you must use one of the following cables:

Use a CAT 5 UTP cable at minimum to connect to a 100BaseT network. Use a CAT 3 UTP cable at minimum to connect to a 10BaseT network.

Table 2-1 shows the pinouts for a straight-through 100BaseT cable.


Table 2-1:
Straight-Through 100BaseT Cable (RJ-45 to RJ-45) Pinouts
RJ-45 Pin Signal Direction RJ-45 Pin

1

TX+

—>

1

2

TX-

—>

2

3

RX+

<—

3

4

4

5

5

6

RX-

<—

6

7

7

8

8

Table 2-2 shows the pinouts for a crossed-over 100BaseT cable.


Table 2-2:
Crossed-Over 100BaseT Cable (RJ-45 to RJ-45) Pinouts
RJ-45 Pin Signal Direction RJ-45 Pin

1

TX+

—>

3

2

TX-

—>

6

3

RX+

<—

1

4

4

5

5

6

RX-

<—

2

7

7

8

8

Standards for the Console Cable and Adapters

The EIA/TIA-232 console port on the Cache Engine is configured as data terminal equipment (DTE) and uses a DB-9 connector. A console cable kit is provided with your Cache Engine to connect a console (an ASCII terminal or PC running terminal emulation software) to the console port. The console cable kit contains an RJ-45 to RJ-45 rollover cable and two RJ-45 to DB-9 female DTE adapters.

By attaching the two RJ-45 to DB-9 adapters to the RJ-45 to RJ-45 rollover cable, you create a DB-9 to DB-9 null modem cable. Table 2-3 shows the pinouts for this configuration.


Table 2-3: Console Cable and Adapters Pinouts
Cache Engine Console Port (DB9) DB-9 Signal

1

DTR

2

3

TD

3

2

RD

4

6

DCD

5

5

SG

6

4

DSR

7

8

CTS

8

7

RTS

9

You can identify a rollover cable by comparing the two modular ends of the cable, as shown in Figure 2-4. Holding the cables in your hand, side-by-side, with the tab at the back, the wire connected to the pin on the outside of the left connector (pin 1) should be the same color as the pin on the outside of the right connector (pin 8).


Figure 2-4: Identifying a Rollover Cable



hometocprevnextglossaryfeedbacksearchhelp
Posted: Fri Feb 1 16:44:11 PST 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.