Oracle8i Installation Guide Release 2 (8.1.6) for Sun SPARC Solaris A77181-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. SEMVMX 32767 |
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 must have |
|
A UNIX account that is dedicated solely to installing and upgrading Oracle products. The account must have the |
Permissions for File Creation |
Set |
ORACLE_BASE |
Recommended as part of an OFA-compliant installation. See "ORACLE_BASE" for further information. |
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 Shared 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 and semaphore segments, and 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 init
sid
.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 Microsystems 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: one for the software and at least one for the database files. It requires at least four mount points when creating an OFA-compliant installation: one for the software and at least three for database files.
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: SYSDBA and SYSOPER. 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 must 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_HOMEs 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.
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 22
, 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-4, "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" or "Connection refused by server" or "Can't open display" when starting the Installer, run the Bourne/Korn shell or C shell commands below 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 OFA-recommended value 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.6.
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).
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 AMERICAN_AMERICA.UTF8. A complete list of valid character sets is available in the Oracle8i National Language Support Guide.
Set ORA_NLS33 if you will create a database with a storage character set other than US7ASCII. Set ORA_NLS33 to $ORACLE_HOME/ocommon/nls/admin/data
before starting the Installer or creating the database. For more information, see the Oracle8i National Language Support Guide.
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. See "ORACLE_SID" for more information.
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.
Complete the following steps before installing the Parallel Server:
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 two steps only apply if you are performing a Typical installation of Oracle8i. These steps are not required for the Custom Installation type. See "Using 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
.
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, repeat step 5.
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.
$COBLIB
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
.
Pre-Installation Steps for Pro*FORTRAN Precompiler
Verify that the FORTRAN compiler executable is included in the PATH setting.
Pre-Installation Steps for the SQL*Module Ada
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.
Pre-Installation Steps for Legato Storage Manager (LSM)
The LSM installation script modifies the following system files during installation:
Make copies of the original versions of these files before you install Legato Storage Manager.
If you want to install LSM from the Oracle8i distribution, but it is already on your system, you must first remove the installed version.
root
user and shut down the LSM daemons:
# nsr_shutdown
pkgrm
command to remove individual Legato Storage Manager packages, or all of the Legato Storage Manager packages at the same time.
# pkgrm package_name
where package_name
is one of the following:
ORCLman |
NetWorker Man Pages |
ORCLserv |
NetWorker Server |
ORCLnode |
NetWorker Storage Node |
ORCLclnt |
NetWorker Client |
ORCLdrvr |
NetWorker Device Drivers |
Lightweight Directory Access Protocol (LDAP) Version 3 is the Internet open standard for directory access protocol. Some products included with Oracle8i Release 2 (8.1.6) 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 if it is not already available to your system. For optimal directory performance, Oracle corporation recommends installing Oracle Internet Directory on a system separate from other Oracle software. See "Pre-Installation Steps for Oracle Internet Directory" and Chapter 3, "Installation". For information on LDAP and Oracle Internet Directory, refer to the Oracle Internet Directory Administrator's Guide.
These steps should be completed in addition to those steps listed in the Oracle Internet Directory Administrator's Guide.
AMERICAN_AMERICA.UTF8
. See "Set Environment Variables" for information on setting environment variables. See the Oracle8i National Language Support Guide for information about valid settings.
$ 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 2 (8.1.6) 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 be 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 want to create a new Enterprise Manager Repository without installing a new database, you must have access to an Oracle database, release 7.3 or later in which to create the Enterprise Manager repository.
For details on upgrading, migrating, or creating a repository, refer to the Oracle Enterprise Manager Configuration Guide.
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 or 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 of 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 selections 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 and identify the network configuration that best matches your network requirements and configuration expertise:
Oracle Universal Installer enables you to create an Oracle8i database that operates in one of the following environments. To identify the environment appropriate for your Oracle8i database, refer to Table 2-5, "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 installation and creates a pre-configured, ready-to-use multipurpose starter database with:
|
If You Perform These Steps... | Then... |
---|---|
If You Select the Custom database creation method... Oracle Database Configuration Assistant guides you in the creation of a database fully customized to match the environment (OLTP, Warehousing, or Multipurpose) and database configuration mode (dedicated server or multi-threaded server) you select. Options and interMedia components (if installed) and advanced replication (if selected) are also automatically configured. Select this option only if you are experienced with advanced database creation procedures, such as customizing:
If You Select the Typical database creation method... You have two choices. Oracle Database Configuration Assistant's role in database creation depends on your selection:
|
|
Copyright © 1999 Oracle Corporation. All Rights Reserved. |
|