Mar 16, 2016

Installation of Enterprise manager 12c Cloud control

1) About Enterprise Manager Cloud control

2) Cloud control 12c installation
a.       Pre-requisites
b.      Installation steps


1)  About Enterprise Manager Cloud controlOracle Enterprise Manager 12c is a systems management framework consisting of an Oracle database, Oracle WebLogic, a J2EE application, an application development frame work 11g (ADF) administrative Web GUI, server and client side plug-ins, and a client side agent. In the context of Oracle Enterprise Manager, the Oracle database repository is named the “Oracle Management Repository” or “OMR”. WebLogic is the J2EE platform called the “Oracle Management Service” or “OMS”, that runs the Oracle Enterprise Manager 12c J2EE application. The administrative Web GUI is named Oracle Enterprise Manager Cloud Control. The client side agents are named the “Oracle Management Agents” or “OMA”. The server and client side plug-ins share a unique name for the managed product or technology. Monitored hosts are referred to as targets. All of the Oracle Enterprise Manager components are commonly referred to as Oracle Enterprise Manager (OEM) or Enterprise Manager (EM).

Oracle Enterprise Manager (OEM or EM) is a set of web-based tools aimed at managing software and hardware produced by Oracle Corporation as well as by some non-Oracle entities. It is Oracle’s integrated enterprise information technology management product line, which provides the industry’s only complete, integrated, and business-driven enterprise cloud management solution. Oracle Enterprise Manager creates business value for IT by leveraging the built-in management capabilities of the Oracle stack for traditional and cloud environments, enabling customers to achieve unprecedented efficiency gains while dramatically increasing service levels. Enterprise Manager Cloud Control is the new name for what was previously know as Enterprise Manager Grid Control. This article describes the installation of Oracle Enterprise Manager Cloud Control 12c Release 1 on Oracle Linux 6.4.
You must have installed the database home .If you have performed a default database installation you will need to de configure Enterprise Manager Database Control by runnig the following command as the “oracle” user.

Click here to download

There are several Oracle Enterprise Manager 12c design options that can employed depending on the size and critically of your Enterprise Manager enviroment. For example, for evaluations an all-in-one Oracle Enterprise Manager 12c design could be deployed with the Oracle Management Repository and the Oracle Management Service installed on a single Linux node. For small and medium sites a multiple node Oracle Enterprise Manager 12c design could be deployed with the Oracle Management Repository installed on one Linux node, and the Oracle Management Service installed on a second Linux node. If your site's target count requires two Oracle Management Services or Databases, you'll need to deploy a high availability design with two Oracle Management Services with a load balancer, and/or a second Database with RAC for the Oracle Management Repository.

Figure 1 shows a high availability Oracle Enterprise Manager 12c design with the Oracle Management Service on two Linux nodes with a load balancer, a third Linux node with the Oracle Management Repository, servicing various targets. High availability Oracle Enterprise Manager 12c designs are ideal for medium and large sites. 


2) Cloud control 12c installationa.       Pre-requisites
b.      Installation steps
 

a) Pre-requisites ( Very small size configuration) 
OS                          : for Linux Release 6 and above
Database             : 10g and above
OMS                      : Release 12c / 13c

OS Processor    : Min. 2, OS Memory : Min 6GB

Database requirements ( Minimum)
                                : SGA+PGA or memory_target = 3G
                                : Process = 300
                                : shared_pool_size=600M
                                : Redo log size = 300M

See the below Table list for details of requirements for sizing:

Table 1 shows the recommended Oracle Enterprise Manager hardware requirements for an evaluation, small, medium and large deployment.

Deployment Size
OMS Hosts
OMS 
CPU Cores
OMS RAM
OMS Storage
DB Hosts
DB CPU Cores
DB RAM
All-in-one Install
Eval < 10 agents, < 100 targets, < 3 Concurrent User Sessions
1
2
*4 GB
18 GB
1
2
6
Yes
Small < 100 agents, < 1000 targets, < 10 Concurrent User Sessions
1
2
*6 GB
18 GB
1
2
6
No
Medium >= 100, < 1000 agents >= 1000, < 10,000 targets,  > = 10, < 25 Concurrent User Sessions
1
4
*6 GB
18 GB
2 with RAC
4 for each RAC node
8
No
Large >= 1000 agents, >= 10,000 targets,  >= 25, <= 50* Concurrent User Sessions
2
4
*6 GB
18 GB
2 with RAC
8 for each RAC node
16
No
* To use BI Publisher add 1.5 GB of RAM.



Table 2 shows the minimum storage requirments for the database server hosting the Oracle Management Repository.

Deployment Size
MGMT_TABLESPACE
MGMT_ECM_DEPOT_TS
TEMP
ARCHIVE LOG AREA
Eval < 10 agents, < 100 targets, < 3 Concurrent User Sessions
15 GB
1 GB
3 GB
Off
Small < 100 agents, < 1000 targets, < 10 Concurrent User Sessions
50 GB
1 GB
10 GB
25 GB
Medium >= 100, < 1000 agents >= 1000, < 10,000 targets,  > = 10, < 25 Concurrent User Sessions
200 GB
4 GB
20 GB
100 GB
Large >= 1000 agents, >= 10,000 targets,  >= 25, <= 50* Concurrent User Sessions
300 GB
8 GB
40 GB
150 GB

 


Figure 2 shows the Oracle Management Agent intra component communication and data exchange.
 

Service
Default Port
Enterprise Manager Upload HTTP Port
4889 - 4898
Enterprise Manager Upload HTTPS (SSL) Port
1159, 4899 - 4908
Management Agent Port
3872
Management Repository Database Port
1521
Cloud Control Console HTTP Port
7788 - 7798
Cloud Control Console HTTPS (SSL) Port
7799 -7809
EM Domain WebLogic Admin Server HTTP Port
7001
EM Domain WebLogic Admin Server HTTPS (SSL) Port
7101 - 7200
Cloud Control Managed Server HTTP Port
7201 - 7300
Cloud Control Managed Server HTTPS (SSL) Port
7301 - 7400
WebLogic Node Manager HTTPS (SSL) Port
7401 - 7500
JVM Diagnostics Managed Server
3800
JVM Diagnostics Managed Server (SSL)
3801
Application Dependency and Performance RMI Registry Port
51099
Application Dependency and Performance Java Provider Port
5503
Application Dependency and Performance Remote Service Controller Port
55000
               


b) Installation steps: All basic installation steps for Linux and Oracle database to be followed as per Oracle recommendations.  Here I will show you installation steps for Oracle Enterprise Manager cloud control 12c.

I did below settings in my lab database.

1) Process:  ( based on size)
SQL> alter system set processes=500 scope=spfile;

System altered.
2) Memory:
pga_aggregate_target=1G, SGA=2G ( memory_target can be set 3G also)

SQL> alter system set shared_pool_size=600M scope=spfile;
System altered.

SQL> alter system set session_cached_cursors=300 scope=spfile;
System altered.

3) Redo size min 300MB and of 3 members atleast

ALTER DATABASE ADD LOGFILE GROUP 4 ('/u01/oradata/PROD/redo04.log') SIZE 300M;ALTER DATABASE ADD LOGFILE GROUP 5 ('/u01/oradata/PROD/redo05.log') SIZE 300M;ALTER DATABASE ADD LOGFILE GROUP 6 ('/u01/oradata/PROD/redo06.log') SIZE 300M;( dropped others)

Then, Restarted the database.

Oracle Enterprise Manager 12c Installation
Installing Oracle Enterprise Manager 12c Release 5 on Oracle Database 11.2.0.4
on Oracle Linux 6 using the Oracle Universal Installer (OUI).

Unzip all your softwares.
[oracle@eh-uatdb2 OEM_12c]$ ls -lrt
total 8675240
-rwxr-xr-x. 1 oracle oinstall       5375 Dec 26  2013 runInstaller
drwxr-xr-x. 4 oracle oinstall       4096 Jan 15  2014 bipruntime
-rwxr-xr-x. 1 oracle oinstall 1533566101 Jun 11  2015 WT.zip
drwxr-xr-x. 4 oracle oinstall       4096 Jun 11  2015 oms
drwxr-xr-x. 4 oracle oinstall       4096 Jun 11  2015 jdk
drwxrwxr-x. 2 oracle oinstall       4096 Jun 11  2015 response
drwxrwxr-x. 2 oracle oinstall       4096 Jun 11  2015 wls
drwxr-xr-x. 7 oracle oinstall       4096 Jun 11  2015 install
drwxrwxr-x. 4 oracle oinstall       4096 Jun 11  2015 libskgxn
drwxr-xr-x. 9 oracle oinstall       4096 Jun 11  2015 stage
drwxr-xr-x. 2 oracle oinstall       4096 Jun 11  2015 plugins
-rw-r--r--. 1 oracle oinstall      65014 Jun 11  2015 release_notes.pdf
-rw-r--r--. 1 oracle oinstall 1880746349 Feb 25 15:05 em12105_linux64_disk2.zip
-rw-r--r--. 1 oracle oinstall 2392965180 Feb 25 15:40 em12105_linux64_disk1.zip
-rw-r--r--. 1 oracle oinstall 3076033575 Feb 25 16:40 em12105_linux64_disk3.zip

$

$ ./ runInstaller

Now follow the below steps:

 


















If you have configured internet access on this server, then enter your mail id and support id and password.


















Give local directory to install patches.



















Note: You must install all pre-requisites RMPs.

Go with Advance installation.



















Note: If empty folders not found, above error message will be displayed.
Be sure “agentr5” folder is a blank folder. Otherwise above error message will come.




















Weblogic User Name/pwd-  weblogic/webl0gic
Nodemanager Use Name/Pwd- nodemanager/n0demanager

( I used above password. The password must meet the requirements)



















Select your OMS installation path for EM cloud control. 



















Here you add your OMS database details. Must check your listener port also.














If your OMS database has EM repository, then remove them as per message shown in the error box. Follow below commands.


-        for standalone database
$ emca -deconfig dbcontrol db -repos drop -SYS_PWD  <pwd> -SYSMAN_PWD <pwd>

-        for RAC database
$ emca -deconfig dbcontrol db -repos drop -cluster -SYS_PWD  <pwd> -SYSMAN_PWD <pwd>


 














If you have not set minimum process value in your OMS database, then above error will come. Now you can increase your process value and bounce the database, then proceed from here.



















In this step enter sysman user and agent user password. You can use like below:

Sysman pwd : sysman123, Agent password : agent123

 
Here this dialog is showing port pool. We discussed the same in above.



















Click on install and follow the steps shown time to time.














 
Watch the progress.


















Ignore I selected.

 


















Click "Ok". Run the scripts on root.














When complete, below message will come.















After running roor.sh, then click "Close".

After selecting "close", your installation will be completed.

Now you can login through browser as displayed the URL in the above dialog.

















Enter User Name : sysman and password also.

After login, below window will be displayed. 

















Note : I have added few hosts, that's why this login window is showing some database names. The OEM Deployment sizes are as follows:    

  •     Small        < 100 agents < 1000 targets
  •     Medium     < 1000 agents < 10,000 targets
  •     Large        > 1000 agents > 10,000 targets
In the next publish I will share how to add hosts to manage/ monitor database hosted on the added host. Click here to see.

I hope this document will help to install EM cloud control 12c. In case of issues you can send messages via this blog.

Thanks. 

2 comments:

Translate >>