| Oracle9i Quick Installation Procedure Release 1 (9.0.1) for HP 9000 Series HP-UX Part Number A90351-02 |
|
Oracle is a registered trademark, and Oracle9i, Oracle Names, PL/SQL, Pro*C/C++, Pro*COBOL, and SQL*Plus are trademarks or registered trademarks of Oracle Corporation. Other names may be trademarks of their respective owners.
Copyright © 2001, Oracle Corporation.
All Rights Reserved.
Quick Installation Procedure Release 1 (9.0.1) for HP 9000 Series HP-UX
August 2001
Part No. A90351-02
The following procedure describes basic requirements your system needs to meet, and the minimum tasks you need to perform to install an Oracle9i database. It is not intended to replace Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems. If you are an experienced DBA, use this procedure in concert with the release notes for your platform as a guide to complete a quick installation of an Oracle9i Database.
If you want to install Oracle9i Management and Integration or Oracle9i Client, or if you need to complete more complex installation configurations, including those with Legato Storage Manager and Oracle Real Application Clusters, then you must follow the complete installation procedure described in the Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems.
If you have not installed Oracle products before, use this document to become familiar with the installation procedure.
The requirements in this procedure are current as of the release date for Oracle9i. For the most current information, refer to the release notes for your platform, which are located at the following site:
http://docs.oracle.com
If you need any assistance with navigating the Oracle documentation site, refer to:
http://docs.oracle.com/instructions.html
The following requirements must be met in order to perform a typical Oracle9i software installation and to create a simple prototype database.
$ /usr/sbin/dmesg | grep "Physical:"
$ /usr/sbin/swapinfo -a(requiresrootprivileges)
/tmp
directory. If 400 MB or more is not available in /tmp, create
a /tmp directory in another file system and then set the environment
variables TEMP (used by Oracle) and TMPDIR (used by operating system programs
like the linker "ld" and library archiver "ar") to point to this location.
For example:
Bourne (sh) / Korn (ksh) Shell
$ mkdir /u03/tmp $ TEMP=/u03/tmp ; export TEMP $ TMPDIR=/u03/tmp ; export TMPDIR
C (sh) Shell
% mkdir /u03/tmp % setenv TEMP/u03/tmp % setenv TMPDIR/u03/tmp
./oracle: Exec format error. Wrong Architecture.
To determine if you have a 64-bit configuration on an HP-UX 11.0 installation, enter the following command:
$/bin/getconf KERNEL_BITS
To determine your current operating system information, enter the following command:
$ uname -a
Optional Patch: For DSS applications running on machines with more than 16CPUs, we recommend installation of the HP-UX patch PHKL_22266. This patch addresses performance issues with the HP-UX Operating System.
HP provides patch bundles at:
HP provides individual patches at:To determine which operating system patches are installed, enter the following command:To determine if a specific operating system patch has been installed, enter the following command:To determine which operating system bundles are installed, enter the following command:
Due to a known HP bug (Doc.id. KBRC00003627), the default
HP-UX 64 operating system installation does not create a few required
X-library symbolic links. These links must be created manually before
starting Oracle9i installation. To create these
links, you must have superuser privileges, as the links are to be created
in the /usr/lib directory. After enabling superuser privileges,
run the following commands to create the required links:
$ cd /usr/lib $ ln -s /usr/lib/libX11.3 libX11.sl $ ln -s /usr/lib/libXIE.2 libXIE.sl $ ln -s /usr/lib/libXext.3 libXext.sl $ ln -s /usr/lib/libXhp11.3 libXhp11.sl $ ln -s /usr/lib/libXi.3 libXi.sl $ ln -s /usr/lib/libXm.4 libXm.sl $ ln -s /usr/lib/libXp.2 libXp.sl $ ln -s /usr/lib/libXt.3 libXt.sl $ ln -s /usr/lib/libXtst.2 libXtst.sl
| See
Also:
For more information on non-interactive installation, refer to Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Non-Interactive Installation and Configuration" in Chapter 3. If you are an Oracle Support customer, register for Metalink to obtain information about response files and additional templates and examples. Metalink is at the following site: |
Complete the following pre-installation tasks in order to ensure that Oracle9i is properly installed and that you can use the database after installation.
Oracle9i includes native support for files greater than 2 GB. However, your operating system shell may impose a file size limit.
To determine if your shell will impose a file size limit, use the following command:
Bourne (sh) / Korn (ksh) Shell
$ ulimit -f
Multiply the file (blocks) value by 512 to obtain the maximum file size in bytes imposed by the shell. For example, if file (blocks) is set to 2097148, the maximum size of the file that you can fully access will be 1 GB.
C (csh) Shell
% ulimit filesize
This will return the file size limit in kilobytes.
If you need assistance changing the value for the shell file size limit, contact your operating system vendor or your system administrator.
Oracle9i uses UNIX resources such as shared memory, swap memory and semaphores extensively for interprocess communication. If your kernel parameter settings are insufficient for Oracle9i, you will experience problems during installation and instance startup. The greater the amount of data you can store in memory, the faster your database will operate. In addition, by maintaining data in memory, the UNIX kernel reduces disk I/O activity.
Use the System Administrator's Menu (SAM) to configure the HP kernel with the minimum requirements. Refer to the following table to determine if your system shared memory and semaphore kernel parameters are set high enough for Oracle9i.
Use the ipcs command to obtain a list of the system's
current shared memory and semaphore segments, and their identification number
and owner.
The parameters in the following table are the minimum values required to run Oracle9i with a single database instance.
root
user.
dba.
oper.
oinstall.
Grant the OSDBA group RTSCHED, RTPRIO and MLOCK privileges.
A new HP scheduling policy called SCHED_NOAGE enhances Oracle9i's performance by scheduling Oracle processes so that they do not increase or decrease in priority, or become preempted.
The RTSCHED and RTPRIO privileges grant Oracle the ability to change its process scheduling policy to SCHED_NOAGE and also tell Oracle what priority level it should use when setting the policy. The MLOCK privilege grants Oracle the ability to execute asynch I/Os through the HP asynch driver. Without this privilege, Oracle9i generates trace files with the following error message: "Ioctl ASYNCH_CONFIG error, errno = 1".
As root, do the following:
/etc/privgroup file. Add the following
line to the file:
dba MLOCK RTSCHED RTPRIO
#setpriv groupname privileges
In the preceding command, groupname
is the name of the group that receives the privileges, and privileges
are the privileges that are granted to the group.
For example, to set the privileges for the OSDBA group,
which is typically named dba, enter the following command:
#setprivgrp dba MLOCK RTSCHED RTPRIO
| See
Also:
For more information about system privileges, the OSDBA and OSOPER privileges, and how they may be used for Oracle9i administration, refer to Oracle9i Database Administrator's Guide. For more information about system privileges
and roles, refer to the For more information about the ORAINVENTORY group,
the
|
oracle
and APACHE accounts using the System Administrator's Menu (SAM).
oracle
account should have the following characteristics:
The primary group is the ORAINVENTORY group.
The secondary group is a group in which only APACHE is a member.
The account has minimum privileges.
| See
Also:
For more information on security and ownership of Apache processes, refer to Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Create a UNIX Account to Own the Apache Server" in Chapter 2. Oracle Corporation has updates on maintaining security with Oracle products and Apache at the following site: http://www.oracle.com/support For more information on Apache configuration and examples, refer to Apache version 1.3 User's Guide.
|
For more information on issues to consider in
creating mount points, refer to Oracle9i
Installation Guide Release 1 (9.0.1) for UNIX Systems,
"Create Mount Points"
in Chapter 2.
Note:
bin directory, such as /usr/local/bin
or /opt/bin. Set and verify that this directory is included
in each user's PATH statement, and that users have execute permissions
on the directory.
Use the database server's name, or the IP address, X server, and screen only if you are performing the installation from your database server's X Window console. If you are not sure what the X server and screen should be set to, use 0 (zero) for both.
/var/tmp
For more information about required and optional
environmental variables, PATH settings and OFA settings, refer
to Oracle9i Installation Guide Release
1 (9.0.1) for UNIX Systems, "Set
Environment Variables" in Chapter 2.
Additional pre-installation tasks must be completed
for Oracle tools, precompilers, networking and other products.
For information about required setup tasks for additional
Oracle components, refer to Oracle9i Installation
Guide Release 1 (9.0.1) for UNIX Systems, "Precompilers
and Tools" in Chapter 2.
See
Also:
.profile file for the Bourne or Korn shells, or .login
file for the C shell.
# Oracle Environment ORACLE_HOME=/opt/oracle/product/9.0.1; export ORACLE_HOME ORACLE_SID=dia2; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM TNS_ADMIN=/export/home/oracle/config/9.0.1; export TNS_ADMIN NLS_LANG=AMERICAN_AMERICA.UTF8; export NLS_LANG ORA_NLS33;$oracle_home/ocommon/nls/admin/data; export ORA_NLS33 LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$ORACLE_HOME \
/rdbms/lib SHLIB_PATH=ORACLE_HOME/lib32:$ORACLE_HOME /rdbms/lib32 export LD_LIBRARY_PATH export SHLIB_PATH #Set shell search paths:PATH=/bin:/usr/bin:/usr/sbin:/etc:/opt/bin:/usr/ccs/bin:/usr/local \
/bin:$ORACLE_HOME/bin export PATH #CLASSPATH must include the following JRE locations: CLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib CLASSPATH=$CLASSPATH:$ORACLE_HOME/network/jlib
/var/opt/oracle
directory and make it owned by the oracle account. After
installation, this directory will contain a few small text files that
briefly describe the Oracle software installations and databases on
the server. These commands will create the directory and give it appropriate
permissions:
$ mkdir /var/opt/oracle
$ chown oracle:dba /var/opt/oracle
$ chmod 755 /var/opt/oracle
Complete these tasks to perform a standard Oracle9i Database installation on your server and create a seed database. Oracle Corporation strongly recommends that you install a seed database to use as a prototype for configuring databases that conform to your needs.
There are multiple CD-ROMs included with Oracle9i.
Mount Disk 1 to begin installation. Mount subsequent disks when prompted
to do so. Place the Oracle9i CD-ROM Disk 1 in the
CD-ROM drive. You must have root privileges to mount or unmount
the CD-ROM manually. Be sure to unmount the CD-ROM before removing it from
the drive by using the umount command.
If volume management is available the CD-ROM will mount automatically
to the /cdrom/orcl901_1 directory when you insert it into the
CD-ROM drive. To check if volume management is available use the following
command:
% ps -e | grep vold
This should return a line similar to:
404 ? 16:03 vold
If no lines are returned, then volume management is not running and CD-ROM will need to be mounted manually.
Follow these steps to mount the Oracle9i CD-ROM manually:
root
user and create a CD-ROM mount point if one does not already exist:
% su root
# mkdir cdrom_mount_point_directory
root account by
using the following commands.
# mount options device_name cdrom_mount_point_directory
# exit
If you are unsure of the correct device_name, consult with your system administrator.
oracle
account.
oracle9i directory.
If you do, installation will fail. The following is an example of the
correct command syntax:
/cdrom/oracle9i/runInstaller
In order to ensure that you do not have problems with your installation, Oracle Corporation strongly recommends that you review Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Installation" in Chapter 3.
orainstRoot.sh
script. Oracle Corporation does not recommend this procedure, but running
this script will allow you to complete the installation.
Specify the group that has permission to update Oracle
software on your system, which should be ORAINVENTORY. If you have previously
installed Oracle9i products on your system,
the installer obtains the UNIX group name information from its records,
which are stored in the /var/opt/oracle/oraInst.loc file.
Select Oracle9i Database and click Next.
dba, then you
are prompted to confirm the OSDBA group name. Confirm that the name is
correct, and click Next.
Enter the Global Database Name and SID (system identifier) name in the provided fields for the seed database that will be created. Give your database a global name that is the same as the SID, with your domain name appended.
For example, if your domain is acme.com,
and your database is to be used for sales, a suitable Global Database
Name is sales.acme.com, with the SID name sales.
Enter the name of one of the mount points you chose for holding a database. The seed database will be installed in one directory under this mount point. Use the Browse... button to navigate to the mount point if necessary.
You will be prompted to insert the subsequent CD-ROMs.
root.sh
script.
The installer creates the root.sh script
during installation in the $ORACLE_HOME directory, and
prompts you to run the script after products are installed in order
to set necessary file permissions for Oracle products, and to perform
other root-related configuration activities. At this point,
if you choose, you may review the script before running it.
Open another window, log in to the database server as
root user, and enter the following commands:
# cd $ORACLE_HOME # ./root.sh
When prompted, specify the local bin directory.
This is the directory you created in pre-installation step 5. If you
neglected to do this step, the root.sh script creates one
for you.
root.sh
script. These configuration assistants help to create and configure your
database and network environments. The Configuration
Tools window displays the results of running these assistants. No
information needs to be provided for these installation steps.
For more information on database environment types,
refer to Oracle9i Installation Guide Release
1 (9.0.1) for UNIX Systems, "Oracle9i
Database Configurations" in Chapter 1.
See
Also:
Post-installation tasks vary according to product installation types and according to individual preferences for database configuration.
| See
Also:
For more information about post-installation tasks, commands to unlock system administration roles, and additional product installation or configuration tasks, refer to Oracle9i Installation Guide Release 1 (9.0.1) for UNIX Systems, "Post-Installation" in Chapter 4. |
The Oracle9i seed database is running after installation is complete. If you have not used Oracle products before, use the seed database to familiarize yourself with the products. Oracle Corporation recommends that you begin by looking at the following documentation:
These books outline the fundamentals of database use and administration. The documentation can be found online at the following site:
http://docs.oracle.com
To shut down the database enter the following commands:
$ sqlplus "/ as sysdba" SQL> shutdown immediate SQL> exit
|
|
![]() Copyright © 2001 Oracle Corporation. All Rights Reserved. |
|