Skip Headers

Oracle9i Application Server Certified Configuration Deployment and Cloning Guide
Release 2.0.6 for Linux x86
Part No. B10953-02
  Go To Table Of Contents
Contents
Go To Index
Index

Previous Next  

1 Installation Requirements

This chapter provides instructions on how to fulfill preinstallation requirements before installing Oracle9i Application Server Certified Configuration (Oracle9iAS CC).

This chapter contains the following sections:

Introduction

Oracle9iAS CCs are predictable system environments. They run on industry-leading operating systems that are patched and updated to specified levels. They are standardized Oracle environments that are rapidly configured and easily deployed.

Oracle9iAS CC contains several additions on top of the base product. These additions ensure standardizations within a hosting environment.

Oracle9iAS CC includes the following deployment features:

You can configure each Oracle9iAS CC as one of the following deployment types:

New Features in Oracle9iAS CC Release 2.0.6

Since release 2.0.5.1, Oracle added several new features to Oracle9iAS CC. The following provides information on these features in Oracle9iAS CC release 2.0.6:

Deployment Models

Oracle9iAS CC supports the following deployment models:

Two-Tier Deployment

In a two-tier deployment the infrastructure databases reside on the database-tier node. The Oracle Internet Directory (OID) and Oracle9iAS Single Sign-On (SSO) servers, and all Oracle9i Application Server middle-tier components reside on the middle-tier node. This is the preferred model for Oracle Technology Outsourcing deployment because it is secure and scalable.

For Portal, Oracle Internet File System (Oracle9iFS), and other custom applications, the customer database (Oracle9i Release 2 (9.2.0.2)) resides in the database-tier and the application is deployed on the top of Oracle9i Application Server middle-tier in the middle-tier node.

Two-Tier Deployment Model

Figure 1-1 depicts the two-tier deployment model.

Figure 1-1 Two-Tier Deployment Model of Oracle9iAS CC

This is an image of a Oracle9iAS CC Two-Tier Deployment. The left box is the middle-tier node, with iAS Infrastructure and iAS midd-tier Oracle homes. The box on the right is the database-tier node. This contains an iAS Infrastructure Oracle home with a iAS metadata repository database and the customer databse Oracle home with the customer database.

Note:

*The Oracle9i Certified Configuration Release 9.2.0.x database is not part of the Oracle9iAS CC Release 9.0.2 image. You should install and configure this ORACLE_HOME using Oracle9i Certified Configuration Release 9.2.0.x.

  • In Figure 1-1, the database-tier contains the following Oracle homes:

    • O_H1: This Oracle home contains the Oracle9iAS Infrastructure database release 9.0.1.3. Only the OID instance of SSO server processes do not run in this Oracle home.

    • O_H4: This Oracle home contains the Oracle9i Certified Configuration (Oracle9i CC) customer database for Oracle Portal, Oracle9iFS, and other custom applications.

  • In Figure 1-1, the middle-tier contains the following Oracle homes:

    • O_H2: This Oracle home contains Oracle9iAS Infrastructure (mid-tier) running OID and SSO servers only.

    • O_H3: This Oracle home contains the Oracle9iAS CC mid-tier components.

      This Oracle home is also used to configure Portal and Oracle9iFS against the customer database.

Single-Tier Deployment

In a single-tier deployment, you deploy all the components of Oracle9iAS CC on a single node. This is not a preferred method of deployment. However, this deployment can be used for either small-scale intranet deployments or for test purposes.

Figure 1-2 depicts the single-tier deployment model.

Figure 1-2 Single-Tier Deployment Model of Oracle9iAS CC

This is an image of an Oracle9iAS CC single-tier deployment. It has one box which contains the Infrastructure, iAS middle-tier and customer database Oracle homes. The Infrastructure Oracle home includes an iAS metadata repository database. The customer database Oracle home includes a customer database.

Note:

*The Oracle9i Certified Configuration Release 9.2.0.x database is not part of the Oracle9iAS CC Release 9.0.2 image. You should install and configure this ORACLE_HOME using Oracle9i Certified Configuration Release 9.2.0.x.

In Figure 1-2, the single-tier contains the following Oracle homes:

  • OH_1: This Oracle home contains Infrastructure database release 9.0.1.3, and OID and SSO servers.

  • O_H2: This Oracle home contains the Oracle9i Application Server middle-tier.

  • O_H3: This Oracle home contains the Oracle9i Certified Configuration customer database for Portal, Oracle9iFS, and other custom applications.

Proceed with the rest of the document to install and configure Oracle9iAS CC.

Linux System Requirements

Ensure that your system meets the requirements in the following sections.

Linux Hardware Requirements

Table 1-1, "Hardware Requirements for Oracle9iAS CC" lists hardware requirements for Oracle9iAS CC.

Table 1-1 Hardware Requirements for Oracle9iAS CC

Hardware Component Requirement
Minimum number of CPUs 2
Minimum CPU clock speed 450 MHz
Minimum CPU power factor 1400
Minimum physical memory 2 GB
Minimum number of NICs 2
Disk space See "Partitioning Requirements".


Note:

If you have a CPU with a lower frequency, then you will need more CPUs to meet the total system power factor.

Linux Software Requirements

Table 1-2, "Software Requirements for Linux Intel (32-bit)" lists operating system software requirements for Linux that must be met to perform a typical Oracle9iAS CC software installation, and to create a simple prototype database.

Table 1-2 Software Requirements for Linux Intel (32-bit)

Software Component Requirements
Operating System Red Hat Advanced Server 2.1, with the following:
  • Kernel 2.4.9-e12 or higher

  • glibc 2.2.4-26 or higher

During installation, in the Package Group Selection page, always select Software Development.

Operating System Patches binutils-2.11.90.0.8-13

Oracle Corporation assigned bug number 2414946 to track this patch. You can obtain the patch by accessing the Oracle Automated Release Updates (ARU) Web site, and searching for ARU number 1843755.

Follow the instructions for installing the patch in the patch README file.

Oracle Corporation recommends that you remove this patch after configuring Oracle9iAS CC.

C Compiler gcc-2.96-108.1
X Server and Window Manager Xfree 86

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.

Korn shell (ksh) pdksh-5.2.14-13 (Available on the RedHat AS 2.1 CD. Retrieve the patch from the operating system CD-ROM and install it onto your system.)
BC numeric processing language bc-1.06-5 (Available on the RedHat AS 2.1 CD. Retrieve the patch from the operating system CD-ROM and install it onto your system.)
Procinfo procinfo-18-2 (Available on the RedHat AS 2.1 CD. Retrieve the patch from the operating system CD-ROM and install it onto your system.)

Linux Kernel Configuration Settings

Table 1-3, " Linux Kernel Configuration Settings" provides minimum required configuration requirements for the Linux kernel.

Table 1-3  Linux Kernel Configuration Settings

Kernel Parameter Minimum Setting Purpose
SEMMNI 100 Defines the maximum number of semaphore sets (or identifiers) on the system.
SEMMNS 256 Defines the maximum number of semaphores in all sets on the system. Use this setting for installation, and raise it to meet the requirements for your system.

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 maximum number of semaphores for each semaphore set (or identifier). Use this setting for installation, and raise it to meet the requirements for your system.
SHMMAX 2147483648 Defines the maximum allowable size of one shared memory segment.

To compile an SMP kernel, Oracle Corporation recommends that you set the value to 2 GB or to half the size of RAM, whichever is greater.

SHMMNI 100 Defines the maximum number of associations between a shared memory segment (or identifier) and the actual shared memory on the system.

Linux Kernel Configuration Procedures

Use the ipcs command to obtain a list of the current settings for the system shared memory and semaphore segments, and their identification numbers and owner.

Modifying Kernel Parameters at Runtime

You can modify kernel parameters at runtime by using the following command syntax:

echo value > parameter

where the variable parameter is the kernel parameter you want to change, and the variable value is the value that you want to assign to the parameter. Using this command syntax modifies the value for the parameter in the /proc file system (and thus the kernel), but you must then reset it at system start.

For example, to change the SHMMNI parameter to 100, enter the following command:

# echo 100 > SHMMNI

Modifying Kernel Parameters on System Start

To ensure that the system settings are in effect after every restart, log in as root, and insert the following lines in the configuration file /etc/sysctl.conf:

kernel.sem = 100 256 100 100

kernel.shmmax = 2147483648
kernel.shmmni = 100

Note:

The above kernel settings are recommended values for installation only. Modify them to meet the demands on your system.

Modifying Kernel Parameters in the Kernel File System

Use the following procedure to modify kernel parameters by changing the /proc file system settings:

  1. Log in as the root user.

  2. Using the following command, change directory to /proc/sys/kernel:

    # cd /proc/sys/kernel
    
    
  3. Use the cat command to review the current semaphore parameter values of the kernel:

    # cat sem
    
    

    The output of this command lists in order the values for the parameters SEMMSL, SEMMNS, SEMOPM, and SEMMNI. The following is an example of how the output appears:

    250 3200 32 128	
    
    

    In this example, 250 is the SEMMSL value, 3200 is the SEMMNS value, 32 is the SEMOPM value, and 128 is the SEMMNI value.

  4. Using the following command syntax, modify the semaphore parameter values:

    echo SEMMSL SEMMNS SEMOPM SEMMNI > sem

    In the line above:

    • SEMMSL is the value you want to set for SEMMSL.

    • SEMMNS is the value you want to set for SEMMNS.

    • SEMOPM is the value you want to set for SEMOPM.

    • SEMMNI is the value you want to set for SEMMNI.

    For example, to change the parameter settings to the recommended minimum values for installation, enter the following command:

    # echo 100 256 100 100 > sem
    
    
  5. Using the following command syntax, use the cat command to review the current parameter settings for SHMMAX or SHMMNI:

    cat parameter

    where the variable parameter is the parameter you want to review. For example, to review the SHMMAX parameter setting, enter the following command:

    # cat SHMMAX
    
    
  6. If necessary, use the following command syntax to modify shared memory parameters:

    echo value > parameter

    where the variable parameter is the kernel parameter you want to change, and the variable value is the value that you want to assign to the parameter. Using this command syntax modifies the value for the parameter in the /proc filesystem (and thus the kernel), but you must then reset it at system boot up.

    For example, to change the SHMMAX parameter to 2147483648, enter the following command:

    # echo 2147483648 > SHMMAX
    

Partitioning Requirements

Oracle9iAS CC requires that you create certain partitions during operating system installation. The following sections provide information on creating partitions for the local disk and for Oracle software.

Partitions for Local Disk

The following table lists the partitions that you must create on the local disk for a successful installation of Oracle9iAS CC.

Table 1-4  Local Disk Partition Requirements

Mount Point Minimum Size (GB) Description
/
9 GB Besides root, this partition also contains the /usr, /opt, /var and /tmp directories.
/boot 128 MB Operating system kernel
/oem 1 GB Oracle Enterprise Manager installation
Swap 4 GB The recommended swap space size is 2 times the size of RAM.
/admin 4 GB (minimum or rest of the disk) Top-level directory for certified configuration scripts, tooling, and so on.

Partitions for Oracle Software

This section describes the file system layout for two-tier (preferred model) and single-tier deployments of Oracle9iAS CC. Although you can create these partitions on a local disk, Oracle Corporation recommends that you create these partitions on an off-host storage.

The XYYYY naming convention that is used in the following tables is described as follows:

  • X is a one-letter instance ID (‘t’ for test, ‘p’ for production, and ’d’ for development)

  • YYYY is the four-letter customer ID

For example, a test instance deployment with a customer ID of ‘orcl’ would replace XYYYY with ‘torcl’.

Partitions for Two-Tier Deployment: Partitions on a Database-Tier System

The following table lists the partitions on a database-tier system.

Table 1-5  Partitions for a Two-Tier Deployment: Partitions on a Database-Tier System

Product Mount Point Size Description
Oracle9i Release 2 database

(Not part of Oracle9iAS CC release. Obtain from Oracle9i Certified Configuration)

/XYYYYo/oracle 8GB Install this using the Oracle9i Certified Configuration.
/XYYYYo/oradata 8 GB All database-related files will be distributed in the following directories as per Outsourcing standards:
  • /XYYYYo/oradata/data01

  • /XYYYYo/oradata/data02

  • /XYYYYo/oradata/data03

/XYYYYo/arch 4 GB Archive logs for the Oracle Portal and Oracle9iFS database.
Oracle9iAS Infrastructure database (Infrastructure database)

/XYYYYs/oracle 4 GB This will be the ORACLE_BASE. The Oracle home for the Oracle9iAS Infrastructure database will be $ORACLE_BASE/product/infra_902.
/XYYYYs/oradata 8 GB All Oracle9iAS Infrastructure database related files will be distributed in the following directories as per Oracle Outsourcing standards:
  • /XYYYYs/oradata/data01

  • /XYYYYs/oradata/data02

  • /XYYYYs/oradata/data03

/XYYYYs/arch 4 GB Archive logs for Infrastructure database.

The ORACLE_BASE partition will also contain following few important directories besides ORACLE_HOME:

  • $ORACLE_BASE/oraInventory - A top-level inventory

  • $ORACLE_BASE/jre - A top-level directory containing JRE required for OUI

  • $ORACLE_BASE/oui - A top-level directory containing Oracle Universal Installer

  • $ORACLE_BASE/admin - A top-level directory containing administrative file for ORACLE_HOME like udump, bdump, and so on.

Partitions for a Two-Tier Deployment: Partitions on a Middle-Tier System

The following table lists the partitions for a middle-tier deployment.

Table 1-6  Partitions for a Two-Tier Deployment: Partitions on a Middle-Tier System

Product Mount Point Size Description
Oracle9iAS Infrastructure (OID and SSO servers) (Infrastructure mid-tier) /XYYYYs/idm 8 GB This will be the ORACLE_BASE. The Oracle home for Oracle9iAS Infrastructure mid-tier running OID and SSO servers is $ORACLE_BASE/product/infra_902.
Oracle9iAS CC middle-tier /XYYYYo/ias 8 GB This will be the ORACLE_BASE. The Oracle home for Oracle9i Application Server middle-tier components will be $ORACLE_BASE/product/iasmt_902.

Partitions for a Single-Tier Deployment

The following table lists the partitions for a single-tier deployment.

Table 1-7  Partitions for a Single-Tier Deployment

Product Mount Point Size Description
Oracle9iAS Infrastructure database, and OID and SSO servers

/XYYYYs/oracle 8 GB This will be the ORACLE_BASE. The Oracle home for Oracle9iAS Infrastructure database, and OID and SSO servers will be $ORACLE_BASE/product/infra_902.
/XYYYYs/oradata 8 GB All Infrastructure database-related files will be distributed in following directories as per standards:
  • /XYYYYs/oradata/data01

  • /XYYYYs/oradata/data02

  • /XYYYYs/oradata/data03

/XYYYYs/arch 4 GB Archive logs for Infrastructure database.
Oracle9i Release 2 database

(This is only required if you are deploying Oracle Portal or Oracle9iFS against the customer database.)

/XYYYYo/oracle 8 GB Install this using the Oracle9i Certified Configuration.
/XYYYYo/oradata 8 GB All database-related files will be distributed in the following directories as per Outsourcing standards:
  • /XYYYYo/oradata/data01

  • /XYYYYo/oradata/data02

  • /XYYYYo/oradata/data03

/XYYYYo/arch 4 GB Archive logs for the Oracle Portal and Oracle9iFS database.
Oracle9iAS CC middle-tier /XYYYYo/ias 8 GB This will be the ORACLE_BASE. The Oracle home for Oracle9i Application Server middle-tier components will be $ORACLE_BASE/product/iasmt_902.


Note:

You only need the Oracle9iAS CC mid-tier partition for a stand alone J2EE and Web Cache Deployment.

Operating System Users and Groups

The Oracle9iAS CC does not require you to create specific users. The Oracle9iAS CC installations will create operating system users and groups based on the instance type (X) and customer ID (YYYY).

The following tables describes the list of users and groups that will be created during the installation of Oracle9iAS CC. All the users and groups are created with lowercase letters.


Note:

During installation, these passwords are set to unknown strings, therefore, you must set the password for these users after installation.

Table 1-8  Two-Tier Deployment: Users and Groups on Database-Tier

ORACLE_HOME OS User OS Group
Oracle9iAS Infrastructure database orXYYYYs dbXYYYYs

Table 1-9  Two-Tier Deployment: Users and Groups on Middle-Tier System

Product OS User OS Group
Oracle9iAS Infrastructure for OID and SSO servers iaXYYYYo iaXYYYYo
Oracle9i Application Server middle-tier iaXYYYYo iaXYYYYo

Table 1-10  Single-Tier Deployment: Users and Group

Product OS User OS Group
Oracle9iAS Infrastructure database, and OID and SSO servers iaXYYYYo iaXYYYYo
Oracle9i Application Server middle-tier iaXYYYYo iaXYYYYo

Configuring Hostnames

The /etc/hosts file must contain the fully qualified hostname information for your computer. A fully qualified hostname includes both the name of the host system and its domain. Verify that the /etc/hosts file has the following format:

ip_address fully_qual_hostname short_hostname_aliases

where:

  • the variable ip_address represents the numeric value IP address for the host

  • the variable fully_qual_hostname represents the fully qualified host name

  • the variable short_hostname_aliases represents the alias by which the host can be accessed.

The following example shows a properly configured /etc/hosts file for iascc01 host:

127.0.0.1 localhost

148.87.9.44 iascc01.us.oracle.com iascc01

Additional System Setup

Complete the following additional operating system setup tasks.

Linux-Specific System Setup

The following setup tasks are required for Linux.

Remove IBM JDK and JRE 1.3.x

By default, Red Hat Advanced Server version 2.1 installs the IBM JDK and JRE. However, the IBM JDK and JRE are not compatible with Oracle software. Oracle Corporation recommends that you remove the IBM JDK and JRE from your operating system. Oracle Corporation ships the required JDK and JRE with the Oracle9iAS software.

As root, use the following commands to remove the IBM JRE and JDK from your system:

# rpm -e IBMJava2-SDK IBMJava2-JRE

Create Symlink for fuser Executable

As root, use the following command to create the symbolic link for fuser:

# ln -s /sbin/fuser /bin/fuser

Validation

To ensure that your system meets minimum specified requirements, Oracle9iAS CC checks that your system meets all the requirements listed in the preceding sections. Validated requirements include system requirements, partitioning requirements, and administrative account and group requirements. Validation takes place both before Oracle9iAS CC installation and before Oracle9iAS CC configuration.

If your system does not meet the minimum specified requirements, then the installation or configuration process will not proceed further.

As an option, you can use the following procedure to confirm that you meet the minimum specified requirements before installing or configuring Oracle9iAS CC:

  1. Log in as the root user.

  2. You must set variables in the following table before running the validation tool. The variables depend on the type of install. The examples of users and groups in the table are for Oracle9iAS Infrastructure ORACLE_HOME in a two tier deployment with Customer ID, orcl.

    Table 1-11  OS User and Group Variables

    Variable Direction Example
    CC_ORACLE_USER Set to the OS user for the specific type of install. ortocls
    CC_ORACLE_INV_GRP Set to the OS group for the specific type of install. dbtorcls
    CC_ORACLE_DBA_GRP Set to the OS group for the specific type of install. dbtorcls


    See Also:

    See section Operating Users and Groups for details on how to derive the operating system users and groups.

  3. Use FTP to obtain the Oracle9iAS CC Utility Pack tar file (ias902cc_cdzero.tar.gz) and extract it into a temporary directory.

  4. Perform system checks to ensure that your system meets certified configuration requirements using the following command:

    # <directory where cdzero is extracted>/ias/install/ocheck -product\  ias -preconfig -relaxed
    
    
  5. If you have a system where you installed the Oracle9iAS CC Utility Pack, use the following command to verify your system setup:

    # $ORACLE_CC_ROOT/install/bin/ocheck -product ias -preconfig -relaxed
    
    
  6. The Validation Report appears. If the report Status column lists "fail" for any item, then installation or configuration cannot proceed until the cause of the failure is fixed. If the report Status column lists "warn" for any item, then the item deviates from the specified minimum requirements. However, installation or configuration may still run to completion. Oracle Corporation recommends that you meet the minimum specified requirements.

    If you receive a fail or warn message during validation, then compare the Expected column with the Value column, which lists your system hardware, software, and accounts and groups status. Make the necessary changes on your system to bring it up to the minimum required specifications for Oracle9iAS CC.