Oracle9i Installation Guide
Release 1 (9.0.1) for Alpha OpenVMS

Part Number A90869-01


Contents

Index

Go to previous page Go to next page

1
Oracle9i Installation Planning

This chapter describes the Oracle9i installation types and configurations.

This chapter explains the following topics:

Oracle9i Installation Overview

Installing Oracle9i products consists of four stages:

  1. Planning your installation: Use this chapter and the Quick Installation Procedure for your platform to help you plan and prepare for your installation. This chapter provides information about products, installation types, database configurations, and concepts you should be aware of planning and installation. The Quick Installation Procedure provides information about the installation process.

  2. Completing pre-installation tasks: Refer to the release notes for your platform and see Chapter 2, "Pre-Installation Requirements" in this guide to complete pre-installation tasks.

  3. Installing software:

    Oracle Universal Installer: Use the Oracle Universal Installer provided on your CD-ROM to install Oracle products (requires DECWindows Motif). See Chapter 4, "Installation".

    Character-based Menu driven Installer: Use the ORACLEINS to install Oracle products.

  4. Completing the post-installation tasks: Create database objects, establish the user environment, and configure the installed Oracle products for the local system. See Chapter 7, "Post-Installation".

  5. Installing the clients: If you want to install client tools, applications, and client interfaces not included on the Oracle9i CD-ROM, check the requirements and instructions in the documentation for those products.

The following sections describe the choices of installation for different systems and environments.

Oracle9i Products for Installation

During installation, you are asked to choose one of two products. These products are:

Oracle9i Database

The Oracle9i Database is an object-oriented relational database management system, which consists of an Oracle database and an Oracle instance. It may be installed in one of three installation types: Enterprise Edition, Standard Edition or Custom installation.

Oracle9i Client

The Oracle9i Client is a front-end database application that connects to the database through one or more application servers. There are three client installation types: Administrator, Runtime and Custom.

Installing products using ORACLEINS

Oracle9i for Alpha OpenVMS comes with one set of products bundled together as a single group. If you are using ORACLEINS to install Oracle, your choice of products determines your type of installation. Typically, if you choose only the following products:

you will get a "client" type of installation. If you choose RDBMS and its options, you will get an "Enterprise Edition Server" installation.

System Installation Requirements

Verify that your system meets the requirements described in the following sections before you install Oracle9i products.


Note:

You will not be able to complete an installation if your system does not meet the minimum requirements for the Oracle products you select. 


Time Requirements

Installation time varies depending on the number of products installed and the type of hardware used. Duration of Typical installation takes about 1 to 3 hours.

Hardware Requirements

Table 1-1 lists the minimum hardware requirements to install Oracle9i products on an Alpha OpenVMS system.

Table 1-1 Hardware Requirements
Hardware  Requirements 

Memory  

A minimum of 256 MB RAM is required to install Oracle9i products. Oracle9i Client products require 192 MB of RAM 

Minimum global pages/sections  

An amount of disk space equal to twice the amount of RAM for most systems.

Please refer to the file ora_rdbms:readmevms.doc Section 1.2 for information on calculating minimum global pages/sections for your system. 

CD-ROM Device  

A CD-ROM drive supported by Alpha OpenVMS is required. Oracle uses ODS-2 format CD-ROM disks. 

To determine the amount of RAM memory installed on your system, as well as the amount of pageing currently configured on your system, enter the following command:

$ SHOW MEMORY

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)

5125

0

Please consult Compaq if you need more information about reserving memory.

Disk Space Requirements

The Oracle Universal Installer allows you to choose your installation category and type. Your choices will determine how much disk space you will need. The disk space requirements do not include the size of your database. A production Oracle database server supporting many users requires significantly greater disk space and memory.

Table 1-2 lists the disk space requirements for Oracle9i Server.

Table 1-2 Disk Space Requirements for Oracle9i Server
Installation Type  Required Disk Space 

Enterprise Edition 

1.6 GB 

Standard Edition 

1.5 GB 

Custom 

1.7 GB 

Table 1-3 lists the disk space requirements for Oracle9i Client.

Table 1-3 Disk Space Requirements for Oracle9i Client
Installation Type  Required Disk Space 

Administrator 

750 MB 

Runtime 

650 MB 

Custom 

Up to a maximum of 800 MB 

Images

Two shared images that are linked with client code are built and installed when you link Oracle9i Enterprise Edition. The new shared images reduce the size of all Oracle client executable images (including precompiled user programs) by removing direct references to Oracle Net and other common routines.

The image names are in the form of: ORACLIENT_<imageid>.EXE and ORACLIENT64_<imageid>.EXE, where <imageid> is the identifier chosen during installation time.

Operating System Software Requirements

Table 1-4 lists the operating system software requirements for Oracle9i products.

Table 1-4 Operating System Software Requirements
Software  Requirements 

Operating System  

Alpha OpenVMS 7.2-1H1 

Operating System Patch 

Use the latest patch kit from Compaq. Compaq provides patch information at www.compaq.com/support

Operating System Packages  

 

Oracle Net Requirements 

Oracle Net on Alpha OpenVMS is developed and certified using Compaq's TCP/IP Services for OpenVMS (UCX). If you wish to use the TCP/IP protocol adapter for Oracle Net, you should have Version 5.0A or higher of TCP/IP Services for Alpha OpenVMS installed. TCP/IP protocol stacks from other vendors may work with Oracle, but customers use these products at their own risk. Any TCP/IP problems that cannot be reproduced using TCP/IP Services for Alpha OpenVMS will simply be referred to the TCP/IP vendor.

Vendor-provided protocol services are usually upward-compatible, so that existing applications will continue to work without modification. Thus, later releases of TCP/IP are upward compatible with Oracle Net, provided that the vendor-specified Application Programming Interface (API) does not change with new releases 

Foot 1Window Manager

 

X-Windows must be installed on the system from where the Oracle Universal Installer is run. Use any Compaq-supported X-Windows server, for example, dtwm, twm, mwm, that supports Motif. If X-Windows is not installed, the ORACLEINS installer must be used. 

1 Required only if you wish to install Oracle9i using Oracle Universal Installer (OUI).

To determine your current operating system information, enter one of the following commands:

$ SHOW SYSTEM /NOPROCESS /FULL

To see information about all nodes in a cluster, add the /CLUSTER qualifier to the above command.

To determine if your X-Windows system is working properly on your local system, enter the following command:

$ RUN  SYS$SYTEM:DECW$CLOCK

If a clock is not displayed on your screen, X-Windows is not configured correctly. See "DISPLAY" for instructions on configuring X-Windows.

Oracle Net VMS Mailbox Driver

The Oracle Net VMS Mailbox driver (protocol IPC) is included in NETCONFIG. You do not need a Oracle Net license to use the VMS Mailbox driver.

Programmatic Interface Support

The following DEC compilers were used to certify the programmatic interfaces:

Programmatic Interfaces  Certification Release 

Pro*C 

Compaq C release 6.4a

Compaq C++ release 6.2 

Pro*COBOL 

DEC COBOL release 2.6 

Pro*FORTRAN 

DEC FORTRAN release 7.1 

SQL*Module 

DEC ADA 3.4-2 

Product Dependencies

Some Oracle products depend on other Oracle products to work properly. Use the following tables to determine the product dependencies. This section has the following subsections:

Products that require other products

In the following cases, you need to install the required product before or at the same time you install the product that requires it.

If you want to install  then you need to install 

Any Oracle product 

UTIL and NETCONFIG 

SQL*Plus 

UTIL and NETCONFIG 

Oracle9i Enterprise Edition  

UTIL, NETCONFIG, and SQL*Plus 

Oracle recommends that you build the products at the same time in order to save time. You must also make sure to configure the product to include (or link against) the dependent product and vice versa.

Important Compatibility Issues


Warning:

If you are upgrading to Oracle9i from a previous version, ensure that you have no Oracle symbols and logicals defined prior to installing Oracle9i. DO NOT run any ORAUSER_<dbname>.COM scripts as part of your login sequence. Failure to heed this warning will result in numerous problems, including undefined symbols and overwriting the previous code tree. 


Review the compatibility issues given in this section:


Note:

To install National Language Support (NLS), build all Oracle products first. Then install NLS. The product directories must exist before NLS message files can be copied into them. 


Online Documentation Requirements

To view online documentation included with the Oracle9i CD-ROM, use any HTML compatible browser available on OpenVMS. To view PDF documents, you need Adobe Acrobat Reader Version 3.0 or higher.

Additional Product-Specific Installation Requirements

This section provides additional product-specific information. For descriptions of these products, see Appendix A, "Oracle9i Products".

Oracle9i and Options

Table 1-5 lists the restrictions and requirements for Oracle9i and options.

Table 1-5 Oracle9i and Options Restrictions and Requirements
Product Name  Restrictions and Requirements 

Real Application Cluster, 9.0.1  

Alpha OpenVMS 7.2-1 

Oracle interMedia, 9.0.1 

You must have at least 10 MB of disk space available for the interMedia Text data dictionary. 

Oracle Visual Information Retrieval, 9.0.1 

Requires Oracle interMedia, 9.0.1 

Tools and Precompilers

Table 1-6 lists the restrictions and requirements for tools and precompilers.

Table 1-6 Tools and Precompilers Restrictions and Requirements
Product Name  Restrictions and Requirements 

Java Runtime Environment (JRE) 

Compaq JRE 1.1.8-5. 

Oracle9i JVM, 9.0.1
(includes Java Virtual Machine (JVM) and Java utilities) 

See the Java README file on the Oracle9i CD-ROM for restrictions and requirements. 

Pro*C/C++, 9.0.1 

Requires Alpha ANSI compiler Release A.11.01.20 or later.

Requires Alpha C++ 3.25 or later. 

Pro*COBOL, 1.8.75 

Requires COBOL/UX Release 8.13.25 or MiroFocus COBOL 4.1 rev. 10. 

Pro*COBOL, 9.0.1  

Requires COBOL/UX Release 8.13.25 or MiroFocus COBOL 4.1 rev. 10. 

Pro*FORTRAN, 1.8.75 

Requires FORTRAN77 3.0.1 or later. 

SQL*Module Ada 

Requires DEC Ada 3.4-2 for Alpha OpenVMS 

Networking 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. Oracle Net Release 9.0.1 products require Oracle9i.

Table 1-7 lists the restrictions and requirements for networking and system management products.

Table 1-7 Networking and System Management Restrictions and Requirements
Product Name  Restrictions and Requirements 

Oracle Advanced Security, 9.0.1 

See Table 1-8 for information about Oracle Advanced Security authentication support requirements. 

Oracle Enterprise Manager, 9.0.1 

There are no restrictions. 

Oracle TCP/IP with SSL Protocol Support, 9.0.1 

SSL 3.0 or later. 

Oracle Advanced Security

Oracle Advanced Security is an add-on product to the standard Oracle Net Server or Oracle Net Client. If you purchase it, install it on both the server and the client. Oracle Advanced Security release 9.0.1 requires Oracle Net release 9.0.1 and supports Oracle9i Server.

Table 1-8 lists requirements for authentication protocols supported by Oracle Advanced Security. No additional authentication protocol software is required to relink Oracle products.

See Also:

For more information about Oracle Advanced Security, see and system management products, see the Oracle Advanced Security Administrator's Guide

Table 1-8 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. 

Secure Socket Layer (SSL) 

A wallet that is compatible with the Oracle Wallet Manager version 2.1. Wallets created in earlier releases of the Oracle Wallet Manager are not forward-compatible.

Oracle Advanced Security provides and installs Secure Socket Layer. 


Note:

No additional authentication protocol software is required to relink Oracle products. However, Oracle does not provide the third-party authentication servers (e.g. Kerberos). The appropriate authentication server for these protocols must be installed and configured separately. Secure Socket Layer is provided and always installed with Oracle Advanced Security. 


Configuration Restrictions

This section lists restrictions for Alpha OpenVMS at this time.

Restrictions

The following areas have restrictions on Alpha OpenVMS:

Copying Oracle Executables

Moving executables from one OpenVMS machine to another is not recommended due to the usage of shared libraries and the difficulty of ensuring valid referencing. Therefore, we recommend that you relink executables.

Oracle Net Linking Options

Keep the following guidelines in mind when linking Oracle Net:

The following table shows the range of use for Oracle Net drivers in client/server and distributed database configurations. This table assumes that clients in a client/server configuration run the Oracle tool and that servers run the Oracle database. For distributed database examples, the clients and servers both run an Oracle tool and the Oracle database.

  Client/Server  Distributed RDBMS 
  Client Tool  RDBMS Server  Client  Server 

Oracle Net TCP/IP 

Yes 

Yes 

Yes 

Yes 

Oracle Net OpenVMS Mailbox 

Limited* 

Limited* 

Limited* 

Limited* 

*Only for communication between products on the same machine.

Alpha OpenVMS and Installation-Specific Issues and Restrictions

The following issues and restrictions can affect the installation or use of Oracle9i on Alpha OpenVMS. Check the Release Notes that accompany this release in the
ORA_ROOT:[ORACLEDOC]PRODUCTS.HTM file before using Oracle9i.

Re-Installing Oracle9i Release 1 (9.0.1)

If you re-install Oracle9i Server into an ORACLE_HOME where Oracle9i Server Release 1 (9.0.1) is already installed, 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 1 (9.0.1) into root directory of an Oracle installation containing any Oracle Software.

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

Java Runtime Environment (JRE)

The JRE shipped with Oracle9i is used by Oracle Java applications such as the Oracle Universal Installer and is the only one supported to run with these applications. Customers should 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 Installer creates the oraInventory directory the first time it is run to keep an inventory of products that it installs on your system as well as other installation information.

Character Mode

Installation cannot be performed using character mode with the Oracle Universal Installer (OUI). For character mode installations, use the ORACLEINS installer. The Installer can be run in interactive mode (non-interactive is not currently supported), directly from your system's 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, there are issues that exceed the scope of this manual.

It is possible to migrate an Oracle7 database, Release 7.3.4 or higher, or upgrade an Oracle8 database, Release 8.0.5.1 or higher, to Oracle9i Release 1 (9.0.1). To migrate from an Oracle7 database lower than 7.3.4, you must first upgrade to an Oracle7 database, Release 7.3.4 or higher, and then follow the steps outlined in the document ora_rdbms:readmemigvms.doc to migrate to Oracle9i.

File Systems

Oracle9i Server must be able to verify that file writes have been made 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.

Optimal Flexible Architecture

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

Very Large Files

Oracle9i Release 1 (9.0.1) includes native support for datafile sizes upto 4 GB.

Using Hummingbird Exceed

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

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

Oracle9i Real Application Clusters Restriction

Because all Oracle databases on a cluster linked in Oracle9i Real Application Clusters mode must match the word size of the Cluster Group Services executable, they must all run only a 64-bit executable. Mixing word sizes of Real Application Cluster executables, even across different databases, will not work in Oracle 9.0.1. This restriction does not apply to Oracle executables that are not linked in Oracle9i Real Application Clusters modes.

Installation Procedure Requirements

This section gives installation procedure requirements.

Oracle Server Database Administrator Account

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

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

  1. Decide which values 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's use of Alpha OpenVMS resources affects other user processes. Before setting up an Oracle9i account, you should thoroughly understand the reasons for changing system resources at your site. 



    Additional Information:

    See Compaq's OpenVMS System Management Utilities Reference Manual 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, the Oracle9i account cannot issue the following commands:

If your Oracle9i account has a UIC group number that is less than MAXSYSGROUP, 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:

$ 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 Oracle9 /PASSWORD=ORACLE/UIC=[277,100]-
    /DEVICE=<device>/DIRECTORY=[Oracle9]/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, see the chapter on "Managing User Accounts" in Compaq's OpenVMS System Manager's Manual.

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's 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,PFNMAP,PRMGBL,PRMMBX,SYSGBL, -
  SYSNAM,TMPMBX,IMPERSONATE,LOG_IO,WORLD,SYSLCK, SYSPRV) - 
/DEFPRIVILEGE=(CMKRNL,NETMBX,PFNMAP,PRMGBL,PRMMBX,SYSGBL -
  SYSNAM,TMPMBX,IMPERSONATE,LOG_IO,WORLD,SYSLCK, SYSPRV)

Setting Account Quotas

You 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 to 150:

UAF> MODIFY ORACLE9/ENQLM=150

Process Quotas

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


Note:

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


Account Quotas  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,000,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 account must be granted one or more process rights identifiers. These identifiers provide the ability to issue the CONNECT / command that is required to perform database administration functions. The following table displays the combinations of adding and granting rights identifiers to this account:

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 ORACLE9

If you add the ORA_TEST_DBA rights identifier, but grant only ORA_DBA to ORACLE9, 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 (for example, privileges to start up and shut down the database) to accounts in addition to the Oracle9i account. (However, with the Oracle9i account, the user's UIC GROUP number must be greater than MAXSYSGROUP). By granting the ORA_<sid>_DBA identifier, you can similarly restrict a user's privileges to an instance named <sid>.

Process Rights for SGA Protection

Oracle releases of RDBMS on Alpha OpenVMS after Release 7.3.2.3.0 feature a change in the way the software runs and accesses the SGA. Previous to Release 7.3.2.3.2, the SGA was protected by allowing only processes 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 later than 7.3.2.3.0, add a rights identifier to the User Authorization File (UAF). Have your system manager follow these directions.

At the UAF> prompt, type:

UAF > ADD/IDENTIFIER/ATTRIBUTES=SUBSYSTEM ORA_SGA


Warning:

DO NOT GRANT THE RIGHTS IDENTIFIER TO ANY USER. Oracle takes care of assigning it 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 install. Use the following:

UAF > ADD/IDENTIFIER ORA_AGENT_ID

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

UAF > GRANT/IDENTIFIER ORA_AGENT_ID <user name>

Security Issues with Multiple Databases

If your site has several databases managed by different DBAs, you might not want to grant the CMKRNL privilege to every DBA's Oracle9i account. This privilege allows a DBA to activate any process rights identifiers and 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, at least one Oracle9i database administrator must have the CMKRNL privilege.

Completing Account Set Up

Exit the AUTHORIZE utility.

If the user account that you modified was logged on at the time, 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 

Alpha OpenVMS SYSGEN Parameters

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

Using the Reserved Memory Registry

Through its interface within the SYSMAN utility, the Reserved Memory Registry allows an Alpha OpenVMS system to be configured with large amounts of memory set aside for use within memory-resident global sections. The AUTOGEN utility considers the preallocated 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 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 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, the instance startup will fail. In this case, the amount of reserved memory should be adjusted, AUTOGEN should be run, and the system should 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, see Compaq's Alpha OpenVMS Guide to 64-Bit Addressing and VLM Features  


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 Compaq 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. In this section, we assume we are addressing 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 whose use is discouraged, except perhaps for checking current values. You must have SYSPRV or BYPASS privilege to run these utilities.

AUTOGEN provides a permanent way of setting parameters, and it documents all changes. AUTOGEN also lets you recalculate any parameters that depend on other parameters 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, restore the old values before trying again.

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

    $ @SYS$UPDATE:AUTOGEN SAVPARAMS GETDATA
    

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

  2. If you haven't already done so, 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, change them in the MODPARAMS.DAT file using the format MIN_<parameter>=<value> as in the following:

    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:

    $ @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 this file.


    See Also:

    For more information about using the AUTOGEN utility, see Compaq's System Management Utilities Reference. 



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

All Rights Reserved.


Contents

Index