Oracle8i Installation Guide Release 3 (8.1.7) for Sun SPARC Solaris Part Number A85471-01 |
|
After you have verified that your system meets the requirements described in Chapter 1, "System Requirements", use this chapter to help you prepare your system for installing Oracle8i.
Table 2-1 summarizes the requirements for installing Oracle8i on your Solaris system. If your system fails to satisfy any listed requirement, perform the tasks listed as necessary to configure your system to meet these requirements.
System Factor | Requirement for Oracle8i |
---|---|
Shared Memory |
This setting does not affect how much shared memory is needed or used by Oracle8i or the operating system. It is used only to indicate the maximum allowable size. This setting also does not impact operating system kernel resources. SHMSEG 10 |
Semaphores |
SEMMSL Set to 10 plus the largest PROCESSES parameter of any Oracle database on the system.
The PROCESSES parameter can be found in each SEMMNS Set to the sum of the PROCESSES parameter for each Oracle database, adding the largest one twice, then add an additional 10 for each database. See "Configure the UNIX Kernel for Oracle8i" for an example of this formula.
|
Note: If any of the kernel parameters above are less than your current values, continue to use the current value. These are the requirements for Oracle8i only. If you have other programs which use shared memory and semaphores, you will need to adjust the values accordingly. Take into account that a system reboot is necessary for kernel changes to take effect when planning for current and future database requirements. |
|
Mount Points (Storage Devices)
|
Oracle Universal Installer requires only two mount points: one for the software, and one for the database files. An Optimal Flexible Architecture (OFA)-compliant database requires at least four mount points, all at the same level of the directory structure. One is for the software, three are for database files. See the Oracle8i Administrator's Reference for information on implementing OFA on UNIX. |
UNIX Groups for Oracle Roles |
A UNIX group is required for the OSDBA role. This book assumes that the group is named |
Special UNIX Group to own the Oracle Universal Installer |
All users installing Oracle products in any ORACLE_HOME should have |
|
A UNIX account that is dedicated solely to installing and upgrading Oracle products. The account should have the |
Permissions for File Creation |
Set |
ORACLE_BASE |
Recommended as part of an OFA-compliant installation. See "ORACLE_BASE" for further information. |
The following pre-installation setup tasks configure your system, and set up accounts, groups, variables and permissions needed to run Oracle8i. If they are not performed prior to installation, you will be given the option during installation to become root
and run orainstRoot.sh
, a script program that will perform many of these setup task for you. However, running orainstRoot.sh
may not provide a satisfactory environment for your system and needs. Oracle Corporation recommends that these steps be performed manually.
Log in as the root
user and perform the following tasks to set up your environment for Oracle8i:
Configure the UNIX kernel Interprocess Communication (IPC) parameters to accommodate the System Global Area (SGA) structure of Oracle8i. You will not be able to start up the database if the system does not have adequate shared memory to accommodate the SGA.
ipcs
command to obtain a list of the system's current shared memory segments, semaphore segments, their identification number and owner.
Because the shared memory in Solaris is dynamically loaded, when you run ipcs
you may receive a message that the shared memory facility is not in the system. The shared memory driver is loaded after the Oracle8i instance is started. You can check the /etc/system
file to verify that the system has been configured with enough shared memory.
semop
call (SEMOPM)
The total allowable shared memory is determined by the formula:
SHMMAX * SHMSEG
Table 2-1 shows the required settings, which should be acceptable for most installations.
Set to the sum of the PROCESSES parameter for each Oracle database, adding the largest one twice, then add an additional 10 for each database. For example, consider a system that has three Oracle instances with the PROCESSES parameter in their initsid.ora files set to the following values:
ORACLE_SID=A, PROCESSES=100 ORACLE_SID=B, PROCESSES=100 ORACLE_SID=C, PROCESSES=200
The value of SEMMNS is calculated as follows:
SEMMNS = [(A=100) + (B=100)] + [(C=200) * 2] + [(# of instances=3) * 10] = 630
Setting parameters too high for the operating system can prevent the machine from booting up. Refer to Sun SPARC Solaris system administration documentation for parameter limits.
The following lines are examples of additions to the /etc/system
file to configure the UNIX kernel with the minimum recommended values:
set shmsys:shminfo_shmmax=4294967295 set shmsys:shminfo_shmmin=1 set shmsys:shminfo_shmmni=100 set shmsys:shminfo_shmseg=10 set semsys:seminfo_semmni=100 set semsys:seminfo_semmsl=100 set semsys:seminfo_semmns=200 set semsys:seminfo_semopm=100 set semsys:seminfo_semvmx=32767
Oracle8i requires at least two mount points:
It requires at least four mount points when creating an Optimal Flexible Architecture (OFA)-compliant installation:
All software and database mount point names used for Oracle8i should match the pattern /pm
, where p
is a string constant and m
is a fixed-length key to distinguish between mount points. Table 2-2, "Sample Mount Point Naming Scheme", shows a sample naming scheme.
Software Mount Point | Database Mount Points |
---|---|
|
|
|
|
|
|
See Also:
Optimal Flexible Architecture is described in detail in Appendix A, "Optimal Flexible Architecture" of the Oracle8i Administrator's Reference for Sun SPARC Solaris. |
During installation, two Oracle roles are created:
Database administrators are granted these roles by virtue of their membership in corresponding UNIX groups. Oracle8i documentation refers to these UNIX groups as the osdba
and osoper
groups. Create the group(s) for these roles before you log in as the oracle
user and start the Oracle Universal Installer. You may assign the roles to two separate UNIX groups, or to a single group.
Use the admintool
or groupadd
utility to create a group named dba
or another name of your choosing. If you plan to assign the SYSOPER role to a separate group, create that group also.
The Oracle Universal Installer gives both Oracle SYSDBA and SYSOPER privileges to members of the UNIX group dba
by default. If you perform a Custom installation of Oracle8i, or if the oracle
user is not a member of a group called dba
, Oracle Universal Installer will prompt you to enter the group(s) you have created for these roles.
Use the admintool
or groupadd
utility to create a group named oinstall
. The oinstall
group will own the Oracle Universal Installer's oraInventory
directory. The oracle
user account that runs the installation should have the oinstall
group as its primary group.
The oracle
account is the UNIX user account that owns the Oracle8i software after installation. Run Oracle Universal Installer with this user account.
Use the admintool
or useradd
utility to create an oracle
account with the following properties:
Sites with multiple ORACLE_HOME
s on one system may install Oracle Software with the same oracle
account, or separate ones. Each oracle
account must have oinstall
as its primary group.
The Apache
account is a UNIX 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 to root
), Oracle Corporation recommends for security reasons that a separate account owner be set up for Apache, and that the Apache server be configured to assign ownership of listener and module actions to that account. This is done by using the Apache configuration parameter user, which resets account ownership once the server is started.
The Apache account owner should have minimal user privileges, and should not be a member of any groups whose files are not intended to be visible to the outside world. The nobody
account that many UNIX versions have may serve as a model for the Apache account.
Use the admintool
or useradd
utility to create an Apache account with the following properties:
Property | Description |
---|---|
Login Name |
Any name, but this document refers to it as the Apache account. |
Primary GID |
The primary group must be the same group that owns oraInventory. The location of oraInventory is defined in /var/opt/oracle/oraInst.loc. The default group name that has ownership of oraInventory is the |
Secondary GID |
The secondary group should be one in which only the Apache account is a member. |
Home Directory |
Choose a home directory consistent with other user home directories. |
Oracle Corporation recommends caution in adding servlet classes, modifying or upgrading to Apache modules not certified with this version of Oracle8i, or upgrading the Apache server to later versions than the one certified with this version of Oracle8i. Oracle-provided patches for and configurations of Apache will be supported, but it is possible for users to change Apache in ways that are difficult or impossible for Oracle to support.
Log in to the oracle
account and perform the following tasks as necessary:
Set umask
to 022
for the oracle
account to ensure group
and other
have read and execute permissions, but not write permission, on files installed.
umask
command to check the current setting.
umask
command does not return 022
, set it in the.profile
or.login
file of the oracle
account and execute the following command:
$ umask 022
Before starting the Oracle Universal Installer, set the DISPLAY and PATH environment variables and any of the other variables as appropriate. Table 2-5, "Environment Variable Summary", provides a brief summary of the variables listed in this section. Refer to each variable's entry in this section for instructions on setting the variable correctly.
On the system where you will run Oracle Universal Installer, set DISPLAY to the system name or IP address, X-server, and screen used by your workstation. Do not use the hostname or IP address of the system where the software is being installed unless you are performing the installation from that system's X-windows console. Use the machine name or IP of your own workstation if you are installing from a remote system. If you are not sure what the X-server and screen should be set to, use 0 (zero) for both.
If you get an Xlib error similar to "Failed to connect to server", "Connection refused by server" or "Can't open display" when starting the Installer, run the following Bourne/Korn shell or C shell commands on your X workstation:
On the server where the Oracle database will be installed, enter the following:
$ DISPLAY=workstation_name:0.0 $ export DISPLAY
In the session on your workstation:
$ xhost +server_name
On the server where the Oracle database will be installed, enter the following:
% setenv DISPLAY workstation_name:0.0
In the session on your workstation:
% xhost +server_name
If you are using a PC X server, refer to your PC X server documentation for instructions on how to configure the PC X server to allow remote X clients to connect.
Check that the DISPLAY variable is correctly set as detailed above.
Set the shell's search path to include the following:
$ORACLE_HOME/bin
, /usr/bin
, /etc
, /usr/ccs/bin
, /usr/openwin/bin
bin
directory, /usr/local/bin
, if it exists
ORACLE_BASE specifies the directory at the top of the Oracle software and administrative file structure. The value recommended for an OFAconfiguration is software_mount_point
/app/oracle
. For example: /u01/app/oracle
. If you are not using an OFA-compliant system, you do not have to set
ORACLE_BASE, but it is highly recommended that you do set it.
ORACLE_HOME specifies the directory containing the Oracle software for a given release. The Optimal Flexible Architecture recommended value is: $ORACLE_BASE/product/
release
.
For example: /u01/app/oracle/product/8.1.7.
Ensure that the value of ORACLE_HOME points to a directory that does not already contain any Oracle software prior to Oracle8i Release 1 (8.1.5) or Release 2 (8.1.6).
Set NLS_LANG if you will create a database that uses a character set other than US7ASCII (the default). If you will install Oracle Internet Directory, set NLS_LANG to UTF8.
Oracle supports client/server environments where clients and servers use different character sets. The character set used by a client is defined by the value of the NLS_LANG parameter for the client session. The character set used by a server is its database character set. Data conversion is done automatically between these character sets if they are different.
This environment variable specifies the directory under which Oracle's *.nlb files are placed. The *.nlb
files define languages, territories, character sets, and linguistic sorting orders. Setting this environment variable is necessary only if one ORACLE_HOME has multiple versions of directories under which *.nlb
files will be placed.
When ORA_NLS33
is not set, the default value $ORACLE_HOME/ocommon/nls/admin/data
will be used.
If you plan on creating a database during installation, you have the option of setting ORACLE_SID to the value of the Oracle server instance identifier (referred to in this installation guide as the sid
). If you choose to create a database during installation, the Installer will prompt you to confirm this value.
ORACLE_DOC specifies the directory where online documentation will be installed. See "Accessing Installed Documentation" to determine where documentation is installed if you do not set ORACLE_DOC.
With a text editor, add the settings for the environment variables listed in "Set Environment Variables" to the.profile
or.login
file of the oracle
account. Once you have finished editing these initialization files, you can quickly update the environment in the current shell session before beginning installation by using the appropriate shell command.
For the Bourne or Korn shell:
$ ../.profile
For the C shell:
% source .login
Before beginning your installation, complete the following tasks for products that you will install:
These steps should be completed in conjunction with steps listed in the Oracle8i Parallel Server Setup and Configuration Guide.
All files associated with an Oracle Parallel Server database must reside on raw volumes so they can be accessed by all nodes in the cluster. Control and data files are shared by all instances. Each instance has its own log files, but all instances must have access to all log files during recovery.
Note: The following steps only apply if you are performing a Typical installation of Oracle8i. These steps are not required for the Custom installation type. See "Oracle Universal Installer" for more information. |
/etc/group
file on all nodes of the cluster that will serve as the OSDBA group. The OSDBA group name and number (and OSOPER group if you plan to designate one during installation) must be identical for all nodes of a UNIX cluster accessing a single database. The default UNIX group name for the OSDBA and OSOPER groups is dba
A separate group should be created to own the Oracle Universal Installer oraInventory
file. This group is referred to as the oinstall
group in Oracle documentation. It may be given another name of your choosing.
oracle
account has read, write, and execute privileges.
Recommended naming conventions for Oracle mount points are discussed in "Create Mount Points".
See Also:
opspatch
directory on your CD-ROM. This patch provides the Cluster Membership Monitor (CMM) and is required before you attempt to install Oracle Parallel Server.
For the first node, run the following commands:
# cd /opt/SUNWcluster/bin # scadmin startcluster cluster_name
Then run these commands on each of the other nodes in the cluster:
# cd /opt/SUNWcluster/bin # scadmin startnode cluster_name
For information about cluster management software and the scadmin
command, see your Solaris Enterprise 2.1 documentation.
.rhosts
file of the oracle
account or the /etc/hosts.equiv
file.
root
account when you are done.
$ ps -ef | grep clustd
If the CMM program clustd
does not appear in the process listing, perform step 5 in "Steps to Perform as the root User".
oracle
account by performing a remote login (rlogin
) to each node in the cluster. If you are prompted for a password, the oracle
account has not been given the same attributes on all nodes. The Installer cannot use the rcp
command to copy Oracle products to the remote directories without user equivalence.
If you have not set up user equivalence, you must perform Step 6 in "Steps to Perform as the root User" above.
Complete the tasks for the following tools and precompilers before installing them.
$COBDIR/lib
is included in the setting for LD_LIBRARY_PATH.
Verify that the C compiler executable is included in the PATH setting. The SPARCworks C compiler executable is usually located in /opt/SUNWspro/bin
. Verify that the C compiler is in the PATH setting with the following command:
which cc
Verify that the FORTRAN compiler executable is included in the PATH setting with the following command:
which /opt/SUNWspro4.2/SUNWspro/bin/f77
Verify that the Ada executable is included in the PATH setting, and that the Sun Ada 2.1 compiler configuration file has been set up, with the following command:
which ada
See Appendix , "Pre-Installation Steps for Legato Storage Manager (LSM)" for information on the pre-installation steps for Legato Storage Manager.
Lightweight Directory Access Protocol (LDAP) Version 3 is the Internet open standard for directory access protocol. Some products included with Oracle8i Release 3 (8.1.7) can be configured to use the LDAP V3 directory service provided by Oracle Internet Directory. This directory service is included for use by the Oracle8i database to centralize the storage of database user, Net8 network connector, and database listener parameters.
If you plan to configure Oracle products to use LDAP directory services, Oracle Internet Directory should be available prior to installing and configuring those products. Install Oracle Internet Directory (OID) if it is not already installed on your system. For optimal directory performance, Oracle Corporation recommends installing Oracle Internet Directory on a system separate from other Oracle software.
These steps should be completed in addition to those steps listed in the Oracle Internet Directory Administrator's Guide.
internal
without a password; for example:
$ sqlplus internal
If you cannot connect as internal
without a password, refer to the Oracle8i Administrator's Guide for instructions on configuring the internal
account to not require a password.
$ lsnrctl status [listener_name]
The listener_name
field is required if the listener has a name other than the default, listener
.
If Oracle8i Release 3 (8.1.7) is not already installed on your system, then Oracle Universal Installer will install it with Oracle Internet Directory.
If Net8 Server is already installed on your system, shut down all listeners before installing Net8. To determine if any listeners are running, enter:
$ lsnrctl status [listener_name]
The listener_name
field is required if the listener has a name other than the default, listener
.
Shut down a running listener with the following command:
$ lsnrctl stop listener_name
See "Understanding Net8 Configuration" to determine how to install and configure Net8 on your system.
Before installing any protocol, verify that the underlying network is functioning and configured properly.
The TCP/IP protocol is installed automatically with all Oracle8i Server installations.
Verify that the network is functioning properly by transferring a test file using the ftp
utility.
$ ftp remote_server_name ftp> put test_filename ftp> get test_filename
If you plan to upgrade or migrate an existing Oracle Enterprise Manager repository to the current version, backup or export the repository so that it can be recovered in the event of a unexpected error.
If you are upgrading an existing system, review and determine the following information prior to installing Oracle Enterprise Manager.
Oracle Enterprise Manager Repository is a set of tables in an Oracle database that store information regarding services managed and monitored by Oracle Enterprise Manager, as well as information about management packs. It is used as a back-end store by Oracle Management Servers, providing distributed control between clients and managed nodes.
Oracle Management Server is the middle tier of Oracle Enterprise Manager. It is responsible for:
Before you install Oracle Management Server, you need to determine if you will use an existing Enterprise Manager repository or create a new Enterprise Manager repository.
If you choose to use an existing Oracle Enterprise Manager Release 2.2 Repository, then no further pre-installation steps are required.
If you choose to use an existing Oracle Enterprise Manager Repository previous to 2.2, review the following information:
Upgrade the older Repository to the current release by running Enterprise Manager Configuration Assistant Release 2.2. Refer to the Oracle Enterprise Manager Configuration Guide Release 2.2 for more information about how to perform a Repository upgrade.
A new 2.2 Enterprise Manager Repository will be installed on systems running Enterprise Manager Release 1.x. No pre-installation steps are required. Post-installation configuration steps are required in order to migrate contents of the Release 1.x Repository to the Release 2.2 Repository. These steps exceed the scope of this guide. For more information on post-installation configuration steps required to migrate your repository, see the Oracle Enterprise Manager Configuration Guide.
If you decide to create a new Release 2.2 Repository, you must first install and start the database, where your new Repository will be created. The Enterprise Manager Configuration Assistant is automatically launched during the configuration phase of Enterprise Edition Custom Install, Management Infrastructure Management Server Install, and Management Infrastructure Custom Install. For Enterprise Edition Typical Install, you must manually launch the Enterprise Manager Configuration Assistant.
For information on installing and configuring a new Repository, see the Oracle Enterprise Manager Configuration Guide.
You will be asked to make various choices about product configuration during the installation process. The following sections outline the choices you will be asked to make, and how they affect the configuration of Oracle8i. Review these product configuration outlines prior to installation to ensure that you make choices that best match your system and your requirements.
Net8 Configuration Assistant is a graphical user interface (GUI) tool that enables you to configure your Oracle client/server network environment. Net8 Configuration Assistant is automatically started from within Oracle Universal Installer for all installation types. It can be manually started as a stand-alone tool.
Note: This chapter describes running Net8 Configuration Assistant from within Oracle Universal Installer. See the Net8 Administrator's Guide or "Net8 Configuration Assistant" for information on running Net8 Configuration Assistant in stand-alone mode. |
Depending on the installation type selected, Net8 Configuration Assistant configures your network in one of two ways:
Configuration consists of creating and modifying network files located in the $ORACLE_HOME/network/admin
directory.
The type of network configuration created with the server installation types and the amount of user input required are described below. Review the options below and identify the network configuration that best matches your requirements and network configuration expertise.
The type of network configurations created with the client installation types and the amount of user input required are described below. Review the selections below prior to starting Oracle Universal Installer. Identify the network configuration that best matches your network requirements and configuration expertise.
Oracle Universal Installer enables you to configure your Oracle8i database to maximize its performance under the workload it will be given. To identify which type of database environment is appropriate for your needs, see Table 2-6, "Oracle8i Database Environment Descriptions":
Your database environment selection affects the values for the following database settings:
Oracle Database Configuration Assistant is a graphical user interface (GUI) tool that enables you to create an Oracle8i database for an OLTP, Warehousing, or Multipurpose environment. Oracle Database Configuration Assistant will be automatically started from within Oracle Universal Installer when you choose to create an Oracle8i database during installation. It can also be manually run as a stand-alone tool.
Note: This chapter describes running Oracle Database Configuration Assistant from within Oracle Universal Installer. See "Oracle Database Configuration Assistant" for information on running Oracle Database Configuration Assistant in stand-alone mode. |
Each installation type of Oracle8i Enterprise Edition enables you to create an Oracle8i database. The types of databases (OLTP, Warehousing, and Multipurpose) created with the Typical, Minimal, and Custom installation types and the amount of user input required are described below. Review these selections and identify the database that best matches your database requirements and your database creation expertise.
If You Perform These Steps... | Then... |
---|---|
Oracle Database Configuration Assistant automatically starts at the end of Oracle8i installation and creates a pre-configured, ready-to-use multipurpose starter database with:
No user input is required other than the global database name and SID you are prompted to enter. Database character sets may be reset here. For more information on database character sets, see Oracle8i National Language Support Guide |
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|