Chapter 3 Getting Started With Oracle Enterprise Manager

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Chapter 3: Getting Started with Oracle Enterprise Manager

Purpose
This chapter introduces you to Oracle Enterprise Manager Database Control. The Oracle Universal
Installer installs Oracle Enterprise Manager Database Control when you install the Oracle software.
Enterprise Manager Database Control provides a Web-based interface that you can use to manage your
Oracle instance and database.

Time to Complete
Approximately 1 hour

Topics
This tutorial covers the following topics:
Prerequisites
Starting the Enterprise Manager dbconsole Process
Accessing Enterprise Manager Database Control
Granting EM Administrative Privileges to Other Users
Defining Blackout Periods
Setting Preferred Credentials
Summary

Viewing Screenshots

Place the cursor over this icon to load and view all the screenshots for this tutorial.
(Caution: This action loads all screenshots simultaneously, so response time may be slow
depending on your Internet connection.)
Note: Alternatively, you can place the cursor over an individual icon in the following steps to load and
view only the screenshot associated with that step. You can hide an individual screenshot by clicking it.

Prerequisites
Before you perform this tutorial, you should:
1.

Complete Chapter 2: Installing Oracle Software and Building the Database OBE
Back to Topic List

Starting the Enterprise Manager dbconsole Process


The dbconsole process must be started for you to access Oracle Enterprise Manager Database Control
from a client browser. The dbconsole process is automatically started after installation. If the process is
not started, you can manually start it at the command line.
1.

Log on to the operating system as the oracle user. Issue the following command to view the status of the dbconsole
process:
emctl status dbconsole

2.

Issue the following command to start the dbconsole process:


emctl start dbconsole

Back to Topic List

Accessing Enterprise Manager (EM) Database Control


You can access the Oracle Enterprise Manager Database Control as follows:
1.

Open your Web browser and enter the following URL:

https://<hostname>:1158/em

2.

The Database Control Login page is displayed if the instance is started. Enter a username and password for a user
that is authorized to access the Oracle Enterprise Manager Database Control. Click Login.

Note: If this is the first time you have accessed Enterprise Manager Database Control, you may see a page
concerning licensing. Review the information and respond appropriately to your situation.

3.

Refer to Chapter 4 for detailed instructions on starting the instance and opening the database.
The Database Home page is displayed. You can access the Performance, Availability, Server, Schema, Database
Movement, and Software and Support property pages from the Database Home page.

Back to Topic List

Granting EM Administrative Privileges to Other Users


In this section you will learn how to grant management privileges to other database users.
Administrators are database users defined in the Management Repository who can log in to Enterprise
Manager to perform management tasks. The breadth of management tasks available in Enterprise
Manager depends on the privileges and roles assigned to the administrators.
Perform the steps listed below to grant management privileges to other database users:
1.

Click Setup in the right-hand corner at the top of the Database Home page.

2.

Click on the Administrators tab in the left menu. The Administrators list is displayed.

3.

Click Create to create a new Enterprise Manager user by assigning the management privileges to an existing
database user. The Create Administrator: Properties page is displayed.

4.

In this step you will grant administrative privileges to the HR user. Enter HR for Name and select Super
Administrator for the Administrator Privilege.

5.

Click Review.

6.

Click Finish.

7.

The Administrators page appears again and your new administrator is included in the administrator list.

Back to Topic List

Defining Blackout Periods


When you plan to bring your database down for maintenance, you can indicate that you do not want
alert notifications to be sent to you by defining a blackout period. Blackouts also allow you to suspend
monitoring in order to perform other maintenance operations. You can define a blackout time period in
Enterprise Manager Database Control by performing the following steps:
1.

Click Blackouts in the left hand pane.

2.

The Blackouts page appears. Click Create to start the Create Blackout wizard.

3.

Enter a name for your blackout in the Name field. You can also add comments in the Comments field although it is
not a required a field. Select Enter a new reason and enter a reason for your blackout. Select Database Instance in
the type drop-down menu in the Available Targets region. Select your database and click Move to add it to the
Selected Targets list. (Note: The DB target name may differ, depending on your installation). Click Next.

4.

The Create Blackout: Schedule page appears. Enter the start time of your planned blackout, or choose immediately if
you are shutting down the database now. Select the duration of the blackout, either as indefinite, as a length or time,
or until a time in the future. Accept the default of "Do Not Repeat" or select a repeat frequency in the Repeat pull
down menu. Click Next.

5.

The Create Blackout: Review page appears. Review what you have entered and click Finish. You can click Back if
you need to change a setting.

6.

You receive a confirmation message that your blackout has been defined.

Back to Topic List

Setting Preferred Credentials


You can set Preferred Credentials so that Enterprise Manager will automatically supply host and
database login credentials for you when you schedule jobs and tasks to perform administrative
operations like backup and recovery. For security, Oracle stores preferred credentials in encrypted
mode. You can set preferred credentials in Enterprise Manager Database Control by performing the
following steps:
1.

Click Preferences at the top of the Database Home page.

2.

The Preferences page appears. Click Preferred Credentials in the left hand pane.

3.

The Preferred Credentials page appears. Click the icon under Set Credentials for the Database Instance Target
Type.

4.

The Database Preferred Credentials page appears. Enter the credentials in the form of username and password for
normal, SYSDBA and host connections. Click Test.

5.

You receive a confirmation message that your credentials have been verified. Click Apply to save your preferred
credentials.

Back to Topic List

Summary
In this tutorial, you learned how to:
Start and verify the status of the dbconsole process.
Log into Enterprise Manager (EM) Database Control.
Granting administrator privileges to other users.
Define a blackout period for you database instance.
Set preferred credential information in EM to be used later for administrative tasks.
Back to Topic List

Place the cursor over this icon to hide all screenshots.

You might also like