Feeds:
Posts
Comments

Posts Tagged ‘grid control’

Oracle 12.1.0.4.0 Enterprise Manager Cloud Control Installation on Solaris Spark 64bit

 

As stated earlier on my post about the installation of Oracle 12c enterprise manager cloud control installation. So , friends this post belong to the installation….

Please comment your suggestion or any feedback.

Prerequisite

The minimal Hardware requirement for OMS (got the data from metalink docs) –

 

SMALL MEDIUM LARGE
1 OMS, < =1000 targets, <100 agents 2 OMSes for < =10,000 targets and <1000 agents >2 OMSes, >=10,000 targets, >=1000 agents
CPU Cores/Host 2 4 8
RAM 4 GB 6 GB 8 GB
RAM with ADP, JVMD 6 GB 10 GB 14 GB
Oracle WebLogic Server JVM Heap Size 512 MB 1 GB 2 GB
Hard Disk Space 7 GB 7 GB 7 GB
Hard Disk Space with ADP, JVMD 10 GB 12 GB 14 GB

 

Note – If you have Enterprise Manager 10g Grid Control Release 4 (10.2.0.4.0) or lower installed, then you must first upgrade to Enterprise Manager 10g Grid Control Release 5 (10.2.0.5.0) or Enterprise Manager 11g Grid Control Release 1 (11.1.0.1.0) before you can upgrade to the new release.

 

Before proceeding please drop the old enterprise manager repository database.

Follow the steps to drop the old EM (Single Instance) repository –

  1. $ORACLE_HOME/bin/emca <space>-deconfig <space> dbcontrol <space> db<space> -repos <space> drop <space> – SYS_PWD <SYS Password> <space> – SYSMAN_PWD <SYSMAN Password>
  2. Enter the following information:

Database SID: DBTEST11G

Listener port number: 1525

To de-configure Database Control for a Real Application Clusters (RAC) database, follow the following command on database host:

  1. Set the environment variable <ORACLE_HOME>.
  2. Now run the following command:

$ORACLE HOME/bin/emca <space> -deconfig <space> dbcontrol <space> db <space> -repos <space>drop <space> -cluster <space> -SYS_PWD <space> <sys password> <space> -SYSMAN_PWD <sysman password>

 

Installation

Oracle strongly suggest to make below changes on your database before start 12c installation Init.ora parameter dedicated to EM12.1.0.4.0:

SGA_TARGET >=2G

SHARED_POOL_SIZE >=600M

PGA_AGGREGATE_TARGET>=1G

PROCESSES=300

JOB_QUEUE_PROCESSES=20

SESSION_CACHED_CURSORS=300

MEMORY_TARGET => should not be used

Or if your using 11.2.0.1.0 and using automatic memory management then no need to update SGA_TARGET or PGA_AGGREGATE_TARGET

 

Now that the environment and repository database is ready let’s start the installation.

First we need to update the parameters as per our environment.

SQL> alter system set shared_pool_size=600M scope=both sid=’*’;

alter system set PGA_AGGREGATE_TARGET=1G scope=both sid=’*’;

alter system set PROCESSES=300 scope=spfile sid=’*’;

alter system set sessions=335 scope=spfile sid=’*’;

(as the 10g rule applied for 1.1*process+5)

alter system set JOB_QUEUE_PROCESSES=20 scope=both sid=’*’;

alter system set SESSION_CACHED_CURSORS=300 scope=spfile sid=’*’;

Oracle recommended to use UNDO tablespace is at least 200M in size.

 

In 11g version We need to install Weblogic separately but in 12c its comes by default .(Default version is 10.3.5

Please be sure DO NOT SET ORACLE_HOME or ORACLE_SID before start installation

Oracle also recommended to set umask 022 before start installation

Now we can start 12.1 installation.

 

Go to 12.1 setup path and type below command to can start installation

 

 

  • ./runInstaller

installation_screen_1

  • Optional screen to provide oracle support credentials.

 

  • If you are skipping the support credentials page. Just press yes and proceed.

installation_screen_2

installation_screen_3

  • Next screen is the prerequisite check(here we got a failed prerequisite check ulimit)

installation_screen_4

To solve the ulimit error we need to add set ulimit = 4096 /etc/system file if available but in our scenario as it is a virtual server we have to add it to /etc/project file.

project.max-sem-nsems=(privileged,4096,deny)

save the file and do source /etc/project and check it

bash-3.2$ projects -l

system

projid : 0

comment: “”

users : (none)

groups : (none)

attribs:

user.root

projid : 1

comment: “”

users : (none)

groups : (none)

attribs:

noproject

projid : 2

comment: “”

users : (none)

groups : (none)

attribs:

default

projid : 3

comment: “”

users : (none)

groups : (none)

attribs:

group.staff

projid : 10

comment: “”

users : (none)

groups : (none)

attribs:

group.dba

projid : 100

comment: “”

users : (none)

groups : (none)

attribs: project.max-sem-ids=(privileged,100,deny)

process.max-file-descriptor=(priv,8192,deny)

project.max-sem-nsems=(privileged,4096,deny)

project.max-shm-ids=(privileged,100,deny)

project.max-shm-memory=(privileged,8589934592,deny)

bash-3.2$

  •  Once the prerequisite have passed we can proceed with Installation type.

installation_screen_5

Here we need to select the installation type depend upon our environment to monitor.

If you use Simple than Cloud Control will install by default plugins. (Exadata ,Oracle Database, Fusion Middleware, My Oracle Support)

  • Next we have to provide the location for Middleware and Agent Binaries.

installation_screen_6

  • Next we need to supply the oms admin credentials with the DB details where you want to install the management repository database.

installation_screen_7

While specifying Database Host name please be sure to use the fully qualified domain name like testDB.oracle.com or you can also supply the host IP.

  • Review the setup and click next.

installation_screen_8

  • In addition after proceeding with the setup you may get yes/no and ok/cancel screen just review and proceed further.

installation_screen_9

  • After the installation is successful. Just execute the root.sh

Now wait for around 45 minutes to complete the setup and open the URL at the browser…

screen

  1. After everything is done successfully. Use the link to open the enterprise manager console.

https://111.112.12.25:7799/em

https://testDB:7799/em

 

Login with the username sysman and the password you have provided during installation.

 

  To check the status of enterprise manager agent.

cd $AGENT_HOME/bin

bash-3.2$ ./emctl status agent

Oracle Enterprise Manager Cloud Control 12c Release 4

Copyright (c) 1996, 2014 Oracle Corporation. All rights reserved.

—————————————————————

Agent Version         : 12.1.0.4.0

OMS Version           : 12.1.0.4.0

Protocol Version       : 12.1.0.1.0

Agent Home             : /u01/oracle/enterprise_mang/agent/agent_inst

Agent Log Directory   : /u01/oracle/enterprise_mang/agent/agent_inst/sysman/log

Agent Binaries         : /u01/oracle/enterprise_mang/agent/core/12.1.0.4.0

Agent Process ID      : 5969

Parent Process ID     : 5918

Agent URL             : https://testDB:3872/emd/main/

Local Agent URL in NAT : https://testDB:3872/emd/main/

Repository URL         : https://testDB:1159/empbs/upload

Started at             : 2014-09-15 21:24:42

Started by user       : oracle

Operating System       : SunOS version 5.10 (sparcv9)

Last Reload           : (none)

Last successful upload                       : 2014-09-16 12:16:28

Last attempted upload                       : 2014-09-16 12:16:28

Total Megabytes of XML files uploaded so far : 2.06

Number of XML files pending upload           : 0

Size of XML files pending upload(MB)         : 0

Available disk space on upload filesystem   : 44.19%

Collection Status                           : Collections enabled

Heartbeat Status                             : Ok

Last attempted heartbeat to OMS             : 2014-09-16 12:17:03

Last successful heartbeat to OMS             : 2014-09-16 12:17:03

Next scheduled heartbeat to OMS             : 2014-09-16 12:18:03

 

—————————————————————

Agent is Running and Ready

 

 

 

Hope that will help a bit…

 

Thanks & Regards

Nimai Karmakar

Read Full Post »

Johribazaar's Blog

Just another WordPress.com weblog

Ayurveda and Yoga

Site for Ayurveda and Yoga articles

SanOraLife

Few adventures in my slow running life...

pavankumaroracledba

4 out of 5 dentists recommend this WordPress.com site

ORACLE WRITES

Technical Articles by Kanchana Selvakumar

SAP Basis Cafe

SAP Basis Cafe - Exploring SAP R/3 Basis World

Life Is A Mystery

This Is Wihemdra's Blog...I Share What I Have

ursvenkat's Blog

Oracle Applications DBA Blog

The Ivica Arsov Blog

Database Management & Performance

gumpx

DBA's online diary