Oracle Enterprise Manager Configuration Guide
Release 2.2

Part Number A85247-01

Library

Product

Contents

Index

Go to previous page Go to next page

2
Creating a Release 2.2 Repository

In Oracle Enterprise Manager, a repository contains state information for the managed environment and information about the management packs. The repository is used as a back-end store by the Oracle Management Servers, providing distributed control between clients and managed nodes.

In Release 2.0, the Enterprise Manager Configuration Assistant only created the repository for the base Oracle Enterprise Manager product. Additional parts of the repository were only created when they were required.

In Release 2.1 and later, it now creates the repository for all Oracle Enterprise Manager products. No additional components need to be added to the repository later. The Oracle Enterprise Manager repository is treated by the Enterprise Manager Configuration Assistant as a single entity. Regardless of whether you have additional products installed, creating a repository will create all parts of a repository.


Note:

For information on the recommended init.ora settings for the repository database, refer to "Recommended init.ora Settings for the Repository Database" on page 2-19.

You can change the settings before or after repository creation. 


The Enterprise Manager Configuration Assistant provides a database administrator with repository creation, removal, upgrade, and configuration parameter maintenance. A repository is a schema, and several repositories can exist in one database since each repository is a different schema.

If you are using a Release 2.0 or 2.1 repository and want to upgrade your repository to Release 2.2, refer to "Upgrade a Release 2.0 or 2.1 Repository to a Release 2.2 Repository" on page B-1. Existing pre-2.2 repositories are not upgraded automatically during installation.


Note:

You should not schedule any repository upgrades until all Oracle Enterprise Manager components other than the Intelligent Agent have been upgraded to Oracle Enterprise Manager Release 2.2. For guidelines to upgrading your Oracle Enterprise Manager framework and Management Packs from previous 2.x releases to Release 2.2, refer to "Upgrading Your Oracle Enterprise Manager Framework and Management Packs" on page 1-19.  


If you are using a previous Enterprise Manager Release 1.x and want to migrate your 1.x repository or repositories directly to a Release 2.2 repository, you will need to perform additional steps using the Enterprise Manager Migration Assistant after creating your Release 2.2 repository. Refer to Chapter 7, "Migrating a Release 1.x Repository to a Release 2.2 Repository" for information about migrating one or more Release 1.x repositories into the shared Release 2.2 repository schema.


Important:

The Enterprise Manager Console, DBA Management Pack, separately licensable Packs, Management Server and repository must all be of the same release. For example, you cannot use a Release 2.1 Management Server and repository with a Release 2.2 Console nor can you use a Release 2.2 Management Server and repository with a Release 2.1 Pack. Any Enterprise Manager Release 2.2 product must use a Release 2.2 Management Server and repository, where product refers to any of the following:

  • Oracle Enterprise Manager Console

  • Oracle DBA Management Pack (in Management Server mode)

  • Oracle Tuning Pack

  • Oracle Diagnostics Pack

  • Oracle Change Management Pack

  • Oracle Management Pack for Oracle Applications

  • Oracle Management Pack for SAP R/3

  • Oracle Standard Management Pack

If the existing Management Server and repository are of a previous version, then you can migrate or upgrade them to the most recent version. In the case of migrating or upgrading a Management Server and repository to Release 2.2, ensure that all Enterprise Manager products you intend to use with the repository are of Release 2.2. For instance, do not upgrade the Management Server and repository to Release 2.2 if you are still using Diagnostics Pack Release 2.1 or Change Management Pack Release 2.1. If you upgrade your Management Server and repository to Release 2.2 before obtaining the Release 2.2 Pack software you intend to use, you will not be able to use the older Pack product(s). 


Creating a New Release 2.2 Repository

The Oracle Enterprise Manager Release 2.2 repository is not the same as a Release 1.x repository. In Enterprise Manager Release 1.x, each administrator has his own repository schema, which contains a current view of the network and user-specific information. In Enterprise Manager Release 2.2, administrators have individual accounts and preferences within a single "shared" repository schema. Because all administrative data is stored in a central repository, administrators can share job definitions and obtain status on all machines in the network, including those monitored by other database administrators.

The Enterprise Manager Configuration Assistant will launch automatically during the post install configuration phase if you are performing one of the following installation scenarios:

The Enterprise Manager Configuration Assistant will not launch automatically if you are performing an Oracle8i Enterprise Edition-> Typical installation. In this type of installation, you must manually launch the Enterprise Manager Configuration Assistant in order to create, delete, edit, or update your repository.

Whenever you start the Enterprise Manager Configuration Assistant to create a new 2.2 repository (whether during a post install configuration or from the standalone mode), it will perform the following tasks for you:

Starting the Enterprise Manager Configuration Assistant


Note:

A database must be installed and running before you can create the Oracle Enterprise Manager repository schema. 


To start the Enterprise Manager Configuration Assistant, perform the following steps:


Note:

You must be logged in as the owner of the omsconfig.properties file (have permission on the file) to execute the emca command. 


Step 1 "Configuration Operation"

When you start the Enterprise Manager Configuration Assistant as a standalone application, the "Configuration Operation" page appears.

When the Configuration Assistant is launched from an installation session and you have selected to create a new repository from the install dialog, the Configuration Operation screen will not appear. The screen will be "Select Database for Repository." In this case, proceed to Step 2 of 5.

Select "Create a new repository" from the list of repository operations and press Next. The "Select Database for Repository" page appears.

Figure 2-1 Configuration OperationText description of rep1.gif follows.
Text description of the illustration rep1.gif

Step 2 "Select Database for Repository"

Log in to the database where you want to create the repository.

Figure 2-2 Select Database for RepositoryText description of rep2.gif follows.
Text description of the illustration rep2.gif

When configuring your repository, choose a database that meets the following criteria:

User name and Password: You must connect to the database as a user with DBA privileges. The Enterprise Manager Configuration Assistant asks for a DBA account in case a new user needs to be created in the database to contain the repository and to allow the Configuration Assistant to make queries about the database/repository.

This is an individual database user account, not an Oracle Enterprise Manager administrator account.

For example, system/manager.

Service: The service may be specified using the form:

<host>:<port>:<sid> 

where

host is the machine name where the database is located

port is the database listener port address, usually 1521 or 1526

SID is the database system identifier

An example:

my_em_machine:1521:em22

which connects to the em22 database using port 1521 on the my_em_machine machine.


Note:

Specifying the service as <host>:<port>:<sid> is the preferred method, but you may also use Net8 names if your Net8 client is properly configured. 


Press Next to continue.

Refer to "Troubleshooting the Enterprise Manager Configuration Assistant" on page D-19 for information about error messages.

Step 3 "Repository Login Information"

An Enterprise Manager repository is owned by a database user. During repository creation, a database user (repository schema user) who owns the repository will be created by the Enterprise Manager Configuration Assistant with the username and password you enter on this page.

Figure 2-3 Repository Login InformationText description of rep3.gif follows.
Text description of the illustration rep3.gif

User name: Enter the repository's user name that will be used to create a database user that will own the repository. The repository's user name must be unique across the network. The TCP/IP hostname of the machine is assumed to be unique; therefore it is used by default. If you choose another name, you must ensure that it is unique.

The Intelligent Agent identifies each Management Server by its repository name. If two repositories existed with the same name in different databases, the Intelligent Agent would have difficulty contacting the Management Server.

Password: Enter the password for that user.

Confirm: Verify the password by typing it again.

You can choose whether to save the user name and encrypted password in the omsconfig.properties file, which is read by the Management Server on startup. If these repository credentials are stored in the file, the Management Server uses them to login to the repository.

On Windows NT and Windows 2000, if they are not saved, you can enter them in the Control Panel's Startup Parameters field when you start the Management Server. If you do not enter the repository credentials in the Startup Parameters field, you will be prompted for them in a dialog.

On UNIX, if they are not saved, the Management Server will prompt you for a user name and password before it starts up.

If you do not want to store the user name and encrypted password in the omsconfig.properties file, check the "Do not save username and password" checkbox. The option of not storing your repository credentials is referred to as the secure Management Server mode.

The repository account information will be used to perform the maintenance operations in the repository schema like create, upgrade, or drop.

The roles and privileges required by the repository schema user are listed below:

To avoid potential security issues and unnecessary access to objects outside of Oracle Enterprise Manager, do not grant more privileges to your repository schema user than is absolutely necessary.

Step 4 "Select Repository User Tablespaces"

The Select Repository User Tablespaces page does not appear:


Note:

Do not install the Oracle Enterprise Manager repository into the SYSTEM (especially the SYSTEM tablespace of your production database), ROLLBACK, or TEMPORARY tablespaces.

The tablespace parameter settings used for the SYSTEM tablespace are not appropriate for Oracle Enterprise Manager use. You should only use the SYSTEM tablespace for "system" entities. Tools, users, and management products such as Oracle Enterprise Manager should be placed in other tablespaces.

ROLLBACK tablespaces are used for creating rollback segments. Rollback segments are used by Oracle user processes to store rollback information.

TEMPORARY tablespaces, which are assigned as TEMPORARY tablespaces for users, are used by Oracle user processes as a "scratch pad." Both of these tablespaces fluctuate in tablespace usage when the database is up and running. The TEMPORARY tablespace can be used as the user's temporary tablespace.

The Configuration Assistant does not allow you to use the SYSTEM tablespace either as a temporary tablespace or as a default tablespace.

For more details, refer to the Oracle8i Concepts Guide


In standalone mode, if the OEM_REPOSITORY tablespace already exists and you have enter the name of a different repository user than the one managing the repository in the "Repository Login Information" page, an error message appears, saying, "Do you wish to change it to manage the repository owned by user '<user>' on service '<service>'?" If you click the "Yes" or the "No" button, the following screen appears.

Figure 2-4 Select Repository User Tablespaces if OEM_REPOSITORY ExistsText description of rep4.gif follows.
Text description of the illustration rep4.gif

Select the default and temporary tablespaces for the Enterprise Manager repository to use.

If the OEM_REPOSITORY tablespace does not exist, the following screen appears:

Figure 2-5 Select Repository User Tablespaces if OEM_REPOSITORY Does Not ExistText description of rep3_2.gif follows.
Text description of the illustration rep3_2.gif

Default Tablespace:

Temporary Tablespace

Select a temporary tablespace from the pull-down list.

Click Next to continue.

If the Enterprise Manager Configuration Assistant detects that the default tablespace for the repository contains the required amount of free space, the "Create Repository Summary" page appears. Otherwise, errors will appear.

Step 5 "Create Repository Summary"

The "Create Repository Summary" page appears, showing a summary of the processing to be performed. Verify that all of the information supplied during the create repository wizard operation is accurate.

Figure 2-6 Create Repository SummaryText description of rep5.gif follows.
Text description of the illustration rep5.gif

Click Finish to initiate repository creation or click Back to return to previous pages to make modifications.

When you click the Finish button, the Configuration Assistant Progress window appears, showing the processing performed and the processing steps that comprise the operation being performed.

Step 6 "Configuration Assistant Progress Window"

If you want to view detailed information about what is happening during the processing, including any errors that might occur, click the "Show Details" button to expand the dialog to show a text area. You can hide the detailed information by clicking the "Hide Details" button.

Figure 2-7 Configuration Assistant ProgressText description of rep6.gif follows.
Text description of the illustration rep6.gif

The Cancel button changes to a Close button when processing is completed, whether it is successful or not.

When all of the steps have been completed without error, the "Processing completed." message appears.

You can cancel the requested operation before it completes by clicking the Cancel button.


Note:

If you cancel the repository creation while it is in progress, the state of the repository is in doubt. In these circumstances, you should drop the repository using the Enterprise Manager Configuration Assistant. 


You must click the Close button to exit the Configuration Assistant.

If the repository creation fails, drop the repository, turn on tracing for the Management Server by adding the appropriate tracing properties to the omsconfig.properties file, and perform the repository creation procedure again. For information on Management Server tracing and logging, refer to "Tracing and Logging for the Management Server" on page D-5.

For information on dropping the repository, refer to "Drop an Existing Repository" on page B-6.

Recommended init.ora Settings for the Repository Database

You can change the settings before or after repository creation.

The following are recommended init.ora settings for the repository database. They are recommended particularly if you are using the Oracle Enterprise Manager Events system.

After editing the init.ora file with these settings, you must stop and restart the database in order for the changes to take effect.

Tuning for specific sites may be necessary, and using Oracle Expert included as part of the separately licensable Oracle Tuning Pack for these cases is recommended.


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

All Rights Reserved.

Library

Product

Contents

Index