For Oracle support & training call (800) 766-1884
Free Oracle Tips

Home
Oracle Tips
Oracle Code Depot
Oracle Monitoring
Oracle Consulting
Oracle Training
Oracle News
Oracle Forum
Oracle Support





 

Free Oracle Tips

image

 
HTML Text

Free Oracle App Server Tips

image

 
HTML Text


Privacy Policy

Redneck

Dress Code

Oracle tuning

Oracle training

Oracle support

Remote Oracle


 

 

 

 

Donald K. Burleson

Oracle9i RAC Tips

UNIX Pre-Installation Steps

This section describes the UNIX level installation notes that include the creation of an oracle account and the setting up of user equivalence and kernel shared memory settings.

User Account

  • Create a UNIX group. The default UNIX group name for the osdba and osoper groups is dba. A typical entry would therefore look like the following:

dba::101:oracle

oinstall::102:root,oracle

  • Create an ‘oracle’ account on each node. It should be a member of the osdba group. This account is used only to install and update Oracle software. A typical command to create the account looks like the following:

# useradd -c "Oracle swowner" -G dba, oinstall -u 101 -m -d /export/home/oracle -s /bin/ksh oracle

User Equivalence

On the node from which the Oracle Universal Installer will be run, user equivalence is set up by adding entries for all nodes in the cluster, including the local node, to the .rhosts file of the oracle account or the /etc/hosts.equiv file.

The Oracle account user should check for user equivalence by performing a remote login (rlogin) to each node in the cluster. If the Oracle account user is prompted for a password, then the Oracle account has not been given the same attributes on all nodes. This must be corrected because the Oracle Universal Installer cannot use the ‘rcp’ command to copy Oracle products to the remote node's directories without user equivalence. This may require the establishment of a .rhosts file in the Oracle accounts that specifies equivalent users and hosts as well as the creation of the /etc/hosts.equiv that lists equivalent hosts.

Kernel Parameters

Edit the file /etc/system and set the shared memory parameter. Refer to the Oracle9i Installation Guide for the example and guidelines for setting up the parameter values. The system will need to be rebooted for these values to take effect.

The following Table (6.6) shows the settings:

Before beginning the installation, verify the existence of the file /opt/SUNWcluster/bin/lkmgr. This is used by the OUI to indicate that the installation is being performed on a cluster.

There is another verification script called InstallPrep.sh, which is available in Oracle Metalink; it may be downloaded and run prior to the installation of Oracle RAC. This script verifies that the system is configured correctly according to the Installation Guide. The output of the script will report any further tasks that need to be performed before Oracle can be installed successfully. We strongly suggest that the reader run this script to verify the environment. The script performs the following verifications:

  • ORACLE_HOME Directory Verification

  • UNIX User/umask Verification

  • UNIX Group Verification

  • Memory/Swap Verification

  • TMP Space Verification

  • Real Application Cluster Option Verification

  • Unix Kernel Verification

The next phase involves the installation of the Oracle software and creating the database. This is covered at the end of the chapter. Whatever the chosen platform, the software installation and creation of the database follow a common method, which is also covered later in this chapter.

For detailed instructions and up-to-date information, please refer to the vendor documentation. A detailed explanation is also available at Oracle Metalink Note: 175465.1 (Step by Step Installation of RAC on Sun Cluster v3).

So far, we have covered cluster formation and creating the necessary shared storage objects on a typical Sun cluster using the Sun Cluster v3 software. Now, let us examine the cluster set up using the cluster framework from Veritas for the Sun Solaris platform.


For more information, see the book Oracle 11g Grid and Real Application Clusters  - 30% off if you buy it directly from Rampant TechPress .  Written by top Oracle experts, this RAC book has a complete online code depot with ready to use RAC scripts.


For more details and scripts, see my new book " Oracle Tuning: The Definitive Reference", over 900 pages of BC's favorite tuning tips & scripts. 

You can buy it direct from the publisher for 30%-off and get instant access to the code depot.

 

 


 

 

image

image

image  

image

image

image

 

Fast-Track Oracle Support
PO Box 511
Kittrell, NC 27544


Email BC: