Cloud Control 12c ALL Installations
Cloud Control 12c ALL Installations
======================================================================
|| 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
======================================================================
===================================================================================
===================================================================================
==================
=================================================================================
Instllation 12.1.0.1
===================================================================================
https://oracle-base.com/articles/12c/cloud-control-12cr1-installation-on-oracle-
linux-5-and-6
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:
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.
$ 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.
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.
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 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.
Make the following initialization parameter changes and restart the instance.
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.
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.
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
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 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.
Make the following initialization parameter changes and restart the instance.
sqlplus / AS SYSDBA
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.
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.
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.
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.
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
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.
Make the following initialization parameter changes and restart the instance.
sqlplus / AS SYSDBA
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.
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.
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.
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.
For this installation Im using 12.1.0.2 for the repository database, so use the
installation instructions from one of the following articles.
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.
# 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
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.
================================================================================
Oracle Enterprise Manager Cloud Control 12c Post-Installation Setup Tasks
==============================================
$ 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).
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.
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...).
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.
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.
Enter the host and platform, then click the "Next" button.
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.
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).
Navigate to the "Administrators" screen using the menu at the top-right of the
screen (Setup > Security > Administrators).
Notifications
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).
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.
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.
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.
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
/u01/app/oracle/Middleware/oms
/u01/app/oracle/Middleware/agent/core/12.1.0.1.0:/u01/app/oracle/Middleware/agent/
agent_inst
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
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
$ORACLE_HOME/bin/dbshut $ORACLE_HOME