Search This Blog

Monday, February 6, 2012

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

Requirements:

1) Oracle Linux 5.6 or RHEL 5.6 or higher
2) Oracle Database 11gR2
3) Enterprise Manager Cloud Control 12c Release 1

Package Requirements for Grid Control on 32-bit:

make-3.81
binutils-2.17.50.0.6
gcc-4.1.1
libaio-0.3.106
glibc-common-2.3.4
compat-libstdc++296-2.96
libstdc++ 4.1.1
libstdc++devel-4.1.0
setarch-1.6
sysstat-5.0.5
compat-db 4.1.25
rng_utils-2.0

Package Requirements for Grid Control on 64-bit:

make-3.81
binutils-2.17.50.0.6
gcc -4.1.1
libaio-0.3.106
glibc-common-2.3.4
libstdc++ -4.1.1
setarch-1.6
sysstat-5.0.5
rng-utils-2.0
In addition, install the 32-bit version as well as the 64-bit version of glibc-devel-2.5-49.

After installing Linux install Oracle Database 11gR2.

Then,

Deconfigure the Enterprise Manager of your Database by issuing the following command.

$ export ORACLE_SID=orcl
$ emca -deconfig dbcontrol db -repos drop -SYS_PWD  -SYSMAN_PWD 

In your Database set the following parameters:

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;

--The above parameters are set to minimum as per Grid Control Installation,
--but can be increased as per your system resources.

shutdown immediate
startup


12c Installation

--Make a directory for middleware installation.
$ mkdir -p /u01/app/oracle/Middleware

--Make a directory for staging.
$ mkdir -p /u01/soft

Copy the following files to the "soft" directory
and do unzip.

$ unzip em12_linux64_disk1of2.zip
$ unzip em12_linux64_disk2of2.zip

Before doing the installation make sure X variable is set,
issue " xhost + " from root user.

In the "soft" directory execute the following command.

$ ./runInstaller

Enter you email if you want otherwise press next.
Press "skip" click "next"
Since mine is a test system it is showing low memory warning, click ignore then click next.
Select create new Enterprise Manager System then select Simple. Enter your Middleware installation path. /u01/app/oracle/Middleware
Specify password for the Grid Control and mention your Database Information.
Click yes on the alert.
Change the mentioned prerequisites if necessary otherise clock ok.
Review the details then click next.
Execute the given script as the root user. Note down the URL paths 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

Open your browser and open the URL provided in the previous screen. Example: "https://canada.localdomain:7801/em"


Username:sysman
Password:As mentioned during installation.

Click I ACCEPT in License Agreement.
In select Enterprise manager home click on Summary (select as my home).

2 comments: