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

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

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
expand Configuring the Operating System
  Installing Oracle WebLogic Server 11g Release 1 (10.3.2) Linux x86
expand Installing 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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第1张图片

 

 

Staging Software

 

2 .

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第2张图片

 

 

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第3张图片

WLS1032Install02.png

 

6 .

Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第4张图片

 

7 .

Set the value of Middleware Home Directory to:

/u01/app/oracle/middleware

Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第5张图片

 

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.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第6张图片

 

9 .

Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第7张图片

 

10 .

Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第8张图片

 

11 .

Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第9张图片

 

12 .

Wait for the installation to complete.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第10张图片

 

13 .

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第11张图片

 

 

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第12张图片

 

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.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第13张图片

 

16 .

Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第14张图片

 

17 .

Select Server Class. Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第15张图片

 

18 .

Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第16张图片

 

19 .

Select Typical. Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第17张图片

 

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.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第18张图片

 

21 .

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

Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第19张图片

 

22 .

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第20张图片

 

23 .

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第21张图片

 

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第22张图片

 

25 .

Click OK.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第23张图片

 

26 .

Click Finish.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第24张图片

 

27 .

Wait for the installation to complete.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第25张图片

 

28 .

Wait for the installation to complete.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第26张图片

 

29 .

Click OK.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第27张图片

 

30 .

Follow the instructions in the window.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第28张图片

 

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第29张图片

 

32 .

Click Close.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第30张图片

 

 

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第31张图片

 

 

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第32张图片

 

 

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第33张图片

 

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.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第34张图片

 

37 .

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第35张图片

 

38 .

Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第36张图片

 

39 .

Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第37张图片

 

40 .

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第38张图片

 

41 .

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第39张图片

 

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第40张图片

 

43 .

Enter a password for SYSMAN. Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第41张图片

 

44 .

Enter a password for the agent. Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第42张图片

 

45 .

Click Next.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第43张图片

 

46 .

Click Install.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第44张图片

 

47 .

Wait for the installation to complete.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第45张图片

 

48 .

Follow the instructions in the window.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第46张图片

 

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第47张图片

 

50 .

Click OK.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第48张图片

 

51 .

Wait for the installation to complete.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第49张图片

 

52 .

Click Close.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第50张图片

 

 

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

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第51张图片

 

54 .

Click Add Exception... .

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第52张图片

 

55 .

Click Get Certificate .

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第53张图片

 

56 .

Click Confirm Security Exception .

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第54张图片

 

57 .

Enter username sysman and the password you chose for sysman.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第55张图片

 

58 .

Click I Accept.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第56张图片

 

59 .

Installation complete.

Installing Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) Linux x86_第57张图片

 

 

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

  • Oracle Fusion Middleware WebLogic Server 11g Release 1 (10.3.2) documentation
  • Oracle Database 11g Release 2 (11.2.0.1.0) documentation
  • Oracle Enterprise Manager Grid Control 11g Release 1 (11.1.0.1.0) documentation
  • To learn more about Oracle Enterprise Manager Grid Control, refer to additional OBEs on the OTN Web site

 

divider.gif

Hardware and Software Engineered to Work Together

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

你可能感兴趣的:(数据库,python)