Symantec logo

Installing Oracle 10g database software

After installing the CRS component, install the Oracle database software.


  Note   When installing CRS for Oracle 10.1.0.2 (10gR1 base installation), you must copy the CRS installation image to a directory that is writable by the root user.


 To install Oracle Database Software

  1. Launch the installsfrac program. As root user on any one node in the cluster, enter:

    #cd /opt/VRTS/install

    #./installsfrac -configure

    By default, the installsfrac utility uses ssh for remote communication. However, rsh can be used in place of ssh by using the "rsh" option with the installsfrac utility.

    #cd /opt/VRTS/install

    #./installsfrac -rsh -configure

  2. Navigate to the "Main Menu" and select "Install and Relink Oracle".
  3. In the Choose Oracle version menu, select the appropriate version of Oracle (10gR1 or 10gR2).
  4. In the Choose task menu, select "Install Oracle RDBMS server."
  5. In the Set DISPLAY dialog, enter the value for the DISPLAY environment variable. This value should refer to the address of the X11 server where you want OUI for CRS installation displayed..
  6. Enter Oracle user and group information.
  7. In the Database Install Image dialog, specify the location of Oracle Database Software install image.
  8. In the Oracle base directory dialog, specify the base of the Oracle directory structure for OFA compliant databases.
  9. In the CRS Home directory dialog, specify the directory containing Oracle CRS Software.
  10. In the Database home directory dialog, specify the directory containing Oracle Database Software.
  11. In the Patch Level dialog, specify the patch level of Oracle CRS/Database Software being installed or relinked. Accept the default when installing base version of Oracle 10gR1 (10.1.0.2) or 10gR2 (10.2.0.1)
  12. The installer prints the oracle environment information for verification. If the information displayed by the installer is correct choose option "y" otherwise choose option "n."

    Example:

    Oracle environment information verification

    Oracle Unix User: oracle

    Oracle Unix Group: oinstall

    Oracle Clusterware (CRS) Home: /app/crshome

    Oracle Release: 10.2

    Oracle Patch Level: 0.1

    Oracle Base: /app/oracle

    Oracle Home: /app/oracle/orahome

    RDBMS Installation Path: /orcl/10gR2/DB/Disk1

    Is this information correct? [y,n,q] (y)

    Press Enter to continue.

  13. The installer now validates the inputs and performs certain setup steps, after which it prompts you to run rootpre.sh on all cluster nodes.

    Comparing Oracle UNIX user id on all systems ........ Done

    Comparing Oracle group id on all systems ............ Done

    For installation to proceed, Oracle requires you to run the rootpre.sh script located at:

    /orcl/10gR2/DB/Disk1/rootpre

    Run the following commands on all nodes:

    # cd /orcl/10gR2/DB/Disk1/rootpre

    # ./rootpre.sh

    Has rootpre.sh been run by root? [y,n,q]


  Note   Do not respond to the prompt yet, but proceed to step 14.


  1. On each system, log in as root in another terminal session.
  2. Installer now brings up the OUI for Oracle RDBMS Software Installation.

    Invoking OUI to install Oracle Software. Please wait .. ok

    Now install Oracle database software from the OUI. Refer to

    Oracle documentation for installation instructions.

    NOTE: Near the end of the installation, Oracle Database

    Software installer will prompt you to run the root.sh

    script.

    Press <RETURN> here when prompted to run root.sh


      Note   Do not press Return yet, but wait for the prompt to do so.


  3. When the OUI for Oracle Database Software installation displays, follow the instructions and respond to the prompts to install Oracle 10g software. When you are prompted for the names of the systems for installation, select all nodes. In the "Select Database Configuration" window, choose the option, "Do not create a starter database."
  4. Confirm the settings on the final OUI window. Make sure that /tmp has ample space. Select "Install" to start the Oracle database software installation.
  5. When the Oracle database binaries have been installed, the OUI prompts you to invoke the root.sh script.

      Note   Do not run root.sh yet, but return to the installsfrac session from step 15.


  6. In the installsfrac session, press Return. The installsfrac utility now verifies the database software installation, copies the SF Oracle RAC libraries to $ORACLE_HOME, and relinks Oracle on each node in the cluster.

    Verifying binaries in /app/oracle/orahome on galaxy ...ok Verifying binaries in /app/oracle/orahome on nebula ...ok Copying SFRAC libskgxn on galaxy ......................ok Copying SFRAC libskgxn on nebula ......................ok Copying SFRAC ODM library on galaxy ...................ok Copying SFRAC ODM library on nebula ...................ok Copying SFRAC libskgxp on galaxy ......................ok Copying SFRAC libskgxp on nebula ......................ok Relinking Oracle on galaxy ............................ok Relinking Oracle on nebula ............................ok Oracle RDBMS Software Installation is now complete.

  7. Enter "q" to quit the SF Oracle RAC installer, installsfrac.
  8. As root user on each system, invoke the root.sh script:

    # cd $ORACLE_HOME

    # ./root.sh

  9. Return to the OUI and indicate you have run root.sh.
  10. Exit the OUI.
  11. After completing installation of Oracle 10g software, you must install the appropriate patches. See Adding Oracle 10g R1 or R2 patches.