Book Image

Oracle Enterprise Manager 12c Administration Cookbook

By : Dhananjay Papde, Tushar Nath, Vipul Patel
Book Image

Oracle Enterprise Manager 12c Administration Cookbook

By: Dhananjay Papde, Tushar Nath, Vipul Patel

Overview of this book

<p>Oracle Enterprise Manager is a key tool for any Oracle Administrator, allowing them to manage their Oracle installations and selected other applications, providing a one stop place to manage and maintain the entire infrastructure in any organization.<br /><br />The Oracle Enterprise Manager 12c Cookbook will give administrators a head start towards implementing OEM in their organizations, by taking you through all the aspects of installation, upgrade, configuration, and monitoring of various servers, databases, and various Oracle Fusion Middleware components.<br /><br />Starting with the installation and upgrade of your OEM installation, this book then takes you through the process of using OEM12c to configure and monitor your Oracle application and database servers, including the various supported Oracle Fusion Middleware products.<br /><br />This book will uncover various installations options (with simple advanced options) and various upgrade options.<br /><br />The book will also cover monitoring the infrastructure using Active Session History Analytics. There are recipes on creating, cloning databases, and creating templates. <br /><br />Additionally there are recipes on Configuration of Oracle Business Intelligence, Oracle Golden Gate, Oracle Business Intelligence Publisher, and Oracle Weblogic using OEM12c.</p>
Table of Contents (16 chapters)
Oracle Enterprise Manager 12c Administration Cookbook
Credits
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Creating an OEM repository database


An OEM repository is required to store information related to various hosts and targets that need to be monitored via OEM. This recipe describes the steps to create an OEM repository database.

Getting ready

Before you start, ensure that the server is connected to the network, and an SSH or a telnet client is available. Also, make sure you have access to the Unix server as a privileged user.

How to do it...

To create an OEM repository database, perform the following steps:

  1. Connect to the server as the oracle user and invoke the Oracle utility Database Configuration Assistant (DBCA).

    $ cd /dboracle/product/11.2.0/dbhome_1/bin
    $ TEMP=/u01/tmp
    $ export TEMP
    
    ./dbca
    

    The following window appears after performing the preceding step:

  2. Click on the Next button to continue.

  3. Select the Create a Database option and then click on the Next button.

  4. Select the General Purpose or Transaction Processing option and click on Next.

  5. Enter a fully-qualified domain name value in the Global Database Name field and the SID field, and then click on Next.

    In this example, oem12c is used as the Global Database Name and the SID.

  6. Uncheck the Configure Enterprise Manager checkbox, and then click on Next.

  7. Set up a password for the database, and then click on the Next button.

    Note

    Note: The password should be a minimum of eight characters in length. In addition, the password must contain at least one uppercase character, one lowercase character, and one digit.

  8. Select the Storage Type field as File System from the drop-down list, and then select the Use Common location for All Database Files checkbox. Also, specify the Database Files Location field as /dborafiles.

  9. Click on the Next button.

  10. Select the Flash Recovery Area option, and then click on the Next button.

    Note

    Note: Archiving can be enabled later, once the database creation is done. If you want dbca to enable the archive, then select the Enable Archiving option and proceed. In this example, we ignore archive settings by dbca.

  11. No sample schemas or custom scripts are required. Click on Next.

  12. Select the Custom option and set SGA size and PGA size. Set SGA Size to, say, 2048 MB and PGA Size to 1024 MB. Then click on the Character Sets tab.

  13. Select Use Unicode (AL32UTF8) and choose a National Character Set of UTF8, and then click on the Next button.

  14. Review the control files' locations on the Database Storage screen, and then click on the Datafiles tab in the left-hand side pane.

  15. Review the data's filename and location, and then click on Redo Log Groups on the left-hand side pane.

  16. The Redo logfile's size should be a minimum of 300 MB for an OEM12C repository. Set the redo log's File Size to 300 MB for all three redo log groups.

  17. Click on the Next button.

  18. To create the database, click on Finish.

    Select the Save as a Database Template and Generate Database Creation scripts checkboxes if you wish to take this template and create the database with the same configuration, by SQL scripts on another server. This is an optional selection.

  19. Review the database configuration summary, and then click on OK to start the database creationonce it is complete, click on Exit. The repository database is now created.

How it works...

The preceding steps are used to create a repository database, which is required for the complete installation of OEM 12c. This repository database is used to store the information of various servers/databases and so on, which need to be managed and monitored.