Sun Cluster Data Service for Oracle Guide for Solaris OS

Installing the Oracle Software

This section contains the procedure that you need to install Oracle software.

ProcedureHow to Install the Oracle Software

  1. Become superuser on a cluster member.

  2. If you plan to install the Oracle software on a cluster file system, start the Sun Cluster software and become the owner of the device group.

    If you plan to install the Oracle software at another location, omit this step.

    For more information about installation locations, see Preparing the Nodes and Disks.

  3. Install the Oracle software.

    Before you start the Oracle installation, ensure that the system resources required for Oracle have been configured. Log in as oracle to ensure ownership of the entire directory before you perform this step. See the appropriate Oracle installation and configuration guides for instructions about how to install Oracle software.

    • If you are using the Solaris 9 OS, modify /etc/system file of each node as you would in standard Oracle installation procedures. Reboot each node so that the changes are effective.

    • If you are using the Solaris 10 OS, you could use Solaris Resource Management (SRM) to ensure that the kernel parameters are set to at least the minimum values that Oracle requires. For more information about setting the Oracle kernel parameters, see How to Set the Oracle Kernel Parameters. After the system resources have been configured for Oracle you can start the installation itself.

  4. (Optional) If you are using Sun Cluster HA for Oracle with Oracle 10g R1, prevent the Oracle cssd daemon from being started. If you are using Sun Cluster HA for Oracle with Oracle 10g R2, omit this step.

    Remove the entry for the Oracle cssd daemon from the /etc/inittab file on the node where the Oracle software is installed. To remove this entry, remove the following line from the /etc/inittab file:

    h1:23:respawn:/etc/init.d/init.cssd run >/dev/null 2>&1 > </dev/null

    Sun Cluster HA for Oracle does not require the Oracle cssd daemon. Therefore, removal of this entry does not affect the operation of Oracle 10g R1 with Sun Cluster HA for Oracle. If your Oracle installation changes so that the Oracle cssd daemon is required, restore the entry for this daemon to the /etc/inittab file.


    Caution – Caution –

    If you are using Oracle 10g R1Real Application Clusters, do not remove the entry for the cssd daemon from the /etc/inittab file.


    If you remove the entry for the Oracle cssd daemon from the /etc/inittab file, you prevent unnecessary error messages from being displayed. Otherwise, an attempt by the init(1M) command to start the Oracle cssd daemon might cause such error messages to be displayed. These error messages are displayed if the Oracle binary files are installed on a highly available local file system or on the cluster file system. The messages are displayed repeatedly until the file system where the Oracle binary files are installed is mounted.

    These error messages are as follows:


    INIT: Command is respawning too rapidly. Check for possible errors.
    id:  h1 "/etc/init.d/init.cssd run >/dev/null 2>&1 >/dev/null"

    Waiting for filesystem containing $CRSCTL.

    If you are using Sun Cluster HA for Oracle on the x86 platform, unnecessary error messages about the unavailability of the UNIX Distributed Lock Manager (Oracle UDLM) might also be displayed.

    These messages are displayed if the following events occur:

    • A node is running in noncluster mode. In this situation, file systems that Sun Cluster controls are never mounted.

    • A node is booting. In this situation, the messages are displayed repeatedly until Sun Cluster mounts the file system where the Oracle binary files are installed.

    • Oracle is started on or fails over to a node or zone where the Oracle installation was not originally run. In such a configuration, the Oracle binary files are installed on a highly available local file system. In this situation, the messages are displayed on the console of the node or zone where the Oracle installation was run.

ProcedureHow to Set the Oracle Kernel Parameters

The default project is modified to contain the resources required for Oracle as the RGM uses the default project for running the data service. If you want to use a specific SRM project for running Oracle, you must create that project and configure the system resources in that project using the same procedure. Specify the project name instead of default. When you configure the resource group or resource for the Oracle server, specify that project name in the corresponding property of the resource group or resource.

  1. Display the settings for the default project.


    phys-X# prctl -i project default
    
  2. If no kernel parameters are set, or if any kernel parameters are not set to the minimum required value for Oracle as shown in the following table, set the parameter.


    phys-X# projmod -s -K "parameter=(priv,value,deny)" default
    

    Oracle Kernel Parameter 

    Minimum Required Value 

    process.max-sem-nsems

    256 

    project.max-sem-ids

    100 

    project.max-shm-ids

    100 

    project.max-shm-memory

    4294967295 

    See the Oracle10g Installation Guide for more information about these parameters.

  3. Verify the new settings.


    phys-X# prctl -i project default