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.


  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 CRS

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

  3. Enter the system names on which you want to install Oracle 10g software and navigate to the "Install and Relink Oracle" menu.
  4. In the Choose Oracle version menu, select the appropriate version of Oracle (10gR1 or 10gR2).
  5. In the Choose task menu, select the task Install Oracle Clusterware (CRS).
  6. 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..
  7. Enter Oracle user and group information.
  8. 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.
  9. 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.
  10. Press Enter to continue.
  11. 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.
  12. Press Enter to continue.
  13. 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)
  14. 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 Patch Level: 0.1

    Oracle Base: /app/oracle

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

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

    Verifying fileset prerequisites on galaxy ............ ok

    Verifying fileset prerequisites on nebula ............. ok

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

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

    Creating SFRAC odm entries on galaxy .................. ok

    Creating SFRAC odm entries on nebula .................. ok

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

    /orcl/10gR2/CRS/Disk1/rootpre

    Run the following commands on all nodes:

    # cd /orcl/10gR2/CRS/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 CRS Software Installation.

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

    Now install Oracle CRS software from the OUI. Refer to

    Oracle documentation for installation instructions.

    NOTE: Near the end of the installation, Oracle CRS

    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.


 To install Oracle 10.2.0.1 CRS using the Oracle interface

  1. If the "Specify Inventory Directory and Credentials" window is presented, enter the location of Oracle inventory and the AIX group name.
  2. When the Oracle Universal Installer (OUI) for Oracle CRS Installation displays, navigate to the "Specify Home Details" window. Change OUIHome1 to CRS_HOME and specify the path for $CRS_HOME.
  3. Make sure that all systems in the cluster appear on the "Specify Cluster Configuration" screen. Modify the private name and virtual name as required.
  4. When the "Specify Network Interface Usage" window presents a list of interface devices for which IP addresses are configured, verify that the public interface and private interface match those you have configured for Oracle 10g. If devices are shown on the list that are not part of the configuration for Oracle 10g, be sure they are labelled with "Do Not Use".
  5. On the "Oracle Cluster Registry" window:
  6. In the "Voting Disk" window:
  7. Confirm the settings on the final screen. Make sure that /tmp has ample space. Select "Install" to start the CRS installation.
  8. When Oracle CRS binaries have been installed, the OUI prompts you to invoke two scripts, namely, orainstRoot.sh and root.sh.

      Note   Do not run root.sh yet, but return to the installsfrac session from step 18 in To install CRS.


  9. In the installsfrac session, press "Return". The installsfrac utility now verifies the CRS installation and copies the SF Oracle RAC libraries to $CRS_HOME.
  10. Next, login as "root" on each system and invoke the two scripts, orainstRoot.sh and root.sh. Note that you must NOT run these scripts simultaneously on all systems.
  11. Return to the OUI and indicate that you've run root.sh on all systems in the cluster.
  12. Exit the OUI.
  13. If the installation and setup is successful, then root.sh should be able to start the CRS daemons on each node. To verify if CRS is up and running, enter:

    #/app/crshome/bin/crs_stat -t

    #No resources configured.

  14. If the crs_stat command fails with message "failed to contact crs daemons", it means the CRS installation was unsuccessful. For troubleshooting:

    See Troubleshooting Storage Foundation

  15. Oracle CRS installation is now complete. Add a resource to the VCS configuration to monitor the CSSD daemon:

    See Configuring the Application agent to monitor CSSD