Skip Headers

Oracle® Database Installation Guide
10g Release 1 (10.1.0.2.0) for Windows

Part Number B10130-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

4 Oracle Database Postinstallation Tasks

This chapter identifies postinstallation configuration tasks. Where appropriate, this chapter references other guides for procedures on performing these configuration tasks.

This chapter contains these topics:

4.1 Patch Set Information

Oracle recommends installing the latest patch set release after successful installation of the Oracle Database.

You must register online before using OracleMetaLink. After logging in to OracleMetaLink, select Patches from the left-hand column.

To find and download patches:

  1. Go to the OracleMetaLink Web site

    http://metalink.oracle.com/
    
    
  2. Log in to OracleMetaLink.


    Note:

    If you are not an OracleMetaLink registered user, then click Register for MetaLink! and follow the registration instructions.
  3. Click Patches on the main OracleMetaLink page.

  4. Select Simple Search.

  5. Specify the following information, then click Go:

    • In the Search By field, choose Product or Family, then specify RDBMS Server.

    • In the Release field, specify the current release number.

    • In the Patch Type field, specify Patchset/Minipack

    • In the Platform or Language field, select your platform.

  6. Find the latest patch set for Oracle Database using OracleMetaLink.

  7. From the list of available patches, select a patch to download.

    Note that patch sets for Oracle databases are identified as "x.x.x PATCH SET FOR ORACLE DATABASE SERVER."

  8. Review the README before proceeding with the download.

    Each patch has a README file with installation requirements and instructions. Some patches install with Oracle Universal Installer; others require special procedures. Oracle recommends that you always read the README before proceeding.

  9. Download and install the patch.

4.2 Validating Invalid PL/SQL Modules

Oracle recommends running the utlrp.sql script after creating, or upgrading a database. This script recompiles all PL/SQL modules that may be in an INVALID state, including packages, procedures, types, and so on. This step is optional, but recommended so that the cost of recompilation is incurred during the installation rather than in the future.


Note:

There should be no other data definition language (DDL) statements running on the database while the script is running, and packages STANDARD and DBMS_STANDARD must already be valid.
  1. Start SQL*Plus:

    C:\> sqlplus /nolog
    
    
  2. Connect to the database with the SYS account:

    SQL> CONNECT SYS/PASSWORD@service_name AS SYSDBA
    
    

    where PASSWORD is the password you assigned to the SYS account during the install process.

  3. Start the database (if necessary):

    SQL> STARTUP

  4. Run the utlrp.sql script:

    SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\utlrp.sql

4.3 Configuring Oracle Components

Many Oracle components and options must be configured before you use them for the first time. Before using individual Oracle Database components or options, see the appropriate manual available on the Oracle Documentation Library CD-ROM, the DVD-ROM, and the OTN Web site.

This section contains these topics:


Note:

You need only perform postinstallation tasks for components that you intend to use.

4.3.1 Configuring Messaging Gateway

Messaging Gateway, an Oracle Database Advanced Queuing feature, requires additional configuration.


See Also:

"Loading and Setting Up Oracle Messaging Gateway" in Oracle Streams Advanced Queuing User's Guide and Reference

4.3.2 Installing Natively Compiled Java Libraries for Oracle JVM and Oracle interMedia

If you plan to use Oracle JVM or Oracle interMedia, Oracle strongly recommends that you install the natively compiled Java libraries (NCOMPs) used by those components from the Oracle Database Companion CD. These libraries are required to improve the performance of the components on your platform.


See Also:

"Installing Oracle Database Components from the Companion CD" section for more information about installing components from the Companion CD

4.3.3 Configuring Oracle Administration Assistant for Windows

This tool requires the Microsoft Management Console and HTML Help 1.2 or higher to run. Microsoft Management Console is included with Windows 2000, but must be manually installed if you are using Windows NT 4.0. MMC version 1.2 or higher is required. The latest MMC version available is recommended.


See Also:

Microsoft documentation
http://www.microsoft.com/

4.3.4 Reconfiguring Oracle Cluster Synchronization Services (CSS)

To reconfigure Oracle Cluster Synchronization Services (CSS) to run from a different Oracle home, enter the following at the command prompt:

localconfig reset [destination_Oracle_home]

where destination_Oracle_home is required if you run this command from the Oracle home where the CSS service is currently configured.

4.3.5 Configuring Oracle Counters for Windows Performance Monitor

Before using Oracle Counters for Windows Performance Monitor to view Oracle-specific counters, you must specify the SYSTEM password using Operfcfg.exe located in the ORACLE_BASE\ORACLE_HOME\bin directory.

To set the system password, enter the following:

operfcfg.exe -U SYSTEM -P password -D TNS_Alias_for_database


See Also:

Oracle Database Platform Guide for Windows for additional information about Oracle Counters for Windows Performance Monitor

4.3.6 Configuring Oracle Label Security

If you installed Oracle Label Security, you must configure it in a database before you use it. You can configure Oracle Label Security with or without Oracle Internet Directory integration. If you configure Oracle Label Security without Oracle Internet Directory integration, you cannot configure it to use Oracle Internet Directory at a later stage.


Note:

To configure Oracle Label Security with Oracle Internet Directory integration, Oracle Internet Directory must be installed in your environment and the Oracle database must be registered in the directory.

See Also:

Oracle Label Security Administrator's Guide for more information about Oracle Label Security enabled with Oracle Internet Directory

4.3.7 Configuring Oracle Net Services

If you have a previous release of Oracle software installed on this system, you might want to copy information from the Oracle Net tnsnames.ora and listener.ora configuration files from the previous release to the corresponding files for the new release.


Note:

The default location for the tnsnames.ora and listener.ora files is the ORACLE_BASE\ORACLE_HOME\network\admin\ directory.

Modifying the listener.ora File

If you are upgrading from a previous release of Oracle Database, Oracle recommends that you use the current release of Oracle Net listener instead of the listener from the previous release.

To use the listener from the current release, you may need to copy static service information from the listener.ora file from the previous release to the version of that file used by the new release.

For any database instances earlier than release 8.0.3, add static service information to the listener.ora file. Oracle Database releases later than release 8.0.3 do not require static service information.


Modifying the tnsnames.ora File

Unless you are using a central tnsnames.ora file, copy Oracle Net service names and connect descriptors from the previous release tnsnames.ora file to the version of that file used by the new release.

If necessary, you can also add connection information for additional database instances to the new file.

4.3.8 Configuring Oracle Services for Microsoft Transaction Server

For Windows NT installations, if you did not install the Microsoft Management Console (MMC) before installing Oracle Database, then you must manually start the OracleMTSRecoveryService service and change its status to Automatic.

Perform the following tasks before using Oracle Services for Microsoft Transaction Server:

  • Create the Microsoft Transaction Server administrator account

  • Schedule a database server-level transaction recovery job


See Also:

"Managing Recovery Scenarios" of Oracle Services for Microsoft Transaction Server Developer's Guide

4.3.9 Installing Oracle Text Supplied Knowledge Bases

An Oracle Text knowledge base is a hierarchical tree of concepts used for theme indexing, ABOUT queries, and deriving themes for document services. If you plan to use any of these Oracle Text features, you can install two supplied knowledge bases (English and French) from the Oracle Database Companion CD.


Note:

You can extend the supplied knowledge bases depending on your requirements. Alternatively, you can create your own knowledge bases, possibly in languages other than English and French. For more information about creating and extending knowledge bases, see Oracle Text Reference.

See Also:

"Installing Oracle Database Components from the Companion CD" section for more information about installing components from the Companion CD

4.3.10 Configuring or Reinstalling Oracle XML DB

Refer to Oracle XML DB Developer's Guide for more information about the following tasks:

  • Reinstallation of Oracle XML DB

  • Configuring or customizing the Oracle XML DB tablespace

  • Configuring FTP, HTTP/WebDAV port numbers


See Also:

Appendix A of Oracle XML DB Developer's Guide

4.3.11 Configuring PL/SQL External Procedures

Configuration is dependent on the network configuration files used. In nearly all cases, configuration is automatic. However, if you are using pre-8.0.3 tnsnames.ora and listener.ora files with your 10g release 1 (10.1) database, then manual configuration is required.


See Also:

"Developing Applications for Windows" of Oracle Database Platform Guide for Windows

4.3.12 Configuring Shared Server Support

Configuration is dependent on how support was installed. If you installed Oracle Database through the Enterprise Edition, Standard Edition, or Personal Edition installation types, then shared support was not configured. If you created your database through Database Configuration Assistant, then you were offered a choice of shared or dedicated server support.


See Also:

"Postinstallation Configuration Tasks on Windows" of Oracle Database Platform Guide for Windows

4.3.13 Setting Credentials for the Job System

Windows systems require that you set the correct credentials for the Jobs system to work properly in Enterprise Manager. By default, the Management Agent service is installed as a LocalSystem user. When submitting jobs, the user submitting the job must have the Log on as a batch job privilege enabled.

Perform the following steps to establish that privilege for any operating system user who needs to submit an Enterprise Manager job.

On Windows 2000 and Windows XP systems:

  1. Start the Local Security Policy tool located in the Start menu by clicking Settings > Control Panel > Administrative Tools > Local Security Policy.

  2. Under Local Policies/User Rights Assignment, add the user to the Log on as a batch job privilege.

  3. Windows 2000 may require a restart for the policy change to take effect. Restart as necessary.

On Windows NT 4.0 systems:

  1. Start the User Manager tool located in the Start menu by clicking Programs > Administrative Tools > User Manager.

  2. Select User Rights from the Policies menu.

  3. Select the Show Advanced User Rights check box.

  4. Select Log on as a batch job from the Right drop-down menu.

  5. Click Add to add the Windows user who is submitting an Enterprise Manager job.

If a user exist both locally and at the domain level, Windows gives the local user precedence. To use the domain user, qualify the username with the domain name. For example, to use the user joe in the ACCOUNTS domain specify the username as ACCOUNTS\joe.

If the Management Agent service is installed as any other user (that is, not LocalSystem), then, in addition to granting the Log on as a batch job privilege, the "Windows service" user must be granted the following three privileges:

  • Act as part of the operating system

  • Adjust memory quotas for a process. (This is named Increase memory quotas on Windows 2000 and Windows NT Server 4.0.)

  • Replace a process level token

4.3.14 Installing Oracle Database Components from the Companion CD

The Oracle Database Companion CD contains additional components that you can install. Whether you need to install these components depends on which Oracle Database components or features that you plan to use. If you plan to use the following components or features, Oracle strongly recommends that you install the components from the Companion CD:

  • JPublisher

  • Oracle Database Examples (formerly Oracle Demos)

  • Oracle JVM

  • Oracle interMedia

  • Oracle Text


See Also:

Oracle Database Companion CD Installation Guide, available on the Companion CD, for detailed installation information

To install Oracle Database components from the Companion CD, follow these steps:

  1. Insert the CD labeled Oracle Database Companion CD Disk 1 of 1 in the disk drive.

    When installing from a hard disk, double-click setup.exe.

    When installing from the Oracle Database CD, the Autorun screen automatically appears. If the Autorun screen does not appear, then:

    1. Click Start > Run.

    2. Enter the following:

      DRIVE_LETTER:\autorun\autorun.exe
      
      

      The Autorun screen appears. Click Install/Deinstall Products from the Autorun screen.

  2. Use the following guidelines to complete the installation:

    • On the Specify File Locations screen, select the Oracle home name and path for the existing Oracle Database installation where you want to add these components.

    • On the Select a Product to Install Screen, select Oracle Database 10g Products.


Note:

For more information about any of Oracle Universal Installer screens, click Help.