Oracle8i Installation Guide
Release 3 (8.1.7) for Sun SPARC Solaris

Part Number A85471-01

Library

Product

Contents

Index

Go to previous page Go to next page

2
Pre-Installation

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.

UNIX System Configuration

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.

Table 2-1 UNIX System Configuration Summary
System Factor  Requirement for Oracle8i 

UNIX Kernel Parameters:

Shared Memory 

SHMMAX 4294967295

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.

SHMMIN 1

SHMMNI 100

SHMSEG 10 

Semaphores 

SEMMNI 100

SEMMSL Set to 10 plus the largest PROCESSES parameter of any Oracle database on the system.

The PROCESSES parameter can be found in each initsid.ora file, located in the $ORACLE_HOME/dbs directory. The default value of PROCESSES for the preconfigured database created by Oracle Database Configuration Assistant is 50.

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.

SEMOPM 100

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 dba. The OSOPER role may belong to the same group as the OSDBA or to a different group. 

Special UNIX Group to own the Oracle Universal Installer oraInventory 

All users installing Oracle products in any ORACLE_HOME should have oinstall set as their primary UNIX group. The Installer's inventory is shared by all ORACLE_HOMEs on a system and is group writable. Install Oracle products with oinstall set as the current group. 

UNIX Accounts

 

A UNIX account that is dedicated solely to installing and upgrading Oracle products. The account should have the oinstall group as its primary group and the OSDBA group as a secondary group. This book assumes that the installer owner account is called oinstall and the OSDBA account is called oracle

Permissions for File Creation  

Set umask to 022 for the oracle account. 

ORACLE_BASE 

Recommended as part of an OFA-compliant installation. See "ORACLE_BASE" for further information. 

Understanding Setup Tasks

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.

Setup Tasks to Perform as the root User

Log in as the root user and perform the following tasks to set up your environment for Oracle8i:

Configure the UNIX Kernel for Oracle8i

Create Mount Points

Create UNIX Groups for Database Administrators

Create a UNIX Group for the Oracle Universal Installer Inventory

Create a UNIX Account to Own Oracle Software

Create a UNIX Account to Own the Apache Server

osdba


Note:

In addition to these setup tasks, you will need root privileges near the start of the installation if the file /var/opt/oracle/oraInst.loc does not exist. You will also need root privileges near the end of the installation to run the root.sh script. 


Configure the UNIX Kernel 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.

  1. Use the 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.

  2. Set the kernel parameters corresponding to the:

    • maximum size of a shared memory segment (SHMMAX)

    • minimum size of shared memory segment (SHMMIN)

    • maximum number of shared memory identifiers in the system (SHMMNI)

    • maximum number of shared memory segments a user process can
      attach (SHMSEG)

    • maximum number of semaphore identifiers in the system (SEMMNI)

    • maximum number of semaphores in a set (SEMMSL)

    • maximum number of semaphores in the system (SEMMNS)

    • maximum number of operations per semop call (SEMOPM)

    • semaphore maximum value (SEMVMX)

    The total allowable shared memory is determined by the formula:

    SHMMAX * SHMSEG
    

  1. Reboot the system if you have modified the kernel, shared memory, or semaphore parameters.

Create Mount Points

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.

Table 2-2 Sample Mount Point Naming Scheme
Software Mount Point  Database Mount Points 

/u01 

/u02 

 

/u03 

 

/u04 

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

Create UNIX Groups for Database Administrators

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.

Create a UNIX Group for the Oracle Universal Installer Inventory

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.

Create a UNIX Account to Own Oracle Software

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:

Table 2-3 Properties of the oracle Account

Property 

Description 

Login Name 

Any name, but this document refers to it as the oracle account. 

Primary GID  

The oinstall group. 

Secondary GID 

The dba group. 

Home Directory 

Choose a home directory consistent with other user home directories. The home directory of the oracle account does not have to be the same as the ORACLE_HOME directory. 

Login Shell 

The default shell can be /usr/bin/sh, /usr/bin/csh, or /usr/bin/ksh, but the examples in this document assume the Bourne shell (/usr/bin/sh). 


Caution:

Use the oracle account only for installing and maintaining Oracle software. Never use it for purposes unrelated to the Oracle8i Server. Do not use root as the oracle account. 


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.

Create a UNIX Account to Own the Apache Server

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.


Warning:

Configuring the Apache user with dba group or oracle account privileges compromises database security. If additional rights are needed to run certain programs, use the Apache suEXEC feature to obtain additional rights for the Apache account. If a user other than root starts the Apache server, any scripts, servlets or programs that Apache spawns will have the same privileges as that user. 


Use the admintool or useradd utility to create an Apache account with the following properties:

Table 2-4 Properties of the Apache Account
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 oinstall group. For security reasons, this group ownership needs to be changed after installation. See Change Group Membership of the Apache Account

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.

See also:

Apache version 1.3 User's Guide for information and examples on configuring Apache 

Setup Tasks to Perform as the oracle User

Log in to the oracle account and perform the following tasks as necessary:

Set Permissions for File Creation

Set Environment Variables

Update the Environment for Current Session

Set Permissions for File Creation

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.

  1. Enter the umask command to check the current setting.

  2. If the 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
    

Set Environment Variables

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.


Note:

If an Oracle Server already exists on your system, its settings may have a bearing on the settings that you choose for the new environment. 


Table 2-5 Environment Variable Summary
Variable  Description  Required? 

DISPLAY 

The name, server number, and screen number of the system where the Oracle Universal Installer will display. 

Yes 

PATH 

Shell's search path for executables. 

Yes 

ORACLE_BASE 

Directory at the top of the Oracle software and administrative file structure. 

No 

ORACLE_HOME 

Directory containing Oracle software for a given release. 

No 

NLS_LANG 

Language, territory and character set to use when installing. 

No 

ORA_NLS33 

Location of National Language Support character set data. 

No 

ORACLE_SID 

The Oracle server instance identifier to use during installation. 

No 

ORACLE_DOC 

Directory where documentation will be installed. 

No 

DISPLAY

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:


For the Bourne or Korn shells:

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


For the C shell:

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.

PATH

Set the shell's search path to include the following:

ORACLE_BASE

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

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).

NLS_LANG

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.

See Also:

For more information about National Language Support features, refer to Oracle8i Reference. A complete list of valid character sets is available in the Oracle8i National Language Support Guide

ORA_NLS33

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.

See Also:

For more information, see the Oracle8i National Language Support Guide

ORACLE_SID

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

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.

Update the Environment for Current Session

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

Setup Tasks for Oracle Products

Before beginning your installation, complete the following tasks for products that you will install:

Pre-Installation Steps for Oracle Options

Pre-Installation Steps for Oracle Parallel Server

These steps should be completed in conjunction with steps listed in the Oracle8i Parallel Server Setup and Configuration Guide.

  1. Create raw devices.

    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.

    See Also:

    Oracle8i Administrator's Reference for information on creating raw devices. 


    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. 


  2. On the node from which you will run Oracle Universal Installer, create an ASCII file with entries for each database object and the corresponding raw device file name. This file will be used by Oracle Database Configuration Assistant to configure the database for Oracle Parallel Server.

    See Also:

    Oracle8i Parallel Server Setup and Configuration Guide for information and examples on creating the ASCII mapping file. 

  3. Set the environment variable DBCA_RAW_CONFIG to point to the ASCII mapping file. When Oracle Database Configuration Assistant creates the database, it looks for the environment variable, reads in the ASCII file, and uses the file names indicated to build the tablespaces.

Steps to Perform as the root User

  1. Make sure you have a UNIX group defined in the /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.

  2. Create a UNIX account on each node of the cluster so that:

    • the account has the oinstall group as the primary group.

    • the account has the dba group as the secondary group.

    • the account is used only to install and update Oracle software.

    • the account has write permissions on remote directories.

  3. Create a mount point directory on each node to serve as the top of your Oracle software directory structure so that:

  4. Apply the Sun Cluster software patch that is provided on the Oracle8i CD-ROM. To install the patch, follow the directions in the 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.

  5. After applying the CMM patch on each node, restart the cluster management software.

    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.

  6. On the node from which you will run Oracle Universal Installer, set up user equivalence by adding entries for all nodes in the cluster, including the local node, to either the .rhosts file of the oracle account or the /etc/hosts.equiv file.

  7. Exit the root account when you are done.

Steps to Perform as the oracle User

  1. Verify that the Cluster Membership Monitor (CMM) is running:

    $ 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".

  2. Check for user equivalence for the 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.

Tools and Precompilers

Complete the tasks for the following tools and precompilers before installing them.

Pre-Installation Steps for the Pro*COBOL Precompiler

  1. Verify that the COBOL compiler executable is included in the PATH setting.

  2. Verify that $COBDIR/lib is included in the setting for LD_LIBRARY_PATH.

  3. Set the COBDIR environment variable to the directory where the COBOL compiler is installed.

    See Also:

    To determine the settings for COBDIR and COBLIB environment variables see your product specific COBOL documentation 

Pre-Installation Steps for the Pro*C/C++ Precompiler

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

Pre-Installation Steps for Pro*FORTRAN Precompiler

Verify that the FORTRAN compiler executable is included in the PATH setting with the following command:

which /opt/SUNWspro4.2/SUNWspro/bin/f77

Pre-Installation Steps for 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, with the following command:

which ada

Pre-Installation Steps for Legato Storage Manager (LSM)

See Appendix , "Pre-Installation Steps for Legato Storage Manager (LSM)" for information on the pre-installation steps for Legato Storage Manager.

Networking and System Management Products

Configuring LDAP Services

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.

See Also:

For information on LDAP and Oracle Internet Directory, refer to the Oracle Internet Directory Administrator's Guide

Oracle Internet Directory

These steps should be completed in addition to those steps listed in the Oracle Internet Directory Administrator's Guide.

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.

Net8 Server

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.

Oracle Supported Protocols

Before installing any protocol, verify that the underlying network is functioning and configured properly.

TCP/IP

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 

Pre-Installation Steps for Oracle Enterprise Manager

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.

Using an Existing 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:

Release 2.1, or 2.0:

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.


IMPORTANT:

ALL ENTERPRISE MANAGER PRODUCTS MUST BE OF THE SAME RELEASE. DO NOT UPGRADE THE MANAGEMENT SERVER AND REPOSITORY UNTIL ALL ENTERPRISE MANAGER USERS HAVE UPGRADED THEIR SOFTWARE TO RELEASE 2.2. If you upgrade your Management Server and Repository to Release 2.2 and do not upgrade other Enterprise Manager user's software, they will not be able to use the older versions of Enterprise Manager software with the new release. 


Release 1.x:

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.

Creating a New Repository:

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.

See Also:

For details on upgrading, migrating, or creating a repository, refer to the Oracle Enterprise Manager Configuration Guide

Understanding Product Configuration Installation Window Dialogues

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.

Understanding Net8 Configuration

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.

Server Network Configuration

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.

If You Select These Installation Types...  Then... 

Oracle8i Enterprise Edition or Oracle8i for:

  • Typical

  • Minimal

 

Net8 Configuration Assistant creates a net service name to use when connecting to a database.

Net8 Configuration Assistant then automatically creates your Net8 server environment by configuring the following files:

  • listener.ora

    Configures and starts a listener named listener with protocol addresses for both the Oracle8i database using your operating system's preferred protocol (typically TCP/IP on port 1521) and for external procedures using the IPC protocol.

Configures services information for external procedures.

  • sqlnet.ora

    Configures the Net8 Naming Domain (most conveniently set to be the same as the network domain in which your computer is located). This domain is automatically appended to any unqualified net service name given in the connect string. An unqualified net service name does not contain a Net8 Naming domain.

    If you have not defined a domain for the system in the Global Database Name field during installation, then the system domain setting will default to the null domain. In that case, Net8 will not define a new domain setting for the NAMES.DIRECTORY_PATH parameter in sqlnet.ora.

  • tnsnames.ora

    Creates a net service name (EXTPROC_CONNECTION_DATA) in the tnsnames.ora file to use for external procedures.

Oracle Database Configuration Assistant configures additional Net8 Server information in the following files after successful creation of the Oracle8i database. 

 
  • listener.ora

    Configures static service information for the Oracle8i database.

  • At the end of client configuration, Net8 Configuration assistant prompts you for an Oracle database net service name that will be normally the same as your global database name. The tnsnames.ora file is used by clients and distributed database servers to identify potential server destinations. It stores the service names of database addresses.

Note: You cannot configure access to a lightweight directory access protocol (LDAP) directory service through the Typical or Minimal installation types. LDAP directory configuration is available through the Custom installation type. 

Oracle8i Enterprise Edition or Oracle8i

  • Custom (and then select Net8 Server and Net8 Client)

 

Net8 Configuration Assistant first prompts you to:

  • Complete directory service access configuration. This includes entering a directory server type and location, and verifying the administrative context from which the server can look up, create, and modify net service names. You are prompted for this information if you have never configured this ORACLE_HOME for directory service access.

  • Create listeners and select network protocols to use for database connections

 
 
  • Select the naming methods to use when connecting to the database. By default, the Local naming method and localized management network model is configured. Under a localized management network configuration model, network addresses are mapped in the tnsnames.ora file on each node. Other naming methods within this model are Host naming, and External naming (using third-party naming services). Under a centralized management network configuration model, the Oracle Names naming method is available. In this configuration, an Oracle Names Server stores client configuration profiles in one location. See the Net8 Administrator's Guide for further information on naming methods, and on other issues connected with installation and configuration of naming services.

Depending on the naming method you use, Net8 Configuration Assistant then automatically creates your Net8 server environment by configuring the following files:

 

 

  • listener.ora

    Configures a listener with the name and protocol address that you choose. A protocol address and static service information for external procedures is also configured.

  • sqlnet.ora

    Configures the server's domain as the default domain (the domain in which your computer is located). This domain is automatically appended to any unqualified name.

    Configures the naming methods the server uses to resolve a name to a connect descriptor.

  • tnsnames.ora

    Creates a net service name entry to use for external procedure connections.

  • ldap.ora

    Configures directory service access by identifying the directory server type. It may also identify the location and the administrative context.

Oracle Database Configuration Assistant automatically configures additional Net8 server information in the following file during creation of the Oracle8i database:

  • listener.ora

Configures static service information. 

Client Network Configuration

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.

If You Select These Installation Types...  Then... 

Oracle8i Client

  • Administrator

  • Programmer

  • Application User

  • Custom (and then select Net8 Client)

 

Net8 Configuration Assistant first prompts you to select one of the following methods by which to configure access to your Oracle8i database:

  • Local Naming

    Specify a net service name to resolve network addresses. This name is configured and stored in configuration files on each individual client.

  • Directory Naming

    Specify an Oracle Names Server or third-party naming service to resolve service names and network addresses. This enables client connections to Oracle8i databases using information registered with the naming service when the databases were created.

Depending on what you select, you are prompted to provide additional information.

Net8 Configuration Assistant then automatically creates your Net8 client environment by configuring the following files:

  • tnsnames.ora

    Specifies a net service name (if Local naming was selected)

 

 

  • ldap.ora

    Configures naming service access by identifying the directory server type (if Directory naming was selected). It may also identify the location and the administrative context.

 

 

  • sqlnet.ora

    Configures the naming methods a client uses to resolve a name to a connect descriptor.

    Configures the client's domain as the default domain (the domain in which your computer is located). This domain is automatically appended to any unqualified net service name given in the connect string. An unqualified net service name does not contain a network domain.

    If you have not defined a domain for the client in the Global Database Name field during installation, then the system domain setting will default to the null domain. In that case, Net8 will not define a new domain setting for the NAMES.DIRECTORY_PATH parameter in sqlnet.ora.

For more information on installation, configuring service names, and client configuration, see the Net8 Administrator's Guide

Identifying Your Database Environment

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":

Table 2-6 Oracle8i Database Environment Descriptions
Environment  Description 

Online Transaction Processing (OLTP)  

Many users perform large numbers of concurrent transactions, where each transaction is a relatively simple operation processing a small amount of data. Billing databases, such as those commonly found on Internet commerce sites, are the most common example of this database type.

Transactions consist of reading (SELECT statements), writing (INSERT and UPDATE statements), and deleting (DELETE statements) data in database tables.  

Warehousing, or Decision Support System (DSS) 

Users perform very complex queries that access and process large volumes of data.

These queries (typically read-only) range from a simple query of a few records to numerous complex queries that sort thousands of records from many different tables. Historical databases are the most common example of this database type. Warehousing environments are also known as Decision Support System (DSS) environments. 

Multipurpose 

Both types of database use are given support with this database environment configuration. Select if average database use will be varied. 

Your database environment selection affects the values for the following database settings:

Selecting a Database Creation Method

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... 
  1. Select the Typical installation type.

 

Oracle Database Configuration Assistant automatically starts at the end of Oracle8i installation and creates a pre-configured, ready-to-use multipurpose starter database with:

  • Default initialization parameters.

  • Automatic installation and configuration of Oracle options and interMediaFoot 1.

  • Advanced replication capabilities.

  • Database configuration of dedicated server modeFoot 2.

  • Archiving mode of NOARCHIVELOG.

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 

Foot 1 Oracle Database Configuration Assistant configures options that were installed through Oracle Universal Installer.
Foot 2 See Chapter 5 of Oracle8i Administrator's Guide for descriptions of dedicated server mode and multi-threaded server mode (also known as shared server mode).

If You Perform These Steps...  Then... 
  1. Select the Minimal installation type.

  2. Select "Yes" when prompted to create a starter database.

    Note: If you select "No", all server products are installed, including the database software, but no database is created during installation. Oracle recommends that you allow the Installer to create a starter database to verify installation, and also to use as a model for understanding Oracle naming conventions, roles, and default users and their privileges. If you choose not to install the starter database, you can create your database later by manually running Oracle Database Configuration Assistant or with a SQL script. See the Oracle8i System Administrator's Guide for instructions.

    Note: A database is also installed through the Oracle Internet Directory installation type of Oracle8i Management Infrastructure. This database is only used for storing Oracle Internet Directory information.

 

Oracle Database Configuration Assistant automatically starts at the end of Oracle8i installation and creates the same Oracle8i database that you receive with Typical, with the following exceptions:

  • No installation and configuration of Oracle options and interMedia products is available.

 

If You Perform These Steps...  Then... 
  1. Select the Custom installation type.

  2. Select Oracle Server and additional products in the Available Products window.

  3. Select "Yes" when prompted to create a starter database.

 

If You Select the Custom database creation method...

Oracle Database Configuration Assistant guides you in the creation of a database fully customized to match your selected environment (OLTP, Warehousing, or Multipurpose) and database configuration mode (dedicated server or multi-threaded server). Options and interMedia components (if installed) and advanced replication (if selected) may be automatically or manually configured.

Select this option only if you are experienced with advanced database creation procedures, such as customizing:

  • Data, control, and redo log file settings.

  • Tablespace and extent sizes.

  • Database memory parameters.

  • Archiving modes, formats, and destinations.

  • Trace file destinations.

  • Character set values.

 


Go to previous page Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index