Sun Cluster 3.1 Data Service for Oracle Parallel Server/Real Application Clusters

Installing the Oracle Software

Use the procedures in this section to perform the following tasks.

How to Prepare the Sun Cluster Nodes

For the Oracle UDLM software to run correctly, sufficient shared memory must be available on all of the cluster nodes. See the Oracle Parallel Server/Real Application Clusters CD-ROM for all of the installation instructions. To prepare the Sun Cluster nodes, check that you have completed the following tasks.


Note –

Perform the following steps as superuser on each cluster node.


  1. On each node, create an entry for the database administrator group in the /etc/group file, and add potential users to the group.

    This group normally is named dba. Verify that root and oracle are members of the dba group, and add entries as necessary for other DBA users. Verify that the group IDs are the same on all of the nodes that run Sun Cluster Support for Oracle Parallel Server/Real Application Clusters. For example, add the following entry to the /etc/group file.


    dba:*:520:root,oracle
    

    You can make the name service entries in a network name service (for example, NIS or NIS+) so that the information is available to the data service clients. You can also make entries in the local /etc files to eliminate dependency on the network name service.

  2. On each node, create an entry for the Oracle user ID (the group and password) in the /etc/passwd file, and run the pwconv(1M) command to create an entry in the /etc/shadow file.

    This Oracle user ID is normally oracle. For example, add the following entry to the /etc/passwd file.


    # useradd -u 120 -g dba -d /Oracle-home oracle
    

    Ensure that the user IDs are the same on all of the nodes that run Sun Cluster Support for Oracle Parallel Server/Real Application Clusters.

Where to Go From Here

After you set up the cluster environment for Oracle Parallel Server/Real Application Clusters, go to How to Install the Oracle UDLM Software to install the Oracle UDLM software on each cluster node.

How to Install the Oracle UDLM Software


Note –

You must install the Oracle UDLM software on the local disk of each node.



Caution – Caution –

Before you install the Oracle UDLM software, ensure that you have created entries for the database administrator group and the Oracle user ID. See How to Prepare the Sun Cluster Nodes for details.


  1. Become superuser on a cluster node.

  2. Install the Oracle UDLM software.

    See the appropriate Oracle Parallel Server/Real Application Clusters installation documentation for instructions.


    Note –

    Ensure that you did not receive any error messages when you installed the Oracle UDLM packages. If an error occurred during package installation, correct the problem before you install the Oracle UDLM software.


  3. Update the /etc/system file with the shared memory configuration information.

    You must configure these parameters based on the resources that are available in the cluster. Decide on the appropriate values, but ensure that the Oracle UDLM can create a shared memory segment according to its configuration requirements.

    The following example shows entries to configure in the /etc/system file.


    *SHARED MEMORY/ORACLE
    set shmsys:shminfo_shmmax=268435456
    set semsys:seminfo_semmap=1024
    set semsys:seminfo_semmni=2048
    set semsys:seminfo_semmns=2048
    set semsys:seminfo_semmsl=2048
    set semsys:seminfo_semmnu=2048
    set semsys:seminfo_semume=200
    set shmsys:shminfo_shmmin=200
    set shmsys:shminfo_shmmni=200
    set shmsys:shminfo_shmseg=200
    forceload: sys/shmsys
    forceload: sys/semsys
    forceload: sys/msgsys

  4. Shut down and reboot all of the nodes.


    Caution – Caution –

    Before you reboot, you must ensure that you have correctly installed and configured the Oracle UDLM software. Also verify that you have correctly installed your volume manager packages. If you use VxVM, check that you have installed the software and that the license for the VxVM cluster feature is valid. Otherwise, a panic will occur.


    1. From one node only—such as phys-schost-1—run the following command to shut down the cluster.


      phys-schost-1# scshutdown -g0 -y
      

      See the scshutdown(1M) man page for details.

    2. Reboot each node into cluster mode.


      ok boot
      

Where to Go From Here

After you have installed the Oracle UDLM software on each cluster node, go to How to Install the Oracle RDBMS Software and Create Your Oracle Database to install the Oracle RDBMS software.

How to Install the Oracle RDBMS Software and Create Your Oracle Database

See your Oracle Parallel Server/Real Application Clusters installation documentation for instructions on how to install the RDBMS software and create your Oracle database.