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

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

 

This tutorial contains the following sections:

 Purpose
 Time to Complete
 Overview
 Scenario
 Software Requirements
 Prerequisites
expandConfiguring the Operating System
 Installing Oracle WebLogic Server 11g Release 1 (10.3.2) Linux x86
expandInstalling Oracle Database 11g Release 2 (11.2.0.1.0) Linux x86
 Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86
 Accessing Oracle Enterprise Manager Grid Control with a Browser
 Summary
 Resources
  

Purpose

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
 Staging Software
 Installation Information

Configuring the Operating System

 

1 .

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

a. Add operating system group oper.

b. Modify operating system user oracle by adding group oper.

c. Assign a password to operating system user oracle.

d. Create directory /u01/app. Assign ownership root:oinstall and permission 775.

e. Create directory /u01/app/oracle. Assign ownership oracle:oinstall.

Operating system commands:

groupadd oper
usermod -g oinstall -G dba,oper oracle
passwd oracle
mkdir /u01/app
chown root:oinstall /u01/app
chmod 775 /u01/app
mkdir /u01/app/oracle
chown oracle:oinstall /u01/app/oracle

OSSetup.png

 

 

Staging Software

 

2 .

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

StagedSoftware.png

 

 

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

The lesson uses these values:

Host:host01
Domain:example.com
Database SID:emrep
Global Database Name:emrep.example.com
 
  • 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

WLS1032Install01.png

WLS1032Install02.png

 

6 .

Click Next.

WLS1032Install03.png

 

7 .

Set the value of Middleware Home Directory to:

/u01/app/oracle/middleware

Click Next.

WLS1032Install04.png

 

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.

WLS1032Install05.png

 

9 .

Click Next.

WLS1032Install06.png

 

10 .

Click Next.

WLS1032Install07.png

 

11 .

Click Next.

WLS1032Install08.png

 

12 .

Wait for the installation to complete.

WLS1032Install09.png

 

13 .

After the installation completes, uncheck Run Quickstart. Click Done.

WLS1032Install10.png

 

 

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
 Removing Enterprise Manager Database Control
 Configuring the Database for an Enterprise Manager Grid Control Installation

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

DB11201Install01.png

DB11201Install02.png

 

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.

DB11201Install03.png

 

16 .

Click Next.

DB11201Install04.png

 

17 .

Select Server Class. Click Next.

DB11201Install05.png

 

18 .

Click Next.

DB11201Install06.png

 

19 .

Select Typical. Click Next.

DB11201Install07.png

 

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.

DB11201Install08.png

 

21 .

Inventory Directory: /u01/app/oraInventory
oraInventory Group Name: oinstall

Click Next.

DB11201Install09.png

 

22 .

Although installing the oracle-validated RPM made several operating system configuration changes, a few more are required. Click Fix & Check Again.

DB11201Install10.png

 

23 .

Follow the on screen instructions to run the fixup script changing the needed operating system settings.

DB11201Install11.png

 

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

DB11201Install12.png

 

25 .

Click OK.

DB11201Install13.png

 

26 .

Click Finish.

DB11201Install14.png

 

27 .

Wait for the installation to complete.

DB11201Install15.png

 

28 .

Wait for the installation to complete.

DB11201Install16.png

 

29 .

Click OK.

DB11201Install17.png

 

30 .

Follow the instructions in the window.

DB11201Install18.png

 

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

DB11201Install19.png

 

32 .

Click Close.

DB11201Install20.png

 

 

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

EMDBControlDeConfig.png

 

 

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

DBConfigForEMGCInstall.png

 

 

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

EMGC111010Install01.png

EMGC111010Install02.png

 

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.

EMGC111010Install03.png

 

37 .

Enter your My Oracle Support information and an install location or choose to Skip Software Updates. Click Next.

EMGC111010Install04.png

 

38 .

Click Next.

EMGC111010Install05.png

 

39 .

Click Next.

EMGC111010Install06.png

 

40 .

The installer will pick up the Middleware home and provide the install location for the OMS base on the Middleware home. Click Next.

EMGC111010Install07.png

 

41 .

Enter a password for the WebLogic user and Node Manager. Click Next.

EMGC111010Install08.png

 

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

EMGC111010Install09.png

 

43 .

Enter a password for SYSMAN. Click Next.

EMGC111010Install10.png

 

44 .

Enter a password for the agent. Click Next.

EMGC111010Install11.png

 

45 .

Click Next.

EMGC111010Install12.png

 

46 .

Click Install.

EMGC111010Install13.png

 

47 .

Wait for the installation to complete.

EMGC111010Install14.png

 

48 .

Follow the instructions in the window.

EMGC111010Install15.png

 

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

EMGC111010Install16.png

 

50 .

Click OK.

EMGC111010Install17.png

 

51 .

Wait for the installation to complete.

EMGC111010Install18.png

 

52 .

Click Close.

EMGC111010Install19.png

 

 

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

AccessingEMGC01.png

 

54 .

Click Add Exception... .

AccessingEMGC02.png

 

55 .

Click Get Certificate .

AccessingEMGC03.png

 

56 .

Click Confirm Security Exception .

AccessingEMGC04.png

 

57 .

Enter username sysman and the password you chose for sysman.

AccessingEMGC05.png

 

58 .

Click I Accept.

AccessingEMGC06.png

 

59 .

Installation complete.

AccessingEMGC07.png

 

 

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 browser.

Resources

 

divider.gif

Hardware and Software Engineered to Work Together

转载于:https://my.oschina.net/rootliu/blog/1798519

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值