Skip Headers
Oracle9i Database Installation Guide
Release 2 (9.2.0.1.0) for Windows
A95493-02
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

4 Installing Oracle Components

This chapter describes how to install Oracle components from the component CDs.

This chapter contains these topics:

Installation Differences Between Windows and UNIX

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 PATH, ORACLE_BASE, ORACLE_HOME, and ORACLE_SID

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 Meeting Minimal Memory Requirements

Installations of Oracle9i on computers with 128 MB of RAM and 200 MB of virtual memory have the following limitations:

On computer systems that barely meet the minimum memory and virtual memory requirements, 128 MB and 200 MB respectively, perform the following:

Before You Install Oracle9i

Perform the following tasks before installing Oracle components:

  1. 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.

  2. 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.

  3. If you are installing Oracle Real Application Clusters, then you must complete "Oracle Real Application Clusters Preinstallation Tasks" before running Oracle Universal Installer.

  4. 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).

  5. Delete the ORACLE_HOME environment variable if it exists. Refer to your Microsoft online help for more information about deleting environment variables.


    Note:

    The ORACLE_HOME environment variable is automatically set in the registry. Manually setting this variable prevents installation.

  6. Back up any databases to upgrade. Review "Database Upgrade Requirements".

  7. 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.

    1. If any Oracle services (their names begin with "Ora") exist and have the status Started, select the service.

    2. 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 OracleHOME_NAMETNSListener for release 8.1 databases, OracleTNSListener80 for release 8.0 databases, or OracleTNSListener for release 7.3 databases.

    3. Choose Close to exit the Services window.

  8. Continue to the "Beginning Your Oracle9i Installation" section.

Beginning Your Oracle9i Installation

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:

  1. 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

  2. Copy the contents of each component CD to the appropriate directory.

  3. Run Disk1\setup.exe.

    The Welcome window appears.

  4. Continue to step 3 of the next section.

To install Oracle components from the CDs:

  1. Insert the first component CD.

    The Autorun window automatically appears. If the Autorun window does not appear:

    1. Choose Start > Run.

    2. Enter the following:

      DRIVE_LETTER:\autorun\autorun.exe

      The Autorun window appears.

  2. Choose Install/Deinstall Products from the Autorun window.

    The Welcome window appears.

  3. 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.

  4. 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.


    Note:

    If you install Oracle9i into an Oracle home directory that already contains Oracle9i release 2 (9.2) client software, the listener is not created. To create the listener, install and run Oracle Net Configuration Assistant. If the Administrator client is installed before Oracle9i, then Oracle Net Configuration Assistant is already installed.

  5. Choose Next.

    The Available Products window appears. Continue to the "Choosing an Installation Type" section.

Choosing an Installation Type

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.

Enterprise Edition, Standard Edition, or Personal Edition Installations

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.

  1. 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...

    General Purpose


    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 SYS and SYSTEM passwords.

    Transaction Processing


    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 SYS and SYSTEM passwords.

    Data Warehouse


    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 SYS and SYSTEM passwords.

    Customized


    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 SYS and SYSTEM passwords.

    This option takes longer than the preconfigured options. Continue to step 3.

    Software Only

    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"


  2. If Microsoft Transaction Server is detected, then the Oracle Services for Microsoft Transaction Server window appears. Enter a port number for this service.

  3. 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".

  4. Select whether or not to upgrade your database to the latest release.

    To upgrade an existing database:

    1. Select the Upgrade an Existing Database check box and the SID of the database to upgrade to the latest Oracle9i database release.

    2. Choose Next.

      The Summary window appears.

    3. Continue to step 11.

    To install a new database:

    1. Do not select the Upgrade an Existing Database check box.

    2. Choose Next.

      The Database Identification window appears.

    3. Go to step 5.

  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.


    Note:

    For Oracle Real Application Clusters, the SID you enter is automatically appended with an identifier. For example, if DB is entered, the first instance in the cluster is given a SID of DB1, and the second instance is given a SID of DB2.

  6. Choose Next.

    The Database File Location window appears.

  7. Enter the directory location for the database files. The directory location must be a mapped drive.

  8. Choose Next.

    The Database Character Set window appears.

  9. 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.

  10. Choose Next.

    The Summary window appears.

  11. Review the space requirements to ensure that you have enough disk space and choose Install.

  12. If you are installing from the CDs, then you are prompted to insert the subsequent disks to continue with installation.

  13. 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...

    Oracle Cluster Configuration Assistant

    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"

    Oracle Net Configuration Assistant

    • In all cases except when selecting the Software Only configuration type

    • If Oracle Net services release 2 (9.2) 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

    Database Configuration Assistant

    • If no Oracle database is installed in the currently-specified Oracle home

    • If you did not select to upgrade a detected database when prompted at step 4

    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 SYS and SYSTEM passwords.

    See Also: "Selecting a Database Creation Method" for a description of the configuration procedures performed

    Starting Oracle HTTP Service

    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 OracleHOME_NAMEHTTPServer service starts when you restart your computer.

    Oracle Database Upgrade Assistant

    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.


    Notes:

    Database Configuration Assistant and Oracle Database Upgrade Assistant never run during the same installation session.

  14. Choose Next to continue.

    The End of Installation window appears.

  15. Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.

Enterprise Manager Console Standalone appears.

Custom Oracle9i Database Installations

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:

  1. Select the check box of each component to install.


    Note:

    Only components with a check mark are installed.

  2. Choose Next.

    The Component Locations window appears and enables you to select alternate locations in which to install non Oracle home components.

  3. Choose Next to accept the default locations. Otherwise, choose a component from the list box and change the default location.

  4. 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...

    Oracle Net Services

    Enter directory usage, listener, and naming method information.

    See Also: "Configuring the Server Network" for a description of the configuration procedures performed

    Oracle Management Server

    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 location of MQSeries Queue Manager.

    • Enter the name of the local MQSeries Queue Manager.

    Oracle Real Application Clusters

    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 Services for Microsoft Transaction Server

    • Install Microsoft Transaction Server after installation, if it is not currently installed.

    • Enter a port on which the Oracle MTS Recovery Service will listen.

    Oracle Transparent Gateway for IBM DRDA

    Select a network protocol with which to communicate with the DRDA server.

    Oracle9i

    • Create a database (if you did not select to upgrade one). Database Configuration Assistant starts at the end of installation and guides you through database creation. At the end of the database creation process, you are required to change the SYS and SYSTEM passwords.

    • Enter the global database name and SID of the database to create.

      See Also: "Selecting a Database Creation Method" for a description of the database configuration procedures you can perform

    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.

  5. Review the space requirements to ensure that you have enough disk space and choose Install.

  6. 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.

  7. 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.

Client Administrator or Runtime Installations

The Summary window appears when you select the Administrator or Runtime Client installation type.

  1. Review the space requirements to ensure that you have enough disk space and choose Install.

  2. 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.

  3. 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.

  4. 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.


Note:

Restart your computer after the first Oracle installation on Windows 98. Subsequent installations only require a shut down and restart if the Oracle home changes.


See Also:


Custom Oracle9i Client Installations

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.

  1. Select the check box of each component to install.


    Note:

    Only components with a check mark are installed.

  2. 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.

  3. Choose Next to accept the default locations. Otherwise, choose a component from the list box and change the default location.

  4. 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...

    Oracle Net Services

    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

    Oracle Services for Microsoft Transaction Server

    • Install Microsoft Transaction Server after installation, if it is not currently installed.

    • Enter a port on which the Oracle MTS Recovery Service will listen.


    The Summary window appears.

  5. Review the space requirements to ensure that you have enough disk space and choose Install.

  6. Wait until the selected components are installed and any configuration tools have completed running.

    The End of Installation window appears.

  7. 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.


Note:

Restart your computer after the first Oracle installation on Windows 98. Subsequent installations only require a shut down and restart if the Oracle home changes.


See Also:


Oracle Management Server Installations

The Oracle Management Server Repository window appears when you select the Oracle Management Server installation type.


Important:

Do not upgrade the Oracle Management Server and repository until all users of both components have upgraded their Oracle Enterprise Manager software (for example, Console and Management Packs) to release 2 (9.2). All Oracle Enterprise Manager products must be of the same release. Older components are not compatible with the newer release.

  1. 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...

    Use an existing repository

    • You have already created a release 2 (9.2) repository for the environment to be managed and want this Oracle Management Server to use that existing repository. Oracle Enterprise Manager Configuration Assistant automatically starts at the end of installation to configure the Oracle Management Server to use the existing repository.

    • You want to upgrade an existing release 2.x repository to release 2 (9.2). Oracle Enterprise Manager Configuration Assistant automatically starts at the end of installation and performs some configuration procedures. However, the repository is not automatically upgraded. When installation is complete, manually start Oracle Enterprise Manager Configuration Assistant to upgrade the existing release 2.x repository to release 2 (9.2). Start Oracle Enterprise Manager Configuration Assistant as follows:

      Start > Programs > Oracle - HOME_NAME > Configuration and Migration Tools > Enterprise Manager Configuration Assistant

    Require a new repository

    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:

    • "Use an Existing Repository" for more information on upgrading an Oracle Enterprise Manager repository

    • Oracle Enterprise Manager Configuration Guide


    The Summary window appears.

  2. 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...

    Oracle Net Configuration Assistant

    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

    Starting Oracle HTTP Service

    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 OracleHOME_NAMEHTTPServer service starts when you restart your computer.

    Enterprise Manager Configuration Assistant

    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.

  3. 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...

    Use an existing repository

    Release 2 (9.2.0.1.0) repository connection information:

    • Username and password for the existing release 2 (9.2) repository

    • The database connect string, specified as:

      hostname:port_number:SID
      

      If you need to upgrade your release 2.x repository to a release 2 (9.2) repository, then you must also start Oracle Enterprise Manager Configuration Assistant after installation to perform the upgrade.

      See Also: "Use an Existing Repository" on page 2-7

    Require a new repository

    Information about the database in which to create the repository:

    • Username (with DBA privileges) and password (for example, SYSTEM/MANAGER)

    • The database connect string, specified as:

      hostname:port_number:SID
      
    • Role to use to connect (for example, SYSDBA)

    After Enterprise Manager Configuration Assistant connects to the database, you must provide the following:

    • Database username and password of the new repository owner. (Accept the default or choose a new name.) You must enter a unique username for each new repository owner in a network.

    • A default tablespace for the repository

    • A temporary tablespace for the repository

    See Also: Oracle Enterprise Manager Configuration Guide for more information on creating a new repository or using an existing repository



    Note:

    The default port number used by most databases is 1521.

  4. Provide appropriate responses to the remaining Oracle Enterprise Manager Configuration Assistant windows.

    The End of Installation window appears.

  5. Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.

  6. If you are upgrading your repository, run the appropriate tool after installation as described in step 0.

Enterprise Manager Console Standalone appears.

Oracle Internet Directory Installations

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"



Installing Oracle Internet Directory for the First Time

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:

  1. 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.

  2. 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.

  3. 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.

  4. 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.

  5. 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 (cn=orcladmin)

    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...

    Oracle Net Configuration Assistant

    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

    Starting Oracle HTTP Service

    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 OracleHOME_NAMEHTTPServer service starts when you restart your computer.

    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.

    OiD Configuration Assistant

    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.

  6. Choose Exit to exit Oracle Universal Installer or choose Next Install to install additional components.


    See Also:

    "Reviewing the Installation Session Log" for a summary of your installation session

Upgrading Oracle Internet Directory

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:

  1. Stop the Oracle listener service, Oracle database service, and Oracle Internet Directory processes (OID Monitor, OID Server, Replication Server, and Directory Integration Server).

  2. 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.

  3. Remove the Oracle Directory service registered in the existing Oracle home, by executing the following:

    oidmon remove

  4. 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:

  1. The Upgrading an Existing Database windows appears. Select the Oracle Internet Directory Oracle8i or Oracle9i release 1 (9.0.1) database to upgrade.

  2. Select Yes to upgrade the existing database.

  3. Choose Next.

    The Oracle SID window appears.

  4. Enter the SID of the existing database.

  5. 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...

    Oracle Database Upgrade Assistant

    Oracle8i or Oracle9i release 1 (9.0.1) to a Oracle9i release 2 (9.2) database

    OiD Upgrade Assistant

    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


  6. 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:

  1. Stop the Oracle Internet Directory processes.

  2. 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.

  3. Perform the upgrade at each node. Refer to "Single-Node Upgrade" for more information.

  4. 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:

  1. 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
      
  2. 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.

  3. Verify that you have stopped the Oracle Internet Directory processes and shut down the database.

  4. 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
    

Custom Oracle9i Management and Integration Installations

The Available Product Components window displays all components available for installation when you select the Custom Oracle9i Management and Integration installation type.

  1. Select the check box of each component to install.


    Note:

    Only components with a check mark are installed.

  2. Choose Next.

    The Component Locations window appears and enables you to select alternate locations in which to install some components.

  3. Choose Next to accept the default locations. Otherwise, choose a component to enable a text box for changing the default location. Then, choose Next.

  4. 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.

    Oracle Internet Directory

    Go to (UNKNOWN STEP NUMBER) "Oracle Internet Directory Installations" for installation instructions.


  5. 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.

  6. 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.

  7. Choose Next.

    The OID User Password Encryption window appears.

  8. Select whether or not to enable password encryption and choose Next.

    The User Password Hashing Algorithm window appears.

  9. Select an encryption schema to use and choose Next.

    The OID Administrator Password window appears.

  10. Enter a password.

    This password enables you to make all changes in Oracle Internet Directory.

  11. Enter the same password a second time and choose Next.

    The OID Size Configuration window appears.

  12. Select the approximate number of directory entries to be stored in Oracle Internet Directory and choose Next.

    The Oracle Management Server Repository window appears.

  13. Select to use an existing repository or create a new repository and choose Next.

    The Create Database window appears.

  14. 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.

  15. 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.

  16. Choose Next.

    The Summary window appears.

  17. 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 Configuration Assistant

    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

    Starting Oracle HTTP Service

    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

    OiD Configuration Assistant

    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 SYS and SYSTEM passwords.

    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 SYS and SYSTEM only after the Oracle Internet Directory installation is complete.

    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

    Oracle Workflow Configuration Assistant

    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, SYS Password, and SYSTEM Password. Several MS-DOS command prompts automatically open and close. Do not manually close these windows, or you will interrupt the configuration process.

    See Also: Oracle Workflow Server Installation Notes for instructions on using Oracle Workflow Configuration Assistant


    The End of Installation window appears.

  18. 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:

  1. Exit Oracle Universal Installer at the end of installation.

  2. Enter the following command:

DRIVE_LETTER:\ORACLE_BASE\ORACLE_HOME\wf\install> wfinstall.bat 

See Also: Oracle Workflow Server Installation Notes for more information


Reviewing the Installation Session Log

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 installActionsdate_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 the Inventory directory or its contents. Doing so can prevent the Installer from locating products that you install on your system.

Deinstalling Oracle Components and Services

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:

Stopping Oracle Services on Windows Platforms

You must first stop the Oracle Windows services before deinstalling Oracle components or removing any registry entries.

To stop Windows services:

  1. 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.

  2. If any Oracle services (names begin with Oracle or Ora) exist and have the status Started, select the service, and choose Stop.

  3. Choose Close to exit the Services window.

  4. Exit the Control Panel.

Stopping and Removing Oracle Internet Directory Services

  1. 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).

  2. Stop the Oracle Internet Directory Monitor at the MS-DOS command prompt:

    C:\> oidmon STOP
    
  3. Remove the Oracle Internet Directory service OracleDirectoryService from the registry:

    C:\> oidmon REMOVE
    
  4. Follow the procedures in "Deinstalling Components with Oracle Universal Installer" to remove the Oracle9i database configured with Oracle Internet Directory.

Stopping and Removing Oracle Management Server Service Registry Entry

  1. Stop the Oracle Management Server (OracleHOME_NAMEManagementServer) 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.

  2. Remove the Oracle Management Server service from the registry:

    C:\> omsntsrv -u HOME_NAME 
    

    where HOME_NAME is the Oracle home name.

Deinstalling Components with Oracle Universal Installer

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:

  1. Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".

  2. Choose Start > Programs > Oracle Installation Products > Universal Installer.

    The Welcome window for Oracle Universal Installer appears.

  3. Choose the Deinstall Products button.

    The Inventory window appears.

  4. Expand the tree of installed components until you find the components to deinstall.

  5. Check the boxes of components to deinstall.

  6. Choose Remove.

    The Confirmation window appears.

  7. 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.

  8. Choose Close to close the Inventory window.

  9. Choose Exit to exit Oracle Universal Installer.

Removing Oracle Keys From the Registry on Windows NT, Windows 2000, and Windows XP

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:

  1. Log in as a member of the Administrators group.

  2. Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".

  3. Start the registry at the MS-DOS command prompt:

    C:\> regedt32
    
  4. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and delete the OracleHOME_NAMETNSListener registry entry. Oracle Universal Installer automatically deletes all other Oracle Net Services.

  5. Exit the registry.

To remove all Oracle components from a computer on Windows NT, Windows 2000, and Windows XP:


Caution:

These instructions remove all Oracle components, services, and registry entries from your computer. In addition, any database files under ORACLE_BASE\oradata\DB_NAME are also removed. Exercise extreme care when removing registry entries. Removing incorrect entries can break your system.


  1. Log in as a member of the Administrators group.

  2. Ensure that you first follow the instructions in "Stopping Oracle Services on Windows Platforms".

  3. Start the registry at the MS-DOS command prompt:

    C:\> regedt32
    
  4. Go to HKEY_CLASSES_ROOT.

  5. Delete any key that starts with Oracle, ORA, or ORCL.

  6. Go to HKEY_LOCAL_MACHINE\SOFTWARE.

  7. Delete the ORACLE and Apache Group keys.

  8. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services.

  9. Delete all keys under here that begin with ORACLE.

  10. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \Eventlog\Application.

  11. Delete all keys under here that begin with ORACLE.

  12. Go to HKEY_CURRENT_USER.

  13. Delete ORACLE.

  14. Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE.

  15. Delete keys that start with Oracle or ORCL (if any exist).

  16. Delete any Oracle keys (if any exist).

  17. Close the registry.

  18. Restart your computer.

Update the System Variable Path

  1. Go to Start > Settings > Control Panel > System > Environment tab.

  2. Choose the system variable path and modify the Path variable.

  3. 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 
    
  4. Exit the Control Panel.

Remove Oracle from the Start Menu

  1. Go to SYSTEM_DRIVE:\winnt\profiles\all users\start menu\programs.

  2. Delete the following icons:

    • Oracle - HOME_NAME

    • Oracle Installation Products

      where HOME_NAME is the previous Oracle home name.

  3. Delete SYSTEM_DRIVE:\program files\oracle through Windows Explorer.

  4. Delete all ORACLE_BASE directories on your hard drive.

  5. Restart your computer.

Removing Oracle Keys from the Registry on Windows 98

To remove all Oracle components from a computer on Windows 98:

  1. Start the registry at the MS-DOS command prompt:

    C:\> regedit

  2. Go to HKEY_CLASSES_ROOT.

  3. Delete any key that starts with Oracle or ORCL.

  4. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.

  5. Delete the ORACLE key.

  6. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\odbcinst.ini.

  7. Delete the Oracle ODBC Driver key.

  8. Go to HKEY_CURRENT_USER\SOFTWARE\ORACLE.

  9. Delete keys that start with Oracle or ORCL (if any exist).

  10. Go to HKEY_CURRENT_USER\SOFTWARE\ODBC\odbcinst.ini.

  11. Delete any Oracle keys.

  12. Close the registry.

  13. Restart your computer.

Update the System Variable Path

Edit your autoexec.bat file and remove your %ORACLE_HOME%\BIN and JRE paths from the path setting.

Remove Oracle from the Start Menu

  1. Delete SYSTEM_DRIVE:\Program Files\Oracle through Windows Explorer.

  2. 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.

  3. Delete all ORACLE_BASE directories on your hard drive.

  4. Restart your computer.