Oracle9i Application Server Migrating to Oracle9iAS Release 2 (9.0.3) Release 2 (9.0.3) Part Number B10243-01 |
|
This chapter explains the functionality of the Web Cache migration option. It contains the following topics:
When you migrate from Release 1 (1.0.2.2.x), the Migration Assistant recognizes most of the elements in the webcache.xml
file in ORACLE_HOME_1
. They are listed in "The Web Cache Migration Process: Migrating from Release 1 (1.0.2.2.x)" below.
When you migrate from Oracle9iAS Release 2 (9.0.2), all customization values are migrated to the Oracle9iAS Release 2 (9.0.3) instance, except:
These values remain as specified by the Oracle9iAS Release 2 (9.0.3) installation.
A session definition consists of a session name, a cookie, a URL parameter, and a default value. The Migration Assistant migrates session definitions as follows:
Any application that was using WEBCACHETAG with reference to the original target Web Cache session definition must be modified to use the re-named session definitions.
Warning:
The Assistant does not migrate the MULTIVERSIONHEADERRULE, if the Host header is used for disambiguation. Web Cache in Oracle9iAS Release 2 (9.0.2) supports multiple sites. See the Web Cache documentation for site-to-server mapping.
The Assistant does not migrate the internal.xml
and internal_admin.xml
files (which contain values such as buffer sizes and network time-outs).
When you migrate from Release 2 (9.0.2) to Release 3 (9.0.3), the 9.0.2 webcache.xml
file is unchanged by the Migration Assistant, except for certain values, retained from the 9.0.3 installation:
If the 9.0.2 version of webcache.xml
contained all of the necessary customization, no post-migration tasks are necessary.
The Web Cache migration option does the following copies the following elements of the webcache.xml
file from ORACLE_HOME_1
to ORACLE_HOME_2
:
SECURESUBNET (Sub-element of SECURITY; trusted subnets).
Copied to the first SITE element of the webcache.xml
file in ORACLE_HOME_2
.
Copied to the ORACLE_HOME_2
webcache.xml
file under the first SITE element.
Merged with the data in the same sections of the GLOBALCACHINGRULES element in the webcache.xml
file in ORACLE_HOME_2
. This can result in duplicate or redundant multi-version cookies rules. See "Completing the Web Cache Migration" for instructions on resolving this.
Copied to the ORACLE_HOME_2
webcache.xml
file, in the GLOBALCACHINGRULES section. This can result in duplicate or redundant session caching rules. See "Completing the Web Cache Migration" for instructions on resolving this.
Merged with the data in the same sections of the GLOBALCACHINGRULES element in the webcache.xml
file in ORACLE_HOME_2
. This can result in duplicate or redundant expiration rules. See "Completing the Web Cache Migration" for instructions on resolving this.
CACHEABILITY
Copied to the ORACLE_HOME_2
webcache.xml
file, in the GLOBALCACHINGRULES section. This can result in duplicate or redundant cacheability rules. See "Completing the Web Cache Migration" for instructions on resolving this.
All of the application web servers from the ORACLE_HOME_1
webcache.xml
file are migrated to the ORACLE_HOME_2
webcache.xml
file. Host IDs are generated for each of these hosts.
The Assistant performs the following functions to provide a way to audit the migration process:
webcache.xml
file from ORACLE_HOME_2
. The backup file is named webcache.xml.backup
.
ORACLE_HOME_2
/migration/log/iASMigration.log
(UNIX)
ORACLE_HOME_2
\migration\log\iASMigration.log
(Windows)
To complete the Web Cache migration, you may need to perform the tasks in this section after the Migration Assistant has executed.
Use the Web Cache Administration user interface to review and, if necessary, change the configuration as follows:
The Migration Assistant can be invoked any time after the Oracle9iAS Release 2 (9.0.3) installation. If changes were made to the webcache.xml
file, they are preserved. There may be redundant cacheability rules. You must review the file to resolve these. The rules themselves, and the order in which they appear, determine the caching behaviors executed by Web Cache.
Port numbers are not migrated from the webcache.xml
file. Compare the Release 1 and Release 2 webcache.xml
files to ensure that there are no port conflicts after the Migration Assistant has executed.
Web Cache does not migrate administration, listen, statistics, and invalidation port numbers. To use the Release 1 port numbers in Release 2, perform the following steps:
Web Cache and the Oracle HTTP Server have runtime interdependencies. When Web Cache runs in front of OHS, the elements and directives shown in the table below are related:
Web Cache Element | Corresponding OHS Directive |
---|---|
Site definitions |
VirtualHost |
Origin server ports |
Listen |
Site-to-server mappings |
Virtual Host, Listen |
Listen |
Port |
After migration, these Web Cache elements will be exactly as they were in Release 2 (9.0.2). In the Release 2 (9.0.3) instance, compare the Web Cache and OHS configurations to ensure that:
|
![]() Copyright © 2002 Oracle Corporation. All Rights Reserved. |
|