Skip Headers

Oracle9i Installation Guide
Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, and Sun Solaris
Part No. A96167-01
Go To Table Of Contents
Contents
Go To Index
Index

Previous Next

2
Pre-Installation Requirements

This chapter describes pre-installation steps required for an Oracle9i software installation. It contains the following sections.

Installation Requirements

Verify that your system meets the hardware, disk space, operating system, and other requirements for installing the Oracle9i database.

Hardware Requirements

To install the Oracle9i products included with this release, your system must meet the minimum hardware requirements listed in the following table:

Hardware Requirements
Memory A minimum of 512 MB of RAM is required to install Oracle9i Server.

A minimum of 512 MB of RAM is required to install Oracle9i Management and Infrastructure.

A minimum of 256 MB is required to install Oracle9i Client.

HP only: If you are installing Oracle Real Application Clusters on a cluster with Hyper Messaging Protocol (HMP), each Oracle shadow process using HMP requires an additional 0.3 MB of memory. Allocate memory depending on the applications and the number of users on the systems.

Swap space Disk space equal to the system's physical memory, or 1GB, whichever is greater.
CD-ROM device A CD-ROM drive capable of reading ISO 9660 format CD-ROM discs with RockRidge extensions.

Note:

To use HP's Hyper Messaging Protocol (HMP) for cluster interconnection in an Oracle Real Application Clusters environment on HP-UX, you must have Hewlett-Packard proprietary HyperFabric Switches. These should be product A6384a, the fiber-based HyperFabric2 switch. Use adaptor cards A6386a and A7525a (fiber cable).


Random Access Memory

To determine the amount of random access memory installed on your system, enter one of the commands listed in the following table, depending on your platform:

Platform Command
AIX $ /usr/sbin/lsattr -E -l sys0 -a realmem
Linux $ /usr/sbin/dmesg | grep "Physical:"
HP $ grep MemTotal /proc/meminfo
Solaris $ /usr/sbin/prtconf | grep "Memory size"
Tru64 $ /bin/vmstat -P | grep "Total Physical Memory"

Swap Space

To determine the amount of swap space currently configured in your system, enter one of the commands listed in the following table, depending on your platform:

Platform Command
AIX $ /usr/sbin/lsps -a
HP $ /usr/sbin/swapinfo -a
Linux and Tru64 $ /sbin/swapon -s
Solaris $ /usr/sbin/swap -1

From the output of the command that you enter, divide the value shown in the BLOCKS column by 2.

Disk Space Requirements

The following table lists the disk space requirements for the Oracle9i database software and seed database.


Note:

These are approximate values that might vary slightly at installation time.

Component Required Disk Space
Database software 3.5 GB
Seed database 1 GB

Temporary Disk Space Required by the Oracle Universal Installer

The Oracle Universal Installer requires up to 400 MB of space in the /tmp directory. If you do not have enough space in the /tmp directory, set the TMPDIR and TMP environment variables to specify a directory with sufficient space.

Operating System Requirements

This section lists the Oracle9i operating system requirements.

Operating System Version

The following table lists the operating system version required by each platform, and the command to determine the current operating system version, if available.

Platform Operating System Version Command
AIX 4.3.3 4.3.3 $ oslevel -r
AIX 5.1 5.1 $ oslevel -r
HP HP-UX version 11.0 (64-bit). $ uname -a
Linux SuSE Linux Enterprise Server 7 (or SLES-7) with kernel 2.4.7, and glibc 2.2.2.

Note: In addition to this distribution, Oracle Corporation works with other Linux distribution vendors to certify Oracle products with their default kernel and OS utilities.

$ uname -a
Solaris 32-Bit 2.6 (5.6), 7 (5.7) or 8 (5.8) $ uname -a
Solaris 64-Bit 8 (5.8) $ uname -a
Tru64 5.1 or 5.1A $ /usr/sbin/sizer -v

Operating System Patches

The following table lists operating system patches required by Oracle9i and the Web sites where you can download the patches.

OS Required Patches Web Sites to Download the Patches From
AIX 4.3.3 Maintenance Level 09 and IY24568, IY25282, IY27614, IY30151 http://techsupport.services.ibm.com/server/fixes
AIX 5.1 AIX 5L release 5.1 ML01+ (IY22854), IY26778, IY28766, IY28949, IY29965, IY30150 http://techsupport.services.ibm.com/server/fixes
HP-UX 11.0
(64- bit)
Sept. 2001 Quality Pack, PHCO_23792, PHCO_24148, PHKL_24268, PHKL_24729,
PHKL_ 25475,
PHKL_25525,
PHNE_24715,
PHSS_23670, PHSS_24301,
PHSS_24303, PHSS_24627, PHSS_22868
For patch bundles:

http://www.software.hp.com/SUPPORT_PLUS

For individual patches:

http://itresourcecenter.hp.com

Linux
SuSE SLES 7
Not Applicable
Solaris 2.6 (5.6) Not Applicable http://sunsolve.sun.com
Solaris 2.8 (64-bit) Update 5 (07/01) http://sunsolve.sun.com
Tru64 5.1
Standalone systems
5.1 patchkit 4 http://www.compaq.com/support
Tru64 5.1A
Standalone systems
5.1A patchkit 1 http://www.compaq.com/support

Operating System Requirements to Support Oracle Real Application Clusters

The following table lists the operating system packages and patches required to support Oracle Real Application Clusters.

Platform Packages and Patches
AIX 4.3.3 PSSP 3.4 (SP only), HACMP/ES CRM 4.4.1 (RS6000 only)
AIX 5L PSSP 3.4 (SP only), HACMP/ES CRM 4.4.1, IY28111 (RS6000 only)
HP MC/ServiceGuard A.11.13 OPS Edition, PHSS_25915,
PHNE_26177
Linux Not Applicable
Solaris 32-bit Not Applicable
Solaris 64-bit SunCluster 3.0, 110648-15
Tru64 5.1 TruCluster 5.1,

T64V51B18-C0099700-13027-M-20020129.tar (this is the Tru64 V51CSP 997.00 / AdvFS Stale Data Patch)

Tru64 5.1A TruCluster 5.1A,

TCV51AB1-C0001100-13278-M-20020220.tar (this is the Tru64 V5.1A CSP 11.0 / Fix for RDG patch)


Determining Installed Patches

To determine if a specific patch is installed, enter one of the following commands, depending on your platform:

Platform Command
AIX $ instfix -a -ivk APAR_number
HP $ /usr/sbin/swlist -l patch
Linux $ rpm -qa
Solaris 32-bit $ pkginfo -i package name
Solaris 64-bit $ showrev -p
Tru64 $ /usr/sbin/dupatch -track -type kit

JRE Patches

Oracle9i installs one of the versions of the Java Runtime Environment (JRE) listed in the following table, depending on your platform:

Platform JRE Version
AIX JRE 1.1.8-build 20020313
HP JRE 1.1.8.06
Linux Blackdown JRE 1.1.8 v3
Solaris 32-bit JRE 1.1.8_12
Solaris 64-bit JRE 1.1.8_15
Tru64 JRE 1.1.8-10

The following table lists required or recommended JRE patches:

OS Required Patch Required/Recommend
HP PHCO_23792

PHCO_24148

PHKL_25475

PHNE_23456

PHNE_24034

PHSS_24303

Recommended

Recommended

Recommended

Recommended

Recommended

Recommended

Solaris 2.6 (5.6) 106040-11 X Input and Output Method patch

105181-15 Kernel patch

105284-25 Motif Runtime liberty patch 105490-07 Dynamic Linker patch 106409-01 Chinese TrueType fonts patch (1) 105633-21 OpenWindows 3.6: Xdun patch (1) 105568-13 Libthread patch

105210-19 LibC patch

105669-07 CDE 1.2: libDTSvc patch (dtmail)

Required

Required

Recommended

Recommended

Recommended

Recommended

Recommended

Recommended

Recommended

Solaris 7 (5.7) 107636-01 X Input and Output Method patch106980-05 Libthread patch 107607-01 Motif fontlist, fontset, libxm 107078-10 Open Windows 3.6.1 Xsun patch (1) Required

Recommended

Recommended

Recommended


Operating System and Font Packages (AIX, Solaris, and Tru64 Only)

The following table lists the required operating system and font packages for AIX, Solaris, and Tru64 systems:

OS Package Type Required Packages
AIX Operating system bos.adt.base,bos.adt.lib,bos.adt.libm,
bos.perf.perfstat
Solaris Operating system SUNWarc, SUNWbtool, SUNWhea, SUNWlibm, SUNWlibms,SUNWsprot, and SUNWtoo
Solaris Font packages for Java SUNWi1of and SUNWxwfnt are required for all locations. You may need to obtain additional font packages to support font styles used at your location. Refer to the following Web site for a listings of Solaris font packages: http://java.sun.com/j2se/1.3/font-requirements.html
Tru64 Operating system OSF11,OSFSER,OSFLIBA,OSFPGMR,OSFCMPLRS

To check whether an operating systems package is installed, enter one of the following commands, depending on your platform:

Platform Command
AIX $ lslpp -l os_package
Solaris $ pkginfo -i os_package
Tru64 $ setld -i |grep os_package

In the preceding examples, os_package is the name of the operating system package that you want to check.


Additional Operating System Requirements

The following software is required for all the platforms:

Software Requirement
X Server and Window Manager Use any X server supported by your UNIX operating system. Use any Sun-supported window manager supported by your UNIX operating system.For Hummingbird Exceed, use a native window manager.For WRQ Reflections, allow a remote window manager.To determine if your X Window System is working properly on your local system, enter the following command

$ xclock

The X clock should appear on your monitor

Required executables The following executables must be present: make, ar, ld, nm.

Note:

Due to a known HP bug (Doc. id: KBRC00003627), the default HP-UX (64-bit) operating system installation does not create a few required X library symbolic links. These links must be created manually before starting Oracle9i installation. To create these links, you must have superuser privileges, as the links are to be created in the /usr/lib directory. After enabling superuser privileges, run the following commands to create the required links:

$ cd /usr/lib

$ ln -s /usr/lib/libX11.3 libX11.sl

$ ln -s /usr/lib/libXIE.2 libXIE.sl

$ ln -s /usr/lib/libXext.3 libXext.sl

$ ln -s /usr/lib/libXhp11.3 libXhp11.sl

$ ln -s /usr/lib/libXi.3 libXi.sl

$ ln -s /usr/lib/libXm.4 libXm.sl

$ ln -s /usr/lib/libXp.2 libXp.sl

$ ln -s /usr/lib/libXt.3 libXt.sl

$ ln -s /usr/lib/libXtst.2 libXtst.sl


Product-Specific Requirements

This section provides product-specific system configuration requirements. Make these additional system configuration changes to use the optional Oracle products.

Oracle9i Options

Table 2-1 lists additional restrictions and requirements for installing Oracle9i Options on a UNIX system. You must ensure that your system meets these requirements prior to installing Oracle9i.

Table 2-1 Additional Restrictions and Requirements for Installing Oracle9i Options

Product Name Platform Restrictions and Requirements
Oracle HTTP Server AIX JDK 1.3.1-build 20020316.
HP JDK 1.3.1.02.
Linux Sun JDK 1.3.1_02.
Solaris JDK 1.3.1_02
Tru64 JDK 1.3.1.03
Oracle Spatial, 9.2.0.1.0 AIX The following software package is required to build Spatial's sample programs only:
Window Motif
HP The following software package is required to build Spatial's sample programs only:
Window Motif
Linux The following software package is required to build Spatial's sample programs only:
XFree86-devel
Solaris The following software package is required to build Spatial's sample programs only:
Window Motif
Tru64 The following software package is required to build Spatial's sample programs only:
Window Motif
Oracle Messaging Gateways, 9.2.0.1.0 AIX MQSeries for Java V5.2
HP MQSeries for Java V5.2
Linux MQSeries for Java V5.2
Solaris MQSeries for Java V5.2
Tru64 MQSeries for Java V5.1

Precompilers and Tools

Table 2-2 lists the restrictions and requirements for precompilers and tools.

Table 2-2 Precompilers and Tools Restrictions and Requirements

Product Name Platform Restrictions and Requirements
Pro*C/C++, 9.2.0.1.0 AIX VAC 5.0 (5.0.2.1), U479781, U479971, IY23677

Note: These packages/patches are applicable to both AIX 4.3.3 and 5.1.

HP HP ANSI C compiler release B.11.01.25171, PHSS_25171, PHSS_25249.

HP C++ A.03.27

Linux GNU gcc 2.95.3
Solaris 64-bit Sun Forte Workshop 6.2. 111678-05, 111679-03, 111681-01, 111683-03, 111685-03, 111690-03, 111691-02, 111678-06.

Note: Solaris 32-bit uses Sun Forte Workshop 6.1.

Tru64 Tru64 5.1: Patchkit 4: V6.3-029, C++ V6.3-008

Tru64 5.1A: Patchkit 1: V6.4-014, C++ V6.3-008

Pro*COBOL, 1.8.77 AIX Microfocus Server Express 2.0.10
HP Microfocus Server Express 2.0.11
Linux Not Applicable
Solaris Microfocus Server Express 2.0.11
Tru64 Microfocus Server Express 2.0.11 Service Pack 1
Pro*COBOL, 9.2.0.1.0 AIX Microfocus Server Express 2.0.10
HP Microfocus Server Express 2.0.11
Linux Not Applicable
Solaris Microfocus Server Express 2.0.11
Tru64 Microfocus Server Express 2.0.11 Service Pack 1
Pro*FORTRAN, 1.8.77 AIX XL FORTRAN 6.1 on AIX 4.3.3

XL FORTRAN 7.1 + xlopt 1.1.0.1 on AIX 5.1

HP HP FORTRAN/9000 B.11.01.20
Linux Not Applicable
Solaris Sun WorkShop 6 update 2 Fortran 77
Tru64 Compaq FORTRAN 5.4A
SQL*Module Ada, 9.2.0.1.0 AIX OCS Power ADA 3.1
HP Not Applicable
Linux Not Applicable
Solaris 32-bit SPARC Compiler ADA 3.0
Tru64 Not Applicable
Database Upgrade Assistant, 9.2.0.1.0 All platforms Oracle8 database must be at least release 8.0.6 to be upgraded; and an Oracle8i database must be at least version 8.1.5 to be upgraded to Oracle9i.

Note: Refer to the release notes for your platform for more information on supported upgrade paths.

Network and System Management Products

All network products require the underlying software and operating system libraries for the supported network. The network software must be installed and running prior to installing the Oracle Net products.

Table 2-3 lists the restrictions and requirements for networking and system management products.

Table 2-3 Networking and System Management Restrictions and Requirements

Product Name Restrictions and Requirements
Oracle Advanced Security, 9.2.0.1.0 See Table 2-4, "Supported Authentication Methods and Requirements" for more information on Oracle Advanced Security authentication support requirements.
Oracle Enterprise Manager, 9.2.0.1.0 JRE 1.1.8 is required. No additional system configuration is necessary for Oracle Enterprise Manager and its components.
Oracle TCP/IP with SSL Protocol Support, 9.2.0.1.0 SSL 3.0 or later.

See Also:

Chapter 4, " Post-Installation" for more information on installing Oracle networking and system management products separately after Oracle9i installation.

Your operating system and third-party vendor networking product documentation for more information on network and system management products.


Oracle Advanced Security

Oracle Advanced Security is a licensable option for the Enterprise Edition of the database. For all the features to function, Oracle Advanced Security must be installed on both the server and the client systems.

Table 2-4 describes the requirements for authentication protocols supported by Oracle Advanced Security.

Table 2-4 Supported Authentication Methods and Requirements

Authentication Method Requirements
Kerberos MIT Kerberos Version 5, release 1.1.

The Kerberos authentication server must be installed on a physically secure machine.

RADIUS A RADIUS server that is compliant with the standards in the Internet Engineering Task Force (IETF) RFC #2138, Remote Authentication Dial In User Service (RADIUS) and RFC #2139, RADIUS Accounting.

To enable challenge-response authentication, run RADIUS on a platform that supports the Java Native Interface as specified in release 1.1 of the Java Development Kit from JavaSoft.

Oracle Corporation does not provide the RADIUS authentication server. To use it, you must install and configure it separately.

Secure Sockets Layer (SSL) A wallet that is compatible with the Oracle Wallet Manager version 3.1. Wallets created in earlier releases of the Oracle Wallet Manager are not forward-compatible.

Oracle Advanced Security provides and installs Secure Sockets Layer.

Entrust Entrust IPSec Toolkit for C Version 6.0.

Entrust Server Login Version 6.0.

Note: Entrust is not supported on AIX and Linux.

DCE DCE 4.1 is required for Tru64.

Note: DCE is not supported on AIX, HP, Linux, and Solaris (64-bit)

nCipher nCipher HSM 5.22 for HP and Linux.

Note: nCipher is not supported on AIX, Solaris 64-bit, and Tru64.


See Also:

Oracle Advanced Security Administrator's Guide for more information on Oracle Advanced Security.

Installation Recommendations

Oracle Corporation recommends the following installation configuration step.

Using Optimal Flexible Architecture

Oracle Corporation recommends that the Optimal Flexible Architecture (OFA) standard be implemented when installing and configuring Oracle9i databases. The OFA standard is a set of configuration guidelines for creating fast, highly available, and reliable Oracle databases that require little maintenance. An OFA-compliant database:

  • organizes file systems to allow for easy administration

  • accommodates scalability, such as adding data into existing databases, or adding users to the system

  • distributes I/O loads across disk drives to prevent performance bottlenecks caused by multiple read/write commands issued simultaneously to a single drive

  • distributes applications across more than one drive to safeguard against disk failure

  • ensures integrity of login home directories when home directories are added, moved, or deleted by the DBA

  • allows multiple versions of the application software to be used concurrently


    Note:

    The Oracle Universal Installer supports, but does not require, OFA. The preconfigured database included with the Database installation type of Oracle9i database is created under a single mount point and is, therefore, not OFA-compliant.


    See Also:

    Oracle9i Administrator's Reference Release 2 (9.2.0.1.0) for UNIX Systems for more information on OFA, and details on how to set up your system to use OFA.

Setup Tasks to Perform as root User

The following pre-installation setup tasks configure your system and set up the accounts, groups, variables and permissions needed to run the Oracle9i database. If you choose not to perform these tasks prior to installation, then you will be given the option during the installation process to log in as root user and run the orainstRoot.sh script. The orainstRoot.sh script performs many of these setup tasks for you but might not provide a satisfactory environment for your system. Oracle Corporation recommends that you perform these steps manually.

To set up your environment for Oracle9i database, log in as the root user and perform the following tasks for your platform:


Configure Kernel Parameters

Oracle9i uses UNIX resources such as shared memory, swap memory, and semaphore extensively for interprocess communication. If your parameter settings are insufficient for Oracle9i, then you will experience problems during installation and instance startup. The greater the amount of data you can store in memory, the faster your database will operate. In addition, by maintaining data in memory, the UNIX kernel reduces disk I/O activity.

Review your kernel parameter settings to ensure that they meet Oracle9i requirements. If you do not do this, you may experience errors during installation, or operational errors after installation. These are the recommended kernel parameter requirements for a typical Oracle9i environment. If you have previously tuned your kernel parameters to levels that meet your application needs, then continue to use these values. A system restart is necessary if you change the kernel settings for the kernel changes to take effect.

Refer to the appropriate tables for the kernel parameters for your platform.


Kernel Parameter Settings for AIX

AIX does not require kernel parameter configuration prior to Oracle9i installation. However, certain system parameters may need to be adjusted to increase performance.


See Also:

Appendix A of Oracle9i Administrator's Reference Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, and Sun Solaris for more information.


Kernel Parameter Settings for HP

For HP, you may use the System Administrator's Menu (SAM) to configure the HP kernel as required by your application. The parameters in the following table are those recommended for a general user running a typical Oracle9i single database instance on HP. You may need to change the values per your application needs and the type of system you are working on. Refer to the following table to determine if your system shared memory and semaphore kernel parameters are set correctly for Oracle9i. Use the ipcs command to obtain a list of the system's current shared memory and semaphore segments, and their identification numbers and owner.

The parameters in the following table are the recommended values to run Oracle9i with a single database instance on HP.

Kernel Parameter Setting Purpose
KSI_ALLOC_MAX (NPROC * 8) Defines the systemwide limit of queued signals that can be allocated.
MAX_THREAD_PROC 256 Defines the maximum number of kernel threads allowed per process. You may need to increase the value if required by your application. Setting it to a default or low value may lead to an out of memory error for certain applications.
MAXDSIZ 1073741824 bytes Refers to the maximum data segment size in bytes for 32-bit systems. Setting this value too low may cause the processes to run out of memory.
MAXDSIZ_64 2147483648 bytes Refers to the maximum data segment size in bytes for 64-bit systems. Setting this value too low may cause the processes to run out of memory.
MAXSSIZ 134217728 bytes Defines the maximum stack segment size in bytes for 32-bit systems.
MAXSSIZ_64BIT 1073741824 Defines the maximum stack segment size in bytes for 64-bit systems.
MAXSWAPCHUNKS 16384 Defines the maximum number of swap chunks where SWCHUNK is the swap chunk size (1 KB blocks). SWCHUNK is 2048 by default. It specifies the maximum amount of configurable swap space on the system.
MAXUPRC ((NPROC*9)/10) Defines the maximum number of user processes.
MSGMAP (MSGTQL + 2) Defines the maximum number of message map entries.
MSGMNI NPROC Defines the number of message queue identifiers.
MSGSEG 32767 Defines the number of segments available for messages.
MSGTQL NPROC Defines the number of message headers.
NCALLOUT (NPROC + 16) Defines the maximum number of pending timeouts.
NCSIZE ((8 * NPROC + 2048) +
VX_NCSIZE)
Defines the Directory Name Lookup Cache (DNLC) space needed for inodes.

VX_NCSIZE is by default 1024.

NFILE (15 * NPROC + 2048) Defines the maximum number of open files.
NFLOCKS 4096 Defines the maximum number of file locks available on the system.
NINODE (8 * NPROC + 2048) Defines the maximum number of open inodes.
NKTHREAD (((NPROC * 7) / 4) + 16) Defines the maximum number of kernel threads supported by the system.
NPROC 4096 Defines the maximum number of processes.
SEMMAP (SEMMNI + 2) Defines the maximum number of semaphore map entries.
SEMMNI 4096 Defines the maximum number of semaphore sets in the entire system.
SEMMNS (SEMMNI * 2) Defines the maximum number of semaphores in the system. The default value of SEMMNS is 128, which is, in most cases, too low for Oracle9i software.
SEMMNU (NPROC - 4) Defines the number of semaphore undo structures.
SEMVMX 32768 Defines the maximum value of a semaphore.
SHMMAX Available physical memory Defines the maximum allowable size of one shared memory segment.

The SHMMAX setting should be large enough to hold the entire SGA in one shared memory segment. A low setting can cause creation of multiple shared memory segments which may lead to performance degradation.

SHMMNI 512 Defines the maximum number of shared memory segments in the entire system.
SHMSEG 32 Defines the maximum number of shared memory segments one process can attach.
VPS_CEILING 64 Defines the maximum System-Selected Page Size in kilobytes.

Kernel Parameter Settings for Linux

For Linux, use the ipcs command to obtain a list of the system's current shared memory segments and semaphore sets, and their identification numbers and owner.

Perform the following steps to modify the kernel parameters by using the /proc file system.

  1. Log in as the root user.

  2. Change to the /proc/sys/kernel directory.

  3. Review the current semaphore parameter values in the sem file by using the cat or more utility. For example, using the cat utility, enter the following command:

    # cat sem
    
    

    The output lists, in order, the values for the SEMMSL, SEMMNS, SEMOPM, and SEMMNI parameters. The following example shows how the output appears:

    250 32000 32 128
    
    

    In the preceding output example, 250 is the value of the SEMMSL parameter, 32000 is the value of the SEMMNS parameter, 32 is the value of the SEMOPM parameter, and 128 is the value of the SEMMNI parameter.

  4. Modify the parameter values by using the following command syntax:

    # echo SEMMSL_value SEMMNS_value SEMOPM_value SEMMNI_value > sem
    
    

    Replace the parameter variables with the values for your system in the order that they are entered in the preceding example. For example:

    # echo 100 32000 100 100 > sem
    
    
  5. Review the current shared memory parameters by using the cat or more utility. For example, using the cat utility, enter the following command:

    # cat shared_memory_parameter
    
    

    In the preceding example, the variable shared_memory_parameter is either the SHMMAX or SHMMNI parameter. The parameter name must be entered in lowercase letters.

  6. Modify the shared memory parameter by using the echo utility. For example, to modify the SHMMAX parameter, enter the following command:

    # echo 2147483648 > shmmax
    
    
  7. Modify the shared memory parameter by using the echo utility. For example, to modify the SHMMNI parameter, enter the following command:

    # echo 4096 > shmmni
    
    
  8. Modify the shared memory parameter by using the echo utility. For example, to modify the SHMALL parameter, enter the following command:

    # echo 2097152 > shmall
    
    
  9. Write a script to initialize these values during system startup, and include the script in your system init files.


    See Also:

    Your system vendor's documentation for more information on script files and init files.

  10. Set the File Handles by using ulimit -n and /proc/sys/fs/file-max.

    # echo 65536 > /proc/sys/fs/file-max
    ulimit -n 65536
    
    
  11. Set the Sockets to /proc/sys/net/ipv4/ip_local_port_range

    # echo 1024 65000 > /proc/sys/net/ipv4/ip_local_port_change
    
    
  12. Set the Process limit by using ulimit -u. This will give you the number of processes per user.

    ulimit -u 16384
    
    

The parameters in the following table are the minimum values required to run Oracle9i with a single-database instance on Linux.

Kernel Parameter Setting Purpose
SEMMNI 100 Defines the maximum number of semaphore sets in the entire system.
SEMMNS 256 Defines the maximum semaphores on the system. This setting is a minimum recommended value, for initial installation only.

The SEMMNS parameter should be set to the sum of the PROCESSES parameter for each Oracle database, adding the largest one twice, and then adding an additional 10 for each database.

SEMOPM 100 Defines the maximum number of operations for each semop call.
SEMMSL 100 Defines the minimum recommended value, for initial installation only.
SHMMAX 2147483648 Defines the maximum allowable size of one shared memory segment.

2 GB for SMP kernel. The recommended size is half the RAM size.

SHMMIN 1 Defines the minimum allowable size of a single shared memory segment.
SHMMNI 100 Defines the maximum number of shared memory segments in the entire system.
SHMSEG 4096 Defines the maximum number of shared memory segments one process can attach.
SHMVMX 32767 Defines the maximum value of a semaphore.

Kernel Parameter Settings for Solaris

For Solaris, use the ipcs command to obtain a list of the system's current shared memory and semaphore segments, and their identification number and owner.

Use a text editor such as vi to change the kernel parameter settings in the /etc/system file after making a backup copy. If you have previously changed your kernel for another program to levels equal to or higher than the levels Oracle9i requires, then do not change the settings. If the levels are too low, change them to levels at least as high as those in the table. If you change the settings, save the /etc/system file and restart the system.

The parameters in the following table are the minimum values to run Oracle9i with a single database instance on Solaris.

Kernel Parameter Setting Purpose
SEMMNI 100 Defines the maximum number of semaphore sets in the entire system.
SEMMNS 1024 Defines the maximum semaphores on the system. This setting is a minimum recommended value, for initial installation only.

The SEMMNS parameter should be set to the sum of the PROCESSES parameter for each Oracle database, adding the largest one twice, and then adding an additional 10 for each database.

SEMMSL 256 Defines the minimum recommended value, for initial installation only.
SHMMAX 4294967295 Defines the maximum allowable size of one shared memory segment.

4 GB = 4294967295

SHMMIN 1 Defines the minimum allowable size of a single shared memory segment.
SHMMNI 100 Defines the maximum number of shared memory segments in the entire system.
SHMSEG 10 Defines the maximum number of shared memory segments one process can attach.

Kernel Parameter Settings for Tru64

For Tru64, use a text editor such as vi to change the kernel parameter settings in the /etc/sysconfigtab file after making a backup copy. If you have previously changed your kernel for another program to levels equal to or higher than the levels Oracle9i requires, then do not touch the settings. If the levels are too low, change them to at least as high as those in the table. If you change the settings, save the /etc/sysconfigtab file and restart the system. For example, if you need to change your SHM_MAX, SHM_MNI, SHM_SEG, PER_PROC_STACK_SIZE, and PER_PROC_DATA_SIZE parameter settings, add the following lines to the /etc/sysconfigtab file:

ipc:  shm_max = 4278190080
      shm_mni = 256
      shm_seg = 128

proc: per_proc_stack_size = 33554432
      per_proc_data_size = 201326592

Refer to the following table to determine if your system shared memory and semaphore kernel parameters are set high enough for Oracle9i.

To determine the current kernel parameter settings, use the following command:

# /sbin/sysconfig -q ipc

The parameters in the following table are the recommended values to run Oracle9i with a single database instance on Tru64.

Kernel Parameter Setting Purpose
MAX_PER_PROC_STACK_SIZE 33554432
(32 MB)
Defines the processor stack size. The default size is sufficient for Oracle9i software. If an application that shares the system with Oracle9i requires a higher per process stack size, do not set this parameter higher than 512 MB.
PER_PROC_STACK_SIZE 33554432

(32 MB)

Defines the processor stack size. The default size is sufficient for Oracle9i software. If an application that shares the system with Oracle9i requires a higher per process stack size, do not set this parameter higher than 512 MB.
PER_PROC_DATA_SIZE 201326592

(192 MB)

Defines the minimum per process data segment size.
SHM_MAX 4278190080

(4GB less 16 MB)

Defines the maximum allowable size of the shared memory. The SHM_MAX parameter does not affect how much shared memory is used or needed by Oracle9i, the operating system, or the operating system kernel.
SHM_MIN 1 Defines the minimum allowable size of a single shared memory segment.
SHM_MNI 256 Defines the maximum number of shared memory segments in the entire system.
SHMSEG 128 Defines the maximum number of shared memory segments one process can attach.

Additional SYSCONFIGTAB file Parameter Settings

For all systems, including standalone or Real Application Clusters systems, you must set the following parameter in the /etc/sysconfigtab file:

vm:    new_wire_method = 0

If you are installing Oracle9i on systems where you expect to have SGAs (System Global Areas) greater than 4 GB in size, or on systems with many simultaneous (or near simultaneous) Oracle connects and disconnects, then Oracle Corporation recommends that you use different settings to enable the Granularity Hint (GH) regions (also called GH chunks) that such systems require.

The GH chunk region must be set large enough to hold all of the SGAs of concurrently running instances. The following section shows you how to determine the size of an individual SGA, and how to aggregate SGA sizes together to determine the proper settings for the GH chunks parameter.

To enable GH regions, you must know the total size of the SGA. The total size of the SGA is displayed on instance startup, as in the following example:

SQL> startup
ORACLE instance started.
Total System Global Area      4515625680 bytes
Fixed Size                        441040 bytes
Variable Size                  218103808 bytes
Database Buffers              4294967296 bytes
Redo Buffers                     2113536 bytes

You can also obtain SGA size using the following Query:

SQL> column totalsz format 999999999999
SQL> select sum(value) totalsz from v$sga

      TOTALSZ
-------------
4515625680

If more than one instance resides on your system, then you must add up the "Total System Global Area" numbers for all instances to set the gh_chunks parameter.

Use the following procedure to calculate the number for the gh_chunks parameter.

  1. Determine the value for the adjusted SGA size for each instance with the following formula:

    adjusted_sga_size = "Total System Global Area" number + 8388608

  2. As gh_chunks is allocated in 4 MB (4194304) units, the sum of the "Total System Global Area" numbers needs to be divided by 4 MB. Add up the adjusted_sga_size numbers for all instances and divide the sum by 4 MB (4194304) to find the value for sgavalue as represented in the following formula:

    sgavalue = (Sum of adjusted_sga_size numbers) / 4194304

  3. Round up sgavalue to a whole number, and use it to make the following changes to the vm and ipc settings in the /etc/sysconfigtab file:

    vm:  gh_chunks = <sgavalue + 2>
    
    

When you have made these changes, restart the system so that they can take effect.

For example, if you had three instances on your system that each had a "Total System Global Area" value of 4515625680, then your calculations would be as follows:

Instance a: adjusted_sga_size a = 4515625680 + 8388608 = 4524014288

Instance b: adjusted_sga_size b = 4515625680 + 8388608 = 4524014288

Instance c: adjusted_sga_size c = 4515625680 + 8388608 = 4524014288

sgavalue = Sum of adjusted_sga_size a + b + c = 13572042864

value for gh_chunks = (13572042864 / 4194304) + 2

= 3235.8271 + 2

= 3237.8271

= 3238 (rounded to the nearest integer)

gh_chunks = 3238


See Also:

Compaq Tru64 UNIX V5.1 System Configuration and Tuning Guide for more information on GH regions.

Refer to Appendix C of Oracle9i Administrator's Reference Guide for UNIX Systems if you enable Oracle9i Directed Placement (available for AlphaServers GS80, GS160 and GS320 only).


If you use Real Application Clusters and have a db_block_size of 16 KB or greater, and you are using UDP IPC implementation, then edit the inet parameter in the /etc/sysconfigtab file to be at least the following:

inet:  udp_recvspace = 42240
       udp_sendspace = 42240


Note:

Default IPC for Oracle Real Application Clusters on Oracle9i is RDG.


Note:

To ensure that Oracle Corporation is able to communicate any new recommendations to customers as rapidly as possible, frequently updated release notes are available at the following site:

http://docs.oracle.com



Create Mount Points

The Oracle9i installation requires at least two mount points:

An Optimal Flexible Architecture (OFA)-compliant installation requires at least four mount points:

All software and database mount point names use the syntax /pm, where p is a string constant and m is a unique fixed-length key (typically a two-digit number) used to distinguish each mount point. Examples: /u01 and /u02, or /disk01 and /disk02.


See Also:

Oracle9i Administrator's Reference Release 2 (9.2.0.1.0) for UNIX Systems for more information on Optimal Flexible Architecture.


Create UNIX Groups for Database Administrators

Oracle requires database administration groups to complete installation and to control database operations that are executed when a database is not mounted. Database administration groups enable operating system user authentication for Oracle administrative privileges, both for internal database accounts and for users to whom you may choose to grant privileges. Privileges are similar to those granted to INTERNAL in previous Oracle versions.

Oracle refers to these administrative UNIX groups as OSDBA, typically named dba, and OSOPER, typically named oper.

Table 2-5 lists utilities with which you can create the OSDBA group and other database administration groups. Use the utility that corresponds to your platform to create the OSDBA group.

Table 2-5 Utility to Add a Group

Platform Utility
AIX smit
HP sam
Linux groupadd
Solaris admintool or groupadd
Tru64 addgroup or groupadd

If you perform a Custom installation of Oracle9i database, or if the oracle account is not a member of a group called dba, then the Oracle Universal Installer prompts you to enter the group(s) you have created for these system privileges.


Create a UNIX Group for the Oracle Universal Installer Inventory

The ORAINVENTORY group owns the Oracle Universal Installer's oraInventory directory. It can be named anything, but typically it is named oinstall. The oraInventory is a repository of all installed Oracle products. The oraInventory is usually located in a directory named oraInventory, and its contents may only be modified by the Oracle Universal Installer. Any user who will be installing, removing, or patching Oracle products must be a member of the ORAINVENTORY group.

If you plan to have only one OSDBA group on a single system, then you can set the ORAINVENTORY group to the same name as the OSDBA group, which typically is dba. In this case, skip ahead to "Create a UNIX Account to Own Oracle Software ".

If you plan to have multiple installations on a single system and plan on having a unique OSDBA group for each install, then you will need a separate ORAINVENTORY group. The software owner, typically oracle, must have the ORAINVENTORY group as the primary group.


Note:

You are prompted for the ORAINVENTORY group only for the first Oracle product installed on the system. Subsequent installs on the system will reuse the group name you entered the first time.


Scenario for Creating an ORAINVENTORY Group

The following is a typical scenario for which a separate ORAINVENTORY group is needed:

In this situation, it is important to remember that the oraInventory can only be updated by a single operating system group. In order to maintain this central repository of installed Oracle products, the oracle1 and oracle2 users must share a common group, which Oracle Corporation refers to as the ORAINVENTORY group.

In this scenario, by creating the ORAINVENTORY group and making it the primary group for both the oracle1 and oracle2 users, any new entries created by the Oracle Universal Installer for the oracle1 user can be read or updated by the Oracle Universal Installer for the oracle2 user.

Even though both oracle1 and oracle2 share Oracle software information in the ORAINVENTORY group, their different OSDBA group memberships preserve a separate database administrative access. oracle1 has dba1 as its secondary group. oracle2 has dba2 as its secondary group. The ORAINVENTORY group keeps the oraInventory repository of all Oracle executables and data files, but none of these files, except the oraInventory, are group writable. Only the owner of the executables or data files can modify them. oracle1 owns all files installed by oracle1. oracle2 owns all files installed by oracle2.


Create a UNIX Account to Own Oracle Software

The oracle account is the UNIX user account that owns Oracle9i software after installation. You must run the Oracle Universal Installer with this user account. Table 2-6 describes the properties for the oracle account.

Table 2-6 oracle Account Properties

Property Description
Login Name Any name, but this guide refers to it as the oracle account.
Primary GID The ORAINVENTORY group.
Secondary GID The OSDBA group.
Home Directory Choose a home directory consistent with other user home directories. The home directory of the oracle account does not have to be the same as the Oracle home directory.
Login Shell The default shell can be /usr/bin/sh, /usr/bin/csh, or /usr/bin/ksh, but the examples in this guide assume that the Bourne shell (/usr/bin/sh) is used.

Table 2-7 lists the utilities to create the oracle account. Use the utility that corresponds to your platform.

Table 2-7 Utility to Add the oracle Account

Platform Utility
AIX smit
HP sam
Linux useradd (any GNOME or KDE based User Admin Tool)
Solaris admintool or useradd
Tru64 adduser or useradd

Caution:

Use the oracle account only for installing and maintaining Oracle software. Never use it for purposes unrelated to the Oracle9i server. Do not use the root account as the oracle account.

Sites with multiple Oracle home directories on one system may install Oracle software either with the same oracle account or with different ones. Each oracle account must have the ORAINVENTORY group as its primary group.


Additional Steps for Creating Multiple oracle Accounts

If you will have multiple oracle accounts that must access the same ORAINVENTORY group as described in the preceding "Scenario for Creating an ORAINVENTORY Group", then verify that you have set up each account correctly. Table 2-8 describes the appropriate command for each platform.

Table 2-8 Command to Verify oracle Account Access to Primary Group

Platform Command
AIX $ id
HP $ id
Linux $ id
Solaris $ id -a
Tru64 $ id

You should see the ORAINVENTORY group after gid=. You should see the OSDBA group in the groups= list. If you do not, ensure that both oracle1 and oracle2 accounts are listed in the /etc/groups file for the ORAINVENTORY group, that oracle1 is listed for the OSDBA1 group, and that oracle2 is listed for the OSDBA2 group.


Create a UNIX Account to Own the Oracle HTTP Server

The APACHE account is a UNIX user account that owns the Oracle HTTP Server after installation. If you use a default configuration (one that listens to ports lower than 1024, which are reserved for root), Oracle Corporation recommends that you set up a separate account to own Apache processes after installation for security reasons. This may affect the performance of other Oracle products.


See Also:

Apache 1.3 User's Guide for more information on Apache configuration and examples.

Oracle Corporation will have further updates on maintaining security with Oracle products and Apache at the following site:

http://www.oracle.com/support


Setting up the Oracle HTTP Server for Installation

During installation, the user account that owns the Oracle HTTP Server software must be a member of the ORAINVENTORY group in order to complete installation. The Oracle HTTP Server also must be started by the root user in order for ports reserved for root to be made available to the database and applications. For security reasons, Oracle Corporation recommends that provisions be made to change the Oracle HTTP Server group membership to a low-privileged group, and to transfer ownership of Oracle HTTP Server processes from root to a low-privileged account.

Improving Oracle HTTP Server Security After Installation

To improve security for database and application processes, create the Apache user. Configure the Oracle HTTP Server to transfer ownership of its processes from root to the Apache user by using the Apache configuration parameter user, which resets user ownership of processes spawned by Apache once the server starts. Assign ownership of listener and module actions for the Oracle HTTP Server to this user. This post-installation process is described in "Changing Group Membership of the Apache User".

Assign required access privileges to all Apache related module components to this user such that Apache and its modules can function as expected while minimizing security risks.

The Apache user should have minimal user privileges, and should not be a member of any groups whose files are not intended to be visible to the public. The nobody user account that many UNIX systems have can serve as a model for the Apache user. Be aware that all Web servers open to the public are at risk of being compromised, and take measures accordingly to minimize exposure to that risk.


Caution:

Configuring the Apache user with OSDBA group or oracle user privileges compromises database security. If the Apache user needs additional rights to run programs, use the Apache suEXEC feature to obtain additional rights for the Apache user.

If a user other than root starts the Oracle HTTP server, any scripts, servlets, or programs spawned by the Oracle HTTP server will have the same privileges as that user.


Table 2-9 describes the properties of the APACHE account.

Table 2-9 Properties of the Apache User for Installation

Property Description
Login Name The Apache user may be given any name, but this guide refers to it as the Apache user.
Primary GID The primary group must be the same group that owns the oraInventory directory. The location of the oraInventory directory is defined in the /etc/oraInst.loc file for AIX. The location of the oraInventory directory is defined in the /var/opt/oracle/oraInst.loc file for HP, Linux, Solaris, and Tru64. The default group name that has ownership of the oraInventory directory is the ORAINVENTORY group. For security reasons, this group ownership must be changed after installation. For more information, see "Changing Group Membership of the Apache User".
Secondary GID The secondary group should be one in which only the Apache user is a member.
Home Directory Choose a home directory consistent with other user home directories.

Table 2-10 lists the utilities to create the Apache user. Use the utility that corresponds to your platform.

Table 2-10 Utility to Add the Apache User

Platform Utility
AIX smit
HP sam
Linux useradd (any GNOME or KDE based User Admin Tool)
Solaris admintool or useradd
Tru64 adduser or useradd

Caution:

Oracle Corporation recommends caution when adding servlet classes, modifying or upgrading to Apache modules not certified with this version of Oracle9i database, or upgrading the Oracle HTTP Server to later versions than the one certified with this version of Oracle9i database. Oracle-provided patches for Apache and configurations of Apache will be supported, but it is possible for users to change Apache in ways that are difficult or impossible for Oracle Corporation to support.



See Also:

Apache 1.3 User's Guide for more information on security features and examples of how to configure Apache to meet your system requirements and environment.


Set Permissions for File Creation

It is necessary to set the umask parameter to 022 for the oracle user to ensure that group and others have read and execute permissions, but not write permission, on the installed files.

  1. Check the current setting by entering the following command:

    $ umask
    
    
  2. If the umask command does not return the value 022, then set it for the oracle user by adding the following line to the.profile or.login file:

    umask 022
    
    
  3. Execute the following command to verify the umask setting:

    $ umask 022
    

Oracle Post-Wait Kernel Extension for AIX

For Oracle9i 9.2.0.1.0 on AIX 5L, the function and performance benefits of the Oracle post-wait kernel extension are incorporated into the AIX kernel. Oracle9i 9.2.0.1.0 on AIX 5L does not require the Oracle post-wait kernel extension to be loaded.

For Oracle9i 9.2.0.1.0 on AIX 4.3.3, the following remarks about the kernel extension still apply. The Oracle post-wait kernel extension for AIX implements an optimized mechanism of inter-process communications without the overhead of signal handlers or semaphores. The Oracle post-wait kernel extension is loaded into the kernel at system startup and remains loaded as long as the system is running. It is used by all the Oracle instances running on the system.

The following section explains how to install and debug the kernel extension. If you have already run rootpre.sh from the latest version of the Oracle RDBMS, skip the installation step.


Installation of Post-Wait Kernel Extension for AIX

The Oracle post-wait kernel extension is installed in the /etc directory by the rootpre.sh script prior to the installation of the Oracle RDBMS. The kernel extension consists of two files: pw-syscall and loadext. pw-syscall is the actual kernel extension. loadext loads, unloads, queries, or gets the version of the kernel extension. It is also path-sensitive. rootpre.sh script copies a 64-bit enabled pw-syscall to the /etc directory. This kernel extension supports both 32-bit and 64-bit Oracle instances.


Pre-Installation Task for Oracle Real Application Clusters on AIX

Perform the following pre-installation steps to install Oracle Real Application Clusters on AIX.

  1. Configure and start HACMP/ES before running rootpre.sh script to install Oracle Real Application Clusters.

  2. Add oracle user to hagsuser group. This is required by non root users to use the PSSP and HACMP group service.

Setup Tasks to Perform as the oracle User

Log in as the oracle account and perform the following tasks as necessary:


Set Environment Variables

It is necessary to set the DISPLAY and PATH environment variables before running the Oracle Universal Installer. Other environmental variables such as the documentation directory or executables path may also be set before running the Oracle Universal Installer.

Table 2-11 provides a brief summary of the variables listed in this section. See each variable's entry in this section for instructions on setting the variable appropriately.


Note:

If an Oracle Server already exists on your system, then its settings may affect the settings that you choose for the new environment.

Table 2-11 Environment Variable Summary

Variable Description Required?
DISPLAY
The name, server number, and screen number of the system where the Oracle Universal Installer display its Graphical User Interface (GUI). Yes
ORA_NLS33
Location of character set data. No
ORACLE_BASE
Directory at the top of the Oracle software and administrative file structure. No
ORACLE_DOC
Directory where documentation is installed. No
ORACLE_HOME
Directory containing Oracle software for a particular release. No
ORACLE_SID
The Oracle server instance identifier to use during installation. No
PATH
Shell's search path for executables. Yes
DISPLAY

The DISPLAY variable specifies the name, server number, and screen number of the system where the Oracle Universal Installer displays. On the system where you will run Oracle Universal Installer, set the DISPLAY variable to include the system name or IP address, the X server value, and the screen value used by your workstation. If you are unsure of the value to which you should set the X server and screen, use 0 (zero) for both. Do not use the hostname or IP address of the system where the software is being installed unless you are performing the installation from that system's X Window console.

If you get an Xlib error similar to "Failed to connect to server," "Connection refused by server," or "Can't open display" when starting the Oracle Universal Installer, you must run one of the following shell commands on your X workstation.

For the Bourne or Korn shells:

In the session on your workstation, enter the following:

$ xhost +server_name

From your workstation where you will run the installation, connect to the server to which you intend to install Oracle9i and enter the following:

$ DISPLAY=workstation_name:0.0
$ export DISPLAY
For the C shell:

In the session on your workstation, enter the following:

% xhost +server_name

Connect from your workstation where you will run the installation, to the server on which you intend to install Oracle9i database. Enter the following:

% setenv DISPLAY workstation_name:0.0


Note:

If you are using a PC X server, then refer to your PC X server documentation for instructions on how to configure the PC X server to allow a remote X client to connect to the server.

PATH

The PATH variable specifies the shell's search path for executables. Set the shell's search path to include the information in the following table.

Table 2-12 lists the paths for the PATH variable that correspond to your platform.

Table 2-12 Shell Search Paths

Platform Paths
AIX $ORACLE_HOME/bin, /usr/bin, /etc, /usr/lbin, /usr/bin/X11, and /usr/local/bin, if it exists
HP $ORACLE_HOME/bin, /usr/bin, /etc, /usr/bin/X11, and /usr/local/bin, if it exists
Linux $ORACLE_HOME/bin, /usr/bin, /bin, /usr/bin/X11/, and /usr/local/bin, if it exists
Solaris $ORACLE_HOME/bin, /usr/ccs/bin, /usr/bin, /etc, /usr/openwin/bin, and /usr/local/bin, if it exists
Tru64 $ORACLE_HOME/bin, /usr/bin, /etc, /usr/bin/X11, and /usr/local/bin, if it exists
ORA_NLS33

The ORA_NLS33 variable specifies the directory location of the *.nlb files. The *.nlb files define languages, territories, character sets, and linguistic sorting orders. Set this variable only if the *.nlb files are in a non-default location, which is $ORACLE_HOME/ocommon/nls/admin/data.


See Also:

Oracle9i Globalization and National Language Support Guide for more information on languages, territories, character sets and sorting orders.

ORACLE_BASE

The ORACLE_BASE variable specifies the directory at the top of the Oracle software and administrative file structure. The recommended value for an OFA-compliant configuration is /software_mount_point/app/oracle. For example:

/u01/app/oracle


Note:

You must set the ORACLE_BASE variable even if you are not using an OFA-compliant configuration.

ORACLE_DOC

The ORACLE_DOC variable specifies the directory to install the online documentation.


See Also:

"Accessing Installed Documentation" for more information on how to determine where documentation will be installed if the variable is not set.

ORACLE_HOME

The ORACLE_HOME variable specifies the directory containing the Oracle software for a particular release. Ensure that the value of ORACLE_HOME points to a directory that does not contain any Oracle software from an earlier release.

The Optimal Flexible Architecture recommended value is:

$ORACLE_BASE/product/release

For example:

/u01/app/oracle/product/9.2.0.1.0
ORACLE_SID

The ORACLE_SID variable specifies the System Identifier (SID) to be used by the Oracle server instance during installation. If you plan on creating a database during installation, then you have the option of setting ORACLE_SID to the value of the sid. The Oracle Universal Installer will prompt you to confirm this value.


Update the Environment for Current Session

Use a text editor to set the environment variables in the.profile or.login file of the oracle account. You can update the environment in the current shell session before beginning installation by using the appropriate shell command.

For the Bourne or Korn shells:

On the server where the Oracle database will be installed, enter the following commands:

$ cd
$ . $HOME/.profile

For the C shell:

On the server where the Oracle database will be installed, enter the following commands:

% cd
% source $HOME/.login

Setup Tasks for Oracle Products

Before you can install Oracle9i software, pre-installation steps must be completed for the following products:

Oracle9i Components

Perform the following pre-installation step for Oracle9i components.


Oracle HTTP Server

Create the Apache user if you have not done so yet. The steps for creating the account are in "Setup Tasks to Perform as root User".

You must have installed the JDK version that the Oracle HTTP Server module requires prior to installing Oracle9i on AIX, HP, and Tru64. You will be prompted for the installed JDK home during installation. Review the release notes for your platform for the required JDK version number. On Linux and Solaris, the required JDK version is bundled with the product and gets installed automatically.

Oracle Real Application Clusters

Perform the following pre-installation steps to install Oracle Real Application Clusters.


See Also:

Oracle9i Real Application Clusters Setup and Configuration for more information on pre-installation steps for Oracle Real Application Clusters.


Steps to Perform as the root User for Oracle Real Application Clusters Installation
  1. Log in as the root user.

  2. Make sure you have the OSDBA group defined in the /etc/group file on all nodes in the cluster. The OSDBA group name and number, and OSOPER group if you plan to designate one, must be identical for all nodes of a UNIX cluster accessing a single database. The default UNIX group name for the OSDBA group is dba.

  3. Make sure you have the OSDBA group defined in the /etc/group file on all nodes in the cluster. The OSDBA group name and number, and OSOPER group if you plan to designate one, must be identical for all nodes of a UNIX cluster accessing a single database. The default UNIX group name for the OSDBA group is dba.

  4. Create the oracle account on each node of the cluster so that the account:

    • has the ORAINVENTORY group as the primary group

    • has the dba group as the secondary group

    • is used only to install and update Oracle software

    • has write permissions on remote directories

  5. Create a mount point directory on each node to serve as the top of the Oracle software directory structure so that:

    • the name of the mount point on each node is identical to that on the initial node

    • the oracle account has read, write, and execute privileges


      Note:

      On Tru64 with Cluster Filesystem, you need to perform the preceding step in only one of the nodes.

  6. Set up user equivalence by adding entries for all nodes in the cluster on the node from which you will run Oracle Universal Installer, including the local node, to either the .rhosts file of the oracle account or the /etc/hosts.equiv file.


    See Also:

    "Create Mount Points" for more information on the recommended naming conventions for Oracle mount points.

    To check user equivalence, execute a remote command on every node as the oracle user. For example, enter:

    • For HP,

    $ remsh another_host pwd
    
    
    • For AIX, Linux, Solaris, and Tru64,

    $ rsh another_host pwd
    
    

    To check RCP equivalence, copy a small file from every node to every node. For example, enter:

    $ rcp /tmp/dummy_file another_host:/tmp/dummy_file
    
    

    This is required for Oracle Universal Installer to install Oracle software on all selected nodes of the Cluster.


Additional steps to Perform as the root user for Installing Oracle Real Application Clusters on HP, Linux, or Solaris

If you are installing Oracle Real Application Clusters on HP, Linux, or Solaris, then you must complete additional steps as the root user. See the appropriate sections for your platform:


Additional root user information for HP

Start MC/ServiceGuard by entering the following command:

$ /usr/sbin/cmruncl


See Also:

Hewlett-Packard's Configuring OPS Clusters with MC/ServiceGuard OPS Edition for more information on configuring Oracle Real Application Clusters.

Oracle9i Release Notes Release 2 (9.2.0.1.0) for HP 9000 Series HP-UX for more information on memory requirements, installation and some post-installation issues on Oracle Real Application Clusters using Hyper Messaging Protocol (HMP).



Additional root user information for Linux
  1. Set CONFIG_WATCHDOG_NOWAYOUT parameter to Y. In most kernels, Y is a default value. For more information on this, refer to the generic Linux documentation.

  2. Load the watchdog module with an appropriate margin.

    ismod softdog soft_margin=10
    

    See Also:

    Oracle9i Administrator's Reference Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, Linux Intel, and Sun Solaris on how to calculate the soft_margin value.

  3. Add the necessary information to the /etc/hosts file on each node. The following information should be presented (entry for public IP address of the local node and entry for private IP address for each node, including local)

    <public IP address><local hotname with domain><local hostname alias>
    <private IP address><cluster node0 private hostname>
    <private IP address><cluster node1 private hostname>
    <private IP address><cluster node2 private hostname>
    ......
    
    
  4. Create the raw partition with 4 MB size on the shared storage. This partition is to be used by the Cluster Manager as a quorum partition. Bind this partition on each server on the cluster to the same device, for example, to /dev/raw1.


    Note:

    You need to install Oracle Cluster Manager before you install Oracle Real Application Clusters on Linux. For more information, see "Oracle Real Application Clusters" .


Additional root user information for Solaris
  1. Apply the Oracle patch for Sun Cluster software that is provided on the Oracle9i CD-ROM. To install the patch, follow the instructions provided in the README.udlm file in the racpatch directory on your CD-ROM. This patch provides the Cluster Membership Monitor (CMM) that is required before you install Oracle Real Application Clusters.

  2. To start the CMM, restart the Cluster Management Software.

    1. For the first node, enter the following commands:

      # cd /opt/SUNWcluster/bin 
      # scadmin startcluster cluster_name
      
      
    2. Run the following commands on each of the other nodes in the cluster:

      # cd /opt/SUNWcluster/bin
      # scadmin startnode cluster_name
      

    See Also:

    Sun Cluster 3.0 documentation for more information on scadmin command.


Steps to Perform as the oracle user for Oracle Real Application Clusters
  1. Log in as the oracle account.

    If you are performing the pre-installation steps on HP, then verify that the MC/ServiceGuard is running by entering the following command:

    $ /usr/sbin/cmviewcl
    
    
  2. Verify that the Cluster Membership Monitor (CMM) is running. Table 2-13 lists the appropriate command for each platform.

Table 2-13 Command to Verify Cluster Membership Monitor is Running

Platform Command
AIX HACMP

$ /usr/bin/lssrc -ls grpsvcs

Note: Verify that the CLSTRMGR_cluster_id has number of providers equal to the number of nodes.

PSSP 3.4

$ /usr/bin/lssrc -ls hags

Note: Verify that css has the correct number of nodes. There should also be a local provider.

HP $ /usr/sbin/cmviewcl
Linux $ ps -efl | egrep 'watchdogd|oracm'
  • if all of watchdogd and oracm program appears in the process list, Oracle Cluster Management Software is running.

  • if all of watchdogd and oracm program does not appear in the process list, restart the Oracle Cluster Management Software.

Solaris $ ps -ef | grep clustd
  • if the clustd program appears in the process list, clustd is running.

  • if the clustd program does not appear in the process list, restart the Cluster Membership Monitor.

Tru64 $ /usr/sbin/clu_get_info

Note: Verify that the correct number of cluster members are configured. Member state for all nodes should be "up".

  1. Check for user equivalence of the oracle account by performing a remote login (rlogin) to each node in the cluster.

    If you are prompted for a password, the oracle account does not have user equivalence. Ensure that you gave the same attributes to oracle user on all the nodes in the cluster. The Oracle Universal Installer cannot use the rcp command to copy Oracle products to the remote directories without user equivalence.

    If you have not set up user equivalence, you must perform Step 5 in "Setup Tasks to Perform as root User".

  2. Create at least one shared configuration file as an information repository for the database server configuration. If your platform supports Cluster Filesystem, skip this step.

    On UNIX platforms, create a shared raw device of at least 100 MB for the Server Management (SRVM) configuration. The Oracle Universal Installer will prompt you for the name of this shared file on the Shared Configuration File Name Page. Alternatively, set the environment variable SRVM_SHARED_CONFIG to the absolute pathname of the shared raw device from which the Oracle Universal Installer can retrieve the configuration file.


    See Also:

    Oracle9i Real Application Clusters Setup and Configuration for more information on setting up shared configuration file.

Precompilers and Tools

Complete pre-installation tasks for the precompilers and tools required for your platform.


Parameters for the Pro*C/C++ Precompiler

Verify that the C compiler executable is in the PATH setting. Table 2-14 describes the usual path settings and the appropriate command to verify the path depending on your platform.

Table 2-14 Pro*C/C++ Precompiler Directory

Platform Path Command
AIX /usr/bin $ which cc
HP /usr/bin $ which cc
Linux /usr/bin $ which gcc
Solaris /opt/SUNWspro/bin $ which cc
Tru64 /usr/bin $ which cc

Parameters and Environment Variables for the Pro*COBOL Precompiler
  1. Set the COBDIR environment variable to the directory where the COBOL compiler is installed.

  2. Verify that the PATH setting includes the COBOL compiler executable.

  3. Verify that the shared library path includes $COBDIR/lib directory.

    Table 2-15 describes the usual path settings for the platforms and the appropriate command to verify the path depending on your platform.

    Table 2-15 Pro*COBOL Precompiler Directory

    Platform Path Command
    AIX /opt/lib/cobol/bin $ which cob
    HP /opt/lib/cobol/bin $ which cob
    Linux Not applicable Not applicable
    Solaris /opt/lib/cobol/bin $ which cob
    Tru64 /opt/lib/cobol/bin $ which cob

    Note:

    If you do not set the COBDIR environment variable prior to starting the installation session, then Pro*COBOL precompiler linking fails.


    See Also:

    Your product-specific COBOL documentation for more information on COBDIR and COBLIB environment variables.


Pro*COBOL Restriction

The use of incorrectly aligned binary data (such as COMP-1) in Pro*COBOL applications will generate unaligned access warnings that will prevent optimum compiler performance, but not affect the application's results. The warnings may appear as follows:

Unaligned access pid=12227

<unaligned> va=11ffffb84

pc=1200010e0 ra=120001060 type=ldq

Parameters for Pro*FORTRAN Precompiler

Verify that the PATH setting includes the FORTRAN compiler executable. Table 2-16 describes the usual path settings for the platforms and the appropriate command to verify the path depending on your platform.

Table 2-16 Pro*FORTRAN Precompiler Directory

Platform Path Command
AIX /usr/bin $ which xlf
HP /opt/Fortran/bin $ which f77
Linux Not applicable Not applicable
Solaris /opt/SUNWspro/bin $ which f77
Tru64 /usr/bin $ which f77

Parameters for SQL*Module Ada

Verify that the PATH setting includes the Ada executable. Table 2-17 describes the usual path settings for the platforms and the appropriate command to verify the path depending on your platform.

Table 2-17 SQL*Module Ada Precompiler Directory

Platform Path Command
AIX /usr/lpp/powerada $ which ada95
HP Not applicable Not applicable
Linux Not applicable Not applicable
Solaris 32-bit /opt/SUNWspro/bin/ada $ which ada
Solaris 64-bit Not applicable Not applicable
Tru64 Not applicable Not applicable

Additional SQL*Module Ada Step for AIX

Verify that the OC Systems PowerAda 3.1 compiler configuration file has been set up. The file is located in the same directory where you have installed PowerAda. The file name will be as follows:

  • setup for the Korn shell

  • setup.csh for the C shell

Network and System Management Products

This section describes tasks that must be completed prior to installation if you have existing network and system management products.


Setup Tasks for Oracle Net Services

If you have an existing installation of Oracle Net Services on the database server, then shut down all listeners before installing. To determine if any listeners are running, enter the following command:

$ lsnrctl status listener_name

The listener_name field is required if the listener has a name other than the default name listener.

To shut down a running listener, enter the following command:

$ lsnrctl stop listener_name


See Also:

"Oracle Net Configuration Assistant" for more information on planning the installation and configuration of Oracle Net Services on your system.


Verify Oracle Supported Protocols

Oracle Universal Installer automatically installs the TCP/IP protocol support with all Oracle9i database installations. Before installing support for any protocol, verify that the underlying network is functioning and configured properly.

To verify that the network is functioning properly, transfer and retrieve a test file using the ftp utility by entering the following command:

$ ftp remote_server_name
ftp> put test_filename
ftp> get test_filename
ftp> bye

Setup Tasks for Oracle Enterprise Manager

Before you install Oracle Management Server, you need to determine if you will use an existing 9.2.0.1.0 Enterprise Manager repository or create a new 9.2.0.1.0 Enterprise Manager repository.


IMPORTANT:

All Oracle Enterprise Manager products on your system must be from the same release. Do not migrate the Management Server and repository until all Oracle Enterprise Manager users have upgraded their software to 9.2.0.1.0. If you migrate your Management Server and repository to 9.2.0.1.0, and do not upgrade the Enterprise Manager users' software, then the users will not be able to use their version of Enterprise Manager with the new version.


To Use an Existing Repository:

If you choose to use an existing Oracle Enterprise Manager repository version earlier than 9.2.0.1.0, then you must upgrade the existing repository to 9.2.0.1.0. Review the following information to upgrade your repository.

If you plan to migrate an existing Oracle Enterprise Manager repository to the current version, then backup or export the repository so that it can be recovered in the event of an unexpected error.


Migrating Release 2.x or 9.0.1:

Migrate the older repository to the current release by running the Enterprise Manager Configuration Assistant, 9.2.0.1.0.


To Create a New Repository:

If you decide to create a new 9.2.0.1.0 repository, then you must first install and start the database. The Enterprise Manager Configuration Assistant is automatically launched during the configuration phase of the Oracle9i Database Custom installation, the Management and Integration Server installation, and the Management and Integration Custom installation.


See Also:

Oracle Enterprise Manager Configuration Guide for more information on installing and configuring a new repository, or migrating a repository.


Previous Next
Oracle Logo
Copyright © 1996, 2002 Oracle Corporation

All rights reserved
Go To Table Of Contents
Contents
Go To Index
Index