Skip Headers

Oracle9i Installation Guide
Release 2 (9.2.0.2) for hp OpenVMS Alpha

Part Number B10508-01
Go To Table Of Contents
Contents
Go To Index
Index

Go to previous page Go to next page

3
CD-ROM Pre-installation Requirements

This chapter describes the pre-installation steps required for an Oracle9i software installation.

HP OpenVMS and Installation-Specific Issues and Restrictions

The following issues and restrictions can affect the installation or use of Oracle9i on HP OpenVMS Alpha.

Re-installing Oracle9i Release 2 (9.2.0.2)

If you re-install Oracle9i server into an ORACLE_HOME where Oracle9i server Release 2 (9.2.0.2) is already installed, then you must also re-install any product options, such as Oracle Partitioning, that were enabled before you began the re-installation

New ORA_ROOT

Do not install Oracle9i Release 2 (9.2.0.2) into the root directory of an existing Oracle installation containing any Oracle Software.

Oracle Corporation recommends that you install Oracle9i Release 2 (9.2.0.2) products into a new ORA_ROOT.

Java Runtime Environment (JRE)

The JRE that is shipped with Oracle9i is used by Oracle Java applications such as the Oracle Universal Installer and is the only Java application that is supported to run with these applications.  Customers must not modify this JRE, unless it is done through a patch provided by Oracle Support Services.

The inventory can contain multiple versions of the JRE, each of which can be used by one or more products or releases.  The Oracle Universal Installer creates the oraInventory directory the first time that it is run in order to keep an inventory of products that it installs (as well as other installation information) on your system.

Character Mode

Installation cannot be performed using character mode with the Oracle Universal Installer (OUI).  For non-interactive installations, use the Silent Mode Installation, which is described in Chapter 1, "Oracle9i Installation Planning".  The Oracle Universal Installer can be run in the interactive mode directly from your system X-Windows console or via an X-Terminal or PC X-Terminal on a remote system.

Upgrading and Migrating

If you are upgrading an existing system, then some issues may exist that exceed the scope of this manual.

It is possible to migrate Oracle8i Release 2 (8.1.6) and Oracle8i Release 3 (8.1.7) and Oracle9i Release 1 (9.0.1) to Oracle9i Release 2 (9.2.0.2).  To migrate from an Oracle database earlier than these releases, you must first upgrade to an Oracle8i Release 2 or Release 3 or to an Oracle9i Release 1, and then follow the steps outlined in the document ora_rdbms:readmemigvms.doc to migrate to Oracle9i Release 2 (9.2.0.2).

File Systems

As noted previously (refer to "Oracle9i Release 2 Dependency on ODS-5 Disk Structure"), the Oracle9i release 2 software must be installed on an ODS-5 formatted disk.  The datafiles and redolog files, however, can be placed on ODS-2 formatted disks as well.

Oracle9i server must be able to verify that files have been written to disk.  File systems that do not support this verification are not supported for use with Oracle databases, although Oracle software can be installed on them.


Note:

Because of this requirement for verification, third party software that creates one or more virtual disks in memory MUST NOT BE USED for datafiles.


Optimal Flexible Architecture

Optimal Flexible Architecture (OFA), the Oracle standard set of configuration guidelines for Oracle databases, is not supported on HP OpenVMS Alpha.

Using Hummingbird Exceed

If you use the Hummingbird Exceed X Windows emulator while installing and using Oracle9i, then set the window manager to run in Native mode so that Microsoft Windows functions as the window manager.  Refer to your Exceed documentation for instructions on configuring the window manager.

Following are common problems with the Hummingbird Exceed X Windows emulator:

Installation Procedure Requirements

This section provides installation procedure requirements.

Oracle Server Database Administrator Account

Create an HP OpenVMS Alpha user account to administer the Oracle9i Enterprise Edition installation and maintenance, or modify your existing Oracle user account to meet the account quotas and privileges that are specified in this guide.

Setting up an Oracle9i account is the same as setting up any other HP OpenVMS Alpha user account.  The following are the steps to set up an Oracle9i account:

  1. Decide which values that you will supply to create the account.

  2. Run AUTHORIZE to add a record in the User Authorization File (UAF).

  3. Use AUTHORIZE to set the following account requirements:

    • Account quotas

    • Account privileges

    • Process rights identifiers

  4. Exit AUTHORIZE to complete the account setup.


    Note:

    The Oracle9i account use of HP OpenVMS Alpha resources affects other user processes.  Before setting up an Oracle9i account, you must thoroughly understand the reasons for changing system resources at your site.



    Additional Information:

    See the Hewlett-Packard documentation for more information about running the AUTHORIZE utility.


Deciding Account Information

To add an account, you must supply the following information:

Although this guide refers to this account as the Oracle9i account, you can assign any name or number to the account with the UIC restrictions noted below.

The Oracle9i account will own the runtime libraries and executable images for every Oracle product.  Therefore, the database administrator (DBA) should manage this account and install all Oracle products from it.

Oracle9i Account is NOT the SYS or SYSTEM Account

In the Oracle9i Administrator's Guide, the Oracle9i account is sometimes referred to as the DBA account.  The Oracle9i account is not the same as the SYS or SYSTEM database usernames that are created for every database.  It is an OpenVMS account name.

Oracle9i Account UIC Must Be Greater than MAXSYSGROUP

The UIC GROUP number of the Oracle9i account must be greater than the system parameter MAXSYSGROUP (which defaults to octal 10).  GROUP numbers 1 through MAXSYSGROUP are reserved for use by the OpenVMS operating system itself.  If the UIC GROUP number is not greater than the system parameter MAXSYSGROUP, then the Oracle9i account cannot issue the following commands:

If your Oracle9i account has a UIC group number that is less than MAXSYSGROUP, then you must create a new account with a UIC group number higher than MAXSYSGROUP before you install Oracle9i.

Finding MAXSYSGROUP

The following command gives the value of MAXSYSGROUP (in decimal format):

$ WRITE SYS$OUTPUT F$GETSYI("MAXSYSGROUP")

Adding a Record in the User Authorization File (UAF)

Use the AUTHORIZE utility to create or modify records in the User Authorization File (UAF):

  1. To run AUTHORIZE, enter:

    $ SET DEFAULT SYS$SYSTEM
    $ RUN AUTHORIZE 
    
    
  2. At the UAF prompt, enter the ADD command to create the user account from which you will install the product software:

    UAF> ADD Oracle9i /PASSWORD=ORACLE/UIC=[277,100]-
    /DEVICE=<device>/DIRECTORY=[Oracle9i]/OWNER="ORACLE DBA"
    
    

In this example, the account name is Oracle9i.  Note that the UIC GROUP number is 277.  The UIC GROUP number must be larger than MAXSYSGROUP.

After adding the account, you must alter the account privileges and quotas.  Although this can be done in any order, usually the account privileges are set before the account quotas.

For more information on using AUTHORIZE, refer to the Hewlett-Packard documentation.

Setting Account Privileges

The following privileges are required as both authorized and default privileges for the Oracle9i database administrator account:


Note:

An exception is explained in "Security Issues with Multiple Databases".


Use the AUTHORIZE utility to set the account privileges for the Oracle9i database administrator account.

At the UAF prompt, use the MODIFY command to add the required default and authorized privileges as follows:

UAF> MODIFY ORACLE9 -
/PRIVILEGE=(CMKRNL,NETMBX,OPER,PFNMAP,PRMGBL,PRMMBX,SHARE,SYSGBL, -
  SYSNAM,TMPMBX,GROUP,GRPNAM,IMPERSONATE,LOG_IO,WORLD,SYSLCK, SYSPRV) - 
/DEFPRIVILEGE=(CMKRNL,NETMBX,OPER,PFNMAP,PRMGBL,PRMMBX,SHARE, SYSGBL, -
  SYSNAM,TMPMBX,GROUP,GRPNAM,IMPERSONATE,LOG_IO,WORLD,SYSLCK, SYSPRV)

Setting Account Quotas

Use the AUTHORIZE utility to change account quotas to accommodate the requirements of your Oracle9i installation.

Modifying the Default Quotas

After adding a record with the default quotas, use the MODIFY command to alter the default values.  The following example changes the Enqueue quota (ENQLM) from the default value to a value of 150:

UAF> MODIFY ORACLE9i/ENQLM=150

Account Quotas

The following table lists the Oracle9i account quotas, their minimum recommended values, and their equivalent HP OpenVMS Alpha quota names as displayed by the DCL commands SHOW PROCESS/QUOTA and SHOW WORKING_SET.


Note:

These quotas depend on the number of log files, the number of databases, the number of network connections, and other logicals on your system.  You might need to customize them.


Table 3-1 Oracle9i Account Quotas  
Account Quota Minimum Value Quota Name

ASTLM

250 (the default)

Asynchronous System Trap limit

BYTLM

150,000

Buffered I/O limit

CHANNELCNT

31

Channel Count

ENQLM

2000 (the default)

Enqueue quota

FILLM

100

Open file quota

JTQUOTA

8192

Job table quota

MAXDETACH

0 (the default)

Max detached processes

MAXJOBS

0 (the default)

Max active jobs

PGFLQUOTA

1,500,000 (recommended)

Paging file quota

WSDEFAULT

2048

Working set default

WSEXTENT

8192

Working set extent

WSQUOTA

4096

Working set quota

Appendix B, "Oracle9i 64-bit Feature" has additional information explaining the meanings of the quotas and how to determine their values.

Process Rights for Database Administrators

The Oracle server Database Administrator (DBA) account must be granted one or more process rights identifiers.  These identifiers provide the ability to issue the CONNECT / AS SYSDBA command that is required to perform database administration functions.  The following table displays the combinations of adding and granting rights identifiers to this account:

Table 3-2 Adding and Granting Process Rights Identifiers  
Adding... and Granting... Allows Control of...

ORA_DBA

ORA_DBA

any database instance, provided it does not also have an ORA_<sid>_DBA identifier defined for it.

ORA_<sid>_DBA

ORA_<sid>_DBA

database instance <sid> only

ORA_<sid>_DBA

ORA_DBA

all database instances except <sid>

For example, to grant the ORA_<sid>_DBA rights identifier to the Oracle9i account for an instance called TEST, issue the following command:

UAF> ADD/IDENTIFIER ORA_TEST_DBA


Then grant the rights identifier to the Oracle9i account as follows:

UAF> GRANT/IDENTIFIER ORA_TEST_DBA ORACLE9i

If you add the ORA_TEST_DBA rights identifier, but grant only ORA_DBA to ORACLE9i, then the account would have insufficient privileges to administer the instance TEST.

The third line of the table shows that you can add and grant different identifiers, thereby restricting control of a particular instance while still granting control to other instances.

You can grant database maintenance privileges to accounts (for example, privileges to start up and shut down the database) in addition to the Oracle9i account.  (However, with the Oracle9i account, the user UIC GROUP number must be greater than MAXSYSGROUP).  By granting the ORA_<sid>_DBA identifier, you can similarly restrict user privileges to an instance named <sid>.

Process Rights for SGA Protection

Releases of the Oracle RDBMS on HP OpenVMS Alpha after Release 7.3.2.3.0 feature a change in the way that the software runs and accesses the SGA.  Previous to Release 7.3.2.3.2, the SGA was protected by allowing only processes that are running in supervisor mode to access it directly.  Starting with Release 7.3.2.3.2, the SGA is protected by an Access Control List to accommodate the kernel remaining in user mode.

Before bringing up a database, add a rights identifier to the User Authorization File (UAF).  Have your system manager adhere to the following directions.

At the UAF> prompt, type:

UAF > ADD/IDENTIFIER/ATTRIBUTES=SUBSYSTEM ORA_SGA


Warning:

DO NOT GRANT THE RIGHTS IDENTIFIER TO ANY USER.  Oracle manages the assignment of the rights identifier when it starts the database.


Process Rights for Intelligent Agent (OEMAGENT)

To install the Intelligent Agent, you must add the ORA_AGENT_ID identifier to your system before starting the installation.  Use the following command:

UAF > ADD/IDENTIFIER ORA_AGENT_ID

All users that will submit jobs to the Intelligent Agent must have ORA_AGENT_ID.  Use the following command:

UAF > GRANT/IDENTIFIER ORA_AGENT_ID <user name>

Security Issues with Multiple Databases

If your site has several databases managed by different DBAs, then you might not want to grant the CMKRNL privilege to every DBA Oracle9i account.  This privilege allows a DBA to activate any process rights identifiers and to install shared images.

For security reasons, Oracle Corporation recommends that the OpenVMS system administrator handle these tasks.  This person should be responsible for starting Oracle9i instances from a controlled account with a UIC group greater than MAXSYSGROUP.  If this is not possible, then at least one Oracle9i database administrator must have the CMKRNL privilege.

Completing Account Setup

Exit the AUTHORIZE utility.

If the user account that you modified was logged on at the time, then this user must log out and log back in before the changes take effect.

Verifying Privileges

Use the following command to verify that your account has the correct privileges and rights identifiers:

$ SHOW PROCESS/PRIVILEGE

HP OpenVMS Alpha SYSGEN Parameters

For instructions on calculating MIN_GBLPAGES, MIN_GBLSECTIONS, and MIN_MAXBOBMEM, refer to the READMEVMS.DOC in the RDBMS directory.

Using the Reserved Memory Registry

Through its interface within the SYSMAN utility, the Reserved Memory Registry allows an HP OpenVMS Alpha system to be configured with large amounts of memory set aside for use within memory-resident global sections.  The AUTOGEN utility considers the pre-allocated reserved memory when it tunes the system.

The advantages to reserving memory for an SGA are as follows:

To reserve memory for an SGA, use the SYSMAN utility.  The size qualifier is specified in megabytes.  For example, to reserve memory for a 6 GB SGA for the SID named TEST, use the following commands:

$ MCR SYSMAN
SYSMAN> RESERVED_MEMORY ADD ORA_TEST_SGA/SIZE=6144/ALLOCATE/ZERO/PAGE
SYSMAN> EXIT


Note:

1 GB = 1024 MB


Then run AUTOGEN and reboot the system to allow AUTOGEN to adjust other system parameters for the reduced amount of memory that is available to the rest of the system.

Memory for multiple SGAs may be reserved.  Any change to the name or size of a piece of reserved memory may require rebooting the system.  During instance startup, Oracle server compares the size of the reserved memory, if any, with the size of the SGA.  If appropriate, one of the following messages will be included in the Alert log:

** Reserved memory size = <size> greater than created SGA size = <size>**
** Please reduce reserved memory size to avoid wasting memory. **
** Memory was not reserved for the SGA. SGA size = <size> **
** There might be performance advantages to allocating memory for
    the SGA in the VMS reserved memory registry. **

If memory is reserved for an SGA, but not enough memory is reserved, then the instance startup will fail.  In this case, the amount of reserved memory must be adjusted, AUTOGEN must be run, and the system must be rebooted.  For example, to expand the SGA to 6.5 GB for the TEST instance, use the following commands:

$ MCR SYSMAN
SYSMAN> RESERVED_MEMORY REMOVE ORA_TEST_SGA
SYSMAN> RESERVED_MEMORY ADD ORA_TEST_SGA/SIZE=6656/ALLOCATE/ZERO/PAGE 
SYSMAN> EXIT

Then run AUTOGEN and reboot the system.

To avoid rebooting the system, SYSMAN can be used to free the memory reservation.  Then you may start the instance.  The risk is that the system may not have enough fluid pages to create the SGA.  Also, the performance advantages of using reserved memory are not available.


Additional Information:

For more information about the reserved memory registry, refer to the Hewlett-Packard documentation.


To review memory reservations on your node, run the following command:

$ show memory/reserved 

System Memory Resources on 13-JUL-2001 09:57:11.72 
Memory Reservations (Pages)    Group    Reserved   In Use   Type
ORA_PROD_SGA                   SYSGBL   5120       0        Allocated
ORA_PROD_SGA                   SYSGBL   5          0        Page Table
Total (40.04 Mbytes reserved)           5120       0

Please consult Hewlett-Packard if you need more information about reserving memory.

Using AUTOGEN

Because SYSGEN parameters affect the entire operating system, your system administrator is the only person who should modify them.  Of course at some sites, the DBA and system administrator may be the same person.  The instructions in this section are directed to the system administrator.

For setting or modifying SYSGEN parameters, OpenVMS provides the AUTOGEN utility.  You can also use SYSGEN, but this is an older utility, and its use is discouraged, except perhaps for checking current values.  You must have SYSPRV or BYPASS privilege to run these utilities.

AUTOGEN provides a permanent method for setting parameters, and it documents all changes.  AUTOGEN also lets you recalculate any parameters that depend on other parameters that you might have changed.  Remember to record parameter values before changing them, and determine beforehand what results you expect from your changes.  If the expected changes do not occur, then restore the old values before trying again.

  1. Run the AUTOGEN utility with the SAVPARAMS parameter by entering the following command:

    $ @SYS$UPDATE:AUTOGEN SAVPARAMS GETDATA
    
    

    This step saves current parameters to a file named AGEN$FEEDBACK.DAT.

  2. If you have not already done so, then run AUTOGEN GETDATA to ensure that the file PARAMS.DAT has been generated.

    $ @SYS$UPDATE:AUTOGEN GETDATA 
    
    
  3. Examine the parameter settings in the current PARAMS.DAT, and if they are inappropriate, then change them in the MODPARAMS.DAT file by using the format MIN_<parameter>=<value> as in the following commands:

    MIN_GBLSECTIONS=3000 
    MIN_GBLPAGES=300000
    
    

    The MIN prefix indicates that you are setting a lower limit for the specified parameter.  To use the MIN prefix, identify the current value of the specified parameter (using SYSGEN) and the amount by which you want to increase the parameter.  The sum of these two values is used for the MIN_<parameter> entry.

  4. Run the AUTOGEN utility with the GENPARAMS and REBOOT parameters by entering the following command:

    $ @SYS$UPDATE:AUTOGEN GENPARAMS REBOOT
    
    


    Warning:

    The REBOOT parameter in this example will cause the system to automatically reboot when the SYSGEN is complete.


    This step generates new SYSGEN parameters in a file named SETPARAMS.DAT and runs the SYSGEN utility to set these parameter values as specified in that file.


    See Also:

    For more information about using the AUTOGEN utility, see the OpenVMS System Management Utilities Reference.


HP OpenVMS Alpha System Configuration

If your system fails to satisfy any listed requirement, then perform the tasks listed in the next section as necessary to configure your system to meet these requirements.

Table 3-3 lists the requirements for installing Oracle9i on your HP OpenVMS system.

Table 3-3 HP OpenVMS Alpha System Configuration Summary
System Factors Requirement for Oracle9i

HP OpenVMS Alpha Parameters:

Minimum Global Pages/ Sections


Verify that the values for MIN_GBLPAGES and MIN_GBLSECTIONS are greater than, or equal to, the values that were calculated for these parameters, as documented in READMEVMS.DOC.

OpenVMS Accounts

You need an OpenVMS account that is dedicated solely to installing and upgrading Oracle products.  The instructions in this book are provided with the assumption that the account is called oracle9.

Permissions for File Creation

Default Protections

Setup Tasks to Perform as the SYSTEM User

Log in as the system user and perform the following tasks to set up your environment for Oracle9i:

Create an OpenVMS Account to Own Oracle Software

The oracle9 account is the OpenVMS user account that owns the Oracle9i software after installation.  Run Oracle Universal Installer with this user account.

Use the AUTHORIZE utility to create an oracle9 account with the following properties:

Table 3-4 lists the properties of Oracle9i accounts.

Table 3-4 Properties of the Oracle9i Account

Login Name

Any name, but this document refers to it as the oracle9 account.

UIC

The group UIC number, which is greater than MAXSYSGROUP.

Home Directory

Choose a home directory consistent with other user home directories.  The home directory of the oracle9 account does not need to be the same as the ORA_ROOT directory.


Caution:

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


Sites with multiple ORA_ROOT directories on one system may install Oracle software with the same oracle9 account, or separate accounts.  Each oracle9 account must have the same group UIC.

Create an OpenVMS Account to Own the Apache Server

The Apache account is an OpenVMS user account that owns the Apache server after installation.  If you use a default Apache configuration (one that listens to ports lower than 1024, which are reserved to System), then Oracle Corporation recommends, for security reasons, that a separate account owner be set up for Apache.  Configure the Apache server to assign ownership of listener and module actions to this account.  It is not necessary for the Apache user account to have privileges to run the Apache Server on a port < 1023.  Images that are linked with privileges during installation in the 'oracle' account ensure that this can be done.  For details on how to configure the server to run as a user other than the 'oracle' user, refer to section "Customizing the Server Environment".

The Apache account owner 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 account may serve as a model for the Apache account.

Setup Tasks to Perform as the Oracle User

Log in to the Oracle9 account and perform the following tasks as necessary:

Set Permissions for File Creation

Set default file protections for the oracle9 account to ensure that group and world have read and execute permissions, but not write permission, on installed files.

  1. Enter the $SHOW PROTECTION command to check the current setting.

  2. If the $SHOW PROTECTION command does not show the expected protection, then set protection in the login.com of the oracle9 as follows:

    $ SET PROTECTION=(s:RWE, o:RWED, g:RE, w:RE)/default
    

Set Display

Before starting the Oracle Universal Installer, set your display appropriately.  Enter:

$ SET DISPLAY/CREATE/TRANSPORT=TCPIP/NODE=<workstation_name or IP_address>

and verify that it is correct by using the following command:

$ RUN SYS$SYSTEM:DECW$CLOCK

Refer to each logical entry in this section for instructions on setting the logical correctly.


Note:

If an Oracle server already exists on your system, then its settings may have a bearing on the settings that you choose for the new environment.


Do not use the hostname or IP address of the system where the software is being installed unless you are performing the installation from the X-Windows console of that system.  Use the machine name or IP address of your own workstation if you are installing from a remote system.  If you are not sure of the X server and screen settings, then use 0 (zero) for both.

Setup Tasks for Oracle Products

The following products require pre-installation steps to be completed before you install Oracle9i software:

Precompilers and Tools

Complete pre-installation tasks for the precompilers and tools that are required for hp OpenVMS Alpha.

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 will not affect the application results.

Java Runtime Environment

The Java Runtime Environment (JRE) that is certified for use with Oracle9i software is used by Oracle Java applications such as the Oracle Universal Installer and is the only Java application supported to run with these applications.  Do not modify this JRE unless you use a patch that is provided by Oracle Support Services.

Network and System Management Products

This section describes tasks that need to 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 Net8 server, then shut down all listeners before installing Oracle Net.  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

Verify Oracle Supported Protocols

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

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

$ ftp remote_server_name
ftp> put test_filename
ftp> get test_filename


Go to previous page Go to next page
Oracle
Copyright © 2003 Oracle Corporation.

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