2007-1-11 08:33
shahand
Doc ID: Note:201021.1
Subject: SOLARIS: Quick Start Guide - 9.2.0 RDBMS Installation
Type: REFERENCE
Status: PUBLISHED
Content Type: TEXT/PLAIN
Creation Date: 25-JUN-2002
Last Revision Date: 14-APR-2004
Quick Start Guide
Oracle9i Release 2 (9.2.0) RDBMS Installation
Sun SPARC Solaris Operating System
PURPOSE
=======
This document is designed to be a quick reference that can be used when
installing Oracle9i Release 2 (9.2.0) on a Sun SPARC Solaris platform. It
is NOT designed to replace the Installation Guide or other documentation.
A familiarity with the Sun SPARC Solaris Operating System is assumed. If more
detailed information is needed, please see the Appendix at the bottom of this
document for additional resources.
Each step should be performed in the order that it is listed. These steps
are the bare minimum that is necessary for a typical install of the Oracle9i
RDBMS.
Verify OS version is certified with the RDBMS version:
======================================================
The following steps are required to verify your version of the Solaris operating
system is certified with the version of the RDBMS (Oracle9i Release 2 (9.2.0)):
1. Point your web browser to [url]http://metalink.oracle.com.[/url]
2. Click the "Certify & Availability" button near the left.
3. Click the "Certifications" button near the top middle.
4. Click the "View Certifications by Platform" link.
5. Select "Solaris Operating System (SPARC)" and click "Submit".
6. Select Product Group "Oracle Server" and click "Submit".
7. Select Product "Oracle Server - Enterprise Edition" and click "Submit".
8. Read any general notes at the top of the page.
9. Select "9.2 (9i) 64-bit" or "9.2 (9i)"(for 32bit Oracle) and click "Submit".
The "Status" column displays the certification status. The links in the
"Addt'l Info" and "Install Issue" columns may contain additional information
relevant to a given version. Note that if patches are listed under one of
these links, your installation is not considered certified unless you apply
them. The "Addt'l Info" link also contains information about available
patchsets. Installation of patchsets is not required to be considered
certified, but they are highly recommended.
Pre-Installation Steps for the System Administrator:
====================================================
The following steps are required to verify your operating system meets minimum
requirements for installation, and should be performed by the root user. For
assistance with system administration issues, please contact your system
administator or operating system vendor.
Use these steps to manually check the operating system requirements before
attempting to install Oracle RDBMS software, or you may choose to use the
convenient "Unix InstallPrep script" which automates these checks for you. For
more information about the script, including download information, please
review the following article:
Note:189256.1 UNIX: Script to Verify Installation Requirements for
Oracle 9.x version of RDBMS
The Following Steps Need to be Performed by the Root User:
1. Configure System Resources:
Ensure that the system has at least the following resources:
? 400 MB in /tmp *
? 256 MB of Physical Memory (RAM)
? Three times the amount of Physical Memory for Swap space (unless the
system exceeds 1 GB of Physical Memory, where two times
the amount of Physical Memory for Swap space is sufficient)
* You may also redirect /tmp by setting the TEMP environment variable.
This is only recommended in rare circumstances where /tmp cannot be
expanded to meet free space requirements.
2. Create a Software Owner and Group:
Create a Unix user and group that will own the Oracle software
(user = oracle, group = dba)
? Use the "useradd" Solaris script or vi the /etc/password file and
add the user manually.
? Use the "groupadd" Solaris script or vi the /etc/group file and add
the group manually.
? This user must be local to the machine.
3. Create a Software Mount Point and DataFile Mount Points:
Create a mount point for the Oracle software installation (at least 2.5
GB, typically /u01)
Create a second, third and fourth mount point for the database files,
control files, and log files to be created (typically /u02, /u03, /u04).
? The oracle user should own these mount points and all of the
directories below the mount point.
4. Create the directory for the oratab file:
Create the directory /var/opt/oracle and ensure that the oracle user has
write permissions on this directory.
5. Test the Permissions:
Ensure that the oracle user can write to the new mount points
? As a test, change directories to each of the new mount point
directories as the oracle user and create a file or directory.
Example:
% touch /u01/test
6. Configure Kernel Resources:
Add the following kernel parameters to the /etc/system file:
set shmsys:shminfo_shmmax=4294967295
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmseg=10
set shmsys:shminfo_shmmni=100
set semsys:seminfo_semmns=1000
set semsys:seminfo_semmni=100
set semsys:seminfo_semmsl=250
7. Reboot System:
After modifications are made to the /etc/system file, you must reboot the
system for the new kernel parameters to take affect.
8. Mount CD-ROM:
Mount the Oracle 9.2.0 CD-ROM. Typically, the CD-ROM will automount when
placing it into the Solaris CD-ROM drive.
INSTALLATION STEPS
==================
The Following Steps Need to be Performed by the Oracle User:
1. Set Environment Variables
Environment variables should be set in the login script for the oracle
user. If the oracle user's default shell is the C-shell (/usr/bin/csh),
then the login script will be named ".login". If the oracle user's
default shell is the Bourne-shell (/usr/bin/bsh) or the Korn-shell
(/usr/bin/sh or /usr/bin/ksh), then the login script will be named
".profile". In either case, the login script will be located in the
oracle user's home directory ($HOME).
The examples below assume that your software mount point is /u01.
Parameter Value
----------- ------
ORACLE_HOME /u01/app/oracle/product/9.2.0
ORACLE_BASE /u01/app/oracle
PATH /u01/app/oracle/product/9.2.0/bin:
/usr/ccs/bin:/usr/openwin/bin:
and whatever else you want to have set
follows these three items in the PATH
ORACLE_SID Set this to what you will call your
database instance.
(Typically 4 characters in length)
DISPLAY <ip-address>:0.0
(review Note:153960.1 for detailed information)
ENSURE THAT CLASS_PATH IS NOT SET IN THE ENVIRONMENT
2. Set the umask:
Set the oracle user's umask to 022 in your .login or .profile file.
3. Verify the Environment:
Log-off and log-on as the Oracle user to ensure all environment settings
are present.
Type 'env' at the UNIX prompt to view all the environment variables.
Before attempting to run the Oracle Universal Installer, verify that you
can successfully run the following command:
% /usr/openwin/bin/xclock
If this does not display a clock on your display screen, please review the
following article:
Note:153960.1 FAQ: X Server testing and troubleshooting
4. Start the Oracle Universal Installer and install the RDBMS software:
Use the following commands to start the installer:
% cd /tmp
% /cdrom/runInstaller
Respond to the installer prompts as shown below:
? At the "Welcome Screen", click Next.
? If prompted, enter the directory to use for the "Inventory Location".
This can be any directory, but is usually not under ORACLE_HOME because
the oraInventory is shared with all Oracle products on the system.
? If prompted, enter the "UNIX Group Name" for the oracle user (dba).
? At the "File Locations Screen", verify the Destination listed is your
ORACLE_HOME directory. Also enter a NAME to identify this ORACLE_HOME.
The NAME can be anything, but is typically "DataServer" and the first
three digits of the version. For example: "DataServer920"
? At the "Available Products Screen", choose Oracle9i Database, then click
Next.
? At the "Installation Types Screen", choose Enterprise Edition, then
click Next.
? If prompted, click Next at the "Component Locations Screen" to accept
the default directories.
? At the "Database Configuration Screen", choose the the configuration
based on how you plan to use the database, then click Next.
? If prompted, click Next at the "Privileged Operating System Groups
Screen" to accept the default values (your current OS primary group).
? If prompted, enter the Global Database Name in the format
"ORACLE_SID.hostname" at the "Database Identi