Oracle9i Database Installation Guide Release 2 (9.2.0.1.0) for Windows A95493-02 |
|
Previous |
Next |
This chapter describes how to install Oracle components from the component CDs.
This chapter contains these topics:
Deinstalling Oracle Components and Services
See Also:
|
Database administrators experienced with installing Oracle components in UNIX environments must note that many manual setup tasks required on UNIX are not required on Windows. Table 4–1 lists the key differences between UNIX and Windows installation.
Table 4-1 Key Differences between UNIX and Windows Installations
The... | On UNIX Platforms... | On Windows Platforms... |
---|---|---|
Environment variables, such as |
Must be set manually |
Are set in the registry by Oracle Universal Installer |
DBA account for database administrators |
Must be created manually |
Is created by Oracle Universal Installer |
Account for running Oracle Universal Installer |
Must be created manually |
Is not required |
Account solely dedicated to installing and upgrading Oracle components |
Must be created manually |
Is not required |
See Also: "Oracle9i Windows/UNIX Differences" of Oracle9i Database Getting Started for Windows |
Installations of Oracle9i on computers with 128 MB of RAM and 200 MB of virtual memory have the following limitations:
Computers with 128 MB of memory are not able to run Oracle Database Upgrade Assistant, Database Configuration Assistant, or Oracle Net Services Configuration Assistant during an Oracle Universal Installer installation session.
Depending on how many applications are running on the computer, you may need to further increase the paging file size or reduce the size of the System Global Area (SGA) if you run out of virtual memory. Note that if temporary files and the paging file are both stored on the same physical drive, a situation can occur where the space requirements for one can limit the size of another. If your system has limited free space, then first install the Oracle9i software. After the installation is finished, create a database with the Database Configuration Assistant.
On computer systems that barely meet the minimum memory and virtual memory requirements, 128 MB and 200 MB respectively, perform the following:
For Oracle9i database installations:
During Oracle9i database installation, choose the Software Only database configuration method.
After installation, run Oracle Net Configuration Assistant. Choose Start > Programs > Oracle - HOME_NAME > Configuration and Migration Tools > Net Configuration Assistant.
After installation, run the appropriate configuration assistant for your needs:
To create a new database, run Database Configuration Assistant from the Start Menu. Choose Start > Programs > Oracle - HOME_NAME > Configuration and Migration Tools > Database Configuration Assistant.
To upgrade an existing database, run Oracle Database Upgrade Assistant from the Start Menu. Choose Start > Programs > Oracle - HOME_NAME > Configuration and Migration Tools > Oracle Database Upgrade Assistant.
For Oracle9i Management and Integration installations:
From the Configuration Tools window, select the following configuration assistants and choose Stop:
OiD Configuration Assistant
Oracle Workflow Configuration Assistant
See Also:
|
Perform the following tasks before installing Oracle components:
Read the appropriate online documentation described in "What Documentation Do I Read First?" before you begin installation. This is particularly important if you are upgrading an existing Oracle database, or want to correctly configure a new Oracle9i database that meets your needs.
Review and satisfy applicable system and component requirements in Chapter 2, "Preinstallation Requirements" before you begin installation. Refer to "Installations Meeting Minimal Memory Requirements" if your system only meets the minimal memory requirements.
If you are installing Oracle Real Application Clusters, then you must complete "Oracle Real Application Clusters Preinstallation Tasks" before running Oracle Universal Installer.
Log on as a member of the Administrators group to the computer on which to install Oracle components. Log on as a member of the Domain Administrators group if you are installing on a Primary Domain Controller (PDC) or a Backup Domain Controller (BDC).
Delete the ORACLE_HOME
environment variable if it exists. Refer to your Microsoft online help for more information about deleting environment variables.
Back up any databases to upgrade. Review "Database Upgrade Requirements".
If you are installing in an existing Oracle9i release 1 (9.0.1) or release 2 (9.2.0) home, stop all Oracle services:
On Windows NT, choose Start > Settings > Control Panel > Services.
On Windows 2000, choose Start > Settings > Control Panel> Administrative Tools > Services.
On Windows XP, choose Start > Control Panel > Administrative Tools > Services.
If any Oracle services (their names begin with "Ora") exist and have the status Started, select the service.
Choose Stop on Windows NT, or choose Action > Stop on Windows 2000.
In particular, ensure that the Oracle listener service is stopped. This service is named Oracle
HOME_NAME
TNSListener
for release 8.1 databases, OracleTNSListener80
for release 8.0 databases, or OracleTNSListener
for release 7.3 databases.
Choose Close to exit the Services window.
Continue to the "Beginning Your Oracle9i Installation" section.
Using the old Oracle Installer (Installer shipped with releases 7.x and 8.0.x) to install components into an Oracle9i release 2 (9.2) Oracle home directory is not supported. Likewise, you cannot install release 2 (9.2) components into a release 7.x, 8.0.x, or 8.1.x Oracle home.
Follow these procedures to install Oracle9i components.
To install Oracle components from your hard drive:
Create three directories at the same level on your hard drive with the names Disk1
, Disk2
, and Disk3
. You must use these names. For example:
d:\install\Disk1
d:\install\Disk2
d:\install\Disk3
Copy the contents of each component CD to the appropriate directory.
Run Disk1\setup.exe
.
The Welcome window appears.
Continue to step 3 of the next section.
To install Oracle components from the CDs:
Insert the first component CD.
The Autorun window automatically appears. If the Autorun window does not appear:
Choose Start > Run.
Enter the following:
DRIVE
_
LETTER
:\autorun\autorun.exe
The Autorun window appears.
Choose Install/Deinstall Products from the Autorun window.
The Welcome window appears.
Choose Next.
If Oracle Universal Installer is running on a cluster, then the Cluster Node Selection window appears. Select the nodes on which you want to install the Oracle software. The local node is always selected by default.
The File Locations window appears. Do not change the directory path in the Source field. This is the location of installation files.
Enter the Oracle home name and directory path in which to install Oracle components in the Destination fields.
Attention: Do not install Oracle9i release 2 (9.2) software into an existing Oracle home that contains Oracle8i or earlier software. |
If you are installing Oracle Real Application Clusters, then all nodes in the cluster must have the same Oracle home name.
The Oracle home name can be up to 16 characters in length and must include only alphanumeric characters and underscores. Spaces are not allowed. Note that Oracle Universal Installer does not accept a number as the first character in the Name field. The default directory path is <drive with the most available space>:\oracle\ora92
.
Choose Next.
The Available Products window appears. Continue to the "Choosing an Installation Type" section.
Select the Oracle top-level component and installation type from Table 4-2 that best meets your needs. Choose Next. Proceed to one of the following sections based on your selection.
Table 4-2 Top-Level Components
This Top-Level Component... | Contains These Installation Type... |
---|---|
|
|
|
|
Oracle9i Management and Integration |
|
See Also:
|
The installation windows that appear when you select Enterprise Edition, Standard Edition, or Personal Edition depend upon your computer configuration and which Oracle components are currently installed.
From the Database Configuration Types window, select a database confutation that meets your needs. Table 4-3 describes the available configuration environments.
Table 4-3 Database Configuration Environments
If You Select... | Then Oracle Universal Installer... |
---|---|
|
Automatically starts Database Configuration Assistant to install a preconfigured database optimized for general purpose usage. At the end of the database creation process, you are required to change the |
|
Automatically starts Database Configuration Assistant to install a preconfigured database optimized for transaction processing environment. At the end of the database creation process, you are required to change the |
|
Automatically starts Database Configuration Assistant to install a preconfigured database optimized for data warehousing environment. At the end of the database creation process, you are required to change the |
|
Automatically starts Database Configuration Assistant to enable the creation of a customized database. At the end of the database creation process, you are required to change the This option takes longer than the preconfigured options. Continue to step 3. |
Installs software only and does not run any configuration tools. Select this option if your computer barely meets the minimum memory requirements. Manually start Database Configuration Assistant and Oracle Net Configuration Assistant after installation to install and configure your database and Oracle Net Services environment. Continue to step 10. See Also: "Installations Meeting Minimal Memory Requirements" |
If Microsoft Transaction Server is detected, then the Oracle Services for Microsoft Transaction Server window appears. Enter a port number for this service.
Choose Next.
The next window depends on whether or not an existing database is detected:
If a pre-9.2 Oracle database is detected on your computer, then the Upgrading an Existing Database window appears. Optionally, select to upgrade your database with Oracle Database Upgrade Assistant. Continue to step 4.
If an Oracle database is not detected on your computer, then the Database Identification window appears and prompts you to select a preconfigured database type. Go to step 5.
Note: Do not upgrade an Oracle9i database configured for use with Oracle Internet Directory through this installation type. Oracle9i database and Oracle Internet Directory upgrades must be performed by following the procedures in "Oracle Internet Directory Installations". |
Select whether or not to upgrade your database to the latest release.
To upgrade an existing database:
Select the Upgrade an Existing Database check box and the SID of the database to upgrade to the latest Oracle9i database release.
Choose Next.
The Summary window appears.
Continue to step 11.
To install a new database:
Do not select the Upgrade an Existing Database check box.
Choose Next.
The Database Identification window appears.
Go to step 5.
Enter the global database name and SID in the fields provided. If you selected to configure a Customized database environment, then go to step 10. If you are upgrading an existing database, then go to step 8.
This information is used when Database Configuration Assistant creates your database after installation.
Choose Next.
The Database File Location window appears.
Enter the directory location for the database files. The directory location must be a mapped drive.
Choose Next.
The Database Character Set window appears.
Choose the database character set from the available options. By default, the database character set is automatically chosen based on the locale setting of the operating system.
Choose Next.
The Summary window appears.
Review the space requirements to ensure that you have enough disk space and choose Install.
If you are installing from the CDs, then you are prompted to insert the subsequent disks to continue with installation.
Wait until the selected components are installed.
The Configuration Tools window appears at the end of installation.
See Also: "Installations Meeting Minimal Memory Requirements" if your computer has only 128 MB of RAM |
Table 4-4 lists the assistants that automatically start to create and configure your database and Oracle Net Services environments:
Table 4-4 Configuration Assistants—Database Installation Type
This Tool... | Starts... | And... |
---|---|---|
When Oracle Universal Installer is started on a cluster. It does not show up when the Software Only option is selected |
Starts Global Services Daemon (GSD) on all the nodes selected for installation. See Also: Appendix B, "Oracle Real Application Clusters Preinstallation Tasks" |
|
|
Automatically configures the Oracle Net Services environment See Also: "Configuring the Server Network" for a description of the configuration procedures performed |
|
See Also: "Usernames and Passwords Overview" for information on password management |
Automatically creates an Oracle9i release 2 (9.2) database. At the end of the database creation process, you are required to change the See Also: "Selecting a Database Creation Method" for a description of the configuration procedures performed |
|
In all cases except when selecting the Software Only configuration type |
Creates and starts the HTTP listener as a standalone process for the current session in non-SSL mode. Review the port settings and access URLs on the End of Installation window. The |
|
If you selected to upgrade a detected database when prompted at step 4 |
Upgrades the selected database to Oracle9i release 2 (9.2) |
|
Oracle Intelligent Agent |
If the database and Intelligent Agent are installed |
Automatically starts the Agent service |
The Configuration Tools window displays the results of running these assistants.
Choose Next to continue.
The End of Installation window appears.
Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.
Enterprise Manager Console Standalone appears.
The Available Product Components window appears when you select the Custom Oracle9i Database installation type. The Install Status column of the Available Product Components window displays the status of all components available for installation:
Select the check box of each component to install.
Note: Only components with a check mark are installed. |
Choose Next.
The Component Locations window appears and enables you to select alternate locations in which to install non Oracle home components.
Choose Next to accept the default locations. Otherwise, choose a component from the list box and change the default location.
If you selected any of the following components from the Available Product Components window, provide appropriate responses when prompted. Note that most components install silently without prompting you for additional information.
Table 4-5 Custom Oracle9i Database Component Prompts
If You Select... | You Are Prompted To... |
---|---|
Enter directory usage, listener, and naming method information. See Also: "Configuring the Server Network" for a description of the configuration procedures performed |
|
Select between using an existing or new release 2 (9.2) repository. See "Oracle Management Server Installations" for a description of windows that appear. See Also: Oracle Enterprise Manager Configuration Guide for more information |
|
Oracle Procedural Gateways for IBM MQSeries |
|
Select the nodes in the cluster on which you want to install the software. Note: This component only appears for selection if your computer is detected to be part of a cluster. |
|
|
|
Oracle Transparent Gateway for IBM DRDA |
Select a network protocol with which to communicate with the DRDA server. |
Note: If an earlier release of an Oracle database is detected on your hard drive, then you are prompted to upgrade to Oracle9i database release 2 (9.2). Oracle Database Upgrade Assistant starts at the end of installation and guides you through database upgrade. |
|
Microsoft SQL Server Transparent Gateway |
Enter the Microsoft SQL Server Name and Microsoft SQL Database Name. |
Sybase Server Transparent Gateway |
Enter the Sybase Server Name, Sybase Database Name, and the directory path in which Sybase is installed. |
Teradata Transparent Gateway |
Enter the ODBC data source name. |
The Summary window appears.
Review the space requirements to ensure that you have enough disk space and choose Install.
Wait until the selected components are installed and any configuration tools have completed running. If a configuration assistant fails, then correct the cause of the failure and choose Retry.
The End of Installation window appears.
Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.
If you chose to install Enterprise Manager, then Enterprise Manager Console Standalone appears.
The Summary window appears when you select the Administrator or Runtime Client installation type.
Review the space requirements to ensure that you have enough disk space and choose Install.
Wait until the selected components are installed.
The Configuration Tools window appears and Oracle Net Configuration Assistant starts. The configuration assistant prompts you to select a method to configure client access to your Oracle9i database if Oracle Net Client release 2 (9.2) is not already installed in the currently-specified Oracle home.
Select a method for configuring client access to your Oracle9i database. See the online Help and "Configuring the Client Network" for more information on your choices.
The End of Installation window appears.
Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.
If you selected the Administrator installation type, then Enterprise Manager Console Standalone appears.
See Also:
|
The Available Product Components window appears when you select the Custom Custom Oracle9i Client installation type. The Install Status column of the Available Product Components window displays the status of all components available for installation.
Select the check box of each component to install.
Note: Only components with a check mark are installed. |
Select appropriate components to install and choose Next.
The Component Locations window appears and enables you to select alternate locations in which to install some components.
Choose Next to accept the default locations. Otherwise, choose a component from the list box and change the default location.
If you select any of the components listed in Table 4-6, provide appropriate responses when prompted. Note that most components install silently without prompting you for additional information.
Table 4-6 Custom Custom Oracle9i Client Component Prompts
If You Select... | You Are Prompted To... |
---|---|
Configure client access to the Oracle9i database if Oracle Net Services is not already installed in the currently-specified Oracle home. See Also: "Configuring the Client Network" for a description of the configuration procedures performed |
|
|
The Summary window appears.
Review the space requirements to ensure that you have enough disk space and choose Install.
Wait until the selected components are installed and any configuration tools have completed running.
The End of Installation window appears.
Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.
If you chose to install Enterprise Manager, then Enterprise Manager Console Standalone appears.
See Also:
|
The Oracle Management Server Repository window appears when you select the Oracle Management Server installation type.
Carefully review Table 4-7 and select the repository type to use with the Oracle Management Server.
Table 4-7 Oracle Management Server Repository Types
Type | Select This Type If... |
---|---|
|
|
An existing release 2 (9.2) repository does not exist or if you want a completely separate management setup. Oracle Enterprise Manager Configuration Assistant automatically starts at the end of installation to create a new repository. |
See Also:
|
The Summary window appears.
Review the space requirements to ensure that you have enough disk space and choose Install.
The Configuration Tools window appears at the end of installation.
See Also: "Installations Meeting Minimal Memory Requirements" if your computer has only 128 MB of RAM |
Table 4-8 lists the assistants that automatically start to create and partially configure your Oracle Net Services and database repository environments.
Table 4-8 Configuration Assistants with Management Server Installation Type
This Tool... | Starts... | And... |
---|---|---|
If Oracle Net Services is not already installed in the currently-specified Oracle home |
Prompts you to configure the Oracle Net Services environment See Also: "Configuring the Client Network" for a description of the configuration procedures performed |
|
In all cases |
Creates and starts the HTTP listener as a standalone process for the current session in non-SSL mode. Review the port settings and access URLs on the End of Installation window. Also uses port 3339 for browser-based Oracle Enterprise Manager and the Oracle Enterprise Manager Repository Web Site. The |
|
In all cases |
Guides you through repository creation and Oracle Management Server configuration. Continue to step 3. See Also: Oracle Enterprise Manager Configuration Guide for more information |
The Welcome window of Enterprise Manager Configuration Assistant appears.
Choose Next.
The Select Database for Repository window appears.
Table 4-9 provides appropriate responses based on the repository type you selected in step 0 of "Oracle Management Server Installations":
Table 4-9 Select Database for Repository Window Options
If You Selected... | You are Prompted to Enter the Following Information... |
---|---|
Release 2 (9.2.0.1.0) repository connection information:
|
|
Information about the database in which to create the repository:
After Enterprise Manager Configuration Assistant connects to the database, you must provide the following:
See Also: Oracle Enterprise Manager Configuration Guide for more information on creating a new repository or using an existing repository |
Provide appropriate responses to the remaining Oracle Enterprise Manager Configuration Assistant windows.
The End of Installation window appears.
Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.
If you are upgrading your repository, run the appropriate tool after installation as described in step 0.
Enterprise Manager Console Standalone appears.
The installation windows that appear when you select Oracle Internet Directory depend upon your computer configuration and which Oracle components are currently installed. Table 4-10 summarizes the steps you need to perform to install Oracle Internet Directory. Proceed to one of the following selections:
Table 4-10 Oracle Internet Directory Installation Options
If Oracle database... | Then the... | Go to... |
---|---|---|
Release 2 (9.2.0.1.0) is already installed in the same Oracle home, but Oracle Internet Directory release 2 (9.2) is not installed |
Using an existing instance window appears and you are prompted for the SID you want to use for Oracle Internet Directory |
Step 0 of "Installing Oracle Internet Directory for the First Time" |
Release 2 (9.2.0.1.0) and Oracle Internet Directory release 2 (9.2) are not installed on the computer |
Database Identification window appears and Oracle9i database is automatically installed in the same Oracle home directory with Oracle Internet Directory release 2 (9.2) |
Step 2 of "Installing Oracle Internet Directory for the First Time" |
Oracle Internet Directory release 2.1.1.x or 3.0.1.x is already installed in an Oracle home |
Upgrade OID window appears and prompts you to upgrade to Oracle9i release 2 (9.2) and Oracle Internet Directory release 2 (9.2) |
"Upgrading Oracle Internet Directory" |
After selecting Oracle Internet Directory in the Installation Types window, the Using an existing instance window appears. Follow these procedures to install Oracle Internet Directory:
Choose between one of the following options:
To use the existing database from the current Oracle home for your Oracle Internet Directory installation, select Yes. Choose Next.
To create a new database for your Oracle Internet Directory installation, select No. Choose Next.
The Database Identification window appears.
If you are using an existing database, enter the SID of the existing database and choose Next. Note that this database must reside in the current Oracle home directory.
If you are creating a new database, enter the values for the global database name and SID in the appropriate fields. Choose Next.
The OID Database File Location window appears.
Enter a directory location in which to install the Oracle Internet Directory database files. These database files contain tables specific to Oracle Internet Directory that are created during configuration.
Choose Next.
The Database Character Set window appears if Oracle9i release 2 (9.2) and Oracle Internet Directory release 9.2 are not installed. Accept the default value and select Next.
Otherwise the Summary window appears. Review the information to ensure that you have enough disk space.
Choose Install.
The Install window appears. The values in Table 4-11 are automatically set during installation.
Table 4-11 Oracle Internet Directory Values Set at Installation
Setting | Value |
---|---|
Use of an Encrypted Password |
Yes |
Encryption schema |
MD4 |
Approximate number of directory entries to be stored in Oracle Internet Directory |
Under 10,000 entries |
Password of the Administrator Distinguished Name ( |
welcome |
The Configuration Tools window appears at the end of installation.
See Also: "Installations Meeting Minimal Memory Requirements" if your computer has only 128 MB of RAM |
Table 4-12 lists the assistants that automatically start to create and configure the Oracle Net Services and Oracle Internet Directory environments.
Table 4-12 Configuration Assistants with the Oracle Internet Directory Installation Type
This Tool... | Starts... | And... |
---|---|---|
If Oracle Net Services is not already installed in the currently-specified Oracle home |
Automatically configures the Oracle Net Services environment See Also: "Configuring the Server Network" for a description of the configuration procedures performed |
|
In all cases |
Creates and starts the HTTP listener as a standalone process for the current session in non-SSL mode. Review the port settings and access URLs on the End of Installation window. The |
|
Oracle Intelligent Agent |
If the database and Intelligent Agent are installed |
Automatically starts the Agent service |
Database Configuration Assistant |
In all cases except when using an existing database in the Oracle home for the Oracle Internet Directory installation |
Automatically creates an Oracle9i database. Creates Oracle Internet Directory tablespaces and schema in the Oracle9i release 2 (9.2) database when installing Oracle Internet Directory in a new Oracle home that does not have Enterprise Edition installed. Note: If a new database is installed, Database Configuration Assistant automatically starts and creates a database with an AL32UTF8 character set. If you are performing a Custom installation of Oracle Internet Directory, then do not change the global database name or SID in the Database Identification window. Oracle Internet Directory will not successfully install if you changes these values. |
In all cases |
Automatically starts the Oracle Internet Directory directory server, and configures the default schema and the Directory Information Tree to support various Oracle components. |
The End of Installation window appears.
Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.
Oracle Internet Directory upgrade is supported from Oracle Internet Directory release 2.1.1.x and 3.0.1.x. If the Oracle home where you intend to perform the upgrade of Oracle Internet Directory also contains a complete Enterprise Edition installation, then you must perform the Oracle Internet Directory upgrade before the Enterprise Edition upgrade.
Single-Node Upgrade
Perform the following procedures to upgrade the OID installed in the Oracle home.
Preparing to Upgrade Oracle Internet Directory
If Oracle Internet Directory release 2.1.1.x or 3.0.1.x is already installed in an Oracle home, ensure that you:
Stop the Oracle listener service, Oracle database service, and Oracle Internet Directory processes (OID Monitor, OID Server, Replication Server, and Directory Integration Server).
Know the system identifier (SID), Oracle directory server (ODS) user password, and Oracle Internet Directory administrator password of the Oracle8i or Oracle9i release 1 (9.0.1) database to upgrade.
Remove the Oracle Directory service registered in the existing Oracle home, by executing the following:
oidmon
remove
Perform a complete backup prior to upgrade. The best way to do this is to create a backup of the database.
See Also: An alternative upgrade procedure is available to perform the upgrade manually rather than through Oracle Universal Installer. It is documented in the "Alternate Procedure-Upgrading a Stand-Alone Node" section in Appendix D of Oracle Internet Directory Administrator's Guide |
Starting Oracle Internet Directory Upgrade
The Upgrade OID windows appears if you have a previously installed version of Oracle Internet Directory on your computer. Follow these procedures to upgrade Oracle Internet Directory:
The Upgrading an Existing Database windows appears. Select the Oracle Internet Directory Oracle8i or Oracle9i release 1 (9.0.1) database to upgrade.
Select Yes to upgrade the existing database.
Choose Next.
The Oracle SID window appears.
Enter the SID of the existing database.
Choose Next.
The Configuration Tools window appears at the end of installation.
See Also: "Installations Meeting Minimal Memory Requirements" if your computer has only 128 MB of RAM |
Table 4-12 lists the assistants that automatically start to create and configure the Oracle Net Services and Oracle Internet Directory environments.
Table 4-13 Configuration Assistants
The... | Upgrades... |
---|---|
Oracle8i or Oracle9i release 1 (9.0.1) to a Oracle9i release 2 (9.2) database |
|
Oracle Internet Directory release 2.1.1.x or 3.0.1.x to 9.2.0 See Also: "Appendix D" of Oracle Internet Directory Administrator's Guide for more information on upgrading an existing Oracle Internet Directory database |
Continue the Oracle Internet Directory section in "Individual Component Postinstallation Configuration Tasks" to complete any required postinstallation tasks.
Upgrading Oracle Internet Directory in a Multi-Node Environment
You can upgrade a multi-node Oracle Internet Directory system in two ways:
Upgrading One Node at a Time
In this method, while the upgrade on one node is in progress, all other nodes remain available. This method requires you to follow the following guidelines:
When you are upgrading a replication network one node at a time, the upgrade is not complete until all nodes are upgraded. However, during this period, all network nodes except the one being upgraded remain available.
While the upgrade is in progress, only one node should be read-write. The remaining nodes should be read-only.
Perform the upgrade on the Master Definition Site (MDS) before you upgrade the other sites.
Perform the following tasks before upgrading one node at a time:
Stop the Oracle Internet Directory processes.
Delete ASR push jobs temporarily.
Run the delasrjobs.sql
script located in the ORACLE_BASE
\
ORACLE_HOME
\ldap\admin
directory. This script deletes the Oracle9i Replication jobs on the other master sites that push changes to the MDS. Deleting these jobs temporarily removes the node from the replication environment so that no changes can be applied to it. Other nodes, however, remain operational and continue replicating changes.
Perform the upgrade at each node. Refer to "Single-Node Upgrade" for more information.
After you have upgraded the node, create ASR push jobs.
Create jobs on the other nodes by running the creasrjobs.sql
script on the upgraded node. The script is located in the ORACLE_BASE
\
ORACLE_HOME
\ldap\admin
directory. This script creates the jobs on the other nodes that were previously deleted. These newly created jobs start pushing the existing changes and new changes on the other nodes to the node you have just upgraded.
Upgrading all the Nodes at the Same Time
If you use this method, the system is not available during the upgrade process. Perform the following tasks before upgrading all the nodes at the same time:
Set all the nodes in the network to read-only mode.
Edit the input file:
dn
:
changetype:
modify
replace:
orclservermode
orclservermode:
r
Run the following command against all the nodes in the replication network:
ldapmodify -D super_user_DN -w super_user_password -h host_name -p port_number -f input_file.
ldif
Wait until all the changes in the change log queue are applied. Before moving to the next step, wait for the change log queue to empty.
Note: If you skip this step, then the changes in the change log queue are applied once the nodes are upgraded. |
Verify that you have stopped the Oracle Internet Directory processes and shut down the database.
Perform the upgrade at each node. Refer to "Single-Node Upgrade" for more information.
Backward Compatibility
When an existing replication Directory Replication Group (DRG) is being upgraded, some of the updates made on the upgraded Oracle Internet Directory 9.2.0 will not replicate to the nodes that are not upgraded yet. These upgrades will eventually replicate successfully once the consumer is upgraded to 9.2.0. If possible,
Do not make changes on the upgraded nodes unless all the nodes in the DRG are upgraded.
If you need to update upgraded nodes, then do not push the changes to the other nodes unless they are upgraded. Pushing the changes can be temporarily disabled by bringing the replication server up in a specific mode (-o
FALSE
). Run the following command to start the replication in this mode:
oidctl connect=connect_string server=server_name instance=1 flags="-p port -h host_name -o FALSE" start
The Available Product Components window displays all components available for installation when you select the Custom Oracle9i Management and Integration installation type.
Select the check box of each component to install.
Note: Only components with a check mark are installed. |
Choose Next.
The Component Locations window appears and enables you to select alternate locations in which to install some components.
Choose Next to accept the default locations. Otherwise, choose a component to enable a text box for changing the default location. Then, choose Next.
If you select any of the components shown in Table 4-14, provide appropriate responses when prompted. Note that most components install silently without prompting you for additional information.
Table 4-14 Custom Oracle9i Management and Integration Component Prompts
If You Select... | Then... |
---|---|
Oracle Management Server |
Go to "Oracle Management Server Installations" for installation instructions. |
Go to (UNKNOWN STEP NUMBER) "Oracle Internet Directory Installations" for installation instructions. |
Enter the global database name and SID for the Oracle9i database and choose Next:
The OID Database File Location window appears if a database is not currently installed.
Enter a directory location in which to install the Oracle Internet Directory database files. Oracle Corporation recommends installing database files and Oracle software on separate partitions. These database files correspond to Oracle Internet Directory-specific tables and schema created during configuration.
Choose Next.
The OID User Password Encryption window appears.
Select whether or not to enable password encryption and choose Next.
The User Password Hashing Algorithm window appears.
Select an encryption schema to use and choose Next.
The OID Administrator Password window appears.
Enter a password.
This password enables you to make all changes in Oracle Internet Directory.
Enter the same password a second time and choose Next.
The OID Size Configuration window appears.
Select the approximate number of directory entries to be stored in Oracle Internet Directory and choose Next.
The Oracle Management Server Repository window appears.
Select to use an existing repository or create a new repository and choose Next.
The Create Database window appears.
Select whether or not to create a new database during this installation session and choose Next.
If you selected to create a database, then the Database File Locations window appears.
Enter the Oracle home name and directory path in which to install Oracle components in the Destination fields and choose Next.
Attention: Do not install Oracle9i release 2 (9.2) software into an existing Oracle home that contains Oracle8i or earlier software. |
The Database Character Set window appears.
Choose the database character set from the available options. By default, the database character set is automatically chosen based on the locale setting of the operating system.
Choose Next.
The Summary window appears.
Review the space requirements to ensure that you have enough disk space and choose Install.
The Configuration Tools window appears at the end of installation.
See Also: "Installations Meeting Minimal Memory Requirements" if your computer has only 128 MB of RAM |
Table 4-15 lists the assistants that automatically start to create and configure the Oracle9i database for use with Oracle Internet Directory.
Table 4-15 Configuration Assistants—Custom Oracle9i Management and Integration Installation Type
This Tool... | Starts If... | And... |
---|---|---|
Oracle Net Services is not already installed in the currently-specified Oracle home |
Automatically configures the Oracle Net Services environment See Also: "Configuring the Server Network" for a description of the configuration procedures performed |
|
You select the Oracle HTTP Server in the Available Product Components window |
Starts the HTTP listener in non-SSL mode. Review the port settings and access URLs on the End of Installation window. |
|
Oracle Intelligent Agent |
The database and Intelligent Agent are installed |
Automatically starts the Agent service |
You select Oracle Internet Directory in the Available Product Components window |
Automatically starts the Oracle Internet Directory Server, and configures the default schema and the Directory Information Tree to support various Oracle components. |
|
Database Configuration Assistant |
You select Oracle9i in the Available Product Components window, and you chose not to upgrade when prompted, and you selected Yes when prompted to install an Oracle9i database |
Database Configuration Assistant automatically starts within OiD Configuration Assistant to guide you through a Custom installation to create a database with the AL32UTF8 character set. At the end of the database creation process, you are required to change the Database Configuration Assistant enables the changing of default passwords after database creation. Do not use the Password Management button at this time. Change the passwords for |
Oracle Database Upgrade Assistant |
You select to upgrade a database |
Upgrades the selected database to Oracle9i |
Oracle Enterprise Manager Configuration Assistant |
You select to install Oracle Management Server in the Available Product Components window |
Enables the configuration of the local Oracle Management Server to use an existing repository or to create a new repository |
You select to install Oracle Workflow in the Available Product Components window |
Configures Oracle Workflow schema in the Oracle9i database You are prompted for the Workflow Password, See Also: Oracle Workflow Server Installation Notes for instructions on using Oracle Workflow Configuration Assistant |
The End of Installation window appears.
Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.
Enterprise Manager Console Standalone appears.
Note: You cannot install and configure Oracle Internet Directory and Oracle Workflow in the same installation session. If you perform a Custom installation and choose to install both Oracle Internet Directory and Oracle Workflow, then only OiD Configuration Assistant starts during postinstallation. To configure Oracle Workflow, you must manually start Oracle Workflow Configuration Assistant after installation.To configure Oracle Workflow manually:
DRIVE_LETTER:\ORACLE_BASE\ORACLE_HOME\wf\install> wfinstall.bat See Also: Oracle Workflow Server Installation Notes for more information |
The first time the Installer runs it creates the SYSTEM
_
DRIVE
:\Program Files\Oracle\Inventory\logs
directory. An inventory of installed components and installation actions performed are kept in this directory.
Log filenames take the form installActions
date_time
.log
(for example, installActions2001-07-14_09-00-56-am.log
).
You can also view a list of installed components by choosing Installed Products on any window of Oracle Universal Installer. A window of installed programs appears.
Note: Do not delete or manually alter theInventory directory or its contents. Doing so can prevent the Installer from locating products that you install on your system. |
This section describes how to deinstall Oracle components, utilities, and services.
Note: Deinstalling Oracle9i JVM causes Oracle Universal Installer to remove the database and other products dependent on Oracle9i JVM from your system. |
This section contains these topics:
Removing Oracle Keys From the Registry on Windows NT, Windows 2000, and Windows XP
Removing Oracle Keys from the Registry on Windows 98
Note: Manually removing components is not recommended unless you exit Oracle Universal Installer during an installation. For example:
In these cases, Oracle Universal Installer does not register the installation in its inventory. However, files may have been copied to your Oracle home. Remove these files manually and restart the installation. |
You must first stop the Oracle Windows services before deinstalling Oracle components or removing any registry entries.
To stop Windows services:
Open the Services control panel:
On Windows NT, choose Start > Settings > Control Panel > Services.
On Windows 2000, choose Start > Settings > Control Panel> Administrative Tools > Services.
On Windows XP, choose Start > Control Panel > Administrative Tools > Services.
If any Oracle services (names begin with Oracle
or Ora
) exist and have the status Started, select the service, and choose Stop.
Choose Close to exit the Services window.
Exit the Control Panel.
Stop the Oracle Internet Directory Server at the MS-DOS command prompt:
C:\> oidctl CONNECT=NET_SERVICE_NAME SERVER=OIDLDAPD INSTANCE=SERVER_INSTANCE_NUMBER STOP
where NET_SERVICE_NAME
is the network connection to the Oracle Internet Directory Server and SERVER_INSTANCE_NUMBER
is the instance number (this number appears in the Server List tab of Oracle Directory Manager).
Stop the Oracle Internet Directory Monitor at the MS-DOS command prompt:
C:\> oidmon STOP
Remove the Oracle Internet Directory service OracleDirectoryService
from the registry:
C:\> oidmon REMOVE
Follow the procedures in "Deinstalling Components with Oracle Universal Installer" to remove the Oracle9i database configured with Oracle Internet Directory.
Stop the Oracle Management Server (Oracle
HOME_NAME
ManagementServer
) from the Control Panel.
When prompted, enter the Administrator and password for the Oracle Management Server service. The default Administrator name is sysman
and the password is oem_temp
. If you changed the oem_temp
password, substitute the correct password.
Remove the Oracle Management Server service from the registry:
C:\> omsntsrv -u HOME_NAME
where HOME_NAME
is the Oracle home name.
This section describes how to use Oracle Universal Installer to deinstall Oracle components (which deinstalls them from the installer inventory) instead of removing them manually.
Do not delete an Oracle home manually (for example, by deleting the directory structure with Windows Explorer or MS-DOS command prompt) because the components in that Oracle home remain registered in the Oracle Universal Installer inventory. If you then attempt an installation in the same Oracle home, some or all of the components selected may not be installed because the installer determines they are already installed.
Oracle Universal Installer creates Windows services for Oracle components during installation. However, the installer does not delete services created by Oracle Net Configuration Assistant, OiD Configuration Assistant, and Database Configuration Assistant.
To deinstall components with Oracle Universal Installer:
Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".
Choose Start > Programs > Oracle Installation Products > Universal Installer.
The Welcome window for Oracle Universal Installer appears.
Choose the Deinstall Products button.
The Inventory window appears.
Expand the tree of installed components until you find the components to deinstall.
Check the boxes of components to deinstall.
Choose Remove.
The Confirmation window appears.
Choose Yes to deinstall the selected components.
Note: A message may appear indicating that removing some components may cause other components to not function properly. |
The components are deinstalled from your computer. The Inventory window appears without the deinstalled components.
Choose Close to close the Inventory window.
Choose Exit to exit Oracle Universal Installer.
In rare situations, you may want to correct serious system problems by completely removing Oracle components from the computer.
Remove all Oracle components from your computer only as a last resort, and only if you want to remove all Oracle components from your system.
Oracle Universal Installer does not delete services created by Oracle Net Configuration Assistant, OiD Configuration Assistant, and Database Configuration Assistant. In addition, several other registry keys are not deleted.
Note: You can also use the ORADIM utility to manually deinstall an instance and services. See "Postinstallation Database Creation" of Oracle9i Database Administrator's Guide for Windows. |
Caution: Use Microsoft Registry Editor at your own risk. Incorrect usage of Registry Editor can cause serious problems and may require reinstallation of your operating system. |
To remove the Oracle Net Service registry entry on Windows NT, Windows 2000, and Windows XP:
Log in as a member of the Administrators group.
Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".
Start the registry at the MS-DOS command prompt:
C:\> regedt32
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
and delete the Oracle
HOME_NAME
TNSListener
registry entry. Oracle Universal Installer automatically deletes all other Oracle Net Services.
Exit the registry.
To remove all Oracle components from a computer on Windows NT, Windows 2000, and Windows XP:
Log in as a member of the Administrators group.
Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".
Start the registry at the MS-DOS command prompt:
C:\> regedt32
Go to HKEY_CLASSES_ROOT
.
Delete any key that starts with Oracle
, ORA
, or ORCL
.
Go to HKEY_LOCAL_MACHINE\SOFTWARE
.
Delete the ORACLE
and Apache Group
keys.
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
.
Delete all keys under here that begin with ORACLE
.
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \Eventlog\Application
.
Delete all keys under here that begin with ORACLE
.
Go to HKEY_CURRENT_USER
.
Delete ORACLE
.
Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE
.
Delete keys that start with Oracle
or ORCL
(if any exist).
Delete any Oracle keys (if any exist).
Close the registry.
Restart your computer.
Go to Start > Settings > Control Panel > System > Environment tab.
Choose the system variable path and modify the Path variable.
Remove any Oracle entries from the path. For example, if JRE was installed by Oracle, remove the %ORACLE_HOME%\BIN
path and the JRE
path. You may see a path similar to this one:
C:\oracle\ora81\bin;C:\program files\oracle\jre\1.1.7\bin
Exit the Control Panel.
Go to SYSTEM
_
DRIVE
:\winnt\profiles\all users\start menu\programs
.
Delete the following icons:
Oracle - HOME_NAME
Oracle Installation Products
where HOME_NAME is the previous Oracle home name.
Delete SYSTEM
_
DRIVE
:\program files\oracle
through Windows Explorer.
Delete all ORACLE
_
BASE
directories on your hard drive.
Restart your computer.
To remove all Oracle components from a computer on Windows 98:
Start the registry at the MS-DOS command prompt:
C:\>
regedit
Go to HKEY_CLASSES_ROOT
.
Delete any key that starts with Oracle
or ORCL
.
Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
.
Delete the ORACLE
key.
Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\odbcinst.ini
.
Delete the Oracle
ODBC
Driver
key.
Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE
.
Delete keys that start with Oracle
or ORCL
(if any exist).
Go to HKEY_CURRENT_USER\SOFTWARE\ODBC\odbcinst.ini
.
Delete any Oracle keys.
Close the registry.
Restart your computer.
Edit your autoexec.bat
file and remove your %ORACLE_HOME%\BIN
and JRE
paths from the path setting.
Delete SYSTEM
_
DRIVE
:\Program Files\Oracle
through Windows Explorer.
Delete icons from:
SYSTEM
_
DRIVE
:\windows\start menu\programs\oracle
- HOME_NAME
SYSTEM
_
DRIVE
:\windows\start menu\programs\oracle installation products
where HOME_NAME
is the previous Oracle home name.
Delete all ORACLE_BASE
directories on your hard drive.
Restart your computer.