|
Oracle® Database Installation Guide
10g Release 1 (10.1) for UNIX Systems: AIX-Based Systems, hp HP-UX PA-RISC (64-bit), hp Tru64 UNIX, Linux x86, and Solaris Operating System (SPARC) Part No. B10811-01 |
|
|
|
|
This chapter describes the tasks that you must complete before you start the Oracle Universal Installer. It includes information about the following tasks:
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 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 non-interactive and silent installations, see Appendix B. |
If you are installing the software from an X Window System workstation or X terminal:
Start a local terminal session, for example, an X terminal (xterm).
If you are not installing the software on the local system, enter the following command to enable remote hosts to display X applications on the local X server:
$ xhost +
If you want to install the software on a remote system, enter a command similar to the following to connect to that system:
$ telnet remote_host
If you are not logged in as the root user, 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:
|
Note: If necessary, see 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, enter the following command to switch user to root:
$ su - root password: #
The system must meet the following minimum hardware requirements:
512 MB of physical RAM
1 GB of swap space (or twice the size of RAM)
On systems with 2 GB or more of RAM, the swap space can be between one and two times the size of RAM. On AIX systems with 1 GB or more of memory, do not increase the swap space above 2 GB. See the Oracle Database Administrator’s Reference for UNIX for more information about configuring swap space on AIX.
400 MB of disk space in the /tmp directory
Between 0.5 GB and 3 GB of disk space for the Oracle software, depending on the installation type and platform
1.2 GB of disk space for a preconfigured database that uses file system storage (optional)
|
Note: The disk space requirements for databases that use Automatic Storage Management (ASM) or raw device storage is described later in this chapter. |
Additional disk space, either on a file system or in an ASM disk group, is required for the flash recovery area if you choose to configure automated backups.
To ensure that the system meets these requirements, follow these steps:
To determine the physical RAM size, enter one of the following commands:
| Platform | Command |
|---|---|
| AIX |
# /usr/sbin/lsattr -E -l sys0 -a realmem |
| HP-UX |
# /usr/sbin/dmesg | grep "Physical:" |
| Linux |
# grep MemTotal /proc/meminfo |
| Solaris |
# /usr/sbin/prtconf | grep "Memory size" |
| Tru64 UNIX |
# /bin/vmstat -P | grep "Total Physical Memory" |
If the size of the physical RAM installed in the system is less than the required size, you must install more memory before continuing.
To determine the size of the configured swap space, enter one of the following commands:
| Platform | Command |
|---|---|
| AIX |
# /usr/sbin/lsps -a |
| HP-UX |
# /usr/sbin/swapinfo -a |
| Linux |
# grep SwapTotal /proc/meminfo |
| Solaris |
# /usr/sbin/swap -s |
| Tru64 UNIX |
# /sbin/swapon -s |
If necessary, see your operating system documentation for information about how to configure additional swap space.
To determine the amount of disk space available in the /tmp directory, enter one of the following commands:
HP-UX:
# bdf /tmp
Other operating systems:
# df -k /tmp
If there is less than 400 MB of disk space available in the /tmp directory, complete one of the following steps:
Delete unnecessary files from the /tmp directory to achieve the required disk space.
Set the TEMP and TMPDIR environment variables when setting the oracle user’s environment (described later).
Extend the file system that contains the /tmp directory. If necessary, contact your system administrator for information about extending file systems.
To determine the amount of free disk space on the system, enter one of the following commands:
HP-UX:
# bdf
Other operating systems:
# df -k
The following table shows the approximate disk space requirements for software files for each installation type:
| Platform | Installation Type | Requirement for Software Files (GB) |
|---|---|---|
| AIX | Enterprise Edition | 3 |
| Standard Edition | 3 | |
| Custom (maximum) | 3 | |
| HP-UX | Enterprise Edition | 2.5 |
| Standard Edition | 2.5 | |
| Custom (maximum) | 2.5 | |
| Linux | Enterprise Edition | 1.5 |
| Standard Edition | 1.5 | |
| Custom (maximum) | 1.5 | |
| Solaris | Enterprise Edition | 1.5 |
| Standard Edition | 1.5 | |
| Custom (maximum) | 1.5 | |
| Tru64 UNIX | Enterprise Edition | 3 |
| Standard Edition | 3 | |
| Custom (maximum) | 3 |
To determine whether the system architecture can run the software, enter one of the following commands:
|
Note: If you do not see the expected output, you cannot install the software on this system. |
| Platform | Command | Expected Output |
|---|---|---|
| AIX |
# /usr/bin/getconf HARDWARE_BITMODE |
64 |
| HP-UX |
# /bin/getconf KERNEL_BITS |
64 |
| Linux |
# grep "model name" /proc/cpuinfo |
This command displays the processor type. Verify that the processor architecture matches the Oracle software release that you want to install. |
| Solaris |
# /bin/isainfo -kv |
64-bit sparcv9 kernel modules |
Depending on your operating system, see one of the following sections for information about checking the software requirements:
|
Note: The Oracle Universal Installer performs checks on your system to verify that it meets the requirements listed for your platform. To ensure that these checks pass, verify the requirements before you start the Installer. |
Check that the required software and patches are installed on the system.
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, follow these steps:
To determine which version of AIX is installed, enter the following command:
# oslevel -r
If the operating system version is lower than AIX 5.2.0.0 Maintenance Level 1 (5200-01), upgrade your operating system to this level. AIX 5L version 5.2 maintenance packages are available from the following Web site:
https://techsupport.services.ibm.com/server/aix.fdc
To determine whether the required filesets are installed and committed, enter a command similar to the following:
# lslpp -l bos.adt.base bos.adt.lib bos.adt.libm bos.perf.perfstat \ bos.perf.libperfstat bos.perf.proctools
If a fileset is not installed and committed, then install it. See your operating system or software documentation for information about installing filesets.
Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.
To ensure that the system meets these requirements, follow these steps:
To determine whether an APAR is installed, enter a command similar to the following:
# /usr/sbin/instfix -i -k "IY22854 IY26778 ..."
If an APAR is not installed, download it from the following Web site and install it:
https://techsupport.services.ibm.com/server/aix.fdc
To determine whether a PTF is installed, enter a command similar to the following:
# lslpp -l -B U489726 U485561 ...
If a PTF is not installed, download it from the following Web site and install it:
https://techsupport.services.ibm.com/server/aix.fdc
If you require a CSD for WebSphere MQ, see the following Web site for download and installation information:
http://www.ibm.com/software/integration/mqfamily/support/summary/aix.html
To continue completing pre-installation tasks, go to the "Create Required UNIX Groups and User" section.
Check that the required software and patches are installed on the system.
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, follow these steps:
To determine which version of HP-UX is installed, enter the following command:
# uname -a HP-UX hostname B.11.11 U 9000/800 109444686 unlimited-user license
In this example, the version of HP-UX 11i is 11.11.
To determine whether a bundle, product, or fileset is installed, enter a command similar to the following, where level is bundle, product, or fileset:
# /usr/sbin/swlist -l level | more
If a required bundle, product, or fileset is not installed, you must install it. See your operating system or software documentation for information about installing products.
Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.
|
Note: There may be more recent versions of the patches listed installed on the system. If a listed patch is not installed, determine whether a more recent version is installed before installing the version listed. |
| Installation Type or Product | Requirement |
|---|---|
| All installations | Quality Pack bundle:
HP-UX 11i Quality Pack (GOLDQPK11i), June 2003 or later: GOLDAPPS11i GOLDBASE11i |
| All installations | Patches for HP-UX 11i (11.11):
|
| All installations | Patches for JDK on HP-UX 11i (11.11):
Note: See the following Web site for information about additional patches that might be required by JDK 1.4.2: http://www.hp.com/products1/unix/java/patches/index.html |
| Pro*C/C++, Oracle Call Interface, Oracle C++ Call Interface, Oracle XML Developer’s Kit (XDK) |
Patches for HP-UX 11i (11.11):
|
| Oracle DCE Integration (part of Oracle Advanced Security) or Oracle Net protocol support for DCE | Patches for HP-UX 11i (11.11):
|
| Oracle Messaging Gateway | Corrective service diskettes (CSDs) for WebSphere MQ:
|
To ensure that the system meets these requirements, follow these steps:
To determine whether the HP-UX 11i Quality Pack is installed, enter the following command:
# /usr/sbin/swlist -l bundle | grep GOLD
If the Quality Pack is not installed, or if the date is before June 2003, download the latest Quality Pack from the following Web site and install it:
http://www.software.hp.com/SUPPORT_PLUS/qpk.html
To determine whether a patch is installed, enter a command similar to the following:
# /usr/sbin/swlist -l patch | grep PHSS_28880
Alternatively, to list all installed patches, enter the following command:
# /usr/sbin/swlist -l patch | more
If a required patch is not installed, download it from the following Web site and install it:
http://itresourcecenter.hp.com
If the Web site shows a more recent version of the patch, download and install that version.
If you require a CSD for WebSphere MQ, see the following Web site for download and installation information:
http://www.ibm.com/software/integration/mqfamily/support/summary/hpx.html
|
Note: This task is required only if the Motif 2.1 Development Environment package (X11MotifDevKit.MOTIF21-PRG) is not installed. |
To allow you to successfully relink Oracle products after installing this software, enter the following commands to create required X library symbolic links in the /usr/lib directory:
# cd /usr/lib # ln -s libX11.3 libX11.sl # ln -s libXIE.2 libXIE.sl # ln -s libXext.3 libXext.sl # ln -s libXhp11.3 libXhp11.sl # ln -s libXi.3 libXi.sl # ln -s libXm.4 libXm.sl # ln -s libXp.2 libXp.sl # ln -s libXt.3 libXt.sl # ln -s libXtst.2 libXtst.sl
To continue completing pre-installation tasks, go to the "Create Required UNIX Groups and User" section.
Check that the required software and patches are installed on the system.
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, follow these steps:
To determine which distribution and version of Linux is installed, enter the following command:
# cat /etc/issue
|
Note: Only the distributions and versions listed in the previous table are supported. Do not install the software on other versions of Linux. |
On UnitedLinux 1.0 systems only, enter the following command to determine whether Service Pack 3 is installed:
# uname -r 2.4.21-138-default
This command shows the kernel version (2.4.21-138) and type (default). If the kernel version is less than 2.4.21-138, contact your UnitedLinux vendor for information about obtaining and installing Service Pack 3.
To determine whether the required packages are installed, enter a command similar to the following:
# rpm -q package_name
If a package is not installed, install it from your Linux distribution media.
Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.
|
Note: If the following patches are superseded by later versions, install the latest version. |
To ensure that the system meets these requirements, follow these steps:
On Red Hat Enterprise Linux 2.1 systems only, follow these steps:
To determine whether kernel update RHSA-2003:195-06 or later is installed, enter the following command:
# uname -r 2.4.9-e.25
This command shows the kernel version (2.4.9) and errata level (e.25). If the errata level is less than 25, install the latest kernel update. See the following Web site for information about kernel update RHSA-2003:195-06:
https://rhn.redhat.com/errata/RHSA-2003-195.html
To determine whether fix RHSA-2003:022-09 is installed, enter the following command:
# rpm -q glibc glibc-2.2.4-31
If the version shown is less than 2.2.4-31, see the following Web site for information about fix RHSA-2003:022-09:
https://rhn.redhat.com/errata/RHSA-2003-022.html
If you require a CSD for WebSphere MQ, see the following Web site for download and installation information:
http://www.ibm.com/software/integration/mqfamily/support/summary/lin.html
To continue completing pre-installation tasks, go to the "Create Required UNIX Groups and User" section.
Check that the required software and patches are installed on the system.
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.
| Installation Type or Product | Requirement |
|---|---|
| All installations | Operating system versions:
Solaris 8 or Solaris 9, 64-bit |
Operating system packages:
SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot SUNWsprox SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt Note: You might also require additional font packages for Java, depending on your locale. See the following Web site for more information: http://java.sun.com/j2se/1.4.2/font-requirements.html |
|
| Oracle Spatial | Motif RunTime Kit:
Note: This software is required only to build the sample programs. |
| Oracle Messaging Gateways | IBM WebSphere MQ V5.3, client and server:
mqm |
| Pro*C/C++, Oracle Call Interface, Oracle C++ Call Interface, Oracle XML Developer’s Kit (XDK) |
Sun ONE Studio 8 (C and C++ 5.5) |
| Oracle JDBC/OCI Drivers | You can use the following optional JDK versions with the Oracle JDBC/OCI drivers, however they are not required for the installation:
Note: JDK 1.4.2_01 is installed with this release. |
| Oracle Transparent Gateway for Sybase | Either of the following:
|
| Oracle Transparent Gateway for Informix | One of the following:
Note: This version of the gateway does not support Informix SE. |
| Oracle Transparent Gateway for Ingress | Ingres II version 2.0, 2.5, or 2.6 |
| Oracle Transparent Gateway for Teradata | NCR Teradata ODBC Driver v02.04.00.00 |
To ensure that the system meets these requirements, follow these steps:
To determine which version of Solaris is installed, enter the following command:
# uname -r
If the operating system version is lower than Solaris 8 (5.8), upgrade your operating system to this level.
To determine whether the required packages are installed, enter a command similar to the following:
# pkginfo -i SUNWarc SUNWbtool SUNWhea SUNWlibm SUNWlibms SUNWsprot \ SUNWsprox SUNWtoo SUNWi1of SUNWi1cs SUNWi15cs SUNWxwfnt
If a package is not installed, then install it. See your operating system or software documentation for information about installing packages.
Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.
|
Note: The patch versions shown in the following table are minimum versions. Higher versions of the same patches are also supported. |
To ensure that the system meets these requirements, follow these steps:
To determine whether an operating system patch is installed, enter a command similar to the following:
# /usr/sbin/patchadd -p | grep patch_number
If an operating system patch is not installed, download it from the following Web site and install it:
http://sunsolve.sun.com
If you require a CSD for WebSphere MQ, see the following Web site for download and installation information:
http://www.ibm.com/software/integration/mqfamily/support/summary/sun.html
To continue completing pre-installation tasks, go to the "Create Required UNIX Groups and User" section.
Check that the required software and patches are installed on the system.
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, follow these steps:
To determine which version of Tru64 UNIX is installed, enter the following command:
# /usr/sbin/sizer -v Compaq Tru64 UNIX V5.1B (Rev. 2650); Mon Nov 3 10:13:28 PST 200
In this example, the version shown is V5.1B. If necessary, see your operating system documentation for information about upgrading the operating system.
To determine whether Java SDK 1.4.2 is installed, enter the following command:
# /usr/sbin/setld -i JAVA142 | more
If Java SDK 1.4.2 is installed, this command displays the paths to all of the installed files. Note the path of the Java home directory. You must specify this value during the installation. The default path is:
/usr/opt/java142
If this command returns the message Unknown subset, Java SDK 1.4.2 is not installed. Download Java SDK 1.4.2.01 or higher from the following Web site and install it:
http://www.compaq.com/java/download/index.html
To determine whether the required software subsets are installed, enter one of the following commands:
To view the list of all software subsets installed on the system, enter the following command:
# /usr/sbin/setld -i | more
To determine whether a particular software subset is installed, enter a command similar to the following:
# /usr/sbin/setld -i | grep subsetname
If necessary, install the required software subset. If you require the Compaq C Compiler V6.5-207 (dtk), you can download it from the following Web site:
http://www.tru64unix.compaq.com/dtk/
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 Web site:
http://www.ibm.com/software/integration/support/supportpacs/individual/ma88.html
Depending on the products that you intend to install, verify that the following patches are installed on the system. The procedure following the table describes how to check these requirements.
To determine whether the required patch kits are installed, enter the following command:
# /usr/sbin/dupatch -track -type kit
If this command does not display the identifiers shown in the previous table for the required patch kits (or the identifier for a higher patch kit level), download the latest patch kit from the following Web site and install it (registration is required to access this Web site):
http://itrc.hp.com/service/patch/mainPage.do
If you require a CSD for MQSeries, see the following Web site for download and installation information:
http://www.ibm.com/software/integration/mqfamily/support/summary/dig.html
Depending on whether this is the first time Oracle software is being installed on this system and on the products that you are installing, you may need to create several UNIX groups and a UNIX user.
The following UNIX groups and user are required if you are installing Oracle Database:
You must create this group the first time you install Oracle Database software on the system. It identifies UNIX users that have database administrative privileges (the SYSDBA privilege). The default name for this group is dba.
If you want to specify a group name other than the default dba group, you must choose the Custom installation type to install the software or start the Installer as a user that is not a member of this group. In this case, the Installer prompts you to specify the name of this group.
This is an optional group. Create this group if you want a separate group of UNIX users to have a limited set of database administrative privileges (the SYSOPER privilege). By default, members of the OSDBA group also have the SYSOPER privilege.
If you want to specify a separate OSOPER group, other than the default dba group, you must choose the Custom installation type to install the software or start the Installer as a user that is not a member of the dba group. In this case, the Installer prompts you to specify the name of this group. The usual name chosen for this group is oper.
An unprivileged user (nobody on most platforms)
On platforms other than HP-UX, you must verify that the unpriviledged user nobody exists on the system. On HP-UX systems, you must create a new unprivileged user. The nobody user, or the HP-UX user that you create, must own the external jobs (extjob) executable after the installation.
The following UNIX group and user are required for all installations:
The Oracle Inventory group (oinstall)
You must create this group the first time you install Oracle software on the system. The usual name chosen for this group is oinstall. This group owns the Oracle inventory, which is a catalog of all Oracle software installed on the system.
|
Note: If Oracle software is already installed on the system, the existing Oracle Inventory group must be the primary group of the UNIX user that you use to install new Oracle software. The following sections describe how to identify an existing Oracle Inventory group. |
The Oracle software owner user (oracle)
You must create this user the first time you install Oracle software on the system. This user owns all of the software installed during the installation. The usual name chosen for this user is oracle. This user must have the Oracle Inventory group as its primary group. It must also have the OSDBA and OSOPER groups as a secondary groups.
A single Oracle Inventory group is required for all installations of Oracle software on the system. After the first installation of Oracle software, you must use the same Oracle Inventory group for all subsequent Oracle software installations on that system. However, you can choose to create different Oracle software owner users, OSDBA groups, and OSOPER groups (other than oracle, dba, and oper) for separate installations. By using different groups for different installations, members of these different groups have DBA privileges only on the associated databases rather than on all databases on the system.
|
See Also: The Oracle Database Administrator’s Reference for UNIX Systems and the Oracle Database Administrator’s Guide contain more information about the OSDBA and OSOPER groups and the SYSDBA and SYSOPER privileges. |
The following sections describe how to create the required UNIX user and groups.
|
Note: The following sections describe how to create local users and groups. As an alternative to creating local users and groups, you could create the appropriate users and groups in a directory service, for example, Network Information Services (NIS). For information about using directory services, contact your system administrator or see your operating system documentation. |
You must create the Oracle Inventory group if it does not already exist. The following subsections describe how to determine the Oracle Inventory group name, if it exists, and how to create it if necessary.
When you install Oracle software on the system for the first time, the Installer creates the oraInst.loc file. This file identifies the name of the Oracle Inventory group and the path of the Oracle Inventory directory. To determine whether the Oracle Inventory group exists, enter the following command:
If the oraInst.loc file exists, the output from this command is similar to the following:
inventory_loc=/u01/app/oracle/oraInventory inst_group=oinstall
The inst_group parameter shows the name of the Oracle Inventory group (oinstall).
If the oraInst.loc file does not exist, create the Oracle Inventory group as follows, depending on your operating system:
You must create an OSDBA group in the following circumstances:
An OSDBA group does not exist, for example, if this is the first installation of Oracle Database software on the system
An OSBDA group exists, but you want to give a different group of UNIX users database administrative privileges in a new Oracle installation
If the OSDBA group does not exist or if you require a new OSDBA group, create it as follows, depending on your operating system. In the following procedure, use the group name dba unless a group with that name already exists.
Create an OSOPER group only if you want to identify a group of UNIX users with a limited set of database administrative privileges (SYSOPER operator privileges). For most installations, it is sufficient to create only the OSDBA group. If you want to use an OSOPER group, you must create it in the following circumstances:
If an OSOPER group does not exist, for example, if this is the first installation of Oracle Database software on the system
If an OSOPER group exists, but you want to give a different group of UNIX users database operator privileges in a new Oracle installation
If you require an new OSOPER group, create it as follows, depending on your operating system. In the following procedure, use the group name oper unless a group with that name already exists.
You must create an Oracle software owner user in the following circumstances:
If an Oracle software owner user does not exist, for example, if this is the first installation of Oracle software on the system
If an Oracle software owner user exists, but you want to use a different UNIX user, with different group membership, to give database administrative privileges to those groups in a new Oracle Database installation
To determine whether an Oracle software owner user named oracle exists, enter one of the following commands:
Solaris:
# id -a oracle
Other operating systems:
# id oracle
If the oracle user exists, the output from this command is similar to the following:
uid=440(oracle) gid=200(oinstall) groups=201(dba),202(oper)
If the user exists, determine whether you want to use the existing user or create a new user. If you want to use the existing user, ensure that the user’s primary group is the Oracle Inventory group and that it is a member of the appropriate OSDBA and OSOPER groups. See one of the following sections for more information:
|
Note: If necessary, contact your system administrator before using or modifying an existing user. |
If you want to use the existing Oracle software owner user, and the user’s primary group is the Oracle Inventory group, see one of the following sections:
To modify an existing user, see the "Modify an Existing Oracle Software Owner User" section.
To create a new user, see the following section.
If the Oracle software owner user does not exist or if you require a new Oracle software owner user, create it as follows, depending on your operating system. In the following procedure, use the user name oracle unless a user with that name already exists.
# smit security
Choose the appropriate menu items to create the oracle user, specifying the following information:
In the Primary GROUP field, specify the Oracle Inventory group, for example oinstall.
In the Group SET field, specify the OSDBA group and if required, the OSOPER group, for example dba or dba,oper.
|
Note: The UID for theoracle user must be less than 65536.
|
Press F10 to exit.
Set the password of the oracle user:
# passwd oracle
Other operating systems:
To create the oracle user, enter a command similar to the following:
# /usr/sbin/useradd -g oinstall -G dba[,oper] oracle
In this command:
The -g option specifies the primary group, which must be the Oracle Inventory group, for example oinstall
The -G option specifies the secondary groups, which must include the OSDBA group and if required, the OSOPER group, for example dba or dba,oper
Set the password of the oracle user:
# passwd oracle
See one of the following sections to continue:
If the oracle user exists, but its primary group is not oinstall or it is not a member of the appropriate OSDBA or OSOPER groups, you can modify it as follows depending on your operating system:
AIX:
Enter the following command:
# smit security
Choose the appropriate menu items to modify the oracle user.
In the Primary GROUP field, specify the Oracle Inventory group, for example oinstall.
In the Group SET field, specify the secondary groups, for example dba and oper.
Press F10 to exit.
Other operating systems:
Enter a command similar to the following, specifying the primary group using the -g option and any required secondary groups using the -G option:
# /usr/sbin/usermod -g oinstall -G dba[,oper] oracle
|
Note: This section applies only to HP-UX systems. If you are installing the software on a different system, see the "Verifying That the UNIX User nobody Exists" section. |
You must create an new unprivileged local user to own the extjob executable. You can use any user name for this user, but this document uses the name extjob. To create the extjob user, enter the following command on all cluster nodes:
# /usr/sbin/useradd extjob
To continue, see the "HP-UX Only: Grant Privileges to the OSDBA Group" section.
|
Note: This section does not apply to installations on HP-UX systems. |
Before installing the software, verify that the UNIX user nobody exists on the system:
To determine whether the user exists, enter the following command:
# id nobody
If this command displays information about the nobody user, you do not have to create that user.
If the nobody user does not exist, enter the one of the following commands to create it:
AIX:
# smit security
Specify the appropriate options to create an unprivileged nobody user, then press F10 to exit.
Other operating systems:
# /usr/sbin/useradd nobody
|
Note: If you are installing Oracle Database on a platform other than HP-UX, go to the "Configure Kernel Parameters and Shell Limits" section. |
To enhance the performance of the software on HP-UX systems, you must grant several system privileges to the OSDBA group. Complete the following steps if you are installing the software on HP-UX:
Using any text editor, open the /etc/privgroup file, or create it if necessary.
Add or edit the following line, which begins with the name of the OSDBA group, specifying the privileges MLOCK, RTPRIO, and RTSCHED, that you want to grant to this group every time the system reboots:
dba MLOCK RTPRIO RTSCHED
Save the file and exit from the text editor.
Enter the following command to grant the privileges to the OSDBA group:
# /usr/sbin/setprivgrp -f /etc/privgroup
Enter the following command to verify that the privileges are set correctly:
# /usr/sbin/getprivgrp dba
|
Note: The kernel parameter and shell limit values shown in the following sections are recommended values only. For production database systems, Oracle recommends that you tune these values to optimize the performance of the system. See your operating system documentation for more information about tuning kernel parameters. |
Depending on your operating system, see one of the following sections for information about configuring the system kernel parameters and shell limits:
On AIX systems, you do not need to configure kernel parameters. However, Oracle recommends that you set shell limits and system configuration parameters as described in this section.
Verify that the shell limits shown in the following table are set to the values shown. The procedure following the table describes how to verify and set the values.
| Shell Limit (As Shown in smit) | Recommended Value |
|---|---|
| Soft FILE size | -1 (Unlimited) |
| Soft CPU time | -1 (Unlimited)
Note: This is the default value. |
| Soft DATA segment | -1 (Unlimited) |
| Soft STACK size | -1 (Unlimited) |
To view the current value specified for these shell limits, and to change them if necessary, follow these steps:
Enter the following command:
# smit chuser
In the User NAME field, enter the user name of the Oracle software owner, for example oracle.
Scroll down the list and verify that the value shown for the soft limits listed in the previous table is -1.
If necessary, edit the existing value.
When you have finished making changes, press F10 to exit.
Verify that the maximum number of processes allowed per user is set to 2048 or greater. The procedure following the table describes how to verify and set the value.
|
Note: For production systems, this value should be at least 128 plus the sum of the PROCESSES and PARALLEL_MAX_SERVERS initialization parameters for each database running on the system. |
Enter the following command:
# smit chgsys
Verify that the value shown for Maximum number of PROCESSES allowed per user is greater than or equal to 2048.
If necessary, edit the existing value.
When you have finished making changes, press F10 to exit.