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

Setting up a Listener and a Local Net Service name configuration


The Listener is required to be configured in order to enable connectivity for the OEM repository database using SQL*Net. The Network Configuration Assistant (Netca) utility is used to do the network-related configuration for Oracle databases.

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.

How to do it...

  1. Invoke the netca utility in order to configure the listener as an oracle user.

    $ ./netca
    
  2. Select the Listener configuration checkbox, and then click on Next.

  3. Select Add, and then click on Next.

  4. Use the default Listener name as LISTENER, and then click on Next.

  5. Use the default TCP protocol, and then click on Next.

  6. Select the Use the standard port number of 1521 option, and then click on Next.

  7. Select No, and then click on Next.

  8. Click on Next to complete the listener's configuration.

  9. Create the tnsnames.ora file manually, or use netca to create a service name.

    The following entry is added to the $ORACLE_HOME/network/admin/tnsnames.ora file in order to create a service name. Host name to be specified is where the OEM repository database resides.

    oem12c =
      (DESCRIPTION =
        (ADDRESS_LIST =
            (ADDRESS =
              (COMMUNITY = SVMUSER.world)
              (PROTOCOL = TCP)
              (Host = servername.domain_name.com)
              (Port = 1521)
            )
        )
        (CONNECT_DATA =
           (SID = oem12c)
           (GLOBAL_NAME = oem12c)
        )
      )
    
  10. Check whether the listener has been created successfully and has been registered with the listener.

     $ lsnrctl status
    
  11. Check whether the database is reachable using the Net service name. The following command's output shows that the database is reachable.

    [$ tnsping oem12c
    

How it works...

The preceding steps complete the listener connectivity details, which are required to establish connectivity to the OEM repository database.