Oracle9i Application Server Migrating to Oracle9iAS Release 2 (9.0.3) Release 2 (9.0.3) Part Number B10243-01 |
|
This chapter describes the functionality of the Migration Assistant in migrating the Oracle HTTP Server (OHS), and lists the elements migrated for each component. It contains the following topics:
This section describes the configuration files, programs, static documents, and modules that the Migration Assistant recognizes as candidates for migration in Oracle HTTP Server directories.
The Assistant migrates the httpd.conf
file.
On UNIX systems, its location is:
ORACLE_HOME_1
/Apache/Apache/conf
On Windows systems its location is:
ORACLE_HOME_1
\Apache\Apache\conf
This file must be selected, and the Migration Assistant must be able to parse it. If it is not selected or cannot be parsed, no other OHS files will be migrated.
The Assistant migrates any user-defined configuration file named in an Include
directive in httpd.conf
(and, recursively, any user-defined configuration file named in an Include directive in the parent user-defined configuration file). The parent user-defined configuration file must be selected. If it is not selected, none of the child user-defined configuration files will be selected. Each user-defined configuration file found in ORACLE_HOME_1
is re-created in the corresponding location in ORACLE_HOME_2
.
The Assistant migrates non-default cgi and fastcgi programs found in the following directories only:
On UNIX systems, their location is:
ORACLE_HOME_1
/Apache/Apache/cgi-bin
ORACLE_HOME_1
/Apache/Apache/fcgi-bin
On Windows systems their location is:
ORACLE_HOME_1
\Apache\Apache\fcgi-bin
ORACLE_HOME_1
\Apache\Apache\cgi-bin
The Assistant migrates non-default static documents or directories that it finds in the default location for static documents.
On UNIX systems, the default location is:
ORACLE_HOME_1
/Apache/Apache/htdocs
On Windows systems, the default location is:
ORACLE_HOME_1
\Apache\Apache\htdocs
If you have placed customized files in default sub-directories of htdocs
, you must migrate them manually.
When migrating from Release 1, the Assistant migrates any non-default files or directories in the subdirectories of htdocs
.
On UNIX systems:
ORACLE_HOME_1
/Apache/Apache/htdocs/WEB-INF
(including subdirectories)
ORACLE_HOME_1
/Apache/Apache/htdocs/demo
(including subdirectories)
On Windows systems:
ORACLE_HOME_1
\Apache\Apache\htdocs\WEB-INF
(including subdirectories)
ORACLE_HOME_1
\Apache\Apache\htdocs\demo
(including subdirectories)
The Assistant migrates static documents or directories that are defined by the DocumentRoot
directive.
The Assistant migrates the .so files on UNIX systems, or the .dll files on Windows systems, for any modules that are not in the Oracle9iAS Release 1 (1.0.2.2.x) or Oracle9iAS Release 2 (9.0.2) default set, but are specified in a LoadModule
directive.
Table 2-1 lists the default set of modules shipped in Oracle9iAS Release 1 (1.0.2.2.x).
Table 2-1 lists the default set of modules shipped in Oracle9iAS Release 2 (9.0.2).
The directives listed in Table 2-3 occur in the default versions of the httpd.conf
files in the source and target instances.
The Assistant highlights any differences between the directives in the source and target files so that you can select them for migration. If the setting for a directive is the same in both files, no action is taken.
In the discussion of the migration process below, directives are described as primitive directives or container directives. Primitive directives occupy a single line; for example:
Timeout 300
KeepAlive on
Container directives occupy multiple lines, have a start directive and an end directive, and contain arguments (which are primitive directives). For example:
<Directory "myDirectory">
Options FollowSymLinks MultiViews
AllowOverride None
</Directory>
The container directive above has start and end directives <Directory "myDirectory">
and </Directory
. The arguments are the primitive directives Options FollowSymLinks MultiViews
and AllowOverride None
.
The following Oracle HTTP Server elements are not migrated:
oracle_apache.conf
, plsql.conf
, dads.conf
and cache.conf
and the Include directive in httpd.conf
(for oracle_apache.conf
) are excluded from the migration.
ORACLE_HOME_1
- The Migration Assistant will not migrate static documents that are in ORACLE_HOME_1
in locations other than ORACLE_HOME_1
/Apache/Apache/htdocs
(UNIX) or
ORACLE_HOME_1
\Apache\Apache\htdocs
(Windows).
If static documents are found in non-default locations of ORACLE_HOME_1
, a message is written to the log file as a reminder to migrate them manually.
ORACLE_HOME_1
- The Migration Assistant will not migrate cgi or fastcgi programs that are in ORACLE_HOME_1
in locations other than ORACLE_HOME_1
/Apache/Apache/cgi-bin
or fcgi-bin
(UNIX) or ORACLE_HOME_1
\Apache\Apache\cgi-bin
or fcgi-bin
(Windows).
If cgi or fastcgi programs are found in non-default locations of ORACLE_HOME_1
, a message is written to the log file as a reminder to migrate them manually.
ScriptAlias
directive. You must migrate these manually.
If you are migrating an Oracle HTTP Server that ran behind Web Cache in the previous release, you should look closely at the port configuration in both components to ensure that the desired port configuration is preserved in the migration. Specifically, the VirtualHost, Port, and Listen directives have corresponding Web Cache elements that need to specify the same ports.
See "Synchronizing Oracle9iAS Web Cache and Oracle HTTP Server Ports".
To migrate directives, the Assistant:
httpd.conf
file that are different from the default (uncustomized) file, httpd.conf.default
, or that are new (not part of the default set of directives). The default file, httpd.conf.default
, must be present or the program will not function.
By default, all such directives are selected for migration via a checkbox and presented in a scrolling list. You can exclude a directive from the migration by clearing its checkbox.
Note: An exception to this default selection of directives is the mod_proxy directive. All mod_proxy directives are unchecked by default. They will not be migrated unless they are explicitly selected in the httpd.conf: Directives screen (shown). |
httpd.conf
file as follows:
httpd.conf
file.
httpd.conf
file.
When you migrate from Release 1, the Assistant automatically creates a directive for mod_ossl, SSLWallet
, based on the Release 1 configuration. It then starts a program called osslconvert
that generates an Oracle wallet. You can choose not to generate the wallet during migration by commenting out the SSL configuration in the Release 1 file before you start the Migration Assistant.
To ensure that a valid wallet is generated in the migration, you must specify the trust points (the signers of the certificates) in the Release 1 configuration. There are two ways to do this:
SSLCertificateChainFile
directive in the Release 1 httpd.conf
file.
You can also import other certificate authority certificates into the wallet by specifying them with the SSLCACertificateFile
and SSLCACertificatePath
directives in the Release 1 httpd.conf
file.
The Migration Assistant manages SSL certificate key file and wallet passwords as follows:
The SSL directives in httpd.conf
are shown below for Oracle9iAS Release 2 (IfModule
) and Release 1 (IfDefine
):
<IfModule mod_ossl.c> <VirtualHost _default_:4443> SSLWallet wallet location SSLVerifyClient optional SSLProtocol all </VirtualHost> </IfModule>
<IfDefine SSL> <VirtualHost _default_:443> SSLCertficateFile certificate locationSSLCertificateKeyFile
key locationSSLCertificateChainFile chain location SSLVerifyClient optional_no_ca SSLProtocol TLSv1 </VirtualHost> </IfDefine>
Note the following changes:
SSLVerifyClient
is set to optional
if it was set to optional_no_ca
.
SSLProtocol
is set to all
if it was set to TLSv1
.
The following directives are invalid in mod_ossl, and replaced by SSLWallet
:
SSLCertificateFile
SSLCertificateKeyFile
SSLCertificateChainFile
SSLCACertificatePath
SSLCACertificateFile
SSLRandomSeed
SSLVerifyDepth
During migration, the Assistant extracts certificate-related directives and starts a program that generates a wallet. The wallet-related directives are written to the difference file. The value of SSLWallet
is the value of SSLCertificateFile
, or, if path-related:
ORACLE_HOME_2
/Apache/Apache/conf/ssl.wlt/certificate name
(UNIX)
ORACLE_HOME_2
\Apache\Apache\conf\ssl.wlt\certificate name
(Windows)
The Assistant automatically generates the wallet for any virtual host that is SSL-enabled. The default httpd.conf
file only defines one virtual host.
On UNIX systems, if you override the certificate that is associated with the virtual host named in the Release 1 httpd.conf
file, the Assistant modifies the Release 2 httpd.conf
file during migration so that it points to the newly generated wallet.
On Windows systems, if you override the certificate that is associated with the virtual host named in the Release 1 httpd.conf
file, you can manually modify the Release 2 httpd.conf
file after migration so that it points to the newly generated wallet.
The Assistant performs the following functions to provide a way to audit the migration process:
httpd.conf
file named httpd.conf.migbak
. Because it was written by a parser, this file is not identical in format to httpd.conf
, but the content is exactly the same.
ORACLE_HOME_2
/migration/log/iASMigration.log
(UNIX)
ORACLE_HOME_2
\migration\log\iASMigration.log
(Windows)
|
![]() Copyright © 2002 Oracle Corporation. All Rights Reserved. |
|