Skip Headers
Oracle® Enterprise Manager Grid Control Installation and Basic Configuration
10g Release 2 (10.2) for Linux x86
B16228-01
  Go To Table Of Contents
Contents
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Index
Index

Previous
Previous
Next
Next
 

7 Getting Started With Enterprise Manager

After the Enterprise Manager installation, the Management Service and Grid Control are automatically started. You can immediately log in to Grid Control with the SYSMAN account and begin using Enterprise Manager.

This chapter describes Enterprise Manager's out-of-box configuration, recommends the tasks to be performed after installation to begin customizing Enterprise Manager for your particular environment, and contains information on how to configure the Oracle Management Agent and Management Service. The following topics are covered in this chapter:

Enterprise Manager's Out-of-Box Configuration

At install time, the following tasks are automatically performed, with no user interaction required:

Default Super Administrator: SYSMAN

A default Super Administrator account, SYSMAN, is created with the password you specified during the installation. After installation, you can immediately log in to the Grid Control Console with this user name and password to perform management tasks. The SYSMAN account owns the database schema containing the Management Repository.


See Also:

To learn more about the SYSMAN user account, refer to the Setting Up Enterprise Manager for Your Environment chapter of Oracle Enterprise Manager Concepts.

E-mail Notifications

The SYSMAN account is automatically configured to receive e-mail notifications from Enterprise Manager if, during installation, you specified the Outgoing (SMTP) Mail Server and SYSMAN e-mail address. Also, as part of the self-monitoring feature, a script is created that enables the user to be notified by e-mail in the event that Enterprise Manager goes down unexpectedly.


Note:

If you do not specify the mail server, there will be no notification. If you specify the mail server, but not the e-mail address, the system is set up to send e-mail notifications, but the SYSMAN account does not receive any notifications. If you did not specify the information during install, you can set up e-mail notification afterwards using Enterprise Manager Grid Control.

Notification Rules

E-mail notifications are set up with default Notification Rules for the critical conditions that could occur for all supported target types. For example, for the database target type, a rule is created such that e-mail notifications are sent when any database becomes unavailable, or if any of its key health metrics (Datafile Usage %, Archiver Hung Error Stack, Tablespace Space Used %, and others) becomes critical. The e-mail notifications are sent to the e-mail address associated with the SYSMAN account. These rules are public; when other administrators are created, they can subscribe to them later.


See Also:

For more information on the notification rules, in Enterprise Manager, click Preferences, then Rules. Click Help on that page.

Automatic Discovery

The first time the Management Agent is started, most supported targets that are located on the same host machine as the Management Agent are automatically discovered, and default monitoring levels and data collections are automatically enabled.

Note that you may need to manually discover some targets, such as Oracle Collaboration Suite targets, Web applications, clusters, and Beacons. The Grid Control Enterprise Manager Web Application is discovered automatically.


See Also:

See Chapter1, "Certified Enterprise Manager Targets" for a list of certified targets for Enterprise Manager Grid Control, .

Refer to Managing Oracle Collaboration Suite available on Oracle Technology Network, for instructions on discovering OCS targets.

For information on manual discovery, refer to Adding Targets to Be Monitored and Administered by Enterprise Manager in the Oracle Enterprise Manager online help.


Troubleshooting Issues Concerning Target Discovery

If you are unable to discover targets on a Management Agent host, check for the following problems.

When the Management Agent is installed, an automatic discovery is performed to detect any existing Oracle9i AS 9.0.2 or 9.0.3 instances. If the 9.0.2 or 9.0.3 Oracle9i AS instances were installed by a different OS user than the user that installs the Management Agent, then the file protections on targets.xml within that Oracle9iAS installation may prevent the Management Agent from reading the file. This prevents the discovery of that Oracle9i AS instance.

To confirm that this is the problem, check the Management Agent logs located at AGENT_HOME/sysman/log/ for permission denied errors, where AGENT_HOME is the Oracle home for the Management Agent. To correct the problem, set the file permissions so that it can be read by the user who installed the Management Agent.

This problem does not occur when discovering other existing Oracle Application Server versions on a machine.


See Also:

If you encounter problems monitoring Oracle Database 10g or ASM targets, see Chapter6, "Configuring Database and ASM Targets for Monitoring" for more information.

Using the Enterprise Manager Grid Control Console for the First Time

Enterprise Manager Grid Control provides a Web-based console for managing your entire enterprise.

The first column describes actions that you may want to perform; the second contains considerations and reasons for performing the action; the third helps you navigate to the appropriate online help page in Enterprise Manager.

All help topics are contained within the Setting Up Enterprise Manager directory of the online help.

Enabling or Disabling the Licensed Functionality

Before you begin using Enterprise Manager Grid Control, you must first set the access levels according to your licensing agreement with Oracle. To do this, perform the following steps using a Super Administrator account, such as SYSMAN.

  1. The first time you log in using SYSMAN, you are taken to the licensing setup page. Otherwise, to get to the licensing setup page, in the Grid Control console, click Setup, then Management Pack Access.

  2. Select Grant Access or Remove Access for each pack, according to the terms of your licensing agreement.

  3. Click Apply to save your changes. Once access is removed, the functionality associated with the selected pack is no longer available for any targets managed by Enterprise Manager Grid Control.

Controlling the Management Repository, Service and Agent

The Management Service and the Grid Control console are automatically started after the Enterprise Manager installation. This section provides information on how to manipulate the Management Agent and Management Service after installation.


See Also:

For information on Enterprise Manager's directory structure, refer to the Understanding the Directory Structure section of Oracle Enterprise Manager Advanced Configuration.

For information about configuring Enterprise Manager components, such as Management Agents and Beacons for use in a firewall environment, refer to Oracle Enterprise Manager Advanced Configuration.


Starting the Management Repository Database

If you need to start the Management Repository database, use SQL*Plus to connect to Oracle as SYSDBA, and then issue the STARTUP command.


IMPORTANT:

During a reboot of a machine, the Repository Database startup script runs automatically. You do not have to manually start the repository database in this release of Enterprise Manager.


See Also:

For instructions on managing the repository database, such as how to drop the repository schema, refer to the Maintaining and Troubleshooting the Enterprise Repository chapter of Oracle Enterprise Manager Advanced Configuration.

For detailed instructions on starting up a database, refer to the Starting Up and Shutting Down chapter in the Oracle Database Administrator's Guide.


Starting and Stopping the Management Service

The relevant emctl commands for Linux are listed in the following table.

You must be in the OMS_HOME/bin directory to issue the emctl commands, where OMS_HOME is the Oracle Application Server home directory in which the Oracle Management Service is installed and deployed.


Note:

To execute the opmnctl commands, you must be in the OMS_HOME/opmn/bin directory.

Table 7-1 Commands to Start and Stop Management Service

If you want to Enter the following Command

Start the Management Service

emctl start oms

Stop the Management Service

emctl stop oms

Verify status of the Management Service

emctl status oms

Start all components of the Application Server, including the Management Service and WebCache

opmnctl startall

Stop all components of the Application Server, including the Management Service and WebCache

opmnctl stopall


IMPORTANT:

During a reboot of a machine, the Management Service startup script runs automatically to start the OMS. You do not have to manually start the OMS in this release of Enterprise Manager.


See Also:

For detailed instructions, refer to the Starting and Stopping Enterprise Manager Components section of the Introduction to Enterprise Manager Advanced Configuration chapter of Oracle Enterprise Manager Advanced Configuration. You can find this guide at:
http://otn.oracle.com/documentation/oem.html

Starting and Stopping the Management Agent

The relevant emctl commands for Linux are listed in the following table.

You must be in the AGENT_HOME/bin directory to issue the emctl commands, where AGENT_HOME is the Oracle home directory for your Management Agent. Note that this directory is different than the AS_HOME/bin directory, which is for the Oracle Application Server Control Agent.

Table 7-2 Commands to Start and Stop Management Agent

If you want to Enter the following Command

Start the Management Agent

emctl start agent

Stop the Management Agent

emctl stop agent

Verify status of the Management Agent

emctl status agent


IMPORTANT:

During a reboot of a machine, the agent startup script runs automatically to start the Management Agent. You do not have to manually start the agent in this release of Enterprise Manager.


See Also:

For detailed instructions, refer to the Starting and Stopping Enterprise Manager Components section of the Introduction to Enterprise Manager Advanced Configuration chapter of Oracle Enterprise Manager Advanced Configuration. You can find this guide at:
http://otn.oracle.com/documentation/oem.html

Starting the Oracle Application Server Console

Oracle Application Server Control Console (iAS) is the Web-based management tool for Oracle Application Server and is used to monitor the Enterprise Manager targets.

After successful Enterprise Manager installation, you must manually start the iAS console before starting the Enterprise Manager console.

To start the iAS console, go to the OMS Oracle home and execute the start iasconsole command. The usage is as follows:

<OMS_Oracle_home> emctl start iasconsole

Accessing Enterprise Manager Grid Control

The Enterprise Manager Grid Control Console is the primary tool for managing your Oracle environment.

Use the following URL to log in to the Grid Control Console:

http://<oms_hostname>.<domain>:<port>/em

or

https://<oms_hostname>.<domain>:<port>/em

If you are uncertain about the port number, you can refer to one of the following files:

  • ORACLE_HOME/install/setupinfo.txt as displayed by the Oracle Universal Installer at the end of the install

  • ORACLE_HOME/install/portlist.ini on the Management Service machine

When the login dialog appears, enter the user name and password for the Super Administrator SYSMAN.


See Also:

For more information on Grid Control security, refer to the Enterprise Manager Security chapter of Oracle Enterprise Manager Advanced Configuration.

For more information on port settings, refer to the Viewing a Summary of the Ports Assigned During the Application Server Installation section of the Configuring Firewalls chapter of Oracle Enterprise Manager Advanced Configuration.

Refer also to Viewing and Modifying Application Server Port Assignments in the Enterprise Manager online help.


Unlock the DBSNMP User Account

To unlock the DBSNMP user account:

  1. From the Grid Control console, navigate to the Database Home page and click Administration to display the list of administration functions.

  2. Under Users and Privileges, click Users to display the list of all user accounts. If you are prompted to log in to the database, make sure to use a database user account with DBA privileges such as SYSTEM.

  3. Find and select the DBSNMP user account, select Unlock User from the Actions menu, and click Go to confirm your choice.

  4. Set the DBSNMP password as described in the Chapter7, "Set Monitoring Credentials" section. Once the password is set, monitoring can begin.

Set Monitoring Credentials

You must reset the monitoring credentials for database and ASM targets if the passwords you specified during installation were different from the defaults that Enterprise Manager expects. If you change a password at any time, make sure to update all components using that password as well.

This section contains the following subsections:

Setting Monitoring Credentials for Database Targets

To set the monitoring credentials for a single-instance or cluster Oracle Database 10g target:

  1. From the Grid Control console, navigate to the Configure Database: Properties page:

    1. On the Targets tab, click Databases to display the list of database targets.

    2. Find and select the database target and click Configure.

    Enterprise Manager displays the Configure Database: Properties page.

  2. Enter the correct password for the DBSNMP user in the Monitor Password field and click Test Connection to verify the monitoring credentials.

  3. If the connection is successful, click Next, then click Submit.

You should now be able to view the complete Database Home page for the Oracle Database 10g target. For more information, see Specifying New Target Monitoring Credentials in Oracle Enterprise Manager Advanced Configuration.


Note:

If you change the DBSNMP password at a later date, you must update the password for Grid Control and Database Control and may need to unlock the account.

If you are using Database Control, update the DBSNMP password by doing the following:

  1. Click Monitoring Configuration under Related Links on the Database Control Home page. Enterprise Manager displays the Configure Database: Properties page.

  2. Enter the correct password in the Monitor Password field and click Test Connection. If the connection is successful, click Next, then Submit.


Setting Monitoring Credentials for ASM Targets

To set the monitoring credentials for an ASM target:

  1. From the Grid Control console, click All Targets on the Targets tab to display a list of all managed targets.

  2. Find and select the ASM target that you want to modify.

  3. Click Configure to display the ASM Monitoring Configuration page.

  4. Enter the ASM SYS password in the Password field and click OK.

You should now be able to view the complete home page for the ASM target without any Management Agent or collection errors. For more information, see Specifying New Target Monitoring Credentials in Oracle Enterprise Manager Advanced Configuration.