Top
PRIMECLUSTER Wizard for Oracle 4.3 Configuration and Administration Guide

2.3.2 Oracle Software Installation and Configuration

Site Preparation

Install Oracle Grid Infrastructure and Oracle Database referring to Oracle manuals and installation guides.

Oracle Grid Infrastructure installation

Install Oracle Grid Infrastructure by referring to the Oracle manual and installation guide.

Note

  • Install Oracle Grid Infrastructure on a local disk of all nodes.

  • Check if root user access privileges can switch the user to the Grid user, using the su(1M) command.

    # su - <Grid user>
  • A command (e.g. script) that has interactive mode should not be described in Grid user's profile. (e.g. /etc/profile, .bash_profile, .cshrc, .profile) It may cause failure of resource monitoring or userApplication startup or shutdown.

  • Environment that Grid user's home directory and profile are located on the shared disk is not supported. Grid user's home directory and profile must be located on the local disk of each node.

Oracle Database installation

Install Oracle Database by referring to the Oracle manual and installation guide.

Note

  • Install Oracle Database on a local disk of all nodes.

  • Check if root user access privileges can switch the user to the Oracle user, using the su(1M) command.

    # su - <Oracle user>
  • A command (e.g. script) that has interactive mode should not be described in Oracle user's profile. (e.g. /etc/profile, .bash_profile, .cshrc, .profile) It may cause failure of resource monitoring or userApplication startup or shutdown.

  • Environment that Oracle user's home directory and profile are located on the shared disk is not supported. Oracle user's home directory and profile must be located on the local disk of each node.

Database creating and settings

Create a database by referring to the Oracle manual and installation guide.

Note

  • If multiple ORACLE_HOME are configured on one server, a different Oracle RAC instance name must be assigned.

  • If multiple ORACLE_HOME are configured on one server, a different listener name must be assigned.

Information

In scalable operation with Oracle RAC 11g R2, the RMS resource name is generated based on the resource name of Oracle RAC as follows:

Setting change

Operation check

Check if Oracle RAC instances and listeners are properly operating. Also, check if crsctl status resource command can be executed by Grid user, and srvctl config database command can be executed by Oracle user.

Example

The following example shows the operation results:

# su - <Grid user>
$ crsctl status resource -t
-------------------------------------------------------------------
NAME           TARGET  STATE        SERVER          STATE_DETAILS
-------------------------------------------------------------------
Local Resources
-------------------------------------------------------------------
ora.DATA.dg
               ONLINE  ONLINE       node1
               ONLINE  ONLINE       node2
ora.LISTENER.lsnr
               ONLINE  ONLINE       node1
               ONLINE  ONLINE       node2
ora.asm
               ONLINE  ONLINE       node1
               ONLINE  ONLINE       node2
ora.eons
               ONLINE  ONLINE       node1
               ONLINE  ONLINE       node2
ora.gsd
               OFFLINE OFFLINE      node1
               OFFLINE OFFLINE      node2
ora.net1.network
               ONLINE  ONLINE       node1
               ONLINE  ONLINE       node2
ora.ons
               ONLINE  ONLINE       node1
               ONLINE  ONLINE       node2
-------------------------------------------------------------------
Cluster Resources
-------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       node1
ora.oc4j
      1        OFFLINE OFFLINE
ora.racdb.db
      1        ONLINE  ONLINE       node1         Open
      2        ONLINE  ONLINE       node2         Open
ora.scan1.vip
      1        ONLINE  ONLINE       node1
ora.node1.vip
      1        ONLINE  ONLINE       node1
ora.node2.vip
      1        ONLINE  ONLINE       node2
$
# su - <Oracle user>
$ srvctl config database
racdb
$

Define the full path of the log file

Define the full path of the alert log and the listener log in /opt/FJSVclora/etc/clgetoralog.conf. See the Note in “4.5 clgetoralog - Collect Troubleshooting Information" for details.