Oracle 9i Installation

 


Installation Mount Options

The Oracle9i installation process uses more than one CD-ROM. The Oracle9i CD-ROMs are in ISO 9660 format with Rockridge extensions. You can choose to install Oracle9i directly from the CD-ROMs, or to copy the CD-ROM contents and install from your system hard drive. Complete the procedures required for the install method you choose before starting the Oracle Universal Installer.

 

Installing Oracle9i from the CD-ROMs

 

Mounting CD-ROMs for AIX

Mount disk 1 to begin the installation. Mount the subsequent disk or disks when prompted to do so. Follow these steps to mount the Oracle9i CD-ROM manually:

  1. Place Oracle9i CD-ROM disk 1 in the CD-ROM drive.

  2. Log in as the root user and create a CD-ROM mount point directory, if one does not already exist, by using the following commands:

    $ su root
    # mkdir cdrom_mount_point_directory
    
    
  3. Use the following command to determine the device_name:

    # lsdev  -Cc cdrom
    
    

    The output should be similar to the following:

    cd0 Available 10-60-00-4, 0 SCSI Multimedia CD-ROM Drive
    
    

    In the preceding output, /dev/cd0 is the CD-ROM device.

  4. Mount the CD-ROM drive on the mount point directory, then exit the root account by using the following commands:

    # mount options device_name cdrom_mount_point_directory 
    # exit
    
    

    Example 3-1 shows how to mount the CD-ROM manually.

 

Example 3-1 Mounting the AIX CD-ROM Manually

$ su root
# mkdir /cdrom
# mount -rv cdrfs /dev/cd0 /cdrom
# exit

Do not run the Installer while the CD-ROM directory is the current directory or you will be unable to unmount the next CD-ROM when prompted to do so. 

 

Mounting CD-ROMs for HP

Mount disk 1 to begin the installation. Mount the subsequent disk or disks when prompted to do so. You must have root privileges to mount or unmount a CD-ROM. Be sure to unmount the CD-ROM before removing it from the drive. Follow these steps to mount the Oracle9i CD-ROM manually:

  1. Use the following command to determine the device_file:

    $ ioscan -fun -C disk
    
    

    The output should be similar to the following:

    disk     10  10/12/5.2.0   sdisk       CLAIMED   DEVICE    TOSHIBA CD-ROM 
    XM-5701TA /dev/dsk/c4t2d0   /dev/rdsk/c4t2d0
    
    
  2. If there is not already an entry in the /etc/pfs_fstab file for your CD-ROM device, add one. As the root user, use a system editor to add a line to the /etc/pfs_fstab file following this format:

    device_file mount_point filesystem_type translation_method
    
    

    In the preceding format, the first entry is the CD-ROM device, the second entry is the mount point, and the third entry indicates that the CD-ROM to be mounted is in ISO9660 format with Rockridge extensions.

    The device_file in this example is /dev/dsk/c4t2d0. For a CD-ROM device with the path /dev/dsk/c4t2d0, you would enter the following:

    /dev/dsk/c4t2d0 /SD_CDROM pfs-rrip xlat=unix 1 0
    
    
  3. Log in as the root user with the following command:

    $ su root
    
    
  4. Enter the following commands:

    # nohup /usr/sbin/pfs_mountd &
    # nohup /usr/sbin/pfsd &
    
    
  5. Place Oracle9i CD-ROM disk 1 in the CD-ROM drive and mount the CD-ROM by entering the following command:

    # /usr/sbin/pfs_mount /SD_CDROM
    
    
  6. Log out of the root account.

    # exit
    
    

If you run the Installer while the current working directory is in the CD-ROM, follow these steps to mount the next CD-ROM:

  1. Change to your system's root directory and log in as the root user with the following commands:

    $ cd /
    $ su root
    
    
  2. To unmount the CD-ROM, use the following command:

    # /usr/sbin/pfs_umount /SD_CDROM
    
    
  3. Remove the CD-ROM from the CD-ROM drive.

  4. Insert the required CD-ROM into the CD-ROM drive and mount it with the following command:

    # /usr/sbin/pfs_mount /SD_CDROM
    
    
  5. Enter the correct mount point in the Installation dialog box.

  6. Click OK to continue.

 

Mounting CD-ROMs for Linux

Mount disk 1 to begin the installation. Mount the subsequent disk or disks when prompted to do so.

 

Mounting CD-ROMs for Linux with Auto Mounting Software

If you are using auto mounting software, the CD-ROM is mounted automatically to the directory specified in your auto mount configuration when you insert it into the CD-ROM drive. Proceed to "Oracle Universal Installer".

To check if you have auto mounting software, use the following command:

$ ps aux | grep automount

If you have auto mounting software, the output should be similar to the following:

root 628 0.0 0.2 1148 588 ? S 17:32 0:00 /usr/sbin/automount /misc file 
/etc/auto.misc

In the preceding output, the /etc/auto.misc entry defines the directory under the /misc file where the CD-ROM will be mounted.

Follow these steps to mount subsequent CD-ROMs:

  1. Remove the CD-ROM from the CD-ROM drive by using the following commands:

    $ cd /
    $ eject
    
    
  2. Insert the next CD-ROM into the CD-ROM drive and enter the correct mount point in the Installation dialog box.

  3. Click OK to continue.

 

Mounting CD-ROMs for Linux Manually

To mount the Oracle9i CD-ROM manually, use the following steps:

  1. Place Oracle9i CD-ROM disk 1 in the CD-ROM drive.

  2. Log in as the root user and, if necessary, create a CD-ROM mount point directory by using the following commands:

    $ su root
    # mkdir cdrom_mount_point_directory
  3. Mount the CD-ROM drive on the mount point directory by using the following commands:

    # mount options device_name cdrom_mount_point_directory
    
    
  4. Exit the root account.

    # exit
    
    

If you are unsure of the correct device_name, consult your system administrator. Typically, the device_name is /dev/cdrom.

Example 3-2 shows how to mount the CD-ROM manually.

 

Example 3-2 Mounting the Linux CD-ROM Manually

$ su root
# mkdir /cdrom
# mount -t -iso9660 /dev/cdrom / cdrom
# exit

If you run the Installer while the current working directory is in the CD-ROM, follow these steps to mount the next CD-ROM:

  1. Change directory to the root directory of your system and log in as the root user by using the following commands:

    $ cd /
    $ su root
    
    
  2. Unmount the CD-ROM by using the following command:

    # umount cdrom_mount_point_directory
    
    
  3. Remove the CD-ROM from the CD-ROM drive.

    
    
  4. Insert and mount the next CD-ROM into the CD-ROM drive by using the following command:

    # mount cdrom_mount_point_directory
    
    
  5. Enter the correct mount point in the Installation dialog box.

  6. Click OK to continue.

 

Mounting CD-ROMs for Solaris

Mount disk 1 to begin the installation. Mount the subsequent disk or disks when prompted to do so.

 

Mounting CD-ROMs for Solaris with Volume Management Software

If you are using Volume Management software (available by default on UNIX), the CD-ROM is mounted automatically to the /cdrom/orcl901_1 directory when you insert it into the CD-ROM drive. Proceed to "Oracle Universal Installer".

To check if you have Volume Management software, use the following command:

$ ps -e | grep vold

If you have Volume Management software, the output should be similar to the following:

404 ? 16:03 vold

  • If the Volume Management software is running, the CD-ROM is mounted automatically. Use the following commands to mount subsequent CD-ROMs:

    $ cd /
    $ eject
    
    

    After entering these commands, proceed to "Oracle Universal Installer".

  • If no lines are returned, then Volume Management software is not running, and you will have to mount the CD-ROM manually. Proceed to "Mounting CD-ROMs for Solaris Manually".

Follow these steps to mount subsequent CD-ROMs:

  1. Remove the CD-ROM from the CD-ROM drive by using the following commands:

    $ cd /
    $ eject
    
    
  2. Insert the next CD-ROM into the CD-ROM drive and enter the correct mount point in the Installation dialog box.

  3. Click OK to continue.

 

Mounting CD-ROMs for Solaris Manually

Follow these steps to mount the Oracle9i CD-ROM manually:

  1. Place Oracle9i CD-ROM disk 1 in the CD-ROM drive.

  2. Log in as the root user and, if necessary, create a CD-ROM mount point directory by using the following commands:

    $ su root
    # mkdir cdrom_mount_point_directory
  3. Mount the CD-ROM drive on the mount point directory, then exit the root account by using the following commands:

    # mount options device_name cdrom_mount_point_directory 
    # exit
    
    

If you are unsure of the correct device_name, consult your system administrator. Typically, the device_name is /dev/dsk/c0t6d0s0.

Example 3-3 shows how to mount the CD-ROM manually.

 

Example 3-3 Mounting the Solaris CD-ROM Manually

$ su root
# mkdir /cdrom
# mount -r -F hsfs /dev/dsk/c0t6d0s0 /cdrom
# exit

If you run the Installer while the current working directory is in the CD-ROM, follow these steps to mount the next CD-ROM:

  1. Change directory to the root directory of your system and log in as the root user by using the following commands:

    $ cd /
    $ su root
    
    
  2. Unmount the CD-ROM by using the following command:

    # umount cdrom_mount_point_directory
    
    
  3. Remove the CD-ROM from the CD-ROM drive.

    
    
  4. Insert and mount the next CD-ROM into the CD-ROM drive by using the following command:

    # mount cdrom_mount_point_directory
    
    
  5. Enter the correct mount point in the Installation dialog box.

  6. Click OK to continue.

 

Mounting CD-ROMs for Tru64

Follow these steps to mount the Oracle9i CD-ROM manually:

  1. Place Oracle9i CD-ROM disk 1 in the CD-ROM drive.

  2. Log in as the root user and create a CD-ROM mount point directory, if one does not already exist, by using the following commands:

    $ su root
    # mkdir cdrom_mount_point_directory
    
    
  3. Use the following command to determine the device_name:

    $ ls /dev/disk/cdrom*c
    
    

    The command should return a line similar to the following:

    /dev/disk/cdrom0c
    
    
  4. Mount the CD-ROM drive on the mount point directory, by using the following commands:

    # mount options device_name cdrom_mount_point_directory 
    
    
  5. Exit the root account.

    # exit
    
    

    Example 3-4 shows how to mount the CD-ROM manually.

 

Example 3-4 Mounting the Tru64 CD-ROM Manually

$ su root
# mkdir /cdrom
# mount -t cdfs -r -o nodefperm,noversion,rrip /dev/disk/cdrom0c /cdrom
# exit

If you run the Installer while the current working directory is in the CD-ROM, follow these steps to mount the next CD-ROM:

  1. Change directory to the root directory of your system and log in as the root user by using the following commands:

    $ cd /
    $ su root
    
    
  2. Unmount the CD-ROM by using the following command:

    # umount cdrom_mount_point_directory
    
    
  3. Remove the CD-ROM from the CD-ROM drive.

    
    
  4. Insert and mount the next CD-ROM into the CD-ROM drive by using the following command:

    # mount options device_name cdrom_mount_point_directory
    
    
  5. Enter the correct mount point in the Installation dialog box.

  6. Click OK to continue.

 

Installing Oracle9i from the Hard Drive

You can avoid the need to mount and unmount CD-ROMs during installation by copying the contents of each CD-ROM to your system's hard drive. You should have a filesystem that is not in use by other applications and have at least 2 GB of disk space available.

  1. Copy the CD-ROMs to your system hard drive. Copy each CD-ROM to a directory on a single mount point with the same name as the CD-ROM. For example, copy disk 1 to a directory named disk 1.

  2. Start the Oracle Universal Installer. The Installer automatically finds the contents of each CD-ROM and does not prompt for the location of any CD-ROM during the course of the installation.

 

Oracle Universal Installer

The following procedure describes the installation of products with Oracle Universal Installer.

Do not run the Installer as the root user.

  1. Log in as the oracle user.

  2. Start the Installer from the CD-ROM mount-point directory at the root directory level with the following command:

    $ /cdrom_mount_point_directory/runInstaller
    
    


    The Oracle Universal Installer is capable of running a non-interactive installation of Oracle products and can optionally be configured for "non-interactive" mode. For instructions on using this feature of the Installer, see "Non-Interactive Installation and Configuration

    Oracle Universal Installer automatically installs the Oracle-supplied version of the Java Runtime Environment (JRE). This version is required to run Oracle Universal Installer and several Oracle assistants. Do not modify the JRE except by using a patch provided by Oracle Support Services. 

    After the Installer starts, the Welcome window appears.

  3. Click Next.

    • If this is the first time any Oracle9i products are installed on the current system, the File Locations window appears. Specify the base directory where you want to install the files.

    • If this is not the first time any Oracle9i products are installed on the current system, go to step 8.

  4. Click Next.

    The UNIX Group Name window appears. In the UNIX Group Name field, specify the ORAINVENTORY group. Members of this group are granted permission to update Oracle software on the system. Review "Create a UNIX Group for the Oracle Universal Installer Inventory" if you are not sure what group to specify to own oraInventory files.

  5. Click Next.

    If the /etc directory does not exist on AIX or the /var/opt/oracle/ directory does not exist on HP, Linux, Solaris, or Tru64, or is not writable by the oracle user, an Installer window appears prompting you to run the /tmp/OraInstall/orainstRoot.sh script in another terminal window as the root user. When the script has finished running, click Retry to continue the installation.

    The File Locations window appears. Do not change the text in the Source field. The Source field specifies the location of the installation files.

    A note window opens only if you have not completed all the required pre-installation steps. If you choose to run the orainstRoot.sh script, the oraInventory file and other files oracle account uses will be written in the $ORACLE_HOME directory to ensure that oracle account has write access. This configuration may not be optimal for your system or your needs. Oracle Corporation recommends that you complete the steps described in Chapter 2, "Pre-Installation Requirements." 

  6. Enter the Oracle home directory path in the Destination field. The directory path is where you want to install Oracle9i products. If you set the ORACLE_HOME environment variable before starting the Installer, the Installer uses this directory path as the default value in the Destination field.

    You must install Oracle9i products into a new Oracle home directory. You cannot install Oracle9i products into a directory that contains older versions of the software.

    If you have an existing Oracle home directory created with a pre-9.0.x release, change the default Oracle9i installation location to a different location. 

  7. Click Next.

  8. The Available Products window appears. Select the Oracle9i installation category you want to install and click Next.

  9. Proceed to one of the following installation guide sections based on your selection:

    If you select... See...
    Oracle9i Database "Installing Oracle9i Database".
    Oracle9i Client "Installing Oracle9i Client".
    Oracle9i Management and Integration "Installing Oracle9i Management and Integration".

     

    Installing Oracle9i Database

    After selecting Oracle9i Database from the Available Products window, the Installation Types window appears. Follow these procedures to install Oracle9i Database:

    1. Select Enterprise, Standard, or Custom Installation, then click Next.

    2. Go to one of the following sections based on the selection you made above:

      If you select... See...
      Enterprise Edition or Standard Edition "Oracle9i Enterprise Edition or Standard Edition Installation".
      Custom "Oracle9i Database Custom Installation".

     

    Oracle9i Enterprise Edition or Standard Edition Installation

      When you select Enterprise Edition or Standard Edition Installation, the Database Configuration Types window appears.

    1. Select the appropriate database and click Next.

      If you select... Then Oracle Universal Installer...
      General Purpose Installs a preconfigured database optimized for general purpose usage.
      Transaction Processing Installs a preconfigured database optimized for transaction processing.
      Data Warehouse Installs a preconfigured database optimized for data warehousing.
      Customized Allows you to create a customized database. This option takes longer than the pre-configured options.
      Software only Installs software only and does not run any configuration tools.

      The Privileged Operating System Groups window appears if the oracle account is not a member of the OSDBA group created in "Create UNIX Groups for Database Administrators", or if there is a UNIX group with a name other than dba that serves as the OSDBA group.

    2. Enter the UNIX group name that serves as the OSDBA group. If a separate UNIX group serves as the OSOPER group, specify it in this window as well.

    3. Click Next.

    4. If Oracle Universal Installer detects an earlier version of an Oracle database on your system, you are prompted to migrate your database with the Oracle Data Migration Assistant. Select the Upgrade or Migrate an Existing Database check box to have Oracle Data Migration Assistant start immediately after installation to migrate your database to an Oracle9i database.

      If you choose to migrate your database, go to step 8.


      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 Installation

    5. Click Next.

      The Database Identification window appears.

    6. Enter the Global Database Name and System Identifier (SID) in the appropriate fields:

      In this field... Enter the...
      Global Database Name Full database name that uniquely distinguishes it from any other database in your network domain. For example:

        sales.acme.com

      where sales is the name you want to call your database and acme.com is the network domain in which the database is located.

      SID System Identifier, the database instance name that uniquely distinguishes it from any other database on your system. The SID field defaults to the database name portion of the Global Database Name (sales in the example above) until it reaches eight characters in length or you enter a period. You can accept or change the default value.
    7. Click Next.

      The Database File Location window appears.

    8. In the Directory for Database Files field, enter the directory location of the database file. Alternatively, use the Browse... button to navigate to the directory location of the database file.


      Oracle Corporation recommends that database files and Oracle software files be installed on separate disks. 

    9. Click Next.

      The Database Character Set window appears. Choose the database character set that you want to use from the available options.

    10. Click Next.

      The Summary window appears.

    11. Review the information to ensure that you have enough disk space and click Install.

      The Install window appears and displays a progress meter. The Installer goes through the install and relinking phases, so the meter adjusts for each phase completion.

    12. If you are installing from the CD-ROMs, you will be prompted to insert the subsequent disks to continue with installation.

    13. Run the root.sh script when prompted.

      The Installer creates the root.sh script in the Oracle home directory and prompts you to run the script when it finishes installing Oracle products. Log in as the root user and run the script. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. To run the root.sh script use the following commands:

      # cd $ORACLE_HOME
      # ./root.sh
      
      

      If you install Real Application Clusters, then run the root.sh script on every node in the cluster.

      When the root.sh script runs successfully, return to the Oracle Universal Installer, and click OK in the Alert window.

    14. The Configuration Tools window appears at the end of installation depending on the selections you made previously.

      The configuration assistants help you create and configure the database and network environment.

       

      Configuration Assistants

      The... Starts... And...
      Apache Web Server Configuration Assistant In all cases except if you selected the Software only configuration type Starts the HTTP Listener in non-SSL mode on port 7777.
      Oracle Database Configuration Assistant If you selected not to migrate an existing instance and to create a database Automatically creates an Oracle9i database. See "Oracle Database Configuration Assistant" for information on database types.
      Oracle Data Migration Assistant If you selected to migrate a database Migrates the selected database to Oracle9i.
      Oracle Net Configuration Assistant In all cases except if you selected the Software only configuration type Guides you to configure your Oracle Net listener networking software. See "Oracle Net Configuration Assistant" for a description of the configuration procedures.


      If you are installing a database and want to unlock administrative user passwords after installation, click the Password Management button in the Database Assistant dialog box.

      For more information on password management, see "Reviewing User Names and Passwords

      The End of Installation window appears if the configuration assistants are successful.

      If a configuration assistant fails, the Configuration Tools window displays the results of running these assistants. Correct the cause of the failure and click Retry to re-install, or click Next to continue.

      The End of Installation window appears.

    15. Click Exit to exit the Oracle Universal Installer, or click Next Install to install additional products. Selecting Next Install returns you to the Oracle Universal Installer File Locations window.

     

    Oracle9i Database Custom Installation

    When you select Custom Installation, the Available Product Components window appears. It displays all products and components available for installation. A typical Custom installation configuration is selected by default.

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

    2. Provide responses to any window prompts that appear.

      The Summary window appears.

      The Installer notifies you if you do not have enough disk space to install the products you have selected. If necessary, deselect products in order to select a configuration suitable for your system. If this is not necessary, click Install.

      The Install window appears.

    3. Run the root.sh script when prompted.

      The Installer creates the root.sh script in the Oracle home directory and prompts you to run the script when it finishes installing Oracle products. Log in as the root user and run the script. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. To run the root.sh script, use the following command:

      # cd $ORACLE_HOME
      # ./root.sh
      
      

      If you install Oracle9i Real Application Clusters, run the root.sh script on every node in the cluster.

      When the root.sh script runs successfully, return to the Oracle Universal Installer, and click OK in the Alert window.

    4. The Configuration Tools window appears at the end of installation, depending on the selections you made previously.

      The configuration assistants help you create and configure the database and network environment.

       

      Configuration Assistants

      The... Starts... And...
      Apache Web Server Configuration Assistant If you selected the Oracle HTTP Server in the Available Products window Starts the HTTP Listener in non-SSL mode on port 7777.
      Oracle Database Configuration Assistant If you selected:
      • Oracle9i Server in the product selection screen

        AND

      • you chose not to migrate

        AND

      • you selected Yes when prompted to install an Oracle9i database.

      Guides you in creating an Oracle9i database. See "Oracle Database Configuration Assistant".
      Oracle Data Migration Assistant If you selected to migrate a database Migrates the selected database to Oracle9i.
      Oracle Enterprise Manager Configuration Assistant If you selected to install Oracle Management Server in the Available Products window Allows you to configure the local Oracle Management Server to use an existing release 9.0.0 repository or to create a new release 9.0.1 repository.
      Oracle Net Configuration Assistant If you selected any products that require network configuration Guides you to configure your Oracle Net listener networking software. See "Oracle Net Configuration Assistant" for a description of the configuration procedures.

      The End of Installation window appears if the configuration assistants are successful.

      If a configuration assistant fails, the Configuration Tools window displays the results of running these assistants. Correct the cause of the failure and click Retry to re-install, or click Next to continue. Then the End of Installation window appears.

    5. Click Exit to exit the Oracle Universal Installer, or click Next Install to install additional products. Selecting Next Install returns you to the File Locations window.

     

    Installing Oracle9i Client


    For a list of products installed with each installation type, see the appropriate product section in Appendix A, "Oracle9i Components"

    After selecting Oracle9i Client from the Available Products window, the Installation Types window appears.

    1. Select the Oracle Client installation type you want to install, then click Next.

    2. Go to one of the following sections based on the selection you made in step above:

      If you selected... See...
      Administrator and Runtime "Oracle9i Client Administrator and Runtime Installation".
      Custom "Oracle9i Client Custom".

     

    Oracle9i Client Administrator and Runtime Installation

    Follow these procedures to perform a Client Administrator or Runtime installation:

    1. After selecting Administrator or Runtime Installation, click Next.

      The Available Products Components window appears.

    2. Select the products you want to install or deselect products you do not want to install and click Next.

      The Summary window appears.

    3. Review the information to ensure that you have enough disk space. You cannot make any product or space allocation changes once the installation begins.

    4. Click Install.

      The Install window appears and displays a progress meter. The Installer goes through the install and relinking phases, so the meter adjusts for each phase completion.

    5. Run the root.sh script when prompted.

      The Installer creates the root.sh script in the Oracle home directory and prompts you to run the script when it finishes installing Oracle products. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. Log in as the root user and run the script. To run the root.sh script, use the following command:

      # cd $ORACLE_HOME
      # ./root.sh
      
      

      When the root.sh script runs successfully, return to the Oracle Universal Installer, and click OK in the Alert window.

      The Configuration Tools window may appear at the end of installation, depending on the selections you made previously.

      The configuration assistant helps you create and configure the database and network environment.

       

      Configuration Assistant

      The... Starts... And...
      Oracle Net Configuration Assistant In all cases Guides you to configure your Oracle Net listener networking software. See "Oracle Net Configuration Assistant" for a description of the configuration procedures.

      The End of Installation window appears if the configuration assistants are successful.

      If the configuration assistant fails, the Configuration Tools window displays the results of running this assistant. Correct the cause of the failure and click Retry to re-install, or click Next to continue.

      The End of Installation window appears.

    6. Click Exit to exit Oracle Universal Installer, or click Next Install to install additional products. Selecting Next Install returns you to the File Locations window.

     

    Oracle9i Client Custom

    Follow these procedures to perform a Client Custom installation:

    1. After selecting Client Custom installation, click Next.

      The Available Products window appears and displays all products available for installation.

    2. Select products you want to install or deselect products you do not want to install, then click Next. A typical Custom Installation configuration is selected by default.

    3. Provide responses to any prompts that appear.

      The Summary window appears.

    4. Review the information to ensure that you have enough disk space and click Install.

      The Install window appears and displays a progress meter. The Installer goes through the install and relinking phases, so the meter adjusts for each phase completion.

    5. Run the root.sh script when prompted.

      The Installer creates the root.sh script in the Oracle home directory and prompts you to run the script when it finishes installing Oracle products. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. Log in as the root user and run the script. To run the root.sh script, use the following command:

      # cd $ORACLE_HOME
      # ./root.sh
      
      

      When the root.sh script runs successfully, return to the Oracle Universal Installer, and click OK in the Alert window.

      The Configuration Tools window may appear at the end of installation, depending on your selections previously.

      The configuration assistant help you create and configure the database and network environment.

       

      Configuration Assistants

      This Assistant... Starts... And does the following...
      Oracle Net Configuration Assistant If you selected any products that require network configuration Guides you to configure your Oracle Net listener networking software. See "Oracle Net Configuration Assistant" for a description of the configuration procedures.

      The End of Installation window appears.

    6. Click Exit to exit Oracle Universal Installer, or click Next Install to install additional products. Selecting Next Install returns you to the Oracle Universal Installer File Locations window.

     

    Installing Oracle9i Management and Integration

    When you select Management and Integration Installation, the Installation Types window appears.

    1. Select Oracle Management Server, Oracle Internet Directory, Oracle Integration Server or Custom and click Next.

    2. Go to one of the following sections based on the selection you made above:

      If you selected... See...
      Oracle Management Server "Oracle Management Server Installation"
      Oracle Internet Directory "Oracle Internet Directory Installation"
      Oracle Integration Server "Oracle Integration Server Installation"
      Custom "Oracle9i Management and Integration Custom Installation"


      For a list of products installed with each installation type, see Appendix A, "Oracle9i Components"

     

    Oracle Management Server Installation

    After selecting Oracle Management Server in the Installation Types window, the Oracle Management Server Repository window appears. Follow these procedures to install Oracle Management Server:

    1. Select the repository that you want to use with Oracle Management Server.

      Select If...
      Existing repository A Release 1 (9.0.1) repository has already been created and configured for the environment you want to manage and you want this management server to share the existing 9.0.1 repository, or you want to migrate an existing release 2.x repository to a release 9.0.1 repository.
      New repository A Release 1 (9.0.1) repository has not been created and configured for the environment you want to manage.

      The Summary window appears.

    2. Review the information to ensure that you have enough disk space and click Next. You cannot make any product or space allocation changes once the installation begins.

    3. Click Install.

      The Install window appears and displays a progress meter. The Installer goes through the install and relinking phases, so the meter adjusts for each phase completion.

    4. Run the root.sh script when prompted.

      The Installer creates the root.sh script in the Oracle home directory and prompts you to run the script when it finishes installing Oracle products. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. Log in as the root user and run the script. To run the root.sh script:

      # cd $ORACLE_HOME
      # ./root.sh
      
      

      If you install Oracle9i Real Application Clusters, run the root.sh script on every node in the cluster.

      When the root.sh script runs successfully, return to the Oracle Universal Installer, and click OK in the Alert window.

    5. Provide responses to Oracle Enterprise Manager Configuration Assistant (EMCA) based on your selections.

      If you selected... You must...
      Existing repository Login to the database that contains the existing repository and provide the following repository connection information:
      • a repository owner

      • a database user name and password for the existing repository

      • a database service containing the existing repository, specified with:

        hostname:port_number:SID
        

      Then verify the configuration parameters.

      New repository Login to the database in which you want to create the repository and provide the following repository connection information:
      • a database user name and password

      • a database service containing the new repository, using the following format:

        hostname:port_number:SID
        
      • role you will use to connect (for example, SYSDBA)

      Once EMCA connects to the database, provide the following:

      • database username and password of the owner for the new repository. (A default name is chosen, but you can choose any name.)

      • a default tablespace for the repository

      • a temporary tablespace for the repository


      The default port number used by most databases is 1521. Additional windows appear to help you create a repository in the selected database. 

    6. If you use Enterprise Manager Configuration Assistant, click Close to exit. Otherwise, go to step 7.

    7. The End of Installation window appears. To exit the Oracle Universal Installer, click Exit. To install additional products, click Next Install. Selecting Next Install returns you to the File Locations window.

     

    Oracle Internet Directory Installation

    The following table summarizes the steps you need to perform to install Oracle Internet Directory. Proceed to one of the following selections:

    If Oracle database... Then the... Go to...
    Release 1 (9.0.1) is already installed on the computer, but Oracle Internet Directory release 3.0.1 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 1 of "Oracle Internet Directory Installation" on page 3-27
    release 1 (9.0.1) and Oracle Internet Directory release 3.0.1 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 3.0.1 Step 3 of "Oracle Internet Directory Installation
    release 3 (8.1.7) and Oracle Internet Directory release 2.1.1 or 2.1.1.1 are already installed on the computer Upgrade OID window appears and prompts you to upgrade to Oracle9i database and Oracle Internet Directory release 3.0.1 "Migrating 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:

    1. Choose between one of the following options:

      • To use the installed database with Oracle Internet Directory, select Yes. Click Next.

      • To use a different database with Oracle Internet Directory, select No. Click Next. Go to step 3.

    2. The Database Identification window appears. Enter the SID of the installed database and click Next. Go to step 4.

    3. The Database Identification window appears. Enter values for the Global Database Name and SID in the appropriate fields. Click Next.

      In this field... Enter the...
      Global Database Name Full database name that uniquely distinguishes the database from any other database in your network domain. For example:

        sales.us.acme.com

      where sales is the name you want to call your database, and us.acme.com is the network domain in which the database is located.

      SID System identifier, the database instance name that uniquely distinguishes it from any other database on your system. The SID automatically defaults to the database name portion of the global database name (sales in the example above) until you reach eight characters or enter a period. You can accept or change the default value.

      The OID Database File Location window appears.

    4. 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 were created during configuration.


      Oracle Corporation recommends installing database files and Oracle software on separate drives. For more information about creating reliable system architecture, see "Using Optimal Flexible Architecture

    5. Click Next.

      The Summary window appears.

    6. Review the information to ensure that you have enough disk space. You cannot make any product or space allocation changes once the installation begins.

    7. Click Install.

      The Install window appears and displays a progress meter. The Installer goes through the install and relinking phases, so the meter adjusts for each phase completion.

      The following values are automatically set during 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
    8. Run the root.sh script when prompted.

      The Installer creates the root.sh script in the Oracle home directory and prompts you to run the script when it finishes installing Oracle products. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. Log in as the root user and run the script. To run the root.sh script enter the following commands:

      # cd $ORACLE_HOME
      # ./root.sh
      
      

      If you install Oracle9i Real Application Clusters, run the root.sh script on every node in the cluster.

      When the root.sh script runs successfully, return to the Oracle Universal Installer. Click OK in the Alert window.

      The Configuration Tools window appears at the end of installation and automatically starts the following assistants to create and configure your network and Oracle Internet Directory environments.

       

      Configuration Assistants

      The... Starts... And...
      OID Configuration Assistant In all cases Creates Oracle Internet Directory tablespaces and schema in the Oracle9i database and starts the Oracle Internet Directory directory server.

      If a database must be installed, the OID Configuration Assistant automatically launches the Oracle Database Configuration Assistant to create a database with the UTF8 character set.

      If you are doing a Custom Installation of OID, do not change the Global Database Name and SID in the Database Identification window, or you will not successfully install OID.

      Oracle Database Configuration Assistant allows you to change default passwords after the database is created. Do not use the Password Management button to change the default passwords at this time. You should change the passwords for SYS and SYSTEM only after the OID installation is complete.

      Oracle Net Configuration Assistant In all cases Guides you to configure your Oracle Net listener networking software. See "Oracle Net Configuration Assistant" for a description of the configuration procedures.

      The End of Installation window appears if the configuration assistants are successful.

      If a configuration assistant fails, the Configuration Tools window displays the results of running these assistants. Correct the cause of the failure. To re-install, click Retry, or to continue, click Next.

      The End of Installation window appears.

    9. To exit the Oracle Universal Installer, click Exit. If you want to install additional products, click Next Install. Selecting Next Install returns you to the File Locations window.


      If you install Oracle Internet Directory server, then Oracle Directory Integration Platform server is automatically installed. If you install Oracle Internet Directory client, then Oracle Directory Integration Platform client is automatically installed. 

     

    Migrating Oracle Internet Directory

    If you intend to migrate an existing Oracle Internet Directory installation and Oracle8i Server, and you installed Oracle Internet Directory separately, then migrate the OID database when you upgrade Oracle Internet Directory.

     

    Preparing to Migrate Oracle Internet Directory

    Before migrating Oracle Internet Directory, stop the following processes:

    • Oracle listener server

    • Oracle database server

    • Oracle Internet Directory server

     

    Starting Oracle Internet Directory Migration

    The Upgrade OID window appears if you have a previously installed version of Oracle Internet Directory on your system. Follow these procedures to migrate Oracle Internet Directory:

    1. To upgrade an existing Oracle8i database already configured for use with Oracle Internet Directory, click Yes.

    2. Click Next.

      The Oracle SID window appears.

    3. Enter the SID of the Oracle8i database that must be migrated.

    4. Click Next.

      The OID Password window appears.

    5. Enter the password for the Oracle Directory Server user (ODS by default) and Oracle Internet Directory administrator (welcome by default).

    6. Click Next.

    7. The Configuration Tools window appears and automatically starts the following assistants to upgrade your Oracle9i database and Oracle Internet Directory environments:

       

      Configuration Assistants

      The... Migrates...
      Oracle Data Migration Assistant Oracle8i database to Oracle9i.
      OID Upgrade Assistant Oracle Internet Directory release 2.1.1 or 2.1.1.1 to release 3.0.1.

     

    Oracle Integration Server Installation

    1. If the oracle user is not a member of the OSDBA group created in "Create UNIX Groups for Database Administrators, or if there is a UNIX group with a name other than dba that serves as the OSDBA group, the Privileged Operating System Groups window appears. Enter the UNIX group name that serves as the OSDBA group. If a separate UNIX group serves as the OSOPER group, specify it in this window as well.

    2. Click Next.

    3. If the Oracle Universal Installer detects an earlier version of an Oracle database on your system, you are prompted to migrate your database with the Oracle Data Migration Assistant. Select the Upgrade or Migrate an Existing Database check box to have Oracle Data Migration Assistant start immediately after installation to migrate your database to an Oracle9i database. If you choose to migrate your database, go to step 7. If you choose not to migrate your database, proceed to the next step.

    4. Click Next.

      The Database Identification window appears if an Oracle9i database is not already installed in the specified Oracle home directory.

    5. Enter the Global Database Name and SID in the fields provided:

      In this Field... Enter the...
      Global Database Name Full database name that uniquely distinguishes it from any other database in your network domain. For example:

        sales.us.acme.com

      where sales is the name you want to call your database and us.acme.com is the network domain where the database is located.

      SID System Identifier, the database instance name that uniquely distinguishes it from any other database on your system. The SID automatically defaults to the database name portion of the global database name (sales in the example above) until you reach 8 characters or enter a period. You can accept or change the default value.

      The Database File Location window appears.

    6. In the Directory for Database Files field, enter the directory location of the database file, then click Next. Alternatively, to navigate to the directory location of the database file, use the Browse... button. Click Next.


      Oracle Corporation recommends that database files and Oracle software files be installed on separate disks. 

      The Summary window appears.

    7. Review the information to ensure that you have enough disk space and click Install.

      The Install window appears and displays a progress meter. The Installer goes through the install and relinking phases, so the meter adjusts for each phase completion.

    8. Run the root.sh script when prompted.

      The Installer creates the root.sh script in the Oracle home directory and prompts you to run the script when it finishes installing Oracle products. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. Log in as the root user and run the script. To run the root.sh script use the following command:

      # cd $ORACLE_HOME
      # ./root.sh
      
      

      When the root.sh script runs successfully, return to the Oracle Universal Installer, and click OK in the Alert window.

    9. The Configuration Tools window appears at the end of installation, depending on the selections you made previously.

       

      Configuration Assistants

      The... Starts... And...
      Oracle Database Configuration Assistant If you selected not to migrate an existing database Automatically creates an Oracle9i database.
      Oracle Data Migration Assistant If you selected to migrate an existing database Migrates the selected database to Oracle9i.
      Oracle Net Configuration Assistant In all cases Guides you to configure your Oracle Net listener networking software. See "Oracle Net Configuration Assistant" for a description of the configuration procedures.
      Oracle Workflow Configuration Assistant In all cases. Installs and configures Oracle Workflow schema in the Oracle9i database.

      The End of Installation window appears if the configuration assistants are successful.

      If a configuration assistant fails, the Configuration Tools window displays the results of running these assistants. Correct the cause of the failure and click Retry to re-install, or click Next to continue.

      The End of Installation window appears.

    10. Click Exit to exit the Oracle Universal Installer, or click Next Install to install additional products. Selecting Next Install returns you to the File Locations window.

     

    Oracle9i Management and Integration Custom Installation

    When you select Custom Installation, the Available Product Components window appears. Follow these procedures to perform an Oracle9i Management and Integration Custom installation:


    For a list of products installed with each installation type, see the appropriate product section in Appendix A, "Oracle9i Components"

    1. Select products you want to install or deselect products you do not want to install, then click Next.

    2. Provide responses to any window prompts that appear.

      The Summary window appears.

    3. The Installer notifies you if you do not have enough disk space to install the products you have selected. If necessary, deselect products in order to select a configuration suitable for your system. If this is not necessary, click Install.

      The Install window appears and displays a progress meter. The Installer goes through the install and relinking phases, so the meter adjusts for each phase completion.

    4. Run the root.sh script when prompted.

      The Installer creates the root.sh script in the Oracle home directory and prompts you to run the script when it finishes installing Oracle products. The root.sh script sets the necessary file permissions for Oracle products and performs other root-related configuration activities. Log in as the root user and run the script. To run the root.sh script:

      # cd $ORACLE_HOME
      # ./root.sh
      
      

      When the root.sh script runs successfully, return to the Oracle Universal Installer, and click OK in the Alert window.

    5. The Configuration Tools window may appear at the end of installation, depending on the selections you made previously. The configuration assistants help to create and configure your database and network environment.

       

      Configuration Assistants

      The... Starts... And...
      Apache Web Server Configuration Assistant If you selected the Oracle HTTP Server in the Available Products window Starts the HTTP Listener in non-SSL mode on port 7777.
      Oracle Database Configuration Assistant If you selected:
      • Oracle9i Server in the product selection screen

        AND

      • you chose not to migrate

        AND

      • you selected Yes when prompted to install an Oracle9i database

      Automatically creates an Oracle9i database. See "Oracle Database Configuration Assistant".
      Oracle Data Migration Assistant If you selected to migrate a database Migrates the selected database to Oracle9i.
      Oracle Enterprise Manager Configuration Assistant If you selected to install Oracle Management Server in the product selection screen Allows you to configure the local Oracle Management Server to use an existing release 9.0.0 repository or to create a new release 9.0.1 repository.
      Oracle Net Configuration Assistant If you selected any products that require network configuration Automatically configures your Oracle Net listener networking software. See "Oracle Net Configuration Assistant" for a description of the configuration procedures.

      The End of Installation window appears if the configuration assistants are successful.

      If a configuration assistant fails, the Configuration Tools window displays the results of running these assistants. Correct the cause of the failure. To re-install, click Retry or to continue, click Next.

      The End of Installation window appears.

    6. To exit the Oracle Universal Installer, click Exit. Or to install additional products, click Next Install. Selecting Next Install returns you to the File Locations window.

     

    Reviewing a Log of an Installation Session

    The Installer creates the oraInventory directory the first time it is run to keep an inventory of products that it installs on your system as well as other installation information.

    The location of the oraInventory directory is defined in the /etc/oraInst.loc file for AIX, and the /var/opt/oracle/oraInst.loc file on HP, Linux, Solaris, and Tru64.

    The log file of the most recent installation is oraInventory_location/logs/installActions.log. Previous installation log files use the log file name format:

    installActionsdate_time.log
    
    

    For example:

    installActions2001-02-14_09-00-56-am.log
    
    


    Do not delete or manually alter the oraInventory directory or its contents. Doing so can prevent the Installer from locating products that you install on your system.

    The make.log file in $ORACLE_HOME/install directory contains a log of every make file action executed during the installation process. The make.log file also records any link errors during installation. Do not delete or alter the make.log file.  

     

    Completing Installation of Oracle9i Server Enterprise Edition

    If no errors occurred during installation, your installation is complete. If the olap.key configuration file did not get created due to errors, perform the following steps. For information about installation errors, read the OLAP installation log in $ORACLE_HOME/install/olap.log.

    1. Ensure that you have installed all required patches. For information on operating system patches, see Chapter 2, "Pre-Installation Requirements".

    2. To configure olap.key, use the following command:

      $ $ORACLE_HOME/olap/admin/regctrl /infile olap.cfg
      

     

    Non-Interactive Installation and Configuration

    You can perform a non-interactive installation of Oracle9i products by supplying the Oracle Universal Installer with a response file. The Installer uses the variables and values contained in the response file to provide answers to some or all of the Installer prompts. If you include responses for all of the Installer's prompts in the response file, then you can run a non-interactive installation that displays no graphical output. You can also run Oracle Data Migration Assistant, Oracle Net Configuration Assistant, Oracle Database Configuration Assistant, and Oracle Enterprise Manager Configuration Assistant in non-interactive mode by using response files.

     

    Preparing a Response File

    Oracle Corporation provides response file templates for each installation category and type, and for configuration tools.

     

    Response Files

    File Name Description
    enterprise.rsp Enterprise Edition Installation of Oracle9i Server
    standard.rsp Standard Edition Installation of Oracle9i Server
    custom.rsp Custom Edition Installation of Oracle9i Server
    oms.rsp Oracle Management Server installation of Oracle9i Management and Integration
    oid.rsp Oracle Internet Directory installation of Oracle9i Management and Integration
    infrastructure.rsp Custom installation of Oracle9i Management Infrastructure
    clientadmin.rsp Administrator installation of Oracle9i Client
    clientruntime.rsp Runtime installation of Oracle9i Client
    clientcustom.rsp Custom installation of Oracle9i Client
    dbca.rsp Oracle Database Configuration Assistant
    netca.rsp Oracle Net Configuration Assistant
    emca.rsp Oracle Enterprise Manager Configuration Assistant

    To use a response file, copy the response file from the Oracle9i CD-ROM to a directory on your system. For example:

    $ cd cdrom_mount_point_directory/response
    $ cp enterprise.rsp local_directory
    
    

    Edit the response file with any text editor. Each response file contains instructions for configuring it properly to serve your requirements. Custom response files require extensive editing before you can use them for a non-interactive session.

     

    Installing with a Response File

    To use a response file with the Oracle Universal Installer, follow the steps described in the section in this chapter called "Oracle Universal Installer". Refer to the response file for required configuration information and parameters by specifying the response file location when you start the Installer. Use the following command format:

    $ /<cdrom_mount_point_directory>/runInstaller [-silent] -responseFile filename
    
    

    Select the -silent parameter to perform a completely non-interactive installation or configuration. In non-interactive mode, the DISPLAY environment variable must still be set as described in "DISPLAY".

     

    Configuring With a Response file

    To use a configuration assistant in non-interactive mode, do one of the following:

    • Configure an Oracle Universal Installer response file to spawn the non-interactive configuration assistant.

    • Run the configuration assistant in stand-alone mode. Use the following command format:

      $ assistant_name [-silent] -responseFile filename
      
      

      In the preceding command, assistant_name is the configuration assistant that you want to run and filename is the response file for that assistant.

    To run the Oracle Enterprise Manager Configuration Assistant in non-interactive mode, use both the -silent and -responseFile parameters.

    If you perform an Oracle9i Enterprise Edition installation in non-interactive mode, then Oracle Net Configuration Assistant will not configure your system at the end of the installation. After the installation, run the Oracle Net configuration with the Oracle Net Configuration Assistant by executing the netca command from the Oracle home directory.


    The Installer or configuration assistant fails if you attempt a non-interactive session without appropriately configuring a response file. See "Response File Error Handling for information on troubleshooting a failed non-interactive installation. 

     

    First Time Installation in Non-interactive Mode

    During an interactive installation, the orainstRoot.sh script creates the oraInst.loc file. If you have not previously installed Oracle products on a system, manually create the oraInst.loc file before running the Installer in non-interactive mode. This file specifies the oraInventory directory where the Installer creates the inventory of Oracle products installed on the system. Read the /tmp/silentInstall.log file for information about running the orainstRoot.sh script.


    Before creating the oraInst.loc file, read and complete the tasks described in Chapter 1, "Oracle9i Installation Planning" and Chapter 2, "Pre-Installation Requirements"

    To create the oraInst.loc file on AIX:

    1. Log in as the root user by entering:

      $ su root
      
      
    2. If the /etc directory does not already exist on your system, create it by entering the command:

      # mkdir /etc
      
      
    3. Change directory to the /etc directory:

      # cd /etc
      
      
    4. Using a text editor, create a file called oraInst.loc that includes the following two lines:

      inventory_loc=inventory_directory
      inst_group=
      
      

      On the first line, set the inventory_loc parameter to the directory defined by the ORACLE_BASE variable and the file named oraInventory. For example, if the value of the ORACLE_BASE variable is /uo1/app/oracle, then set inventory_directory to /uo1/app/oracle/oraInventory.

      On the second line, include, but do not set, the inst_group= parameter.

      The oraInst.loc file should be owned by both the oracle user and the ORAINVENTORY group.

      # chown oracle:oinstall oraInst.loc
      # chmod 664 oraInst.loc
      
      

    To create the oraInst.loc file on HP, Linux, Solaris, or Tru64:

    1. Log in as the root user by entering:

      $ su root
      
      
    2. If the /var/opt/oracle directory does not already exist on your system, create it by entering the command:

      # mkdir /var/opt/oracle
      
      
    3. Change directory to the /var/opt/oracle directory:

      # cd /var/opt/oracle
      
      
    4. Using a text editor, create a file called oraInst.loc that includes the following two lines:

      inventory_loc=inventory_directory
      inst_group=
      
      

      On the first line, set the inventory_loc parameter to the directory defined by the ORACLE_BASE variable and the file named oraInventory. For example, if the value of the ORACLE_BASE variable is /uo1/app/oracle, then set inventory_directory to /uo1/app/oracle/oraInventory.

      On the second line, include, but do not set, the inst_group= parameter.

      The oraInst.loc file should be owned by both the oracle user and the ORAINVENTORY group.

      # chown oracle:oinstall oraInst.loc
      # chmod 664 oraInst.loc
      
      

    At this point, you are ready to run the Installer in non-interactive mode.

     

    Running EMCA in Non-interactive Mode

    There are two methods to run Enterprise Manager Configuration Assistant (EMCA):

    • As a stand-alone procedure

    • As part of a non-interactive installation session

    Using either method you can only create a new repository. You cannot delete, upgrade, or edit a repository using EMCA in non-interactive mode.

     

    EMCA Non-interactive Mode Stand-alone Method

    To run stand-alone EMCA in non-interactive mode:

    1. Complete the pre-installation steps listed in "Setup Tasks to Perform as the oracle User".

    2. Verify that the Oracle Management Server is installed on the node where you intend to run EMCA.

    3. Copy the emca.rsp response file to a local directory.

    4. Use a text editor to edit the emca.rsp file according to the instructions in the response file.

      Ensure that the repository user's USERNAME variable that you specify in the emca.rsp file is unique across your network. If the USERNAME variable is not unique, agent queue files will go out of sync with Oracle Management Server repositories. Jobs and events registered against the agents will not work. 

    5. Change to the $ORACLE_HOME/bin directory.

    6. Enter:

      $ emca  -responseFile path/emca.rsp -silent
      
      

      In the preceding command, path is the directory path to the response file.

     

    EMCA Non-interactive Mode and Non-interactive Installation Session Method

    To run EMCA in non-interactive mode as part of a non-interactive installation session:

    1. Copy an installation response file from the Oracle9i CD-ROM to a local directory.

      Choose the installation response file that corresponds to the type of installation you are performing. For example, choose the enterprise.rsp file to perform an Enterprise Edition installation of Oracle9i Server.

    2. Use a text editor to edit the response file according to the instructions in the response file.

      Ensure that Oracle Management Server will be installed as part of the non-interactive installation. The Oracle Management Server is only available for installation in the following installation response files:

      enterprise.rsp
      custom.rsp
      oms.rsp
      infrastructure.rsp
      
      
    3. Edit the following parameters in the oracle.sysman.oms_9.0.1.0.0 section of the installation response file to ensure that EMCA is properly launched in non-interactive mode:

      emca
      s_responseFileEMCA
      
      

      Refer to the installation response file for more detailed instructions on setting these variables.

      The following is an example of the oracle.sysman.oms_9.0.1.0.0 section of the installation response file:

      #-------------------------------------------------------------- 
      # Name 	: emca
      # Datatype      	: StringList 
      # Description   	: List of Optional Config tools to launch. 
      # 	: Following are possible values
      # emca	:Enterprise Manager Configuration Assistant 
      # Example value 	: {"emca"} 
      # Default value 	: {"emca"} 
      #------------------------------------------------------------ 
      
      OPTIONAL_CONFIG_TOOLS={"emca"} 
      
      #------------------------------------------------------------ 
      # Name          	: s_responseFileEMCA
      # Datatype      	: String 
      # Description   	: Path to a customized copy of a response file for EMCA
      # 	: based on the emca.rsp provided with the release
      # Valid values	: Full path to any valid EMCA response file
      # Example value	:"/TEMP/EMCA.RSP" 
      # Default value 	: None 
      # Mandatory   	: Yes 
      #----------------------------------------------------------- 
      
      s_responseFileEMCA="/TEMP/EMCA.RSP" 
      
      
    4. Copy the emca.rsp response file to a local directory.

    5. Use a text editor to edit it according to the instructions in the response file.

      Ensure that the repository user's USERNAME variable that you specify in the emca.rsp file is unique across your network. 

    6. Change directory to the directory where the Oracle Universal Installer is located. The installation response file automatically spawns the EMCA response file when the non-interactive installation is complete. Run the installation response file with the following command:

      $ runInstaller -responseFile path/installation _rersponse _file_name -silent
      

     

    Configuration steps for OID in Non-interactive Mode

    At the end of a non-interactive installation, the Oracle Internet Directory (OID) server is started on port 5000. Perform the following steps to bring up the server on port 389:

    1. Shutdown the OIDLDAPD and OIDMON processes, and the database with the following commands:

      $ oidctl server=oidldapd instance=1 stop
      $ oidmon stop
      
      
    2. As root user, run the $ORACLE_HOME/root.sh script:

      # $ORACLE_HOME/root.sh
      
      
    3. Restart the OIDLDAPD and OIDMON processes, and the database with the following commands:

      $ oidmon start
      $ oidctl server=oidldapd instance=1 start
      

     

    Response File Error Handling

    The success or failure of the installation is logged in the silentInstall.log file. If an oraInventory directory exists on your system, then the silentInstall.log file is created there. Otherwise, it is created in the oraInventory_location/logs directory. The detailed results of the non-interactive installation session are saved in the oraInventory_location/logs/silentInstall.log file.

    A non-interactive installation fails:

    • if you do not specify a response file

    • if you attempt a non-interactive installation with an incorrect or incomplete response file

    • if you attempt a non-interactive installation and the Installer encounters an error, such as insufficient disk space

    The Installer or configuration assistant validates the response file at runtime. If the validation fails, the non-interactive installation or configuration process ends. The Installer treats values for parameters that are of the wrong context, format, or type as if no value was specified in the file. Variables that are outside any section are ignored.

    Information about a failure is recorded in the installation session's log file.

     

    Oracle Real Application Clusters

    This section describes the following:

     

    Oracle Real Application Clusters ORACLE_HOME

    To ensure that the installation succeeds on the remote nodes you choose, select a path for ORACLE_HOME that exists on all chosen nodes and is writable. Otherwise, installation on the remote nodes will fail. No error message will indicate this failure.

     

    Oracle Real Application Clusters Installation on Cluster Filesystem

    Oracle Universal Installer supports Real Application Clusters installation on a Cluster Filesystem for Compaq Tru64 UNIX. The Installer detects the Cluster Filesystem and files are not copied to the remote nodes. Network Configuration Assistant and Oracle Database Configuration Assistant are also Cluster Filesystem-aware.

     

    Oracle Real Application Clusters Installed Software Location

    During installation, software products are installed on the node from which the Oracle Universal Installer is run and copied to the other selected nodes in the cluster.