Wednesday, February 13, 2013

0 Install Oracle Enterprise Manager 12c

Oracle Enterprise Manager Cloud Control 12c( used to call Grid control ) has three components.

  • OMS: Middleware web server. It is base on Web logical sine 11g.
  • Management Agent: Needs to be installed on the monitor target.
  • Repository database

This post will work you through the installation processes that includes:

  • Install Oracle Linux on Virtual Box
  • Install the Oracle – Software Only
  • Create Listener: listener_oradb0
  • Creating a Database Instance with Preconfigured Repository Using Database Templates
  • Install glibc-devel library
  • Setting up the environment& directory
  • Install Enterprise Manager Cloud Control

 

Enterprise Manager Cloud Control Architecture

 

Software

Install Oracle Linux on Virtual Box

Please refer here for detail.

We need to allocate at least 3GB memory for the OS. It is part of EM installation pre check.However, if you have oracle database on the same host, the performance is not going to be great. I end up with allocate 6GB to my VM.

Install the Oracle – Software Only

Please refer here for detail. Basically, we need to complete below steps

  • Install Oracle preinstall package
  • Create Software installation folders
  • Configure User environment
  • Creating the oraInst.loc File
  • Prepare the responds file: Oracle Software Only

Then install the Oracle software
image

Create LISTener: listener_oradb0

LISTENER_oradb0 =
  (DESCRIPTION_LIST =
    (DESCRIPTION =
      (ADDRESS = (PROTOCOL = TCP)(HOST = panda.localdomain)(PORT = 7001))
      (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC7001))
    )
  )
 
ADR_BASE_LISTENER_oradb0 = /u01/app/oracle

 

 

Creating a Database Instance with Preconfigured Repository Using Database Templates

  • Copy the DB11.2.0.3_EM_seed_database* and  to $ORACLE_HOME/assistants/dbca/templates
  • Create the dbca.rsp
[GENERAL]
RESPONSEFILE_VERSION = "11.2.0"
OPERATION_TYPE = "createDatabase"
[CREATEDATABASE]
GDBNAME = "oradb0.panda.localdomain"
SID = "oradb0"
TEMPLATENAME = "DB11.2.0.3_EM_seed_database.dbc"
SYSPASSWORD = "XXXX"
SYSTEMPASSWORD = "XXXX"
EMCONFIGURATION = "NONE"
SYSMANPASSWORD = "XXXX"
DBSNMPPASSWORD = "XXXX"
LISTENERS = "LISTENER_oradb0"
INITPARAMS = "LOCAL_LISTENER=LISTENER_oradb0"
  • Execute dbca command to create the database
 dbca -silent -responseFile dbca.rsp 

image

Install glibc-devel library

 yum install glibc-devel.i686 

The glibc-devel package is required otherwise we would receive the pre check error during the installation.

image

 

Setting up the environment& directory

mkdir -p /u01/app/oracle/oms12cr2
mkdir -p /u01/app/oracle/agent12cr2

 

/u01/app/oracle/oms12cr2 is middleware home location and /u01/app/oracle/agent12cr2 is the agent home directory

unlimit –n must be greater than 4096. Refer here for how to update.

image

 

Install Enterprise Manager Cloud Control

The oracle install document says: 

You must not set the ORACLE_HOME and ORACLE_SID environment variables. You must ensure that the Oracle directories do NOT appear in the PATH.

However, It does works fine even I have those setting .

 

Execute .runInstaller from the software directory.

image

image

image

image

image

I select the “IBM DB2 Database” plugin. It would be interesting to see how EM works with DB2 later.

image

image

image

Because my Database is created from template hence the parameter does not meet the Advance installation requirement. For now, I just click OK to continue.

image

image

image

image

image

image

image

Login to the Enterprise Manager with Username: SYSMAN

image

image

Weblogic Administrator console::

Login: weblogic or nodemanager

image

image

 

Reference

0 comments:

Post a Comment

 

SQL Panda Copyright © 2011 - |- Template created by O Pregador - |- Powered by Blogger Templates