| Oracle9i Installation Guide Release 1 (9.0.1) for Alpha OpenVMS Part Number A90869-01 |
|
This chapter describes the Oracle9i installation types and configurations.
This chapter explains the following topics:
Installing Oracle9i products consists of four stages:
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.
The following sections describe the choices of installation for different systems and environments.
During installation, you are asked to choose one of two products. These products are:
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.
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.
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.
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. |
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.
Table 1-1 lists the minimum hardware requirements to install Oracle9i products on an Alpha OpenVMS system.
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.
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.
| 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.
| Installation Type | Required Disk Space |
|---|---|
|
Administrator |
750 MB |
|
Runtime |
650 MB |
|
Custom |
Up to a maximum of 800 MB |
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.
Table 1-4 lists the operating system software requirements for Oracle9i products.
| 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, |
|
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.
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.
The following DEC compilers were used to certify the programmatic interfaces:
| Programmatic Interfaces | Certification Release |
|---|---|
|
Pro*C |
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 |
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:
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.
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. |
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.
This section provides additional product-specific information. For descriptions of these products, see Appendix A, "Oracle9i Products".
Table 1-5 lists the restrictions and requirements for Oracle9i and options.
Table 1-6 lists the restrictions and requirements for tools and precompilers.
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.
| 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 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.
This section lists restrictions for Alpha OpenVMS at this time.
The following areas have restrictions on Alpha OpenVMS:
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.
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.
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
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.
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.
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.
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.
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 (OFA), Oracle's standard set of configuration guidelines for Oracle databases, is not supported on OpenVMS.
Oracle9i Release 1 (9.0.1) includes native support for datafile sizes upto 4 GB.
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:
Next button during the install, rendering the screen unreadable. Another display problem is that the expansion of an installer window can display the dialog buttons off the screen so they are not selectable with a mouse. If one of these display problems occurs, exit the entire X Window session and start a new session.
Consumer Name appears truncated when viewed through Exceed. This dialog displays as expected when viewed through native X Window on OpenVMS.
To correct any problems with hidden dialog fields, perform the following steps:
The Add Font Directory dialog box is displayed.
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.
This section gives installation procedure requirements.
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:
|
Additional Information: See Compaq's OpenVMS System Management Utilities Reference Manual for more information about running the AUTHORIZE utility |
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.
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.
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.
The following command gives the value of MAXSYSGROUP:
$ WRITE SYS$OUTPUT F$GETSYI("MAXSYSGROUP")
Use the AUTHORIZE utility to create or modify records in the User Authorization File (UAF):
$ SET DEFAULT SYS$SYSTEM $ RUN AUTHORIZE
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.
The following privileges are required as both authorized and default privileges for the Oracle9i database administrator account:
|
Note: Appendix B, "Oracle9i 64-bit Feature" has additional information explaining the meanings of the privileges. |
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)
You use the AUTHORIZE utility to change account quotas to accommodate the requirements of your Oracle9i installation.
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
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. |
Appendix B, "Oracle9i 64-bit Feature" has additional information explaining the meanings of the quotas and how to determine their values.
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:
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>.
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. |
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>
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.
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.
Use the following command to verify that your account has the correct privileges and rights identifiers:
$ SHOW PROCESS/PRIVILEGE
Please refer to the READMEVMS.DOC in the RDBMS directory for instructions on calculating MIN_GBLPAGES, MIN_GBLSECTIONS, and MIN_MAXBOBMEM.
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
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.
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.
$ @SYS$UPDATE:AUTOGEN SAVPARAMS GETDATA
This step saves current parameters to a file named AGEN$FEEDBACK.DAT.
$ @SYS$UPDATE:AUTOGEN GETDATA
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.
$ @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.
|
|
![]() Copyright © 2001 Oracle Corporation. All Rights Reserved. |
|