Thursday, January 20, 2011

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86





In this tutorial, you learn how to install Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86.

Time to Complete

Approximately 2.5 hours.

Overview

Earlier releases of Oracle Enterprise Manager Grid Control were installed in a single step using Oracle Universal Installer.   With the release of Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) installing Oracle Enterprise Manager Grid Control is a three step process requiring the installation of Oracle WebLogic Server and Oracle Database prior to installing Grid Control. 

Scenario

In this tutorial, you install Oracle WebLogic Server 11g Release 1 (10.3.2) Linux x86, Oracle Database 11g Release 2 (11.2.0.1.0) Linux x86, and Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86.

Software Requirements

The following is a list of software requirements:
  • Download Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86 from OTN at this link
  • Download Oracle WebLogic Server 11g Release 1 (10.3.2) Linux x86 from OTN at this link
  • Oracle Database 11g Release 2 (11.2.0.1.0) Linux x86 from OTN at this link

Prerequisites

Before starting this tutorial, you should:
  • Have a server with 4G or more RAM
  • Complete a default install of Oracle Enterprise Linux 5.X (this example uses 5.4) with the oracle-validated RPM installed
  • Have 7G of free disk space for the installation software
  • Have 14G of free space for installing the software
Note: Screen captures for this tutorial were taken in Oracle Enterprise Linux 5.4 with a Gnome 2.16 Desktop.

Configuring the Operating System

Installing the oracle-validated RPM installs RPMs required for an Oracle installation as well as creates the operating system user oracle. The lesson uses operating system user oracle to install all the software.
Before installing the software the operating system must be configured. To configure the operating system perform the following steps as operating system user root.

Configuring the Operating System


1 . As root, in a terminal, perform these steps to configure the operating system in preparation for the software installations.

Operating system commands:

Screenshot for Step
 

Staging Software


2 . The installation software for this lesson is staged in directory /stage.
Screenshot for Step

Installation Information


3 . The software will be installed using the follow homes:
Database:/u01/app/oracle/database/11.2.0/dbhome_1
WebLogic: /u01/app/oracle/middleware
EMGC: /u01/app/oracle/gc_inst


  • Use your host name and domain name.
  • Any valid database SID can be used.
  • When passwords are required, choose a strong password. Do not use the passwords provided in the lesson.









































Installing Oracle WebLogic Server 11g Release 1 (10.3.2) Linux x86


4 . Connect as operating system user oracle in an X session.
5 . Execute the installer for Oracle WebLogic Server 11g Release 1 (10.3.2) Linux x86.
ls -al /stage/wls
cd /stage/wls
./wls1032_linux32.bin

Screenshot for Step
Screenshot for Step
6 . Click Next.
Screenshot for Step
7 . Set the value of Middleware Home Directory to:
/u01/app/oracle/middleware
Click Next.
Screenshot for Step
8 . Enter your e-mail address and My Oracle Support Password. Click Next.
If you choose to leave the fields blank, you will receive a pop up after clicking Next. Click Yes, to continue.
Screenshot for Step
9 . Click Next.
Screenshot for Step
10 . Click Next.
Screenshot for Step
11 . Click Next.
Screenshot for Step
12 . Wait for the installation to complete.
Screenshot for Step
13 . After the installation completes, uncheck Run Quickstart. Click Done.
Screenshot for Step

Installing Oracle Database 11g Release 2 (11.2.0.1.0) Linux x86


Installing Oracle Database 11g Release 2 (11.2.0.1.0) Linux x86


14 . Execute the installer for Oracle Database 11g Release 2 (11.2.0.1.0) Linux x86.
ls -al /stage/database
cd /stage/database
./runInstaller

Screenshot for Step
Screenshot for Step
15 . Enter your e-mail address and My Oracle Support Password. Click Next.
If you choose to leave the fields blank, you will receive a pop up after clicking Next. Click Yes, to continue.
Screenshot for Step
16 . Click Next.
Screenshot for Step
17 . Select Server Class. Click Next.
Screenshot for Step
18 . Click Next.
Screenshot for Step
19 . Select Typical. Click Next.
Screenshot for Step
20 . Enter these values, then click Next.
Oracle Base: /u01/app/oracle/database
Software location: /u01/app/oracle/database/11.2.0/dbhome_1
Storage Type: File System
Database file location: /u01/app/oracle/database/oradata
Database Edition: Enterprise Edition
OSDBA Group: dba
Global database name: emrep.example.com
Administrative password:
Pick a strong password. Use the domain of your network as the domain for the global database name.
Screenshot for Step
21 . Inventory Directory: /u01/app/oraInventory
oraInventory Group Name: oinstall
Click Next.
Screenshot for Step
22 . Although installing the oracle-validated RPM made several operating system configuration changes, a few more are required. Click Fix & Check Again.
Screenshot for Step
23 . Follow the on screen instructions to run the fixup script changing the needed operating system settings.
Screenshot for Step
24 . Open a terminal. Change to the operating system user root. Execute the script as instructed in the pop up window.
su - root
cd /tmp/CVU*
ls
./runfixup.sh

Screenshot for Step
25 . Click OK.
Screenshot for Step
26 . Click Finish.
Screenshot for Step
27 . Wait for the installation to complete.
Screenshot for Step
28 . Wait for the installation to complete.
Screenshot for Step
29 . Click OK.
Screenshot for Step
30 . Follow the instructions in the window.
Screenshot for Step
31 . Open a terminal. Change to operating system user root. Execute the two scripts.
su - root
/u01/app/oraInventory/orainstRoot.sh
/u01/app/oracle/database/11.2.0/dbhome_1/root.sh

Screenshot for Step
32 . Click Close.
Screenshot for Step

Removing Enterprise Manager Database Control

Creating a database using a Database Configuration Assistant template, as is done when choosing to create a database in the Oracle Universal Installer, creates a database containing an Enterprise Manger Database Control repository. The repository contains a subset of the Enterprise Manager Grid Control functionality. Before Enterprise Manager Grid Control can use the database, the Enterprise Manager Database Control repository must be dropped and the configuration files removed.
33 . Set the environment by souring oraenv located in /usr/local/bin. Execute the command to remove Enterprise Manager Database Control.
. oraenv
emrep
emca -deconfig dbcontrol db -repos drop -HOST host01.example.com -PORT 1521 -SID emrep -SYS_PWD oracle_4U -SYSMAN_PWD oracle_4U -DBSNMP_PWD oracle_4U
Y

Screenshot for Step

Configuring the Database for an Enterprise Manager Grid Control Installation

Enterprise Manager Grid Control database repository requirements exceed the default configuration from the Database Configuration Assistant template. Perform the following to meet the requirements.
34 . An Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) database repository requires:
  • session_cached_cursors to be set to 200 or more
  • log_buffer set to 10485760 or more
  • processes set to 500 or more
  • undo tablespace size to be 200M or greater
The first three changes require the database to be bounced for the changes to take effect.
sqlplus /nolog
connect / as sysdba
alter system set session_cached_cursors=200 scope=spfile;
alter system set log_buffer=10485760 scope=spfile;
alter system set processes=500 scope=spfile;
alter database datafile '/u01/app/oracle/database/oradata/emrep/undotbs01.dbf' resize 250M;
shutdown immediate
startup
exit

Screenshot for Step

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86


35 . Execute the installer for Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86.
ls -al /stage/em
cd /stage/em
./runInstaller

Screenshot for Step
Screenshot for Step
36 . Enter your e-mail address and My Oracle Support Password. Click Next.
If you choose to leave the fields blank, you will receive a pop up after clicking Next. Click Yes, to continue.
Screenshot for Step
37 . Enter your My Oracle Support information and an install location or choose to Skip Software Updates. Click Next.
Screenshot for Step
38 . Click Next.
Screenshot for Step
39 . Click Next.
Screenshot for Step
40 . The installer will pick up the Middleware home and provide the install location for the OMS base on the Middleware home. Click Next.
Screenshot for Step
41 . Enter a password for the WebLogic user and Node Manager. Click Next.
Screenshot for Step
42 . Enter the database connection information used from the database installation lesson Click Next.
Database Host Name: host01.example.com
Port: 1521
Service/SID: emrep
SYS Password: oracle_4U
Screenshot for Step
43 . Enter a password for SYSMAN. Click Next.
Screenshot for Step
44 . Enter a password for the agent. Click Next.
Screenshot for Step
45 . Click Next.
Screenshot for Step
46 . Click Install.
Screenshot for Step
47 . Wait for the installation to complete.
Screenshot for Step
48 . Follow the instructions in the window.
Screenshot for Step
49 . Open a terminal. Change to operating system user root. Execute the script. Press the Enter key for each of the prompts.
su - root
/u01/app/oracle/middleware/oms11g/allroot.sh

Screenshot for Step
50 . Click OK.
Screenshot for Step
51 . Wait for the installation to complete.
Screenshot for Step
52 . Click Close.
Screenshot for Step

Accessing Oracle Enterprise Manager Grid Control with a Browser


Accessing Enterprise Manager for the first time requires accepting the security certificate from Enterprise Manager. Use URL: https://host01.example.com:7799/em
This example uses Firefox 3.6.
53 . Click Or you can add an exception... .
Screenshot for Step
54 . Click Add Exception... .
Screenshot for Step
55 . Click Get Certificate .
Screenshot for Step
56 . Click Confirm Security Exception .
Screenshot for Step
57 . Enter username sysman and the password you chose for sysman.
Screenshot for Step
58 . Click I Accept.
Screenshot for Step
59 . Installation complete.
Screenshot for Step

Summary

In this tutorial, you should have learned how to:
  • Configure Oracle Enterprise Linux 5 for an Enterprise Manager Grid Control installation.
  • Install Oracle WebLogic Server 11g Release 1 (10.3.2) Linux x86.
  • Install Oracle Database 11g Release 2 (11.2.0.1.0) Linux x86.
  • Configure Oracle Database 11g Release 2 (11.2.0.1.0) Linux x86 for an Enterprise Manager Grid Control installation.
  • Install Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86.
  • Access Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86 from a browse

No comments:

Post a Comment