Oracle Enterprise Manager Cloud Control 12c Release 1 Installation on Oracle Linux

 Enterprise Manager Cloud Control is the new name for what was previously know as Enterprise Manager Grid Control. Depending on the source of the material, you may still see the product described as Grid Control. This article describes the installation of Oracle Enterprise Manager Cloud Control 12c Release 1 on Oracle Linux 5.7 and 6.1. (x86_64).

Software

Download the following software:

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

OS Installation

Install Oracle Linux (OL) 5.7 or 6.1 in the same way you would for a regular Oracle Database installation. You can see examples of these types of installations below. Remember to check the relevant database installation article (listed below) for the specific package group selection.

During this installation I used a virtual machine with 6G RAM and 30G disk space. The swap size was set at 8G and the firewall and SELinux were disabled.

 

Database Installation

Use one of the following articles to install the 11.2.0.3 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, these prerequisites will already have been met.

# OL 5.x and 6.x
make-3*
binutils-2*
gcc-4*
libaio-0*
glibc-common-2*
libstdc++-4*
sysstat-5*

# OL 5.x only
setarch-1*
rng-utils-2*

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 a directory to hold the Middleware installation.

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

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

$ unzip em12_linux64_disk1of2.zip
$ unzip em12_linux64_disk2of2.zip

$ ./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.

Startup/Shutdown

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/core/12.1.0.1.0

# 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/core/12.1.0.1.0

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

$AGENT_HOME/bin/emctl stop agent

$ORACLE_HOME/bin/dbshut $ORACLE_HOME

For more information see:

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值