Skip Headers

Oracle9iAS Web Cache Administration and Deployment Guide
Release 2 (9.0.2)

Part Number A95404-02
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

5
Configuration and Administration Tools Overview

This chapter introduces the various administration tools of Oracle9iAS Web Cache. It discusses the main administration application and tells you how to launch it and navigate through it. It also introduces the command line tool.

This chapter contains these topics:

Oracle9iAS Web Cache Manager for Configuration and Management

Oracle9iAS Web Cache Manager is a graphical user interface tool that combines configuration and monitoring options to provide an integrated environment for configuring and managing Oracle9iAS Web Cache and the Web sites for which it caches content. With Oracle9iAS Web Cache Manager, you can easily:

This section introduces you to the features of Oracle9iAS Web Cache Manager. However, the primary documentation for using Oracle9iAS Web Cache Manager is the accompanying online help. This section contains these topics:

Starting Oracle9iAS Web Cache Manager

To start Oracle9iAS Web Cache Manager:

  1. Start the admin server process with the webcachectl start or webcachectl startadm commands.

    See Also:

    "webcachectl Utility for Process Administration"

  2. Point your browser to the following URL:

    http://web_cache_hostname:4000/webcacheadmin
    
    
  3. When prompted for the administrator user ID and password, enter administrator for the username, and enter the appropriate password.

    The first time you log in, the password is administrator.


    Note:

    You can also point your browser to http://web_cache_hostname:4000 to link to Oracle9iAS Web Cache Manager, information about examples, user documentation, and the Oracle Technology Network.


    See Also:

Navigating Oracle9iAS Web Cache

The Oracle9iAS Web Cache Manager interface includes:

Figure 5-1 Oracle9iAS Web Cache Manager Interface

Text description of admintoa.gif follows
Text description of the illustration admintoa.gif

Apply Changes and Cancel Changes Buttons

The Apply Changes button applies submitted configuration changes to Oracle9iAS Web Cache. The Cancel Changes button cancels submitted configuration changes to Oracle9iAS Web Cache.


Note:

Applied configuration changes require stopping and then restarting Oracle9iAS Web Cache. See "Starting and Stopping Oracle9iAS Web Cache" for further information.


Status Messages

Status messages appear below the Apply Changes and Cancel Changes buttons. Table 5-1 describes the possible status messages.

Table 5-1  Oracle9iAS Web Cache Manager Status Messages
Message Description

Web Cache running with current configuration.

This message appears if Oracle9iAS Web Cache is running with an up-to-date configuration.

Press "Apply Changes" to commit your modifications.

This message appears if Submit has been selected in some dialog box, but the Apply Changes button has not been chosen.

Restart Oracle9iAS Web Cache to make configuration changes take effect

This message appears if Oracle9iAS Web Cache is running with an older version of the configuration. This can happen if configuration changes have been applied but Oracle9iAS Web Cache has not been restarted.

In addition, information about any needed operations is displayed in the Operations page.

Navigator Pane

The navigator pane provides a graphical tree view of configuration, administration, and performance monitoring capabilities for Oracle9iAS Web Cache and its supported Web sites.

The navigator pane contains the following major folders:

Right Pane

The right pane contains property sheets that enable you to configure and administer Oracle9iAS Web Cache. Figure 5-2 shows the Cacheability Rules property sheet used for viewing caching rules.

Figure 5-2 Cacheability Rules Property Sheet

Text description of adminto2.gif follows
Text description of the illustration adminto2.gif

The Operations Page

The Operations page of Oracle9iAS Web Cache Manager (Administration > Operations) provides information about the status of a cache and what operations are needed. From this page, you can start, stop, or restart a cache.

If the cache is part of a cache cluster, all caches in the cluster are listed on the Operations page. In addition to starting, stopping, and restarting a cache, you can propagate the configuration to other cluster members from this page. You can perform the operations on a selected cache or on all caches in the cluster. To minimize disruption in your Web site, you can specify an interval to stagger the times that the operations begin on the caches.

Oracle Enterprise Manager for Metrics

Oracle Enterprise Manager is the primary tool for administering Oracle9i Application Server. It is a complete management solution for administering, configuring, and monitoring the application server and its components. Oracle Enterprise Manager provides a Web-based tool that enables you to view the overall status of Oracle9iAS Web Cache and view Oracle9iAS Web Cache performance metrics.

Based on the metrics, you can make changes to the configuration with Oracle9iAS Web Cache Manager. Later, you can use Enterprise Manager to monitor how configuration changes affect the performance of the Oracle9iAS Web Cache.

See Also:

Oracle9i Application Server Administrator's Guide for further information about using Oracle Enterprise Manager to monitor Oracle9iAS Web Cache

webcachectl Utility for Process Administration

The webcachectl utility enables you to administer the Oracle9iAS Web Cache processes, including the admin server process, cache server process, and auto-restart process:

On UNIX, webcachectl must run as the root user in the following cases:

In order for webcachectl to run as the root user, ensure that root.sh was run during installation. If root.sh was not run during installation, run it now from the $ORACLE_HOME directory.

On Windows, webcachectl runs as the owner of OracleHOME_NAMEWebCache service.

The general syntax for this utility follows:

webcachectl command parameter

webcachectl is located in the $ORACLE_HOME/webcache/bin directory on UNIX and the ORACLE_HOME\bin directory on Windows.

The possible commands for the webcachectl utility are listed in Table 5-2. The start, stop, and restart commands enable you to administer all three processes. You can save system resources by administering only the processes you require.

Table 5-2  webcachectl Commands
Command Description

reset

Restores the configuration to the last version saved with Apply Changes button in the Oracle9iAS Web Cache Manager. The following message displays:

Previous configuration restored. You must restart 
Oracle Web Cache for it to run with that 
configuration.If any of the processes are running, 

This command also stops any running processes.

restart

Stops and then restarts the admin server, cache server, and, if enabled, auto-restart processes. The following message displays:

Oracle Web Cache admin server is already down.
Oracle Web Cache auto-restart monitor is already down.
Oracle Web Cache cache server is already down.

Oracle Web Cache, Version 9.0.2.0.0
Copyright: Oracle Corporation, 1999-2001

Admin Server now running as process 10072

Admin Server is attempting to start the Cache Server

Oracle Web Cache, Version 9.0.2.0.0
Copyright: Oracle Corporation, 1999-2001

Cache Server now running as process 10074

restartadm

Stops and then restarts the admin server process. The following message displays:

Oracle Web Cache admin server is already down.

Oracle Web Cache, Version 9.0.2.0.0
Copyright: Oracle Corporation, 1999-2001

Admin Server now running as process 10079

Admin Server running in admin-only mode. Cache Server 
NOT started

restartcache

Stops and then restarts the cache server process and, if enabled, the auto-restart process. The following message displays:

Oracle Web Cache auto-restart monitor is already down.
Oracle Web Cache cache server is already down.

Oracle Web Cache, Version 9.0.2.0.0
Copyright: Oracle Corporation, 1999-2001

Cache Server now running as process 10081

start

Starts the admin server, cache server process, and, if enabled, the auto-restart process. The following message displays:

Oracle Web Cache, Version 9.0.2.0.0
Copyright: Oracle Corporation, 1999-2001

Admin Server now running as process 10017

Admin Server is attempting to start the Cache Server

Oracle Web Cache, Version 9.0.2.0.0
Copyright: Oracle Corporation, 1999-2001

Cache Server now running as process 10019

startadm

Starts the admin server process. The following message displays:

Oracle Web Cache, Version 9.0.2.0.0
Copyright: Oracle Corporation, 1999-2001

Admin Server now running as process 10057

Admin Server running in admin-only mode. Cache Server 
NOT started

startcache

Starts the cache server process and, if enabled, the auto-restart process. The following message displays:

Oracle Web Cache, Version 9.0.2.0.0
Copyright: Oracle Corporation, 1999-2001

Cache Server now running as process 24892

status

Provides running or not running status of the admin server process, cache server process, and, if enabled, the auto-restart process.

The following message displays when all three processes are not running:

Oracle Web Cache admin server is not running.
Oracle Web Cache cache watchdog is not running.
Oracle Web Cache cache server is not running.

The following message displays when all three processes are running:

Oracle Web Cache admin server is running as process 
10048.
Oracle Web Cache auto-restart monitor is running as 
process 10052.
Oracle Web Cache cache server is running as process 
10050.

stop

Stops the admin server process, cache server process, and, if enabled, the auto-restart process. The following message displays:

Oracle Web Cache admin server stopping.
Oracle Web Cache auto-restart monitor stopping.
Oracle Web Cache cache server stopping.

stopadm

Stops the admin server process. The following message displays:

Oracle Web Cache admin server stopping.

stopcache

Stops the cache server process and, if enabled, the auto-restart process. The following message displays:

Oracle Web Cache auto-restart monitor stopping.
Oracle Web Cache cache server stopping.

The possible parameters for the webcachectl utility commands are listed in Table 5-3. These parameters are intended for Oracle Support Services.

Table 5-3  webcachectl Parameters
Command Description

coreok

Enables Oracle9iAS Web Cache to produce a core dump

rootmode

Forces webcachectl to run as the root user

See Also:

Oracle9iAS Web Cache Configuration Files

Oracle9iAS Web Cache uses two configuration files: webcache.xml and internal.xml. Default configuration information created during installation and modify by the Oracle9iAS Web Cache Manager is stored in the webcache.xml file. Internal configuration settings for Oracle9iAS Web Cache are stored in internal.xml file. These files are located in the $ORACLE_HOME/webcache directory on UNIX and ORACLE_HOME\webcache directory on Windows. Do not edit these configuration files manually, except in the cases described in this guide, or when directed to do so by Oracle Support Services. Improper editing of these configuration files may cause problems in Oracle9iAS Web Cache.

Configuration and Administration Tasks at a Glance

Oracle9iAS Web Cache configuration and administration tasks are described throughout this guide and in the Oracle9iAS Web Cache Manager online help system. Table 5-4 lists the common tasks, and points you to the topic in this guide that describes the task.

Table 5-4  Common Administrative Tasks for Oracle9iAS Web Cache
Task See Also

Configuring Oracle9iAS Web Cache

Change the administrator or invalidator password.

"Task 2: Modify Security Settings"

Enable the auto-restart process.

"Task 6: Configure Auto-Restart Process Settings"

Modify the network time-outs for Oracle9iAS Web Cache.

"Task 7: Configure Network Time-outs"

Specify the settings for origin servers.

"Task 9: Specify Settings for Origin Servers"

Configure Web site definitions and map the site to origin servers.

"Task 10: Configure Web Site Settings"

Configure Oracle9iAS Web Cache with listening ports.

"Task 3: Configure Oracle9iAS Web Cache with Listening Ports for Incoming Browser Requests"

Modify listening ports for administration, invalidation, and statistics monitoring requests.

"Task 5: Configure Oracle9iAS Web Cache with Operations Ports"

Set the maximum cache size limit.

"Task 11: Specify Caching Rules"

Configure caching rules.

"Configuring Caching Rules"

Load balance requests over multiple origin servers.

"Configuring Load Balancing and Failover"

Bind a session to an origin server.

"Binding a Session to an Origin Server"

Configure a cache hierarchy.

"Configuring a Hierarchy of Caches"

Configure a cache cluster.

"Configuring a Cache Cluster"

Configure event log settings.

"Configuring Event Logs"

Configure access log settings.

"Configuring Access Logs"

Configuring Support for HTTPS Requests

Create a wallet.

"Task 1: Create Wallets"

Configure Oracle9iAS Web Cache with an HTTPS listening port.

"Task 3: Configure Oracle9iAS Web Cache with Listening Ports for Incoming Browser Requests"

Configure HTTPS listening ports for administration, invalidation, and statistics monitoring requests.

"Task 5: Configure Oracle9iAS Web Cache with Operations Ports"

Configure the origin server with an HTTPS listening port.

"Task 9: Specify Settings for Origin Servers"

Administering Oracle9iAS Web Cache

Start and stop Oracle9iAS Web Cache

"Starting and Stopping Oracle9iAS Web Cache"

Invalidate documents in the cache.

"Invalidating Documents in the Cache"

Propagate configuration changes to cache cluster members.

"Propagating Configuration Changes to Cache Cluster Members"

List the URLs of the documents in the cache.

"Listing the Contents of the Cache"

Monitoring Performance

Monitor overall Oracle9iAS Web Cache health.

"Monitoring Oracle9iAS Web Cache Health"

Monitor Oracle9iAS Web Cache performance.

"Gathering Oracle9iAS Web Cache Performance Statistics"

Monitor origin server performance.

"Gathering Origin Server Performance Statistics"

Note:

All tasks listed under the Configuring Oracle9iAS Web Cache and Configuring Support for HTTPS Requests rows require stopping and then restarting Oracle9iAS Web Cache. See "Starting and Stopping Oracle9iAS Web Cache" for further information.


Go to previous page Go to next page
Oracle
Copyright © 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Table Of Contents
Contents
Go To Index
Index