Oracle® Database Installation Guide 10g Release 2 (10.2) for HP OpenVMS Part Number B25414-04 |
|
|
PDF · Mobi · ePub |
This chapter describes the tasks that you must complete before you start Oracle Universal Installer. It includes information about the following tasks:
Section 2.5, "Installation-Specific Issues and Restrictions"
Section 2.13, "Guidelines for Placing Oracle Recovery Files"
Section 2.14, "Creating Directories for Oracle Database or Recovery Files"
Before you install the Oracle software, you must complete several tasks as the root
user. To log in as the root
user, complete one of the following procedures:
Note:
Unless you intend to complete a silent-mode installation, you must install the software from an X Window System workstation, an X terminal, or a PC or other system with X server software installed.For more information about silent-mode installations, refer to Appendix B.
If you are installing the software from an X Window System workstation or X terminal, then:
Start a local terminal session, for example, an X terminal (xterm
).
If you are not installing the software on the local system, then enter the following command to enable the remote host to display X applications on the local X server:
$ xhost fully_qualified_remote_host_name
For example:
$ xhost somehost.us.example.com
If you are not installing the software on the local system, then use the ssh
, rlogin
, or telnet
command to connect to the system where you want to install the software:
$ telnet fully_qualified_remote_host_name
If you are not logged in as the root
user, then enter the following command to switch user to root
:
$ su - root password: #
If you are installing the software from a PC or other system with X server software installed, then:
Note:
If necessary, refer to your X server documentation for more information about completing this procedure. Depending on the X server software that you are using, you may need to complete the tasks in a different order.Start the X server software.
Configure the security settings of the X server software to permit remote hosts to display X applications on the local system.
Connect to the remote system where you want to install the software and start a terminal session on that system, for example, an X terminal (xterm
).
If you are not logged in as the root
user on the remote system, then enter the following command to switch user to root
:
$ su - root password: #
Note:
Oracle Database 10g must be installed on an ODS-5 formatted disk. Refer to Section 1.2, "Changes and Enhancements" for information about this.The following sections list the minimum hardware requirements for installing Oracle Database products on an HP OpenVMS system.
The following are the minimum hardware requirements for installing Oracle Database 10g.
A minimum of one GB RAM is required to install Oracle Database products. Oracle Database Client products require 512 MB of RAM.
To determine the amount of RAM installed on the system and the amount of paging currently configured on the system, enter the following command:
$ SHOW MEMORY
To review memory reservations on the node, run the following command:
$ SHOW MEMORY/RESERVED System Memory Resources on 13-JUL-2002 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
See Also:
Hewlett-Packard documentation for more information about reserving memory
HP OpenVMS AlphaServer systems must have an EV56 or later generation CPU. Refer to Section 1.2, "Changes and Enhancements" for more information.
A DVD drive that is supported by HP OpenVMS is required. Oracle uses ODS-5 format installation media.
Three images are installed (using the install utility) by default by Oracle Database Enterprise Edition.
LIBCLNTSH.SO
is linked with Oracle Database Client images, reduces their size by removing direct references to Oracle Net Services and other common routines. ORACLE.EXE
is the Oracle server image and will not be present in a Client-only installation. ORA_JAVA_VMS_SHR.EXE
is the Oracle Java VM shared image.
Oracle Universal Installer enables you to select an installation category and type. Your choices determine how much disk space is required. The disk space requirements do not include the size of the database. A production Oracle Database that supports many users requires significant disk space and memory.
Table 2-1 lists the disk space requirements for Oracle Database.
Table 2-1 Disk Space Requirements for Oracle Database Server
Installation Type | Required Disk Space |
---|---|
Enterprise Edition |
10 GB |
Custom |
Depends on the components selected, but a minimum of 5 GB |
Staging area (copying dvd contents to disk) |
5 GB |
Table 2-2 lists the disk space requirements for Oracle Database Client.
Oracle Advanced Security is an add-on product that is added to the standard Oracle Net Services Server or Oracle Net Services Client. If you purchase it, then install it on both the server and the client.
The SSL version compatibility is SSL3.0 or later.Kerberos and Secure Sockets Layer (SSL) have requirements for authentication protocols that are supported by Oracle Advanced Security. No additional authentication protocol software is required to relink Oracle products. The requirements for Kerberos and SSL are as follows:
Requires MIT Kerberos version 5 Release 1.1. The Kerberos authentication server must be installed on a physically secure system.
Requires a wallet that is compatible with the Oracle Wallet Manager version 10.2. Wallets that were created by using earlier releases of the Oracle Wallet Manager are not upward-compatible. Oracle Advanced Security provides and installs SSL.
See Also:
For more information about Oracle Advanced Security and system management products, refer to Oracle Database Advanced Security Administrator's GuideNote:
No additional authentication protocol software is required to relink Oracle products. However, Oracle does not provide third-party authentication servers (Kerberos, for example). The appropriate authentication server for these protocols must be installed and configured separately.SSL is provided and is always installed with Oracle Advanced Security.
Check that you have the networking hardware and IP addresses required for an Oracle RAC installation.
See Also:
For the latest information about supported network protocols and hardware for Oracle RAC installations, refer to the Certify screens on My Oracle Support (formerly OracleMetaLink) at:This section contains the following topics:
Each node in the cluster must meet the following requirements:
The node must have at least two network adapters, one for the public network interface and one for the private network interface (the interconnect).
The interface names that are associated with the network adapters for each network must be the same on all nodes.
For increased reliability, you can configure redundant public and private network adapters for each node.
Each network adapter must support TCP/IP.
The private network between the nodes in the clusters is expected to act as a high-bandwidth network for communication between inter-Oracle RAC instances.
The public network is expected to provide connections between Oracle Database clients and Oracle RAC instances.
Before starting the installation, you must identify or obtain the following IP addresses for each node:
An IP address and an associated host name registered in the domain name service (DNS) for each public network interface
One private IP address for each node to serve as the private interconnect
Oracle recommends that you use nonroutable IP addresses for the private interfaces, for example, 10.*.*.* or 192.168.*.*. You can use the local TCP/IP database on each node to associate private host names with private IP addresses.
This IP address must be separate from the public network, and it must have the same interface name on every node that is part of the cluster.
During an Oracle RAC installation, Oracle Universal Installer displays two screens on which you specify the IP addresses of the private interconnect. The private interconnect is used for internode communication by both Oracle Clusterware and Oracle RAC.On the Cluster Configuration screen, you must specify a private node name to be associated with each public node name. The public node name is the host name of each node, which is specified as either an alias or an IP address. The private node name is the private interconnect address that will be used by Oracle Clusterware. In the Private Node Name field, enter the name of the private interconnect if it is available from a network name server or system hosts file, or enter the private IP address, unique to each node.The information about the Private Interconnect Enforcement screen is used to determine which private interconnect will be used by Oracle RAC database instances. Oracle RAC uses all interconnects identified as private on this screen. These interconnects must be in the running state, as in the case if their IP addresses were specified in the CLUSTER_INTERCONNECTS
logical. Oracle RAC does not fail over between cluster interconnects. So, if one cluster is down, then the instances using it will not start.
One public IP address for each node to serve as the virtual IP address for client connections and for connection failover
This is in addition to the public host IP address that is managed and assigned to the node by the operating system. This public virtual IP must be associated with the same interface name on every node that is part of the cluster. In addition, the IP addresses that you use for all the nodes that are part of a cluster must be from the same subnet. The host names for the virtual IP must be registered with the domain name server (DNS).
Note:
The virtual IP address must not be in use at the time of the installation because this is a virtual IP address that Oracle Database manages.The reason the virtual IP address must be unused is that when VIPCA tries to register the vip on the system, it first pings if the IP is alive and, if so, assumes that VIPCA has already been run and fails to complete. After installation, you can configure clients to use the virtual host name or IP address. If a node fails, then its virtual IP address fails over to another node.
For example, if each node has two public and two private interfaces, you may have the host names and IP addresses on one of the nodes (rac1
) and similar host names and IP addresses on the other nodes as shown in Table 2-3.
Table 2-3 Sample IP Addresses for Each Node
Host Name | Type | IP Address | Registered In |
---|---|---|---|
|
Public |
143.47.43.100 |
DNS |
|
Public |
143.46.51.101 |
DNS |
|
Virtual |
143.47.43.104 |
DNS |
|
Private |
10.0.0.1 |
A local TCP/IP database |
|
Private |
10.0.0.2 |
A local TCP/IP database |
To verify that each node meets the network requirements:
If necessary, install the network adapters for the public and private networks, and configure them with either public or private IP addresses.
Register the host names and IP addresses for the public network interfaces in DNS.
For each node, register one virtual host name and IP address in DNS.
For each private interface on every node, include the following in the TCP/IP configuration on all nodes, specifying the private IP address and associated private host name as follows:
10.0.0.1 rac1-priv1
To identify the interface name and associated IP address for every network adapter, first enter the following command:
@SYS$MANAGER:TCPIP$DEFINE_COMMANDS
Then run:
$ IFCONFIG -A
From the output, identify the interface name and IP address for all network adapters that are to be specified as public or private network interfaces.
This section provides information about checking the software requirements.
Checking for Required Software
Depending on the products that you intend to install, verify that the following software is installed on the system. The procedure following the table describes how to check these requirements.
To ensure that the system meets these requirements:
To determine which version of HP OpenVMS is installed, enter the following command:
For HP OpenVMS Alpha:
$ WRITE SYS$OUTPUT F$GETSYI("VERSION") V8.4
For HP OpenVMS Itanium:
$ WRITE SYS$OUTPUT F$GETSYI("VERSION") V8.4
If necessary, refer to the operating system documentation for information about upgrading the operating system.
To display additional information about the operating system, enter the following command:
$ SHOW SYSTEM /NOPROCESS /FULL
To view information about all nodes in a cluster, add the /CLUSTER
qualifier to this command.
If you intend to use Oracle Messaging Gateway and require MQSeries classes for Java and MQSeries classes for Java Message Service (SupportPac MA88), download it from the following IBM Web page:
If you require a Corrective Services Deliverable (CSD) for MQSeries, refer to the following Web site for download and installation information:
To determine the version of TCP/IP installed, enter the following command:
For HP OpenVMS Alpha:
$ tcpip show version HP TCP/IP Services for OpenVMS Alpha Version V5.7 on an AlphaServer ES45 Model 2B running OpenVMS V8.4
For HP OpenVMS Itanium:
$ tcpip show version HP TCP/IP Services for OpenVMS Industry Standard 64 Version V5.7 - ECO 2 on an HP rx4640 (1.50GHz/6.0MB) running OpenVMS V8.4
Oracle Net Services HP OpenVMS Mailbox Driver
The Oracle Net Services HP OpenVMS Mailbox driver (protocol IPC) is included in NETWORK
. You do not need an Oracle Net Services license to use the HP OpenVMS Mailbox driver.
You must ensure that the patches described in the following table are installed on the system.
Installation Type or Product | Minimum Requirement |
---|---|
All installations | The following patches, or their later versions, are required:
For HP OpenVMS Alpha:
|
All installations | For HP OpenVMS Itanium:
|
IBM Messaging Gateway |
|
Oracle Messaging Gateway | Corrective service diskette (CSD) for MQSeries: |
Note:
In some cases, later patch sets would cumulatively include earlier patches and therefore, the preceding command would not explicitly indicate the required patch sets. In such cases, check the Patch Distribution Web site of Hewlett-Packard for the contents of the patches that are displayed to verify if the required patches are included or not.To check if you have the required patches installed on the system, enter the following command:
$ PRODUCT SHOW HISTORY
The output of this command is a list of all software patches or products (or both) that are installed on the system. Verify that you meet the minimum requirements to install and run Oracle Database.
In addition to this document, refer to My Oracle Support (formerly OracleMetaLink) Note 726914.1, Index of install related notes for Oracle 10.2 on HP OpenVMS, for an updated list of the following:
Required patches
ECO level check scripts
Preinstallation check scripts
Quota check scripts
My Oracle Support (formerly OracleMetaLink) is available at
There are factors that can affect the installation or use of Oracle Database. This section discusses these factors:
Do not install Oracle Database into the root directory of an existing Oracle installation containing any Oracle Software. Oracle recommends that you install Oracle Database products into a new ORA_ROOT
.
Oracle Database 10g Release 2 has two separate logical names that specify the top-level directory of the installation. ORA_ROOT
is a concealed logical name used in earlier releases, and ORACLE_HOME
is a nonconcealed logical name. You can use both logical names with the following restriction.
If the top-level directory is DISK$DISK1:[ORACLE10102]
, then the logical names are defined as follows:
$ SHOW LOGICAL ORA_ROOT DISK$DISK1:[ORACLE10102.]
$ show logical ORACLE_HOME DISK$DISK1:[ORACLE10102]
Therefore, the following command is invalid:
$ SET DEFAULT ORA_ROOT
The following commands are valid:
$ SET DEFAULT ORA_ROOT:[000000] $ SET DEFAULT ORACLE_HOME
The JDK release that is shipped with Oracle Database is used by Oracle Java applications such as Oracle Universal Installer and is the only JDK that is supported to run with these applications. You must not modify this JDK, unless it is done through a patch provided by Oracle Support Services.
Oracle Database software must be installed on an On-Disk Structure Level 5 (ODS-5) formatted disk. The data files and redo log files, however, can be placed on ODS-2 formatted disks as well.
Oracle Database server must be able to verify that files have been written to disk. Devices that do not support this verification are not supported for use with Oracle Databases, although Oracle software can be installed on them.Datafiles always must reside on volumes with write through cache enabled
Note:
Because of this requirement for verification, third-party software that creates one or more virtual disks in memory must not be used for data files.This section provides installation procedure requirements. It discusses the following topics:
Create an HP OpenVMS user account to administer and maintain the Oracle installation. Setting up an Oracle Database account is the same as setting up any other HP OpenVMS user account.
To set up an Oracle Database account:
Determine the values that you want to supply to create the account.
Run the AUTHORIZE
utility to add a record in the User Authorization File (UAF).
Use AUTHORIZE
to set the following account requirements:
Account quotas
Account privileges
Process rights identifiers
Exit AUTHORIZE
to complete the account setup.
See Also:
The Hewlett-Packard documentation for more information about running theAUTHORIZE
utilityDetermining Account Information
To add an account, you must supply the following information:
User name
User password
Login device and directory
Owner
Although this guide refers to this account as the Oracle Database account or Oracle account, you can assign any name or number to the account after taking into account UIC restrictions. The Oracle Database account owns the run-time libraries and executable images for every Oracle product. Therefore, the database administrator (DBA) must manage this account and install all Oracle products from it.
Note:
In Oracle Database Administrator's Guide, the Oracle Database account is sometimes referred to as the DBA account. The Oracle Database account is not the same as theSYS
or SYSTEM
database user names that are created for every database. It is an HP OpenVMS account name.The UIC group number of the Oracle Database account must be greater than the system parameter MAXSYSGROUP
(which defaults to octal 10
). Group numbers 1 through the value of MAXSYSGROUP
are reserved for use by the HP OpenVMS operating system.If the UIC group number is not greater than the value of MAXSYSGROUP
, then all Oracle Database account commands are not supported. For example:
STARTUP
CREATE
DATABASE
or CREATE
TABLESPACE
ALTER
DATABASE
or ALTER
TABLESPACE
The following command gives the value of MAXSYSGROUP
(in decimal format):
$ WRITE SYS$OUTPUT F$GETSYI("MAXSYSGROUP")
Use the AUTHORIZE
utility to create or modify records in the UAF as follows:
To run the AUTHORIZE
utility, enter the following commands:
$ SET DEFAULT SYS$SYSTEM $ RUN AUTHORIZE
At the UAF prompt, enter the ADD
command to create the user account from which you install the product software:
UAF> ADD /ACCOUNT=ORACLE10G /PASSWORD=ORACLE/UIC=[277,100]-
/DEVICE=device/DIRECTORY=[ORACLE10G]/OWNER="ORACLE DBA"
In this example, the account name is ORACLE10G
. Note that the UIC group number is 277. The UIC group number must be greater than MAXSYSGROUP
.
After adding the account, you must alter the account privileges and quotas. This can be done in any order. However, in most cases, the account privileges are set before the account quotas.
See Also:
The Hewlett-Packard documentation for more information about using theAUTHORIZE
utilityThe following privileges are required as both authorized and default privileges for the Oracle Database DBA account:
Note:
An exception is explained in Section 2.6.7, "Security Issues with Multiple Databases".CMKRNL
GROUP
GRPNAM
IMPERSONATE
LOG_IO
NETMBX
OPER
PFNMAP
PRMGBL
PRMMBX
SHARE
SYSGBL
SYSLCK
SYSNAM
SYSPRV
TMPMBX
WORLD
Use the AUTHORIZE
utility to set the account privileges for the Oracle Database DBA account. At the UAF prompt, use the MODIFY
command to add the required default and authorized privileges as follows:
UAF> MODIFY ORACLE10G - /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)
Use the AUTHORIZE
utility to change account quotas to meet the requirements of Oracle Database installation.
Table 2-4 lists the Oracle Database account quotas, their minimum recommended values, and their equivalent HP OpenVMS quota names as displayed by the SHOW
PROCESS
/QUOTA
and SHOW
WORKING_SET
DCL commands.
Note:
These quotas depend on the number of log files, databases, network connections, and other logicals on the system. You may need to customize these values.Table 2-4 Oracle Database Account Quotas
Account Quota | Minimum Value | Quota Name |
---|---|---|
|
250 (the default) |
Asynchronous system trap limit |
|
750000 |
Buffered I/O limit |
|
2000 (the default) |
Enqueue quota |
|
2048 |
Open file quota |
|
8192 |
Job table quota |
|
0 (the default) |
Max detached processes |
|
0 (the default) |
Max active jobs |
|
2 million (recommended) |
Paging file quota |
|
32 |
Subprocess quota |
|
2048 |
Working set default |
|
8192 |
Working set extent |
|
4096 |
Working set quota |
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 ORACLE10G/ENQLM=150
The Oracle Database DBA account must be granted one or more process rights identifiers. These identifiers enable you to run the CONNECT
/AS
SYSDBA
command that is required to perform database administration functions. Table 2-5 displays the combinations of adding and granting rights identifiers to this account:
Table 2-5 Adding and Granting Process Rights Identifiers
Adding . . . | And Granting . . . | Enables Control of . . . |
---|---|---|
|
|
Any database instance, provided it does not also have an |
|
|
Database instance |
|
|
All database instances except |
For example, to grant the ORA_
sid
_DBA
rights identifier to the Oracle Database account for an instance called TEST
, enter the following command:
UAF> ADD/IDENTIFIER ORA_TEST_DBA
Then, grant the rights identifier to the Oracle Database account as follows:
UAF> GRANT/IDENTIFIER ORA_TEST_DBA ORACLE10g
If you add the ORA_TEST_DBA
rights identifier, but grant only ORA_DBA
to the ORACLE10g
account, then the account would have insufficient privileges to administer the TEST
instance.
The third row of the table shows that you can add and grant different identifiers, which restricts control of a particular instance while it grants control to other instances.
You can also grant database maintenance privileges to accounts (for example, privileges to start and shut down the database) other than the Oracle Database account. However, with the Oracle Database 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
.
The SGA is protected by an access control list (ACL) that grants access to the identifier ORA_SGA. Before you start a database, add this rights identifier to the UAF, if it does not exist. To do this, the system manager must enter the following command
UAF > ADD/IDENTIFIER/ATTRIBUTES=SUBSYSTEM ORA_SGA
If a site has several databases managed by different DBAs, then you may not want to grant the CMKRNL
privilege to every DBA Oracle Database account. This privilege enables a DBA to activate any process rights identifiers and to install shared images.
For security reasons, Oracle recommends that the HP OpenVMS system administrator handle these tasks. This person should be responsible for starting Oracle Database instances from a controlled account with a UIC group number that is greater than the value of MAXSYSGROUP
. If this is not possible, then at least one Oracle Database account must have the CMKRNL
privilege.
Exit the AUTHORIZE
utility. If the user account that you modified is logged on at the time you exit this utility, then this user must log out and log in again before the changes take effect.
Enter the following command to verify that your account has the correct privileges and rights identifiers:
$ SHOW PROCESS/PRIVILEGE
Set default file protections for the ORACLE10
g account to ensure that GROUP
and WORLD
have READ
and EXECUTE
permissions, but not WRITE
permission, on installed files.
Enter the $ SHOW PROTECTION
command to check the current setting.
If the $ SHOW PROTECTION
command does not show the expected protection, then set protection in the LOGIN.COM
of the oracle10
g account as follows:
$ SET PROTECTION=(s:RWE, o:RWED, g:RE, w:RE)/default
See Also:
READMEVMS.DOC
in the RDBMS
directory for instructions on calculating MIN_GBLPAGES
, and MIN_GBLSECTIONS
You can create and use reserved memory on an HP OpenVMS system. The following sections describe the utilities that you can use to set the values of the various SYSGEN parameters:
Through its interface within the SYSMAN
utility, the reserved memory registry enables you to configure an HP OpenVMS system 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.
Oracle recommends that you do not use reserved memory until the instance SGA size is stable. In most cases, this is a few weeks after the database is performing well.
The advantages to reserving memory for an SGA are as follows:
You can be certain that the memory is available and that the system is correctly tuned.
The memory is reserved at startup time as contiguous aligned physical pages. This enables the system to optimize the mapping of the SGA.
The memory is preallocated and zeroed. This results in faster SGA mapping and faster instance startup.
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
Next, run AUTOGEN
and restart 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 restarting the system. During instance startup, Oracle Database compares the size of the reserved memory, if any, with the size of the SGA. If appropriate, one of the following messages is 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 the memory reserved for an SGA is insufficient, then the instance startup fails. In this case, you must adjust the amount of reserved memory, run AUTOGEN
, and restart the system. For example, to expand the SGA to 6.5 GB for the TEST
instance, enter 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
Next, run AUTOGEN
and save it permanently using the SAVEPARAMS
parameter. This saves the change in the AGEN$FEEDBACK.DA
T file.
If you do not want to save permanently then, instead of running AUTOGEN
, use SYSMAN
to free the memory reservation and proceed with starting the Oracle instance without reserved memory. The risk involved with this is that the system may not have enough fluid pages to create the SGA. In addition, the performance advantages of using reserved memory are not available.
See Also:
The Hewlett-Packard documentation for more information about the reserved memory registryTo review memory reservations on the 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
Because SYSGEN
parameters affect the entire operating system, the system administrator is the only person who should modify them. 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, HP 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 the 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 may have changed. Remember to record parameter values before changing them, and determine in advance what results you expect from the changes you make. If the expected changes do not occur, then restore the old values before trying again.
The procedure is as follows:
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
.
If you have not already done so, run AUTOGEN
GETDATA
to ensure that the file PARAMS.DAT
has been generated.
$ @SYS$UPDATE:AUTOGEN GETDATA
Examine the parameter settings in the current PARAMS.DAT
, and if they are correct, then change them in the MODPARAMS.DAT
file by using the MIN_
parameter=value
format as follows:
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.
Run the AUTOGEN
utility with the GENPARAMS
and REBOOT
parameters by entering the following command:
$ @SYS$UPDATE:AUTOGEN GENPARAMS REBOOT
REBOOT
parameter in this example causes the system to automatically restart 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 the file.
See Also:
HP OpenVMS System Management Utilities Reference for more information about using theAUTOGEN
utilityIf the system fails to satisfy any listed requirement, then perform the tasks listed in the next section as necessary to configure the system to meet these requirements.
Table 2-6 lists the requirements for installing Oracle Database.
Table 2-6 HP OpenVMS System Configuration Summary
Log in as the SYSTEM
user and perform the following tasks to set up the environment for Oracle Database:
The Oracle Database account is the HP OpenVMS user account that owns Oracle Database software after installation. Run Oracle Universal Installer with this user account.
Details of creating this account are covered in Section 2.6, "Creating a User Account"
Use the AUTHORIZE
utility to create an oracle
account with the properties listed in Table 2-7.
Table 2-7 Properties of the Oracle Database Account
Account | Properties |
---|---|
Login Name |
Any name, but this document refers to it as the Oracle Database account. |
UIC |
The group UIC number, which must be greater than |
Select a home directory consistent with other user home directories. The home directory of the |
SYSTEM
as the ORACLE10
g account.Sites with multiple ORA_ROOT
directories on one system may install Oracle software with the same ORACLE10
g account, or separate accounts. Each ORACLE10
g account must have the same group UIC.
The Apache account is an HP 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 for the system), then Oracle recommends, for security reasons, that a separate account owner be set up for Apache. Configure the Apache server to assign the 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 port numbers that are lower than 1023. Images that are installed with privileges during installation in the oracle
account ensure that this can be done.
For information about how to configure the server to run as a user other than the 'oracle' user, refer to Section I.3.3, "Customizing the Server Environment".
The Apache account owner should have minimal user privileges, and should not be a member of any groups where files are not intended to be visible to the public.
Log in to the oracle Database account and perform the following tasks as necessary:
Before starting Oracle Universal Installer, set the display by using the following command:
$ SET DISPLAY/CREATE/TRANSPORT=TCPIP/NODE=workstation_name or IP_address
Verify that you have set the display correctly by using the following command:
$ RUN SYS$SYSTEM:DECW$CLOCK
Do not use the host name or IP address of the system where you install the software unless you perform the installation from the X Window console of that system. Use the computer name or IP address of the 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.
In this release, the architecture and implementation of the Oracle Enterprise Manager Agent has undergone a major revision. The new agent is based on an HTTP listener that communicates with the Management Server using XML and that uses Perl to perform a number of tasks. This has been implemented to run in a batch queue instead of running as detached processes. The Oracle Enterprise Manager Agent runs a main process. To support monitoring of both internal (using the same Oracle home) and external databases and listeners, the Enterprise Manager Agent submits additional batch jobs.
From the operational and management perspective, this has been implemented to run under a batch queue to get a better collective view of all processes related to the Enterprise Manager Agent running at any given time. This makes it easy to monitor and control all processes spawned by the Enterprise Manager Agent. In addition, it may be possible to delete batch jobs or processes that can potentially fail when trying to connect to databases or listeners that are not running.
Note:
Although the Enterprise Manager Agent is no longer installed as part of a database installation, it is available as part of the separate Enterprise Manager Grid Control release.For High-Availability Services (HAS), the Oracle Clusterware daemons, OCSSD, EVMD, and CRSD, are collectively run as batch process. The Enterprise Manager Agent and HAS use the following method to determine the name of the batch queue on which to submit jobs:
If the ORA_BATCH_QUEUE_
hostname
logical name is defined, then the value of this logical is used.
If the ORA_BATCH_QUEUE_
hostname
logical is itself a valid queue name, then it is used.
The ORA_BATCH_QUEUE_
hostname
logical name need not always be defined. It is sufficient that it is defined at least once during installation. Alternatively, you can define it before running ORAUSER.COM
at any time after the installation. Note that the Enterprise Manager Agent and HAS services can only be started up after setting up this batch queue logical name and running ORAUSER.COM
.
The two components record the batch queue name in the installation, and use that as a reference for subsequent calls to the services. The default batch queue SYS$BATCH
generally points to a batch queue that runs under a lower priority (usually, 2) than the priority of a normal user (usually, 4). Therefore, it is inappropriate to use the default queue for the two services. This would result in poor and, in some cases, defective performance of the two services.
Note:
Oracle recommends to use a dedicated batchqueue.The number of jobs submitted for the Enterprise Manager Agent batch queue depends on the number of monitoring targets which include databases and listeners. An approximation of two to five monitoring targets would be a good number for the job_limit. In the case of HAS, a job_limit of about 10 would be sufficient. The batch queue priority should be the same as all other Oracle processes, which is typically 4 on a standard VMS system.
The following products require preinstallation steps to be completed before you install Oracle Database software:
The following sections list the preinstallation tasks for the precompilers and tools that are required for HP OpenVMS.
This section describes tasks that need to be completed prior to installation if you have existing network and system management products.
If you have an existing installation of Oracle Net Services running on the same TCP ports, then shut down all listeners before installing it. To determine if the TCP port is in use, enter the following command:
$ TCPIP SHOW DEVICE/PORT=port_number
If the port is in use, a device name will be displayed. Issue the following command:
$ SHOW DEVICE/FULL device_name
The output of this command will contain a process ID. Issue the following command:
$ SHOW PROCESS/CONTINUOUS/ID=pid
The full path to the program that is running and which is using the port will be indicated in this display. This path includes the Oracle home from which you should stop the Listener.
You must identify three directories for the Oracle software as described in the following sections:
The following subsections describe the requirements for these directories.
The Oracle inventory directory (ORAINVENTORY
) stores an inventory of all Oracle software installed on the system. It is required by, and shared by, all Oracle software installations on a single system.
The Installer creates this directory if it does not exist and sets the correct owner, group, and permissions on it.
Note:
Oracle recommends that you specify the inventory location by creating theoraInst
.loc
file in the sys
$login
:[node_name
] directory. Create this directory if it does not exist. The contents of the oraInst
.loc
file is as follows:
inst_group=VMS1 inventory_loc=/VI04/INSTALL_TESTING/SRAVINDH/SAM_INVENTORY_CPQ064
VMS1
is the UIC group of the account used to install Oracle. All Oracle software installations depend on this directory. Ensure that you back it up regularly. Do not delete this directory unless you have completely removed all Oracle software from the system.
The Oracle Clusterware home directory is the directory where you install the software for Oracle Clusterware. You must install Oracle Clusterware in a separate home directory. When you run Oracle Universal Installer, it prompts you to specify the path to this directory and a name that identifies it. Oracle recommends that you specify a path similar to the following for the Oracle Clusterware home directory:
device:[ORACLE.CRS_HOME102]
The Oracle home directory is the directory where you choose to install the software for a particular Oracle product. You must install different Oracle products, or different releases of the same Oracle product, in separate Oracle home directories. When you run Oracle Universal Installer, it prompts you to specify the path to this directory, and a name that identifies it.
Oracle Universal Installer creates the directory path that you specify. It also sets the correct ownership and permissions. You do not need to create this directory.
Note:
You must select a location for the recovery files only if you enable automated backups during the installation.Use the following guidelines to place Oracle Database or recovery files:
To prevent disk failure from making both the database files and the recovery files unavailable, place the recovery files on a different physical disk from the database files.
The disk that you select must have at least 2 GB of free space.
The disk space requirement is the default disk quota configured for the flash recovery area. The default disk quota is specified by the DB_RECOVERY_FILE_DEST_SIZE
initialization parameter. If you select the Custom installation type, then you can specify a different disk quota value. After you create the database, you can also use Oracle Enterprise Manager Grid Control to specify a different value.
See Also:
Oracle Database Backup and Recovery Basics (B10735-01) for more information about sizing the flash recovery areaThe Oracle Database account must have write protection to create the files in the specified path.
Use the following guidelines when deciding the location of Oracle Database or recovery files.
You can choose either a single device or more than one device to store the database files depending on the following criteria.
If you want to use a single device, then choose a device on a physical device that is dedicated to the database.
For performance and reliability, choose a redundant array of independent disks (RAID) device or a logical volume on more than one physical device and implement the stripe-and-mirror-everything (SAME) methodology.
If you want to use more than one device, then choose devices that are dedicated to the database.
This method enables you to distribute physical I/O and create separate control files on different devices for increased reliability. You must choose either the Advanced database creation option or the Custom installation type during the installation to implement this method.
If you intend to create a preconfigured database during the installation, the device (or devices) that you choose must have at least 1.2 GB of free disk space.
For production databases, you must estimate the disk space requirement depending on the use you want to make of the database.
For optimum performance, the devices that you choose should be used only by the database.
The Oracle Database account must have write permissions to create the files in the path that you specify.
Note:
You must complete this procedure only if you want to place Oracle Database or recovery files on a separate device instead of placing them in the Oracle base directory.To create directories for Oracle Database or the recovery files on separate devices:
Use the SHOW DEVICE
device_name
command to determine the free disk space on each mounted device.
From the display, identify the devices to use. Table 2-8 lists the device requirements for recovery files.
Table 2-8 Device Requirements for Recovery files
File Type | Device Requirements |
---|---|
Data files |
Choose either:
|
Recovery files |
Choose a device with at least 2 GB of free disk space. |
If you are using the same device for more than one type of file, then add the disk space requirements for each type to determine the total disk space requirement.
Note the names of the root device directories for the devices that you identified.
See Also:
Oracle Database Administrator's Reference for HP OpenVMS for information about stopping existing Oracle processes on Oracle RACIf you choose to create a database during the installation, then most installation types configure and start a default Oracle Net Services listener using TCP/IP port 1521 and the IPC key value EXTPROC
. However, if an existing Oracle Net Services listener process uses the same port or key value, Oracle Universal Installer can only configure the new listener, but it cannot start it. To ensure that the new listener process starts during the installation, you must shut down any existing listeners before starting Oracle Universal Installer.
To determine if an existing listener process is running, and to shut it down if necessary:
Log in as the Oracle Database account user.
$ PIPE SHOW SYSTEM/OWN=ORACLE | SEARCH SYS$INPUT <last 8 chars of listener name>
This command displays the Oracle processes that are running in the oracle
account. Run the following command to identify the Oracle processes that are running as listener processes:
$ WRITE SYS$OUTPUT F$GETJPI(pid,"IMAGNAME")
For each process that is running as a listener process, run the following command to determine the Oracle home in which it is running:
$ SHOW PROCESS/CONTINUOUS process_name
In this example, process_name
is the name of the listener process that is indicated by the command that you just entered.
Note:
If no Oracle Net Services listeners are running, then refer to Section 2.16, "Configuring the oracle User's Environment" to continue.Set up the Oracle environment for the Oracle home area where the listener is running as follows:
$ SET DEFAULT Oracle_home_dir
$ @ORAUSER
Enter the following command to identify the TCP/IP port number and IPC key value that the listener is using:
LSNRCTL STATUS listenername
Note:
If the listener uses the default nameLISTENER
, you do not have to specify the listener name in this command.If the TCP/IP port number determined in the preceding step is 1521, or the IPC key value is EXTPROC, then enter a command similar to the following:
LSNRCTL STOP listenername
Repeat this procedure to stop all listeners running on this system.
See Also:
Appendix J for a list of commands that you can use when performing this procedureBefore you start Oracle Universal Installer, you must configure the Oracle Database account environment.
To achieve this, perform the following steps:
Start a new terminal session.
Set up the display using the SET DISPLAY
command.
Set up the inventory directory, and create the ORAINST.LOC
file. This step is optional. However, Oracle recommends that you do it, if not an ORAINST.LOC
file is created under the sys$login:
node_name directory. The default inventory location is the directory INVENTORY_
node_name created as the top-level directory of ORACLE_HOME
.
Define the logical name ORA_BATCH_QUEUE_
nodename
to point to an existing batch queue. Oracle recommends that you use a dedicated Batch Queue.
See Also:
Appendix E, "Installing, Configuring, and Running Enterprise Manager Agent" for more information about batch queuesCreate a file, CLUSTER_NODES.DAT
(if you are installing Oracle Clusterware), in the SYS$LOGIN
directory with the list of nodes that are to comprise the Oracle RAC cluster. This file displays each node on a separate line with the primary node listed first.
Enter the $ SET NOVERIFY
command.
Enter the $ SET PROCESS/PRIV=ALL
command.
To start the RUNINSTALLER
refer to Section 3.3, "Installing Oracle Database Software"
The ORATAB
file contains information about all Oracle installations and databases installed on the node. This information is used to discover Oracle product installations. When an Oracle product is installed, this file is updated with information about the new Oracle home. If this file is not found, then a new ORATAB
file is created.
To check if the ORATAB
file exists:
Check for the ORATAB
file in the hostname
subdirectory of SYS$LOGIN
. For example:
DISK:[mylogin.hostname]ORATAB.
If the ORATAB
file is not found at the location described in Step 1, then use the file in the SYS$LOGIN
directory. For example:
DISK:[mylogin]ORATAB.
If the ORATAB
file is not found in any of the locations mentioned in the previous steps, then it means there is no ORATAB
file.