0% found this document useful (0 votes)
118 views19 pages

Cloud Control 12c ALL Installations

The document discusses the installation of Oracle Enterprise Manager Cloud Control 12c across multiple versions. It covers prerequisites for installing 12.1.0.1 such as required RPMs and database configuration. It also discusses installing 12.1.0.2 and deconfiguring the existing database control. The document provides commands for configuring the database for use as the repository, and guides on running the installation wizard and verifying the Cloud Control installation.

Uploaded by

Maliha Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
118 views19 pages

Cloud Control 12c ALL Installations

The document discusses the installation of Oracle Enterprise Manager Cloud Control 12c across multiple versions. It covers prerequisites for installing 12.1.0.1 such as required RPMs and database configuration. It also discusses installing 12.1.0.2 and deconfiguring the existing database control. The document provides commands for configuring the database for use as the repository, and guides on running the installation wizard and verifying the Cloud Control installation.

Uploaded by

Maliha Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 19

TOC

======================================================================
|| 1. Important Notes

|| 2. Installation 12.1.0.1

|| 3. Installation 12.1.0.2

|| 4. Installation 12.1.0.3

|| 5. Installation 12.1.0.4

|| 6. Installation 12.1.0.5
|| 7. Post Installation Steps

|| 8. Startup and Shutdown of Cloud control

======================================================================

===================================================================================
===================================================================================
==================

Oracle Enterprise Manager Grid Control Certification Checker (Doc ID 412431.1)


Understanding Enterprise Manager Certification (Certify) in My Oracle Support (Doc
ID 406906.1)
How to Install Enterprise Manager Cloud Control 12.1.0.1 (12c) [1359176.1]
EM12c: How to install Enterprise Manager Cloud Control 12c Agent [1360183.1]
How to Install Enterprise Manager Cloud Control 12.1.0.1 (12c) using Software-only
Method [1364002.1]
How to Install Enterprise Manager Cloud Control 12.1.0.1 (12c) using Software-only
Silent Install Method with Response File [ID 1364025.1]
FAQ: Enterprise Manager Cloud Control 12c Install / Upgrade Frequently Asked
Questions [1363863.1]
Enterprise Manager Cloud Control 12c Installation List of the Log Files and
Commands to Zip them into One Zip Archive [1363779.1]
Enterprise Manager Cloud Control 12c Agent Installation List of the Log Files and
Commands to Zip them into One Zip Archive [1367301.1]
EM 12c: How to Deploy the Enterprise Manager Cloud Control 12c Linux x86 Agent From
the Enterprise Manager 12.1 Console (Doc ID 1360183.1)
EM 12c : How to Discover All Targets On a Single Host After Agent Installation ?
(Doc ID 1386817.1)
EM 12c, EM 13c: Staging the Enterprise Manager Cloud Control Management Agent for
Deployment Using the Self Update, Download and Apply Functions (Doc ID 1369575.1)
How to set the 'My Oracle Support' Preferred Credentials in 12c Cloud Control? (Doc
ID 1371796.1)
Understanding and Configuring Software Library In 12C Cloud Control (Doc ID
1368035.1)
12c Cloud Control EM CLI: How to Install and Setup 12c emcli (Enterprise Manager
Command Line Interface)? (Doc ID 1369864.1)
Master Note for 12c Cloud Control OMS (Doc ID 1957139.1)
EM 12c : Managing Log Files In the Cloud Control Console (Doc ID 1407254.1)
12c Cloud Control: How to Enable Log Rotation Policy to Automatically Delete Older
GCDomain.log, EMGC_ADMINSERVER.log and access.log Files? (Doc ID 1450535.1)
12c Cloud Control: Which WLS Log Files Can be Removed / Purged Manually at Regular
Intervals in 12c OMS Installation for Space Considerations? (Doc ID 1445743.1)
Oracle Enterprise Manager 12C Configuration Best Practices (Doc ID 1929586.1)
OMS Start Failure Known Issues And Troubleshooting Guide (Doc ID 1448042.1)
EM 12c, EM 13c: Troubleshooting Database and Listener Discovery in Enterprise
Manager 12c and 13c Cloud Control (Doc ID 1543745.1)
Regenerating the EM 12c-WLS Demo Identity Certificate with 1024 bit Keystrength (to
fix the browser error: ssl_error_weak_server_cert_key) (Doc ID 1510058.1)

=================================================================================
Instllation 12.1.0.1

===================================================================================

https://oracle-base.com/articles/12c/cloud-control-12cr1-installation-on-oracle-
linux-5-and-6

rpm -ivh setarch-2*


rpm -ivh make-3*
rpm -ivh glibc-2*
rpm -ivh libaio-0*
rpm -ivh compat-libstdc++-33-*
rpm -ivh compat-gcc-34-3*
rpm -ivh compat-gcc-34-c+*
rpm -ivh gcc-4*
rpm -ivh libXp-1*
rpm -ivh openmotif-2*
rpm -ivh compat-db-4*
rpm -ivh sysstat*
rpm -ivh binutils-2.*
rpm -ivh compat-libstdc++-33*
rpm -ivh compat-libstdc++-33*.i386.rpm
rpm -ivh elfutils-libelf*
rpm -ivh gcc-4.*
rpm -ivh gcc-c++-4.*
rpm -ivh glibc-2.*
rpm -ivh glibc-common-2.*
rpm -ivh glibc-devel-2.*
rpm -ivh glibc-headers-2.*
rpm -ivh ksh*
rpm -ivh libaio-0.*
rpm -ivh libaio-devel-0.*
rpm -ivh libgomp-4.*
rpm -ivh libgcc-4.*
rpm -ivh libstdc++-4.*
rpm -ivh libstdc++-devel-4.*
rpm -ivh make-3.*
rpm -ivh sysstat-7.*
rpm -ivh unixODBC-2.*
rpm -ivh unixODBC-devel-2.*
rpm -ivh numactl-devel-*
rpm -ivh kernel-debug-2*
rpm -ivh kernel-xen-2*
rpm -ivh oracleasm*

2) Installation of Oracle Database (Repository Database): You can install one of


the certified databases: 11.2.0.3, 11.2.0.2, 11.2.0.1, 11.1.0.7 and 10.2.0.5.

Previous versions of the database can be used to hold the repository, but anything
earlier than 11.2.0.2 will require additional patches.

Do not forget to apply the latest PSU to the database. It is recommended that you
do not use “memory_target” parameter with Enterprise Manager. Run the following
commands and bounce the database:

ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;


ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE;
ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;
ALTER SYSTEM SET log_buffer=10485760 SCOPE=SPFILE;
ALTER SYSTEM SET open_cursors=300 SCOPE=SPFILE;
ALTER SYSTEM SET processes=300 SCOPE=SPFILE;
ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;
ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE;

EXEC dbms_auto_task_admin.disable('auto optimizer stats collection',null,null);

These are minimum values, you can set higher values according to your system
resources. It’s also recommend to have at least 3 redo log groups sized 300M.
Luckily, the installer will warn you about all these settings.

Make sure that no Environmental variable related with Oracle (such as ORACLE_HOME)
are set prior to installation. It’s also recommend to set umask to 022.

Make a directory to hold the Middleware installation.

$ mkdir -p /u01/app/oracle/Middleware

./runInstaller

If you wish to receive support information, enter the required details, or uncheck
the security updates checkbox and click the "Next" button. Click the "Yes" button
the subsequent warning dialog.
If you wish to check for updates, enter the required details, or check the "Skip"
option and click the "Next" button.

If you have performed the prerequisites as described, the installation on OL5.7


should pass all prerequisite checks. On OL6.1 there is one failure due to the
presence of "glibc-devel.i686", rather than the
expected "glibc-devel.i386". This can be ignored by pressing the "Ignore" button,
followed by the "Next" button.

Select the "Create a new Enterprise Manager System" and "Simple" options, enter the
middleware home ("/u01/app/oracle/Middleware") and click the "Next" button.

Enter the administrator password and database repository details, then click the
"Next" button.

On the first warning dialog, click the "Yes" button to disable the stats gathering
job.

Check the additional warnings, then click the "OK" button to continue.

If you are happy with the review information, click the "Install" button.

Wait while the installation and configuration take place.

When prompted, run the root scripts, then click the "OK" button.

Make note of the URLs, then click the "Close" button to exit the installer. A copy
of this information is available in the
"/u01/app/oracle/Middleware/oms/install/setupinfo.txt" file.

The login screen is available from a browser using the URL provided in the previous
screen ("https://ol6-gc12c.localdomain:7803/em"). Log in with the username "sysman"
and the password you specified during your installation.

Once logged in, you are presented with a with the "License Agreement" screen. Click
the "I Agree" button and you are presented with the homepage selector screen.
Select the desired homepage (I chose Summary) and click the "Preview" button.

You are presented with the selected screen as the console homepage.
=================================================================================
Instllation 12.1.0.2

===================================================================================

https://oracle-base.com/articles/12c/cloud-control-12cr2-installation-on-oracle-
linux-5-and-6

The installation documentation says the following packages are necessary for the
cloud control installation. If you have performed the database installation as
described in one of the above articles, most of these
prerequisites will already have been met.

# OL 5.x and 6.x


yum install make-3*
yum install binutils-2*
yum install gcc-4*
yum install libaio-0*
yum install glibc-common-2*
yum install libstdc++-4*
yum install sysstat-*
yum install glibc-devel

# OL 6.x only
yum install glibc-devel.i686 (not installed already)

# OL 5.x only
yum install glibc-devel.i386
yum install setarch
yum install rng-utils-2*
yum install libXtst-1*
yum install xorg-x11-utils

Previous versions of the database can be used to hold the repository, but anything
earlier than 11.2.0.2 will require additional patches.

If you have performed a default database installation you will need to deconfigure
Enterprise Manager Database Control. Run the following command as the "oracle"
user.

$ emca -deconfig dbcontrol db -repos drop -SYS_PWD <sys pasword> -SYSMAN_PWD


<sysman password>

Make the following initialization parameter changes and restart the instance.

ALTER SYSTEM SET processes=300 SCOPE=SPFILE;


ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;
ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE;
ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE;
ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;
ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;

-- May be required if using older versions of DB.


--ALTER SYSTEM SET log_buffer=10485760 SCOPE=SPFILE;
--ALTER SYSTEM SET open_cursors=300 SCOPE=SPFILE;

-- Restart the instance.


SHUTDOWN IMMEDIATE
STARTUP

If you have done a default installation as described here, the UNDO tablespace will
be autoextensible. If you have done a custom installation make sure the UNDO
tablespace is at least 200M in size. Also, make sure you
have 3 redo logs of at least 300M to prevent a warning during the installation.

The database installation is now complete.


Cloud Control 12c Installation

Make the following directories to hold the management server and agent.

$ mkdir -p /u01/app/oracle/oms12cr2
$ mkdir -p /u01/app/oracle/agent12c

Unzip the Cloud Control media, the start the installation by running the
"runInstller" script.

$ mkdir em12cr2
$ unzip -d em12cr2 em12cr2_linux64_disk1.zip
$ unzip -d em12cr2 em12cr2_linux64_disk2.zip
$ unzip -d em12cr2 em12cr2_linux64_disk3.zip
$ cd em12cr2

$ ./runInstaller

If you wish to receive support information, enter the required details, or uncheck
the security updates checkbox and click the "Next" button. Click the "Yes" button
the subsequent warning dialog.

If you wish to check for updates, enter the required details, or check the "Skip"
option and click the "Next" button.

If you have performed the prerequisites as described, the installation should pass
all prerequisite checks. Click the "Next" button.

Select the "Create a new Enterprise Manager System" and "Simple" options, then
click the "Next" button.

Enter the middleware and agent locations, then click the "Next" button.

Enter the administrator password and database repository details, then click the
"Next" button.

On the first warning dialog, click the "Yes" button to disable the stats gathering
job.
If you have any additional warnings, check they dont look like show-stoppers, then
click the "OK" button to continue.

If you are happy with the review information, click the "Install" button.

Wait while the installation and configuration take place.

When prompted, run the root scripts, then click the "OK" button.

Make note of the URLs, then click the "Close" button to exit the installer. A copy
of this information is available in the
"/u01/app/oracle/Middleware/oms/install/setupinfo.txt" file.

The login screen is available from a browser using the URL provided in the previous
screen ("https://ol6-em12cr2.localdomain:7803/em"). Log in with the username
"sysman" and the password you specified during your installation.

Once logged in, you are presented with a with the "License Agreement" screen. Click
the "I Agree" button and you are presented with the homepage selector screen.
Select the desired homepage (I chose Summary) and click the "Preview" button.

You are presented with the selected screen as the console homepage.

=================================================================================
Instllation 12.1.0.3

===================================================================================

https://oracle-base.com/articles/12c/cloud-control-12cr3-installation-on-oracle-
linux-5-and-6

Database Installation

Use one of the following articles to install the 11.2.0.3 database.


Remember to do an advanced installation and pick the ALT32UTF8 character set.

Previous versions of the database can be used to hold the repository, but anything
earlier than 11.2.0.2 will require additional patches.

The installation documentation says the following packages are necessary for the
cloud control installation. If you have performed the database installation as
described in one of the above articles, most of these prerequisites
will already have been met.

# OL 5.x and 6.x


yum install make-3* -y
yum install binutils-2* -y
yum install gcc-4* -y
yum install libaio-0* -y
yum install glibc-common-2* -y
yum install libstdc++-4* -y
yum install sysstat-* -y
yum install glibc-devel -y

# OL 6.x only
yum install glibc-devel.i686 -y (not installed already)

# OL 5.x only
yum install glibc-devel.i386 -y
yum install setarch -y
yum install rng-utils-2* -y
yum install libXtst-1* -y
yum install xorg-x11-utils -y

If you have performed a default database installation you will need to deconfigure
Enterprise Manager Database Control. Run the following command as the "oracle"
user.

$ emca -deconfig dbcontrol db -repos drop -SYS_PWD <sys pasword> -SYSMAN_PWD


<sysman password>

Make the following initialization parameter changes and restart the instance.

sqlplus / AS SYSDBA

ALTER SYSTEM SET processes=300 SCOPE=SPFILE;


ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;
ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE;
ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE;
ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;
ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;

-- May be required if using older versions of DB.


--ALTER SYSTEM SET log_buffer=10485760 SCOPE=SPFILE;
--ALTER SYSTEM SET open_cursors=300 SCOPE=SPFILE;

-- Restart the instance.


SHUTDOWN IMMEDIATE
STARTUP

If you have done a default installation as described here, the UNDO tablespace will
be autoextensible. If you have done a custom installation make sure the UNDO
tablespace is at least 200M in size. Also, make sure you have
3 redo logs of at least 300M to prevent a warning during the installation.

The database installation is now complete.


Cloud Control 12c Installation

Make the following directories to hold the management server and agent.

$ mkdir -p /u01/app/oracle/oms12cr3
$ mkdir -p /u01/app/oracle/agent12c

Unzip the Cloud Control media, the start the installation by running the
"runInstller" script.

$ mkdir em12cr3
$ unzip -d em12cr3 em12103_linux64_disk1.zip
$ unzip -d em12cr3 em12103_linux64_disk2.zip
$ unzip -d em12cr3 em12103_linux64_disk3.zip
$ cd em12cr3

$ ./runInstaller

If you wish to receive support information, enter the required details, or uncheck
the security updates checkbox and click the "Next" button. Click the "Yes" button
the subsequent warning dialog.

My Oracle Support Details

If you wish to check for updates, enter the required details, or check the "Skip"
option and click the "Next" button.

If you have performed the prerequisites as described, the installation should pass
all prerequisite checks. Click the "Next" button.

Select the "Create a new Enterprise Manager System" and "Simple" options, then
click the "Next" button.

Enter the middleware and agent locations, then click the "Next" button.

Enter the administrator password and database repository details, then click the
"Next" button.

On the first warning dialog, click the "Yes" button to disable the stats gathering
job.

If you have any additional warnings, check they dont look like show-stoppers, then
click the "OK" button to continue.

If you are happy with the review information, click the "Install" button.

Wait while the installation and configuration take place.

When prompted, run the root scripts, then click the "OK" button.

Make note of the URLs, then click the "Close" button to exit the installer. A copy
of this information is available in the
"/u01/app/oracle/Middleware/oms/install/setupinfo.txt" file.

The login screen is available from a browser using the URL provided in the previous
screen ("https://ol6-em12cr3.localdomain:7803/em"). Log in with the username
"sysman" and the password you specified during your installation.

Once logged in, you are presented with a with the "License Agreement" screen. Click
the "I Accept" button and you are presented with the homepage selector screen. On
the right side of the screen it lists the post-installation
setup tasks you need to work through. I have these documented in a separate
article. Select the desired homepage (I chose Summary).
You are presented with the selected screen as the console homepage.

=================================================================================
Instllation 12.1.0.4

===================================================================================

https://oracle-base.com/articles/12c/cloud-control-12cr4-installation-on-oracle-
linux-5-and-6

Database Installation

Use one of the following articles to install the 11.2.0.4 or 12.1.0.1 database.

Remember to do an advanced installation and pick the ALT32UTF8 character set.

Previous versions of the database can be used to hold the repository, but anything
earlier than 11.2.0.2 will require additional patches.

he installation documentation says the following packages are necessary for the
cloud control installation. If you have performed the database installation as
described in one of the above articles, most of these prerequisites
will already have been met.

# OL5 and OL6


yum install make -y
yum install binutils -y
yum install gcc -y
yum install libaio -y
yum install glibc-common -y
yum install libstdc++ -y
yum install libXtst -y
yum install sysstat -y
yum install glibc-devel -y
yum install glibc -y
yum install libaio -y

# OL5
yum install setarch -y
yum install rng-utils -y
yum install glibc-devel.i386 -y

# OL6
yum install glibc-devel.i686 -y
If you have performed a default 11g database installation you will need to
deconfigure Enterprise Manager Database Control. Run the following command as the
"oracle" user.

$ emca -deconfig dbcontrol db -repos drop -SYS_PWD <sys pasword> -SYSMAN_PWD


<sysman password>

Make the following initialization parameter changes and restart the instance.

sqlplus / AS SYSDBA

ALTER SYSTEM SET processes=300 SCOPE=SPFILE;


ALTER SYSTEM SET session_cached_cursors=200 SCOPE=SPFILE;
ALTER SYSTEM SET sga_target=2G SCOPE=SPFILE;
ALTER SYSTEM SET shared_pool_size=600M SCOPE=SPFILE;
ALTER SYSTEM SET pga_aggregate_target=1G SCOPE=SPFILE;
ALTER SYSTEM SET job_queue_processes=20 SCOPE=SPFILE;

-- May be required if using older versions of DB.


--ALTER SYSTEM SET log_buffer=10485760 SCOPE=SPFILE;
--ALTER SYSTEM SET open_cursors=300 SCOPE=SPFILE;

-- Restart the instance.


SHUTDOWN IMMEDIATE
STARTUP

If you have done a default installation as described here, the UNDO tablespace will
be autoextensible. If you have done a custom installation make sure the UNDO
tablespace is at least 200M in size. Also, make sure you
have 3 redo logs of at least 300M to prevent a warning during the installation.

Edit the "/etc/security/limits.conf" file, increasing the following entry to 4096


if it is less than that. You will need to reboot after this.

oracle soft nofile 4096

The database installation is now complete.

Cloud Control 12c Installation

Make the following directories to hold the management server and agent.

$ mkdir -p /u01/app/oracle/oms12cr4
$ mkdir -p /u01/app/oracle/agent12c

Unzip the Cloud Control media, the start the installation by running the
"runInstller" script.

$ mkdir em12cr4
$ unzip -d em12cr4 em12104_linux64_disk1.zip
$ unzip -d em12cr4 em12104_linux64_disk2.zip
$ unzip -d em12cr4 em12104_linux64_disk3.zip
$ cd em12cr4

$ ./runInstaller

If you wish to receive support information, enter the required details, or uncheck
the security updates checkbox and click the "Next" button. Click the "Yes" button
the subsequent warning dialog.

If you wish to check for updates, enter the required details, or check the "Skip"
option and click the "Next" button.

If you have performed the prerequisites as described, the installation should pass
all prerequisite checks. Click the "Next" button.

Select the "Create a new Enterprise Manager System" and "Simple" options, then
click the "Next" button.

Enter the middleware and agent locations, then click the "Next" button.

Enter the administrator password and database repository details, then click the
"Next" button.

On the first warning dialog, click the "Yes" button.

If you have any additional warnings, check they dont look like show-stoppers, then
click the "OK" button to continue.

If you are happy with the review information, click the "Install" button.

Wait while the installation and configuration take place.

When prompted, run the root scripts, then click the "OK" button.

Make note of the URLs, then click the "Close" button to exit the installer. A copy
of this information is available in the
"/u01/app/oracle/oms12cr4/oms/install/setupinfo.txt" file.

The login screen is available from a browser using the URL provided in the previous
screen ("https://ol6-em12cr4.localdomain:7802/em"). Log in with the username
"sysman" and the password you specified during your installation.

Once logged in, you are presented with a with the "Accessibility Preference"
screen. Click the "Save and Continue" button and you are presented with the the
"License Agreement" screen. Click the "I Accept" button and you are
presented with the homepage selector screen. On the right side of the screen it
lists the post-installation setup tasks you need to work through. I have these
documented in a separate article. Select the desired
homepage (I chose Summary).

You are presented with the selected screen as the console homepage.

=================================================================================
Instllation 12.1.0.5

===================================================================================
https://oracle-base.com/articles/12c/cloud-control-12cr5-installation-on-oracle-
linux-5-and-6

At the time of writing, Cloud Control 12.1.0.5 is certified on Oracle Linux 5 and
6, but not on Oracle Linux 7. Check the certification matrix before attempting
installations on any other Oracle Linux version.

Database Installation (Software-Only)

For this installation Im using 12.1.0.2 for the repository database, so use the
installation instructions from one of the following articles.

Do a software-only installation, as we will be using the template to create the


repository database.

The installation documentation says the following packages are necessary for the
cloud control installation. If you have performed the database installation as
described in one of the above articles, most of these prerequisites
will already have been met.

# OL5 and OL6


yum install make -y
yum install binutils -y
yum install gcc -y
yum install libaio -y
yum install glibc-common -y
yum install libstdc++ -y
yum install libXtst -y
yum install sysstat -y
yum install glibc-devel -y

# OL6 Only
yum install glibc-devel.i686 -y

# OL5 Only
yum install glibc-devel.i386 -y
yum install setarch -y
yum install rng-utils -y
yum install xorg-x11-utils -y

The database software installation is now complete.

Cloud Control 12c Installation

Make the following directories to hold the management server and agent.

$ mkdir -p /u01/app/oracle/oms12cr5
$ mkdir -p /u01/app/oracle/agent12c

Unzip the Cloud Control media, the start the installation by running the
"runInstaller" script.

$ mkdir em12cr5
$ unzip -d em12cr5 em12105_linux64_disk1.zip
$ unzip -d em12cr5 em12105_linux64_disk2.zip
$ unzip -d em12cr5 em12105_linux64_disk3.zip
$ cd em12cr5

$ ./runInstaller

If you wish to receive support information, enter the required details, or uncheck
the security updates checkbox and click the "Next" button. Click the "Yes" button
the subsequent warning dialog.

If you wish to check for updates, enter the required details, or check the "Skip"
option and click the "Next" button.

If you have performed the prerequisites as described, the installation should pass
all prerequisite checks. Click the "Next" button.

Select the "Create a new Enterprise Manager System" and "Simple" options, then
click the "Next" button.

Enter the middleware and agent locations, then click the "Next" button.

Enter the administrator password and database repository details, then click the
"Next" button.

If you are happy with the review information, click the "Install" button.

Wait while the installation and configuration take place. Notice the "Repository
Out Of Box Configuration" step. If we had not used the database template, this
would read "Repository Configuration" and the contents of
the repository would be created from scratch.

When prompted, run the root scripts, then click the "OK" button.

Make note of the URLs, then click the "Close" button to exit the installer. A copy
of this information is available in the
"/u01/app/oracle/oms12cr5/oms/install/setupinfo.txt" file.

The login screen is available from a browser using the URL provided in the previous
screen ("https://ol6-emcc.localdomain:7802/em"). Log in with the username "sysman"
and the password you specified during your installation.

Once logged in, you are presented with a with the "Accessibility Preference"
screen. Click the "Save and Continue" button and you are presented with the the
"License Agreement" screen. Click the "I Accept" button and
you are presented with the homepage selector screen. On the right side of the
screen it lists the post-installation setup tasks you need to work through. I have
these documented in a separate article. Select the desired
homepage (I chose Summary).
You are presented with the selected screen as the console homepage.

Server has a weak, ephemeral Diffie-Hellman public key

To fix this problem, follow the instructions in MOS Note 1510058.1.

================================================================================
Oracle Enterprise Manager Cloud Control 12c Post-Installation Setup Tasks
==============================================

Setup Software Library

Create a directory to use as the software library.

$ mkdir -p /u01/app/oracle/oms12cr2/software_library

Navigate to the "Software Library: Administration" screen using the menu at the
top-right of the screen (Setup > Provisioning and Patching > Software Library).

Select the storage type of "OMS Agent Filesystem".

Click the "Add +" button.

Enter a name and use the lookup buttons to select the local agent and location
on the file system for the software library. Once youve selected the appropriate
values, click the "OK" button.

The software library is now configured.

Set My Oracle Support (MOS) Credentials

Navigate to the "My Oracle Support Preferred Credentials" screen using the menu
at the top-right of the screen (Setup > My Oracle Support > Set Credentials...).

Enter the credentials and click the "Apply" button.

Download Additional Agents

Navigate to the "Self Update" screen using the menu at the top-right of the
screen (Setup > Extensibility > Self Update).

Click on the "Check Updates" button and "OK" on the subsequent message dialog.
Click on the "Agent Software" link.

Highlight the agent of interest and click the "Download" button. Select the
download schedule and click the "Select" button. Click the "OK" button on the
confirmation dialog.

Click the refresh button on the top-right of the screen until the download is
complete and the status changes to "Downloaded".

Highlight the newly downloaded software and click the "Apply" button, followed
by the "OK" button on the two following message dialogs.

When the status changes to "Applied", the agent software is ready for
installation on a target.

Install an Agent on a Target Host

Navigate to the "Add Targets Manually" screen using the menu at the top-right
of the screen (Setup > Add Target > Add Targets Manually).

Accept the "Add Host Targets" option by clicking the "Add Host..." button.

Click the "Add +" button.

Enter the host and platform, then click the "Next" button.

Enter the installation details and click the "Next" button.

Installation Base Directory : /u01/app/oracle/agent12c


Instance Directory : /u01/app/oracle/agent12c/agent_inst (default)
Named Credential : (click the "+" button and add the credentials of the
"oracle" user)
Privileged Delegation Setting: (leave blank)
Port : 3872

If you are installing the agent on a HP Service Guard package, remember to set
the "Additional Parameters" to point at the package-specific inventory location and
override the machine name with the package name. For example.

INVENTORY_LOCATION=/u07/app/oraInventory ORACLE_HOSTNAME=my-package.example.com

Check the information on the review screen and click the "Deploy Agent" button.

Wait while the installation takes place. The "Add Host Status" page refreshes
every 30 seconds.

When the installation completes, run the specified "root.sh" script and click
the "Done" button.

The host will now be visible on the "Targets > Hosts" screen.
Discover Targets on Host

Navigate to the "Add Targets Manually" screen using the menu at the top-right
of the screen (Setup > Add Target > Add Targets Manually).

Select the "Add Non-Host Targets Using Guided Process (Also Adds Related
Targets)" option, select the target types to be discovered (eg. Oracle Database,
Listener and Automatic Storage Manager) and click the
"Add Using guided Discovery..." button.

Enter the host name and click the "Continue" button.

Click the "Configure" icon for any discovered targets and enter the required
details. If you are using HP Service Guard, remember to only select and configure
targets belonging to the package. By default, the agent will
discover all targets on the physical machine.

When all the configuration steps are complete, click the "Finish" button,
followed by the "Save" button, then finally the "OK" button.

The targets will now be listed on the relevant target screen (Targets >
Databases).

Add Administrator Users

Navigate to the "Administrators" screen using the menu at the top-right of the
screen (Setup > Security > Administrators).

Click the "Create" button.

Enter the username/password details and check the "Super Administrator"


checkbox, then click the "Review" button.

Click the "Finish" button.

Notifications

Setup and maintenance of notifications has changed considerably in Cloud Control


12c compared to previous versions of Grid Control. There are several areas to
consider when configuring and diagnosing notification issues.

Make sure the SMTP server is registered in the "Setup > Notifications >
Notification Methods" screen.

Check the "Setup > Incidents > Incident Rules" screen. Make sure the relevant
incident rules are enabled. Create any new rules you need.

Subscribe to any rules you want to be notified about. To do this, highlight the
rule, then do "Actions > Email > Subscribe Me".

Make sure your email is setup in the "Enterprise Manager Password & Email"
screen, from the menu below your username on the top right of the screen.

Plugin Patches

The following is an overview of the process for applying the 12.1.0.7 plugin patch
to Cloud Control 12c (12.1.0.4).

Backup up everything! Database and file system.

Setup > Extensibility > Self Update

Download the latest versions of the plugins. The minimum you can really get
away with is "Oracle Database 12.1.0.7", "Oracle Cloud Framework 12.1.0.2" and
"Oracle Fusion Middleware 12.1.0.7". The Cloud Framework plugin is a
dependency for the FWM plugin. Obviously, grab the extra plugins if you need
them.

Setup > Extensibility > Plugins

Do a "Deploy On > Management Server" for the plugins you’ve downloaded. These
require OMS downtime, so you will be monitoring progress using "./emctl status oms
-details" from the "$OMS_HOME/bin" directory.

Wait until it is all running again.

Do a "Deploy On > Management Agent" for the DB and FMW plugins on just the
cloud control server. I wanted to know it was all fine on this server before
pushing out the updates to the agents on the monitored hosts.

Convince yourself nothing weird is happening.

Do a "Deploy On > Management Agent" for the DB plugin on any monitored database
severs. Where possible I did Dev environments in one pass. Test environments in a
second pass, then Prod environments.

Do a "Deploy On > Management Agent" for the FMW plugin on any monitored
WebLogic severs. Once again, Dev, Test, Prod.

=============================================================================
Startup Shutdown
==========================================================================
Startup/Shutdown

Cloud Control is set to auto-start using the "gcstartup" service. The


"/etc/oragchomelist" file contains the items that will be started by the system.

/u01/app/oracle/Middleware/oms

/u01/app/oracle/Middleware/agent/core/12.1.0.1.0:/u01/app/oracle/Middleware/agent/
agent_inst

On a simple installation the default auto-start will cause a problem as Cloud


Control will attempt to start before the database has started. The service can be
disabled by commenting out (using #)
all the contents of the "/etc/oragchomelist" file to prevent the auto-start and use
start/stop scripts described below.

If the start/stop needs to be automated, you can do it in the usual way using Linux
service that calls your start/stop scripts that include the database management.

Use the following commands to turn on all components installed by this article.

#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
export OMS_HOME=/u01/app/oracle/Middleware/oms
export AGENT_HOME=/u01/app/oracle/Middleware/agent/agent_inst

# Start everything
$ORACLE_HOME/bin/dbstart $ORACLE_HOME

$OMS_HOME/bin/emctl start oms

$AGENT_HOME/bin/emctl start agent

Use the following commands to turn off all components installed by this article.

#!/bin/bash
export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db_1
export OMS_HOME=/u01/app/oracle/Middleware/oms
export AGENT_HOME=/u01/app/oracle/Middleware/agent/agent_inst

# Stop everything
$OMS_HOME/bin/emctl stop oms -all

$AGENT_HOME/bin/emctl stop agent

$ORACLE_HOME/bin/dbshut $ORACLE_HOME

You might also like