3 Installation Tasks

This chapter describes how to start Oracle Universal Installer and install Oracle products on the system. It includes information about the following topics:

Note:

Review the information in Chapter 1, "Installation Overview" and complete the tasks listed in Chapter 2, "Preinstallation Tasks" before beginning the installation.

3.1 Installation Overview

Oracle Database software is available on Installation media or you can download it from the Oracle Technology Network website. In most cases, you use the graphical user interface (GUI) provided by Oracle Universal Installer to install the software. However, you can also use Oracle Universal Installer to complete noninteractive installations without using the GUI. See Appendix B for information about noninteractive installations.

This chapter describes how to install Oracle Database from the product media or from the hard disk. To install the software from the hard disk, you must either download it from Oracle Technology Network and unpack it, or copy it from the discs if you have them. Perform one of the following tasks, depending on the method that you want to use:

3.1.1 Reviewing Product-Specific Installation Guidelines

Review the following guidelines before starting Oracle Universal Installer:

  • Oracle Universal Installer

    Do not use Oracle Universal Installer from an earlier Oracle product release to install components from this release.

  • Oracle Label Security

    To install the Oracle Label Security option, you must select a Custom installation type.

    Note:

    Before you perform a custom installation, ensure that all databases in the Oracle home where you want to install Oracle Label Security are shut down.

    If you want to configure Oracle Label Security to use Oracle Internet Directory, then you must select the Oracle Internet Directory option when running Database Configuration Assistant.

  • Products not installed by default: choose Custom installation type. These products are:

    Oracle Label Security

    To configure Oracle Label Security to use Oracle Internet Directory, choose the Oracle Internet Directory option when running Database Configuration Assistant. If you are installing Oracle Label Security in an existing Oracle home, then shut down each database in the Oracle home.

3.2 Downloading Oracle Software

To download the Oracle Database 11g Release 2 (11.2) Media Pack, perform the steps provided in the following sections:

See Also:

OpenVMS: FAQ for Oracle RDBMS Release 11.2 on HP OpenVMS (document 2012766.1)

3.2.1 Ordering Oracle Database Media

The Oracle OpenVMS kit 11g Release 2 (11.2) is available for download on Oracle Technology Network and eDelivery. To order DVD media, see document 1071023.1 on the My Oracle Support website at

https://support.oracle.com

To locate document 1071023.1, perform the following steps:

  1. Log on to My Oracle Support.

  2. Set Article ID as the search source.

  3. Enter 1071023.1 in the search field, then click Search.

The Oracle Database Media Pack for Oracle Database 11g Release 2 (11.2) for HP OpenVMS on request, contains the product for Oracle 11g Release 2 (11.2.0.4.0) for HP OpenVMS Itanium.

3.2.2 Downloading Management Agent Software

For HP OpenVMS 11g Release 2 (11.2), the 10.2.0.2 Enterprise Manager Agent should be utilized. To download Management Agent, select the required HP OpenVMS platform from the following website at

http://www.oracle.com/technetwork/oem/grid-control/downloads/agentsoft-090381.html

3.3 Installing Oracle Database Software

You can install Oracle Database either from the hard disk or from installation media. The following sections describes the methods for installing Oracle Database from these media:

3.3.1 Installing Oracle Database from the Hard Drive

You can avoid the need to mount and unmount installation media during installation by copying the contents of each installation medium to an On-Disk Structure Level 5 (ODS-5) formatted disk. You must have enough disk space available, depending on the type of install.

  1. Set up an X Window System environment by using the following DCL command: 

    $ SET DISPLAY/CREATE/TRANSPORT=TCPIP/NODE=workstation_name or IP_address
    
  2. Copy the install media files onto a hard drive. Create a directory to hold the contents of the DVD on an ODS-5 disk. For example, you may perform the following steps, replacing DISK$VMS with an appropriate ODS-5 disk name, DQA0 with the name of the DVD drive, and ORACLE with the name of the Oracle Database account:

    $ CREATE/DIR DISK$VMS:[11GKIT]/OWNER=ORACLE11G
    $ SET DEF DISK$VMS:[11GKIT]
    $ MOUNT/OVER=IDENT DQA0 ! Mount DVD
    $ SET PROC/PARSE=EXTENDED
    $ COPY/READ/WRITE DQA0:[000000...]*.*;*[...]/EXCLUDE=*.SYS
    $ DISMOUNT DQA0
    

    The software is now staged on disk and ready for installation using Oracle Universal Installer.

  3. Start Oracle Universal Installer from the [11GKIT.DATABASE] directory on the hard drive. For example:

    HOST25> SET DISPLAY/CREATE/TRANSPORT=TCPIP/node=host01/server=3
    HOST25> @DISK$VMS:[11GKIT.DATABASE.DISK1]runInstaller.com
     - checking OpenVMS ECO status
     
    Do you wish to continue? (Y/N) [Y] : y
     
     - checking OpenVMS quota settings
    OpenVMS quota setting checked successfully.
     
    Please specify the location for ORACLE_BASE
    This must be a directory on an ODS-5 formatted disk
     and must NOT be within/under ORACLE_HOME
     
    Enter ORACLE_BASE: disk66:[Oracle11204]
     
    Please specify the location to be used for ORACLE_HOME
     
    ORACLE_HOME location: disk66:[Oracle11204.EEsvr]
     
    WARNING: The specified ORACLE_HOME does not exist
     
             disk66:[Oracle11204.EEsvr]
     
    Create now? [N] : Y
     
    Creating directory ...
    %CREATE-I-CREATED, disk66:[Oracle11204.EEsvr] created
     
     
    Please specify the location for temporary files created during installation.
    This must be a directory on an ODS-5 formatted disk.
     
    Enter scratchPath: disk67:[scratch2]
     
     
    WARNING: The specified scratchPath does not exist:
     
             disk67:[scratch2]
     
    Create now? [N] : Y
     
    Creating directory ...
    %CREATE-I-CREATED, disk67:[scratch2] created
     
    %DCL-I-SUPERSEDE, previous value of ORA_AUTO_INSORACLE has been superseded
     
    Starting Oracle Universal Installer...
     
    Preparing to launch Oracle Universal Installer from /disk67/scratch2/OraInstall<Date and Time>. Please wait ...
     
    Executing: @disk67:[scratch2.OraInstall<Date and Time>]setup.com
    Oracle Universal Installer, Version 11.2.0.4.0 Production
    Copyright (C) 1999, 2013, Oracle. All rights reserved.
     
    Unknown host: _WSA14
    
  4. Complete Steps 3 through 4 in Section 3.3.2.2, "Installing Oracle Database" to continue with the installation process.

3.3.2 Installing Oracle Database from Install Media

Set up an X Window System environment by using the following DCL command: 

$ SET DISPLAY/CREATE/TRANSPORT=TCPIP/NODE=workstation_name or IP_address

The following procedure describes the installation of products with the use of the Install Media files and Oracle Universal Installer:

3.3.2.1 Mount the DVD

Mount the Oracle Installation DVD. For example:

$ MOUNT/OVERRIDE=IDENTIFICATION ddcn

where:

ddcn is a valid DVD drive.

Caution:

Oracle does not support Oracle Universal Installer that is shipped with any prior release to install Oracle Database 11g Release 2 (11.2) components.

3.3.2.2 Installing Oracle Database

To install Oracle Database from the DVD:

  1. Log in to the Oracle Database account.

  2. Start Oracle Universal Installer from the DATABASE directory on the DVD with the following command:

    $ @ddcn:[DATABASE]RUNINSTALLER
    

    After Oracle Universal Installer is started, the Welcome screen is displayed. Click Next to continue the installation.

  3. An introductory screen appears which allows you to uninstall previously installed Oracle Products.

    1. Click Next to continue.

  4. The Available Products screen is displayed.

    1. Select Oracle Database Server or Oracle Client.

    2. Click Next to continue.

  5. The Installation Types screen is displayed.

    1. Select an installation type: Enterprise Edition, Standard Enterprise, or Custom.

      Oracle Database Custom Installation: Enables you to select the individual components to install from a list of available components.

      If you select the Custom Installation option, the Available Product Components screen is displayed. It lists all the products and components that are available for installation. A typical custom installation configuration is selected by default. Some actions that may differ from a standard installation are:

      1. Select the products that you want to install, or deselect the products that you do not want to install, and click Next.

      2. Provide responses to any screen prompts that are displayed. With custom selection of products, you may want to change default values for items such as: port numbers or product-specific directory names. In the end, the Summary screen is displayed.

    2. Click Next.

      The Database Server Summary page is displayed.

    3. Click Install.

  6. The Install screen is displayed. This screen indicates installation progress. Any errors or warnings are displayed in a dialog box where you can select to fix and retry, to ignore and continue, or to quit.

    1. If you chose to install Software Only, then the End of Installation screen is displayed next.

    2. During installation, the following messages regarding linking appears in the terminal screen:

      Using hex value: 5A6E7EB2 for install.id
        - unzipping LinkScripts_client.zip
        - unzipping LinkScripts_server.zip
      
      Starting LINK operation.   This could take a while. The linklog information will be written to ora_root:[install]make.log. Please wait ...
      
      Completed LINK operation.
      
      Deleting ORACLE runtime environment...
      Dropping "SERVER_5A6E7EB2" from LNM$FILE_DEV list.
      Redefining LNM$FILE_DEV...
      ORACLE runtime environment deleted.
      EXECUTING RELINK DEPLOY
         - deploying recently linked executables to ORA_ROOT:[BIN]
         - files deployed:   196 / 196
      
      Completed RELINK DEPLOY
      
    3. When configuration is complete, the End of Installation screen is displayed.

  7. From the End of Installation screen, you may exit or install additional products.

    1. This screen is displayed when the installation is complete. You may choose to exit Oracle Universal Installer or to begin another installation:

    2. Click Exit to end Oracle Universal Installer session.

    3. Click Next Install to begin another installation without stopping and restarting Oracle Universal Installer.

3.3.2.3 Completing Oracle Database Server Enterprise Edition Installation

If no errors occur during installation, then the installation is complete. To create a database instance, use Database Configuration Assistant.

3.4 Reviewing the Log of an Installation Session

Oracle Universal Installer creates the ORAINVENTORY directory the first time that it is run on a computer. It does this to keep an inventory of products that it installs on the system and an inventory of other installation information.

The location of the ORAINVENTORY directory is defined in the ORAINST.LOC file, which is located in the nodename sub directory which refers to the node where the install was done. An inventory is created the first time that an Oracle Universal Installer installation is performed on a particular system. The inventory is then detected and referenced during subsequent installation sessions.

Note:

If the same node is used, the ORAINST.LOC is detected and referenced only during subsequent installation sessions. If on a cluster, this represents a problem.

Oracle suggests that you create additional nodename directories and copy the ORAINST.LOC file to them so that any node can subsequently be used for additional install actions.

The log file of the most recent installation is INSTALLACTIONS.LOG located in the [.LOGS] subdirectory of the ORAINVENTORY directory.

INSTALLACTIONSdate_time.LOG

For example:

INSTAllACTIONS 2001-02-14_09-00-56-AM.LOG

Caution:

Do not delete or manually alter the ORAINVENTORY directory or its contents. Doing so can prevent Oracle Universal Installer from locating products that install on the system.

The make.log file in the ORA_ROOT:[INSTALL] directory contains a log of every make file action that is run during the installation process. The make.log file should be examined for any linker errors that may have occurred during the installation and ensure that corrective action is taken. Do not delete or alter the make.log file.

3.5 Cleaning Up After a Failed Installation

If an installation fails, then (before you attempt another installation) you may need to remove files that Oracle Universal Installer created during the last session.

To clean up after a failed installation:

  1. Start Oracle Universal Installer.

  2. Click De-install Products and select any products that were left after the failed installation.

  3. Click Remove.

To complete the clean up, you may need to manually remove the ORA_ROOT directory.