Symantec logo

Installing CRS

The CRS software is installed on each node in the location created in Preparing $CRS_HOME and $ORACLE_HOME on each node.

 To install CRS

  1. Make sure that the Oracle installer is in a directory that is writable. If you are using the CD-ROM, make sure that the Oracle installation files are copied locally.

    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.

  2. On the same node where you have set the environment variables, execute the following command as root:

    # cd /opt/VRTS/install

    # ./installsfrac -configure

    The installer will display the copyright message.


      Caution   The Oracle 10.1.0.3 or earlier OUI does not understand RHEL4 as a supported O.S. and will exit with an error if the environment variable OUI_ARGS is not set to -ignoresysprereqs before running the installsfrac -configure script.


    To set the environment variable OUI_ARGS:

    Example for bash:

    # export OUI_ARGS="-ignoresysprereqs"

    Example for C Shell:

    # setenv OUI_ARGS "-ignoresysprereqs"

  3. When the installer prompts, enter the system names separated by spaces on which to configure Storage Foundation for Oracle RAC. For the installation example used in this procedure:

    galaxy nebula

    The installer checks both systems for communication and creates a log directory on the second system in /var/tmp/installsfracxxxxxxxxxx, where xxxx represents the timestamp.

  4. When the initial system check is successfully completed, press Enter to continue.
  5. The installer proceeds to verify the license keys. When the licenses are successfully verified, press Enter to continue.
  6. Following the instructions presented, navigate to the Main Menu and select Install or relink Oracle. Some choices choices for installing and configuring may vary, depending on the operating system you are running.
  7. In the Choose Oracle version menu, select the appropriate version of Oracle (10gR1 or 10gR2).
  8. In the Choose task menu, select the task Install Oracle Clusterware (CRS).
  9. In the Set DISPLAY dialog, enter the value for DISPLAY. The value of DISPLAY variable should be <ip-address-of-the-machine>: 0 .
  10. Enter Oracle user and group information.
  11. In the CRS Install Image dialog, enter the absolute path of CRS install image when prompted. The installer validates the CRS installer. Press Enter to continue.
  12. In the Oracle base directory dialog, enter the location of base of the Oracle directory structure for OFA compliant databases. The installer validates the Oracle Base Directory. If the directory doesn't exist , installer prompts for the creation of oracle base directory on all nodes. Choose option 'y' to create oracle base directory on all nodes.
  13. Press Enter to continue.
  14. In the CRS Home directory dialog, enter absolute path of CRS home directory when prompted. Installer validates the CRS home directory. If the directory doesn't exist , installer prompts for the creation of the directory on all nodes. Choose option 'y' to create oracle base directory on all nodes.
  15. Press Enter to continue.
  16. The Installer prints the CRS installation 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) Installation Path: /orcl/10gR2/CRS/Disk1

    Oracle Clusterware (CRS) Home: /app/oracle/crshome

    Oracle Release: 10.2

    Oracle Base: /app/oracle

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

  17. Press Enter to continue.

    The Storage Foundation installer invokes the Oracle Universal Installer (OUI) for Oracle CRS Installer.

 To install Oracle 10.1.0.3 CRS using the Oracle interface

  1. When the Oracle Universal Installer (OUI) for Oracle CRS appears, specify the file source and destination and click Next.
  2. Run oraInstRoot.sh on all nodes. If it does not exist, copy it to all nodes.
  3. Specify the name for the install and CRS_HOME and click Next.
  4. Select the language and click Next.
  5. Specify the host names and private names for the nodes in the cluster and click Next.
  6. Specify the Private Interconnect and click Next.
  7. Specify the OCR file name with an absolute path. For example: /ocrvote/ocr file and click Next.
  8. Specify CSS (Vote disk) file name with an absolute path. For example: /dev/vx/rdsk/ocrdg/votevol file and click Next. The installer proceeds with the CRS installation and sets the CRS parameters.
  9. When prompted at the end of the CRS installation, run the $CRS-HOME/root.sh file on each cluster node.
  10. Exit the CRS Installer after running root.sh and continue with installsfrac -configure for the Oracle 10g binaries installation

 To install Oracle 10.2.0.1 CRS using the Oracle interface

  1. When the Oracle Universal Installer (OUI) for Oracle CRS appears, specify the name for the install and CRS_HOME and click Next.
  2. The host name for the local node is displayed with default string (-priv and -vip) appended to its private name and virtual name.
  3. Specify the OCR shared raw volume name with an absolute path, for example the /dev/vx/rdsk/ocrdg/ocrvol raw volume, and click Next.
  4. Specify CSS (Vote disk) shared raw volume name with an absolute path, for example the /dev/vx/rdsk/ocrdg/vdvol raw volume, and click Next. The installer proceeds with the CRS installation and sets the CRS parameters.
  5. Choose the external redundancy option. Specify the OCR shared raw volume name with an absolute path, for example the /dev/vx/rdsk/ocrdg/ocrvol raw volume, and click Next.
  6. Choose the external redundancy option. Specify CSS (Vote disk) shared raw volume name with an absolute path, for example the /dev/vx/rdsk/ocrdg/vdvol raw volume, and click Next. The installer proceeds with the CRS installation and sets the CRS parameters.
  7. When prompted at the end of the CRS installation, run the $CRS_HOME/root.sh file on each cluster node in the same order as mentioned by Oracle CRS Installer.

      Note   Do not click OK in the $CRS_HOME/root.sh window until after you run the VIPCA utility.


  8. Run the VIPCA utility in $CRS_HOME/bin from the first node in the cluster.
  9. Click OK in the $CRS_HOME/root.sh window after you run the VIPCA utility.
  10. Exit the CRS Installer after running root.sh and continue with installsfrac -configure for the Oracle 10g binaries installation