Skip Headers

Oracle9i Real Application Clusters Real Applications Clusters Guard I Configuration Guide
Release 2 (9.2.0.1.0) for UNIX Systems: AIX-Based Systems, Compaq Tru64 UNIX, HP 9000 Series HP-UX, and Sun Solaris

Part Number A95979-02
Go To Product List
Product
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

1
Pre-installation

This chapter describes the pre-installation and configuration tasks required for Oracle9i Real Application Clusters Guard. It contains the following sections:

Installation Overview

To install Oracle9i Real Application Clusters Guard, perform the following tasks:

  1. Check the prerequisites: Ensure that the system meets the hardware, software, memory, and disk space requirements for Oracle9i Real Application Clusters Guard.

    See Also:

    See "System Installation Requirements" for information about requirements.

  2. Set up the UNIX environment: Ensure that the UNIX environment is set up correctly for Oracle9i Real Application Clusters Guard.

    See Also:

    See "Setting the Environment" for information about setting up the UNIX environment.

  3. Set up the Oracle environment: Ensure that a two-node cluster has been created and configured.

    See Also:

    See "Setting the Environment" for information on setting up the Oracle environment.

  4. Configure Oracle9i Real Application Clusters Guard: Use the provided setup utility (PFSSETUP) to configure Oracle9i Real Application Clusters Guard.

    See Also:

    See Chapter 2, "Configuration Tasks" for information about configuring Oracle9i Real Application Clusters Guard.

  5. Perform post-installation tasks: Start Oracle9i Real Application Clusters Guard and ensure that it is correctly installed and configured.

    See Also:

    See Chapter 3, "Post-Installation Tasks" for information about post-installation tasks.

System Installation Requirements

Verify that the system meets the requirements described in the following sections before installing Oracle9i Real Application Clusters Guard:

Restrictions

The following restrictions apply to Oracle9i Real Application Clusters Guard:

Operating System Components

The operating system dependent layer provides the services required for proper operation of Oracle9i Real Application Clusters. Oracle9i Real Application Clusters Guard also requires these components, but might require different versions from the Oracle9i Real Application Clusters software. Table 1-1 shows the operating system software components required for Oracle9i Real Application Clusters Guard.

Table 1-1 Operating System Software Components
Software Platform Requirements

Operating System

Solaris

Solaris 8

HP

HP-UX 11.0

Tru64

Compaq Tru64 UNIX, Version 5.1

AIX

AIX Version 4.3.3 or higher

Operating System Patches

All

For information on Operating System patch requirements, refer to the Oracle9i Installation Guide for UNIX, and the Oracle9i Release Notes for your platform.

For Solaris: If Sun Solaris patch update 5 or 6 is installed, then SUN patch 110662-06 is required. Starting with Sun Solaris patch update 7, this patch will no longer be required because the fix will be included with this release.
Patch 110662-06: Starting with Sun Solaris patch 110662-03, a fix for KSH was introduced that made KSH UNIX98 compatible in its arithmetic constant handling (Sun bugid: 4286837). Since this fix causes incompatibilities for exiting scripts, a patch is available to back out the change (Sun bugid: 4473696). Obtain patch 110662-06 to fix this problem.

For further information, please contact Sun support.

Cluster

Solaris

Sun Enterprise Cluster 3.0, Veritas Volume Manager Version 3.0.4

HP

MC/ServiceGuard 11.13 OPS Edition with patch PHSS_22876 or later

Tru64

Compaq TruCluster Software 5.1, with patches GB_G01313 and GB_G01314

AIX

HACMP/ES Version 4.4, or higher


Note:

For AIX-Based Systems, Oracle9i Real Application Clusters Guard is supported on RS6000 clusters and is not supported on SP2 systems.


Table 1-2 lists the commands required to determine the operating system patches for each platform.

Table 1-2 Commands to Use to Determine Operating System Patches
Platform Command

Solaris

To determine which operating system patches are installed, enter the following command:

$ showrev -p

HP

To determine which operating system patches are installed, enter the following command:

$ swlist -l product | grep PH

To determine which operating system bundles are installed, enter the following command:

$ swlist -l bundle

Tru64

To determine which operating system patches are installed, enter the following command:

$ dupatch

or

$ setld -i |more

AIX

To determine which operating system patches are installed, enter the following command:

$ instfix -a

To determine whether a specific patch is installed, enter the following command:

$ instefix -ivk APAR_number

To determine which operating system filesets are installed, enter the following command:

$ lslpp -l

To determine is a specific operating system fileset is installed, enter the following command:

$ lslpp -l [fileset_name]

Oracle Product Requirements

Table 1-3 lists the products that must be installed and running before you install Oracle9i Real Application Clusters Guard.

Table 1-3 Oracle Product Requirements for Oracle9i Real Application Clusters Guard
Product Description

Oracle9i Enterprise Edition, Release 2 (9.2.x)

Provides the applications and files required to manage a database. All other Oracle9i Real Application Clusters components are installed on top of Oracle9i Enterprise Edition.

Oracle9i Real Application Clusters, 9.2.x

Provides the necessary Oracle9i Real Application Clusters services, scripts, initialization file, and data files.

Oracle Net, Release 2 (9.2.x)

Provides the networking software required for communicating between Oracle Servers. This software must be installed on both nodes.

SQL*Plus, Release 2 (9.2.x)

Oracle software required for accessing a database.


Note:

The Oracle9i Real Application Clusters Guard files are installed as part of the Oracle9i Real Application Clusters installation. To install the Oracle9i Real Application Clusters Guard files, choose the Oracle9i Real Application Clusters option.


Network Requirements

You must pre-allocate two relocatable IP addresses, one for each Real Application Clusters Guard Pack, for use by client connections. These relocatable IP addresses are used as logical hosts, and Oracle9i Real Application Clusters Guard configures the availability of the relocatable IP address as required. For information on setting up relocatable IP addresses, refer to your system documentation.

Use the following parameters to specify the relocatable IP address in the Oracle9i Real Application Clusters Guard setup configuration file:

After you run the PFSSETUP utility, as described in Chapter 2, these relocatable IP addresses are associated with the public network adapter. If the Oracle9i Real Application Clusters Guard Pack is moved to another node, these relocatable IP addresses are also moved.


Note:

The relocatable IP addresses specified using the PFS_IP_PACK_HOSTA and PFS_IP_PACK_HOSTB parameters must each have an entry in the /etc/hosts file.


For Sun Cluster 3.0, specify the public network adapter using the PFS_NET_IF_A and PFS_NET_IF_B configuration parameters. The public network adapter must already be part of a Network Adapter Failover (NAFO) group. Before installing Real Application Clusters Guard, create a NAFO group to host the relocatable IP address for a Real Application Clusters Guard Pack. Refer to the Sun Cluster 3.0 Installation Guide for more information on NAFO groups.

See Also:

See Chapter 2 and the Oracle9i Real Application Clusters Guard Concepts and Administration Guide for more information on configuring the network.

Implementation

Please note the following:

Setting the Environment

This section describes how to set up the environment. It contains the following sections:

Set Up Tasks to Perform as the root User

As the root user, configure the system for Oracle9i Real Application Clusters Guard by setting the enviroment options described in Table 1-4.

Table 1-4 UNIX Environment  
Environment Option Requirement

UNIX group for oracle roles

A UNIX group is required for the OSDBA role. Ensure that you have an OSDBA group defined in the /etc/group file on all nodes of the cluster.

UNIX accounts

A UNIX account that is dedicated to installing and running Oracle9i Real Application Clusters Guard is needed. The account must be a member of the SYSDBA group. Create the UNIX account on all nodes of the cluster. This guide assumes the account is called oracle.

Login shell

The Korn shell must be the default shell for the oracle and root account that runs Oracle9i Real Application Clusters Guard. The Korn shell is the only shell supported with this release of Oracle9i Real Application Clusters Guard. To use the Korn shell:

/bin/ksh

User equivalence

The oracle account installing and running Oracle9i Real Application Clusters Guard must have remote shell (REMSH/RSH) access to all nodes in the cluster. Set up user equivalence by adding entries for the other nodes in the cluster to the .rhosts file of the oracle account or to the /etc/hosts.equiv file.

For example, create a .rhosts file in the oracle user's home directory on all nodes in the cluster with the following format:

# <hostname> <username>
hosta oracle
hostb oracle

Permissions for file creation

Set the file creation mask to 022 for the oracle account, as follows:

$ umask 022

Set Up Tasks to Perform as the oracle User

Log in to the oracle account and perform the following tasks, if required:

  1. Set environment variables.

    Table 1-5 lists required and optional environment variables to use for Oracle9i Real Application Clusters Guard.

    Table 1-5 Environment Variables  
    Environment Variable Requirement Description

    DB_NAME

    Required

    Specifies the value of the initialization parameter DB_NAME entered during the Oracle installation process or during database creation.

    ORACLE_BASE

    Optional

    Specifies the directory at the top of the Oracle software and administrative file structure. Not required, but recommended as part of an OFA-compliant configuration.

    Note: Do not set the ORACLE_BASE variable if you are not using an OFA-compliant configuration.

    ORACLE_HOME

    Required

    Specifies the directory containing the Oracle software for a particular release.

    Ensure that the ORACLE_HOME environment variable specifies a directory that does not already contain any Oracle software.

    ORACLE_SID

    Required

    Specifies the system identifier, or SID, for the Oracle Server instance. Because the SID is incorporated into many filenames, Oracle Corporation recommends restricting it to no more than four characters, to avoid filename problems on different systems. The SID for each instance in a Real Application Cluster database must be unique and should incorporate the name of the database it uses.

    ORACLE_SERVICE

    Required

    Specifies a unique identifier for the Oracle9i Real Application Clusters Guard environment. This value is used to identify each Oracle9i Real Application Clusters Guard environment. You can set this variable to the same value as the
    DB_NAME environment variable.

    Use the ORACLE_SERVICE environment variable to distinguish between Oracle9i Real Application Clusters Guard environments.

    ORA_NLS33

    Optional

    Specifies the location of the global technology character set data. Required if the *.nlb files are not in the default location, which is $ORACLE_HOME/ocommon/nls/admin/data.

    NLS_LANG

    Optional

    Required if you creating a database that uses a character set other than US7ASCII.

    PATH

    Required

    Specifies the search path for shell executables:

    • For Sun Solaris, include the following directories:

      $ORACLE_HOME/bin, /usr/ccs/bin, /usr/bin, /etc, and /usr/local/bin if it exists

    • For HP-UX, include the following directories:

      $ORACLE_HOME/bin, /usr/ccs/bin, /usr/bin, /etc, /usr/bin/X11, and /usr/local/bin if it exists

    • For Tru64, include the following directories:

      $ORACLE_HOME/bin, /usr/bin, /etc, /usr/bin/X11, and /usr/local/bin, if it exists

    • For AIX, include the following directories:

      $ORACLE_HOME/bin, /usr/bin, /etc, /usr/lbin, /usr/bin/X11, and /usr/local/bin, if it exists


    See Also:

    For more information on environment variables, refer to the Oracle9i Administrator's Reference for UNIX Systems.


  2. Check for user equivalence of the oracle account by performing a remote login (rlogin) to each node in the cluster, including the local node. If you are prompted for a password, the oracle account does not have user equivalence. Ensure that you give the same attributes to all the nodes in the cluster.

  3. Make sure that you have a two node Oracle9i Real Application Clusters database running and tuned with the Oracle products as listed in Table 1-3 installed. The alert log contains entries showing whether the Oracle9i Real Application Clusters software is running.


    Note:

    Make sure that the Real Applications Clusters database is running and performing as expected in a Primary/Secondary configuration.

    Make sure that the database is properly tuned for runtime performance as well as instance recovery.

    Refer to the Oracle9i Real Application Clusters Guard Concepts and Administration Guide for more information on possible configurations.



Go to previous page Go to next page
Oracle
Copyright © 1996, 2002 Oracle Corporation.

All Rights Reserved.
Go To Product List
Product
Go To Table Of Contents
Contents
Go To Index
Index