Symantec logo

Setting Oracle environment variables and invoking
the Oracle installer

Review the procedure to set the environment variables using the SF Oracle RAC configuration program. You must perform the procedure before installing Oracle 10g CRS and before installing Oracle 10g binaries. Depending on what you want to install, do one of the following:

 To set the Oracle environment variables and invoke the Oracle installer

  1. If you want to pass any arguments to Oracle installer, then set up the OUI_ARGS environment variable. You must perform this step before you start the SF Oracle RAC configuration program.

    Refer to the Oracle documentation for details on the arguments that you can pass to the Oracle installer.

    For example:

    # export OUI_ARGS=-ignoreSysPrereqs

  2. Launch the SF Oracle RAC configuration program.

    # installsfrac -configure

  3. Select Install or relink Oracle from the menu.
  4. Review the latest SF Oracle RAC support matrix as the installer instructs.
  5. Choose Oracle 10gR1 or Oracle 10gR2 as the version of the Oracle software.
  6. Depending on what you want to install, select one of the following:

    CRS 

    Install Oracle Clusterware (CRS) 

    Oracle binaries 

    Install Oracle RDBMS server 

  7. Set the DISPLAY environment variable that is required for the Oracle Universal Installer.

    Enter DISPLAY environment variable: 10.20.12.150:0.0

  8. Enter the Oracle user name.

    Enter Oracle UNIX user name: (oracle) oracle

  9. Enter the Oracle group name. For example:

    CRS 

    Enter Oracle UNIX group name: (oinstall)

    Oracle binaries 

    Enter Oracle UNIX group name: (oinstall) dba

  10. Enter the absolute path of the Oracle CRS or database software install image.

    This is the path to the software disc where the installer resides.

    CRS 

    Enter absolute path of CRS install image: [b] /var/Oracle10g/clusterware/Disk1

    Oracle binaries 

    Enter absolute path of Database install image: /var/Oracle10g/database/Disk1

  11. Enter the Oracle base directory.

    Enter Oracle base directory: /app/oracle

  12. Enter the absolute path of the CRS home directory.

    Enter absolute path of CRS Home directory: [b] /app/crshome

  13. If the CRS home directory you specified does not exist, the SF Oracle RAC configuration program provides guidelines to create one.

    Do you wish to create this directory? [y,n,q,b] (n) y

    mkdir -p /app/crshome

    chown -R oracle:oinstall /app/crshome

    chmod -R 744 /app/crshome

    Run above command on all systems? [y,n,q,b] (n) y

    Now, enter the absolute path. See step 12.

  14. Review the output as the SF Oracle RAC configuration program verifies the CRS health status.

    Verifying CRS health status

    CRS check succeeded on galaxy.

    CRS check succeeded on nebula.

    Proceed to install CRS when the program launches the Oracle 10g CRS utility runInstaller.

    See Installing CRS

  15. If you chose Install Oracle RDBMS server, enter the absolute path of the database home directory.

    Enter absolute path of Database Home directory: [b] /app/oracle/orahome

    Proceed to install Oracle RAC software when the program launches the Oracle Universal Installer.

    See Installing Oracle 10g Binaries

  16. If the database home directory you specified does not exist, the SF Oracle RAC configuration program provides guidelines to create one.

    Do you wish to create this directory? [y,n,q,b] (n) y

    mkdir -p /app/oracle/orahome

    chown -R oracle:oinstall /app/oracle/orahome

    chmod -R 744 /app/oracle/orahome

    Run above command on all systems? [y,n,q,b] (n) y

    Now, enter the absolute path. See step 15.

  17. Proceed with the Oracle 10g installation.

    See Installing Oracle 10g RAC