![]() |
Cisco Cache Engine User Guide, Version 2.0.0
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Chapter 2: Installing the Cache Engine
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Table of ContentsInstalling the Cache EngineCollecting the Information Required for Configuration
Installing the Cache Engine Initializing the Cache Engine Configuration Enabling Cache Support on the Router Testing the Cache Engine Installation Connecting to the Cache Engine Management Interface Removing or Replacing a Cache Engine Replacing Cables (Pinout Information) Installing the Cache EngineAfter 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 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:
Collecting the Information Required for ConfigurationBefore 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
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:
Cache Engine is up and running:
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 ConfigurationTo 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 RouterBefore 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. ip wccp enable
For example, to enable redirection, enter: ip web-cache redirect You can confirm your settings using the following show commands on the router:
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)
For example, to enable redirection, enter: ip web-cache redirect out You can confirm your settings using the following show commands on the router:
Testing the Cache Engine InstallationOnce 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 InterfaceYou can manage the Cache Engine using the CLI or the Cache Engine management interface. To connect to the Cache Engine's management interface:
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
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 CableTo 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
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
Standards for the Console Cable and AdaptersThe 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
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
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|