Oracle8i Installation Guide
Release 3 (8.1.7) 64 Bit for Fujitsu Siemens ReliantUNIX

Part Number A89873-01

Library

Product

Index

Go to previous page Go to next page

3
Installation

This chapter describes how to start the Oracle Universal Installer and install Oracle8i products on your system. Review and complete the tasks listed in Chapter 1, and Chapter 2, before beginning the installation. This chapter contains the following sections:

Using Oracle Universal Installer

Complete the following tasks to start the Oracle Universal Installer:

Mount the Oracle8i CD-ROM

The Oracle8i CD-ROMs are in ISO 9660 format with Rockridge extensions. There are two CD-ROM disks included with Oracle8i release 3. Use disk one to begin the installation. Mount disk two when prompted to do so.


Note:

See the release notes for your platform for details on mounting disks for Oracle8i release 3. 


You must have root privileges to mount or unmount the CD-ROM manually. Be sure to use the unmount command to unmount the CD-ROM before removing it from the drive. To mount the Oracle8i CD-ROM:

  1. Place the Oracle8i CD-ROM in the CD-ROM drive.

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

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

    # 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 CD-ROM Manually

$ su root
# mkdir /cdrom
# mount -F hs /dev/ios0/sdisk0060 /cdrom

or
# mount -t iso9660 -o ro, cache=2048 device_name /cdrom
# exit

Start Oracle Universal Installer


Caution:

Do not run the Installer as the root user. 


To start the Oracle Universal Installer:

  1. Log in as the oracle user.

  2. Change directory to the CD-ROM mount-point directory:

    $ cd cdrom_mount_point_directory
    
    
    
  3. Start the Installer by entering the following command:

    $ ./runInstaller
    
    


    Note:

    The Oracle Universal Installer is capable of running a non-interactive installation of Oracle products. You can optionally configure it for "silent" mode which does not display anything on the screen. For information on using this feature, see "Non-Interactive "Silent" Installation and Configuration"



    Caution:

    The Oracle Universal Installer automatically installs the Oracle version of the Java Runtime Environment (JRE). This version is required to run the Oracle Universal Installer and several Oracle assistants. Only modify the JRE with a patch provided by Oracle Support Services. 


    After the Installer starts, the Welcome window appears.

  4. Click [Next] in the Welcome window.

    The File Locations window appears. Do not change the text in the Source field. The Source field specifies the location of the files that you want to install.

  5. Enter the Oracle home directory path in the Destination field, then click [Next].

    The Destination field is the directory in which you want to install the Oracle8i 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.

    If the destination directory you choose contains Oracle8i release 1 (8.1.5) or release 2 (8.1.6) software, the older version of the software is upgraded to release 3 (8.1.7). Oracle Corporation recommends that you install release 3 products into a new Oracle home directory.


    Caution:

    If you have an existing Oracle home directory created with a release of Oracle Server earlier than Oracle8i, you must change the default Oracle8i installation location to a different location.

    If you install Oracle8i into an Oracle home directory that already contains Oracle client software, the listener is not created. To create the listener, install Oracle8i in a different Oracle home directory. 


    If this is the first time that any Oracle8i products are installed on the current system, the UNIX Group Name window appears. If the Available Product window appears, go to step 8.

  6. In the UNIX Group Name field, specify the group that has permission to update Oracle software on the system, then click [Next].

    This group should typically be the oinstall group that you created in "Create a UNIX Group for the Oracle Universal Installer Inventory".

  7. If prompted, run the /tmp/OraInstall/orainstRoot.sh script as the root user in another terminal window .

    If the /var/opt/oracle directory does not exist or is not writable by the oracle user, an Installer window appears prompting you to run the /tmp/OraInstall/orainstRoot.sh script. After you have done so, click [Retry] to continue the installation.

    The Available Products window appears.


    Note::

    The orainstRoot.sh Installer window opens only if you have not completed all pre-installation steps. If you choose to run the orainstRoot.sh script, the oraInventory file and other files Oracle uses are written in the Oracle home directory to ensure that Oracle has write access. This configuration may not be optimal for your system and your needs. Oracle Corporation recommends that you complete the steps described in Chapter 2. 


  8. In the Available Products window, select the Oracle8i product category you want to install, click [Next] and proceed to one of the following installation guide sections based on your selection.

    If you selected...  See... 

    Oracle8i Enterprise Edition 

    "Installing Oracle8i Enterprise Edition"

    Oracle8i Client  

    "Installing Oracle8i Client"


    See Also:

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

    See "Product Categories and Installation Types" for a description of each product category. 


Installing Oracle8i Enterprise Edition

After selecting Oracle8i Enterprise Edition in the Available Products window, the Installation Types window appears. To install Oracle8i Enterprise Edition:

  1. Select Typical, Minimal, or Custom Installation, then click [Next].

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

    If you selected...  See... 

    Typical 

    "Oracle8i Enterprise Edition Typical Installation"

    Minimal 

    "Oracle8i Enterprise Edition Minimal Installation"

    Custom 

    "Oracle8i Enterprise Edition Custom Installation"

Oracle8i Enterprise Edition Typical Installation

To perform an Oracle8i Enterprise Edition Typical installation:

  1. If the oracle user is not a member of the dba group created in "Create UNIX Groups for Database Administrators", or if there is a UNIX group with a name other than dba that performs the role of 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 performs the role of the OSOPER group, specify it in this window as well. Click [Next].

  2. If the Oracle Universal Installer detects an earlier version of an Oracle database on the system, you are prompted to upgrade or migrate the database using the Oracle Data Migration Assistant. Otherwise, the Database Identification window appears.3.

    • To upgrade or migrate your database to an Oracle8i release 3 database, select the Upgrade or Migrate an Existing Database check box, then click [Next].

      The Oracle Data Migration Assistant starts immediately after installation to upgrade or migrate your database to an Oracle8i release 3 database.

      The Summary windows appears. Go to step 5.

    • If you do not want to migrate your database to an Oracle8i release 3 database, leave the Upgrade or Migrate an Existing Database check box unselected. Click [Next].

      The Select Starter Database window appears.

      Click [Yes] to install an Oracle8i database. Clicking [No] installs all server products, but does install a database.

      The Database Identification window appears.

  3. In the Database Identification window, enter the global database name and SID in the appropriate fields, then click [Next]:

    In...  Enter the... 

    The Global Database Name field 

    Full database name that uniquely distinguishes it from any other database in your network domain. For example:

    sales.acme.com

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

    The SID field 

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

    The Database File Location window appears.

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


    Note:

    Oracle Corporation recommends that you install database files and Oracle software files on separate disks. 


    The Summary window appears.

  5. Review the information in the Summary window, then click [Install].

    If a message appears telling you that you do not have enough disk space to install the products, do one the following:

    • Install Oracle8i on a different disk.

    • Create space on the current disk.

    The Install window appears and displays a progress meter bar.

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

    # cd $ORACLE_HOME
    # ./root.sh
    
    
    

    The root.sh script prompts you to confirm the environment before it performs any actions. To reset the environment, terminate the root.sh script. It is not necessary to run the Oracle Universal Installer again. Click [OK] in the alert window after the root.sh script runs successfully to continue the installation.

    Depending on the products you installed, messages are displayed to inform you of the progress of root.sh. You might also be prompted for user names and be given additional instructions.

    The root.sh script also asks you to specify the local bin directory. If this directory does not already exist, root.sh creates it for you.

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

    Table 3-1 describes the configuration assistants.

    Table 3-1 Configuration Assistants
    The...  Starts...  And ... 

    Net8 Configuration Assistant 

    In all cases 

    Automatically configures the Net8 server networking software. See "Understanding Net8 Configuration" for a description of these configuration procedures. 

    Oracle Database Configuration Assistant 

    If you decided not to upgrade or migrate an existing database instance when prompted at step 2 

    Automatically creates an Oracle8i release 3 (8.1.7) database. See "Identifying Your Database Environment" for information on database types. 

    Oracle Database Migration Assistant 

    If you decided to migrate or upgrade a database when prompted at step 2 

    Migrates or upgrades the selected database to Oracle8i release 3 (8.1.7). 

    If a configuration assistant fails, the Configuration Tools window displays messages indicating the reason for the failure. Correct the cause of the failure then click [Retry] to reattempt the configuration, or click [Next] to continue.

    The End of Installation window appears.

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

    See Also:

    See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session. 

Oracle8i Enterprise Edition Minimal Installation

To perform an Oracle8i Enterprise Edition Minimal installation:

  1. If the oracle user is not a member of the dba group created in "Reviewing a Log of an Installation Session", or if there is a UNIX group with a name other than dba that performs the role of 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 performs the role of the OSOPER group, specify it in this window as well. Click [Next].

  2. If the Oracle Universal Installer detects an earlier version of an Oracle database on the system, you are prompted to upgrade or migrate the database using the Oracle Data Migration Assistant.

    • To upgrade or migrate your database to an Oracle8i release 3 database, select the Upgrade or Migrate an Existing Database check box, then click [Next].

      The Oracle Data Migration Assistant starts immediately after installation to upgrade or migrate your database to an Oracle8i release 3 database.

      The Summary windows appears. Go to step 6.

    • If you do not want to migrate your database to an Oracle8i release 3 database, leave the Upgrade or Migrate an Existing Database check box unselected. Click [Next].

      The Select Starter Database window appears.

  3. Click [Yes] to install an Oracle8i database. Clicking [No] installs all server products, but does not create a new database. You can create your database later by manually running the Oracle Database Configuration Assistant or running a SQL script.

    The Database Identification window appears.

  4. Enter the Global Database Name and SID in the appropriate fields, then click [Next]:

    In...  Enter the... 

    The Global Database Name field 

    Full database name that uniquely distinguishes it from any other database in your network domain. For example:

    sales.acme.com

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

    The SID field 

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

    The Database File Location window appears.

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


    Note:

    Oracle Corporation recommends that you install database files and Oracle software files on separate disks. 


    The Summary window appears.

  6. Review the information in the Summary window, then click [Install].

    If a message appears telling you that you do not have enough disk space to install the products, do one the following:

    • Install Oracle8i on a different disk.

    • Create space on the current disk.

    The Install window appears and displays a progress meter bar.

  7. 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, enter:

    # cd $ORACLE_HOME
    # ./root.sh
    
    
    

    The root.sh script prompts you to confirm the environment before it performs any actions. To reset the environment, terminate the root.sh script. It is not necessary to run the Oracle Universal Installer again. Click [OK] in the alert window after the root.sh script runs successfully to continue the installation.

    Depending on the products you installed, messages are displayed to inform you of the progress of root.sh. You might also be prompted for user names and be given additional instructions.

    The root.sh script also asks you to specify the local bin directory. If this directory does not already exist, root.sh creates it for you.

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

    Table 3-2 describes the configuration assistants.

    Table 3-2 Configuration Assistants  
    The...  Starts...  And... 

    Net8 Configuration Assistant 

    If you selected any products that require network configuration 

    Automatically configures your Net8 server networking software. See "Understanding Net8 Configuration" for a description of the configuration procedures performed. 

    Oracle Database Configuration Assistant 

    If you selected [Yes] when prompted to install an Oracle8i database and selected not to upgrade or migrate a database in step 2

     

    Automatically creates an Oracle8i release 3 (8.1.7) database. See "Identifying Your Database Environment"

    Oracle Database Migration Assistant 

    If you selected to migrate or upgrade a database when prompted in step 2. 

    Migrates or upgrades the selected database to Oracle8i release 3 (8.1.7). 

    If a configuration assistant fails, the Configuration Tools window displays messages indicating the reason for the failure. Correct the cause of the failure then click [Retry] to reattempt the configuration, or click [Next] to continue.

    The End of Installation window appears.

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

    See Also:

    See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session. 

Oracle8i Enterprise Edition Custom Installation

When you select Custom and click [Next] in the Installation Types window, the Available Products window appears.


Note:

This is a different Available Products window to the one where you previously selected the Oracle Enterprise Edition product category. 


To perform an Oracle8i Enterprise Edition custom installation:

  1. In the Available Products window, select the products that you want to install (or deselect products that you do not want to install), then click [Next].

    The Available Products window displays all products available for installation. A typical Custom installation configuration is displayed by default.

  2. Provide responses to any prompts that appear.

    The Summary window appears.

  3. Review the information in the Summary window, then click [Install].

    If a message appears telling you that you do not have enough disk space to install the products, do one the following:

    • Install Oracle8i on a different disk.

    • Create space on the current disk.

    • Go to step 1 and deselect products in the Available Products window.

    The Install window appears and displays a progress meter bar.


    Note:

    You cannot make any product or space allocation changes after the installation begins. 


  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. 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, enter:

    # cd $ORACLE_HOME
    # ./root.sh
    
    
    

    The root.sh script prompts you to confirm the environment before it performs any actions. To reset the environment, terminate the root.sh script. It is not necessary to run the Oracle Universal Installer again. Click [OK] in the alert window after the root.sh script runs successfully to continue the installation.

    Depending on the products you installed, messages are displayed to inform you of the progress of root.sh. You might also be prompted for user names and be given additional instructions.

    The root.sh script also asks you to specify the local bin directory. If this directory does not already exist, root.sh creates it for you.

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

    Table 3-3 describes the configuration assistants.

    Table 3-3 Configuration Assistants
    The...  Starts...  And... 

    Net8 Configuration Assistant 

    If you selected any products that require network configuration 

    Automatically configures your Net8 server networking software. See "Understanding Net8 Configuration" for a description of the configuration procedures performed. 

    Oracle Database Configuration Assistant 

    If you selected Oracle8i Server in the Available Products window and decided not to upgrade/migrate when prompted and you answered [Yes] when prompted to install an Oracle8i database 

    Automatically creates an Oracle8i release 3 (8.1.7) database. See "Identifying Your Database Environment"

    Oracle Database Migration Assistant 

    If you decided to migrate or upgrade a database when prompted 

    Migrates or upgrades the selected database to Oracle8i release 3 (8.1.7). 


    Note:

    If you use Custom installation to install Oracle Advanced Security into an existing Oracle home directory that already contains Oracle8i Enterprise Edition, you must install Oracle Advanced Security separately from any other product options, such as Oracle Partitioning. Unless you install additional products separately from Oracle Advanced Security, installation will fail. 


    If a configuration assistant fails, the Configuration Tools window displays messages indicating the reason for the failure. Correct the cause of the failure then click [Retry] to reattempt the configuration, or click [Next] to continue.

    The End of Installation window appears.

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

    See Also:

    See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session. 

Installing Oracle8i Client

After selecting Oracle8i Client in the Available Products window, the Installation Types window appears.

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

  2. Go to one of the following sections, based on the selection that you made in step 1.

    If You Selected...  See... 

    Administrator, Programmer, or Application User 

    "Oracle8i Client Administrator, Programmer or Application User Installation"

    Custom 

    "Oracle8i Client Custom"

    See Also:

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

Oracle8i Client Administrator, Programmer or Application User Installation

To perform a Client Administrator, Programmer, or Application User installation:

  1. Review the information in the Summary window, then click [Install].

    If a message appears telling you that you do not have enough disk space to install the products, do one the following:

    • Install Oracle8i on a different disk.

    • Create space on the current disk.

    The Install window appears and displays a progress meter bar.

  2. 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, enter:

    # cd $ORACLE_HOME
    # ./root.sh
    
    
    

    The root.sh script prompts you to confirm the environment before it performs any actions. To reset the environment, terminate the root.sh script. It is not necessary to run the Oracle Universal Installer again. Click [OK] in the alert window after the root.sh script runs successfully to continue the installation.

    Depending on the products you installed, messages are displayed to inform you of the progress of root.sh. You might also be prompted for user names and be given additional instructions.

    The root.sh script also asks you to specify the local bin directory. If this directory does not already exist, root.sh creates it for you.

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

    Table 3-4 describes the configuration assistants.

    Table 3-4 Configuration Assistants
    The...  Starts...  And... 

    Net8 Configuration Assistant 

    If you selected any products that require network configuration 

    Automatically configures your Net8 server networking software. See "Understanding Net8 Configuration" for a description of the configuration procedures performed. 

    If a configuration assistant fails, the Configuration Tools window displays messages indicating the reason for the failure. Correct the cause of the failure then click [Retry] to reattempt the configuration, or click [Next] to continue.

    The End of Installation window appears.

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

    See Also:

    See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session. 

Oracle8i Client Custom

When you select Custom and click [Next] in the Installation Types window, the Available Products window appears.


Note:

This is a different Available Products window to the one where you previously selected the Oracle8i Client product category. 


To perform a Client Custom installation:

  1. In the Available Products window, select the products that you want to install (or deselect products that you do not want to install), then click [Next].

    The Available Products window displays all products available for installation. A typical Custom install configuration is selected by default.

  2. Provide responses to any prompts that appear.

    The Summary window appears.

  3. Review the information in the Summary window, then click [Install].

    If a message appears telling you that you do not have enough disk space to install the products, do one the following:

    • Install Oracle8i on a different disk.

    • Create space on the current disk.

    • Go to step 1 and deselect products in the Available Products window.

    The Install window appears and displays a progress meter bar.


    Note:

    You cannot make any product or space allocation changes after the installation begins. 


  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. 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, enter:

    # cd $ORACLE_HOME
    # ./root.sh
    
    
    

    The root.sh script prompts you to confirm the environment before it performs any actions. To reset the environment, terminate the root.sh script. It is not necessary to run the Oracle Universal Installer again. Click [OK] in the alert window after the root.sh script runs successfully to continue the installation.

    Depending on the products you installed, messages are displayed to inform you of the progress of root.sh. You might also be prompted for user names and be given additional instructions.

    The root.sh script also asks you to specify the local bin directory. If this directory does not already exist, root.sh creates it for you.

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

    Table 3-5 describes the configuration assistants.

    Table 3-5 Configuration Assistants
    This Assistant...  Starts...  And does the following... 

    Net8 Configuration Assistant 

    If you selected any products that require network configuration 

    Automatically configures your Net8 server networking software. See "Understanding Net8 Configuration" for a description of the configuration procedures performed. 

    If a configuration assistant fails, the Configuration Tools window displays messages indicating the reason for the failure. Correct the cause of the failure then click [Retry] to reattempt the configuration, or click [Next] to continue.

    The End of Installation window appears.

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

    See Also:

    "Reviewing a Log of an Installation Session" to view a log file summary of your installation session. 

    See Also:

    See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session. 

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. This information is particularly useful in diagnosing and resolving installation problems.

The location of oraInventory is defined in /var/opt/oracle/oraInst.loc.

The latest log file is oraInventory_location/logs/installActions.log. Log file names of previous installation sessions take the form installActionsdatetime.log.

For example:
installActions1999-07-14_09-00-56-am.log


Note:

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 contains a log of every make action called for in the installation process. If there are any link errors during installation, they are recorded in that file. Do not delete or alter the make.log file.  


Cleaning Up After a Failed Installation

If an installation fails, you might need to remove files that the Installer created during the failed installation. To clean up after a failed installation:

  1. Start the Oracle Universal Installer.

    The Welcome window appears.

  2. Click [De-install Products].

    The Products Currently Installed window appears.

  3. Select any products remaining after the failed installation.

  4. Click [Remove].

To complete the clean up, manually remove the Oracle home directory. This is necessary because the Installer may have copied files to your system but failed to register them during the unsuccessful installation. This step is not required if de-installation deletes all files from the Oracle home directory.

Non-Interactive "Silent" Installation and Configuration

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

Preparing the Response File

There are fifteen response files included on the Oracle8i release 3 CD-ROM; eleven for the Oracle Universal Installer (one for each product category and installation type) and four for the configuration tool response files. You must edit the response files to suit your environment. In particular, the custom response files need extensive editing before you can use them for a non-interactive session.

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

$ cd cdrom_mount_point_directory/response
$ cp svrtypical.rsp local_directory

Use any text editor to edit the response file including information specific to your system. Each file contains information on properly configuring the response file. Table 3-6 lists the response files included on the Oracle8i CD-ROM.

Table 3-6 Response Files  
File Name  Description 

svrtypical.rsp 

Oracle8i Enterprise Edition - Typical installation 

svrminimal.rsp 

Oracle8i Enterprise Edition - Minimal installation 

svrcustom.rsp 

Oracle8i Enterprise Edition - Custom installation 

clientadmin.rsp 

Oracle8i Client - Custom installation 

clientprogmr.rsp 

Oracle8i Client - Programmer installation 

clientappuser.rsp 

Oracle8i Client - Application User installation 

clientcustom.rsp 

Oracle8i Client - Custom installation  

dbca.rsp 

Oracle Database Configuration Assistant 

net8ca.rsp 

Net8 Configuration Assistant 

Specifying a Response File Location

To run the Oracle Universal Installer or a configuration assistant in silent mode, you must specify the response file location:

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

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

The success or failure of the installation is logged in the silentInstall.log file. If an oraInventory directory exists in 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/installActions.log file.


Note:

The Installer or configuration assistant fails if you attempt a non-interactive session without appropriately configuring a response file. 


See Also:

For more information on silent installations and installations using response files, see the Oracle Universal Installer Concepts Guide. 

First-time Installation in Silent Mode

If you have not previously installed Oracle products on a system, you must manually create a file called oraInst.loc before running the Installer in silent mode. This file specifies the directory where the installer creates the inventory of Oracle products installed on the system. Before creating this file, read and complete the tasks described in Chapter 1 and Chapter 2. To create the oraInst.loc file:

  1. Log in as the root user.

    $ su
    
    
  2. If the /var/opt/oracle directory does not already exist in your system, enter the following to create it:

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

    # 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=
    
    

    Set the inventory_loc parameter to $ORACLE_BASE/oraInventory. For example, if the value of ORACLE_BASE environment variable is /uo1/app/oracle, then set inventory_directory to the value of /uo1/app/oracle/oraInventory.

    Include but do not set the the inst_group parameter on the second line.

Error Handling

Values for parameters that are of the wrong context, format, or type are treated as if no value were specified. Variables that are outside any section are ignored.

A non-interactive installation fails if no response file is specified or if you attempt a silent installation with an incorrect or incomplete response file. If you attempt a silent installation and the Installer encounters an error, such as insufficient disk space, the installation fails. The results of the non-interactive installation is recorded in the installation session's log file.

See Also:

See "Reviewing a Log of an Installation Session" to view a log file summary of your installation session. 

Validation of Values from Response File

The Installer or configuration assistant validates the response file at run time. If the validation fails, the installation or configuration ends.

Silent Installation and Net8 Configuration Assistant

If you perform a Minimal installation of Oracle8i Enterprise Edition in silent mode, Net8 Configuration Assistant does not configure the system at the end of the installation. After the installation, run the Net8 configuration assistant to configure Net8. To run the Net8 Configuration Assistant, enter the netca command in the Oracle home directory.


Note:

You can start the Net8 Configuration Assistant after installation by entering the netca command. For more detailed configuration of Net8, use the Net8 Assistant by entering the netasst command.  


See Also:

See the Net8 Administrator's Guide for more information on configuring Net8. 


Go to previous page Go to next page
Oracle
Copyright © 2001 Oracle Corporation.

All Rights Reserved.

Library

Product

Index