Home > Enterprise Manager Grid Control > Enterprise Manager 10g Grid Control Release 2 Installation Steps

Enterprise Manager 10g Grid Control Release 2 Installation Steps

This article describes step-by-step installation of  Enterprise Manager 10g Grid Control Release 2  software on Red Hat Enterprise Linux 4.

Os Name :

emgcl10g<oracle:>:/etc=>cat redhat-release
Red Hat Enterprise Linux AS release 4 (Nahant Update 8)
emgcl10g<oracle:>:/etc=>uname -r
2.6.9-89.0.0.0.1.EL

Repository Database Version : 10.2.0.5 with ASM as storage.

$ ./sqlplus / as sysdba

SQL*Plus: Release 10.2.0.5.0 – Production on Tue Apr 26 20:59:45 2011

Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 – 64bit Production
With the Partitioning, Data Mining and Real Application Testing options

###########Download following two zip files from oracle#################

###########################################################

********Prerequisites for Enterprise Manager 10g Grid Control Using an Existing Database**********

job_queue_processes=10
db_block_size=8192
timed_statistics=TRUE
open_cursors=300
session_cached_cursors=200
aq_tm_processes=1
undo_retention=10800
processes=150
log_buffer=1048576
statistics_level=TYPICAL (Note that this value is specific only to Enterprise Manager 10g Repository Database release and later.)

*********************************************************************************************

Now invoke runInstaller from staging area

$ ./runInstaller
Starting Oracle Universal Installer…

Checking installer requirements…

Checking operating system version: must be redhat-3, redhat-4, SuSE-9 or asianux-2
Passed

Checking swap space: must be greater than 150 MB.   Actual 2551 MB    Passed
Checking Temp space: must be greater than 300 MB.   Actual 8435 MB    Passed

All installer requirements met.

Preparing to launch Oracle Universal Installer from /tmp/OraInstall2011-04-26_09-34-22PM. Please wait …——————————————————-
Total args: 23
Command line argument array elements .

[root@emgcl10g u01]# /u01/app/oracle/product/oms10g/allroot.sh

Starting to execute allroot.sh ………

Starting to execute /u01/app/oracle/product/oms10g/root.sh ……
Running Oracle10 root.sh script…
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME=  /u01/app/oracle/product/oms10g

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file “dbhome” already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:
The file “oraenv” already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:
The file “coraenv” already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:

Adding entry to /etc/oratab file…
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished execution of  /u01/app/oracle/product/oms10g/root.sh ……

Starting to execute /u01/app/oracle/product/agent10g/root.sh ……
Running Oracle10 root.sh script…

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME=  /u01/app/oracle/product/agent10g

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file “dbhome” already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:
The file “oraenv” already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:
The file “coraenv” already exists in /usr/local/bin.  Overwrite it? (y/n)
[n]:

Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.
Now product-specific root actions will be performed.
Finished product-specific root actions.

Finished execution of  /u01/app/oracle/product/agent10g/root.sh ……

*emgcl10g*<oracle:>:/u01/app/oracle/=>cat /u01/app/oracle/product/agent10g/sysman/setupinfo.txt
See below for information pertaining to your Enterprise Manager Installation:
1. Use the following URL to access the Enterprise Manager Grid Control:

https://emgcl10g.ukatru.com:1159/em

2. The Enterprise Manager installation includes an Oracle Application Server instance, which is administered using a special “ias_admin” user account. The following information was defaulted for the embedded Application Server instance:

Instance Name:    EnterpriseManager0.emgcl10g.ukatru.com
ias_admin password: This password is the same the SYSMAN account.

3. The connection details for the Enterprise Manager Repository are:

Host: emgcl10g.ukatru.com
Port: 1521
SID: NO_VALUE

4. The Enterprise Manager Release Notes are located at:

/u01/app/oracle/product/agent10g/relnotes/README_EM.htm

Issues faced during installation:

The installation failed at the “OMS Configuration” step with the following error:

The opmn.log will report the following errors, indicating that Oracle Management Service failed to start:

opmnctl: starting opmn and all managed processes…

FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.oms:PerformSecureCommand:runCmd:Command
Output stderr:

================================================================================
opmn id=emgcl10g.ukatru.com:6501
5 of 6 processes started.
ias-instance id=EnterpriseManager1.emgcl10g.ukatru.com
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ias-component/process-type
/process-set:
HTTP_Server/HTTP_Server/HTTP_Server
Error
–> Process (pid=18346)
failed to start a managed process after the maximum retry limit
Log:
/u01/app/oracle/product/oms10g/opmn/logs/HTTP_Server~1

FINE: oracle.sysman.emCfg.logger.CfmLogger: log: oracle.sysman.top.oms:OmsPlugIn:Requested Configuration
Step 5 have been completed with status=false

The Apache Web server log will report error (28750) as follows:

[Wed Apr 27 09:10:28 2011] [error] mod_ossl: Init: Server emgcl10g.ukatru.com:4898: SSL setup
failed: call to nzos_OpenWallet returned error 28750
[Wed Apr 27 09:10:28 2011] [error] mod_ossl: Unknown error
[Wed Apr 27 09:10:30 2011] [error] mod_ossl: Init: Server emgcl10g.ukatru.com:4898: SSL setup
failed: call to nzos_OpenWallet returned error 28750
[Wed Apr 27 09:10:30 2011] [error] mod_ossl: Unknown error

According to Metalink Article How to Recover From Enterprise Manager Grid Control 10g Base Releases (10.2.0.x.0) Installation Errors after 31-Dec-2010 [ID 1228103.1]

I follwed  below steps and restarted the configuration.

NOTE: Keep the installation session open with the error dialog. At the end of these recovery actions, you can retry the failed steps.

1. Apply Patch 8430622 to the Oracle Management Service installation.

2. After applying the patch, stop the Oracle Management Service (oms) process with the following command:

<ORACLE_HOME>/opmn/bin/opmnctl stopall

3. Re-secure Oracle Management Service with the following command:

<OMS_HOME>/bin/emctl secure oms -reset

emgcl10g*<oracle:>:/u01/app/oracle/product/oms10g/bin=>ure oms -reset        <
Oracle Enterprise Manager 10g Release 3 Grid Control
Copyright (c) 1996, 2007 Oracle Corporation.  All rights reserved.
Enter Enterprise Manager Root Password :
Enter Agent Registration password :
OPMN processes already stopped…   Done.
Securing central oms…   Started.
Checking Repository…   Done.
Checking Em Key…   Done.
Checking Repository for an existing Enterprise Manager Root Key…
WARNING! An Enterprise Manager Root Key already exists in
the Repository. This operation will replace your Enterprise
Manager Root Key.
All existing Agents that use HTTPS will need to be
reconfigured if you proceed. Do you wish to continue and
overwrite your Root Key
(Y/N) ?
Y
Are you sure ? Reset of the Enterprise Manager Root Key
will mean that you will need to reconfigure each Agent
that is associated with this OMS before they will be
able to upload any data to it. Monitoring of Targets
associated with these Agents will be unavailable until
after they are reconfigured.
(Y/N) ?
Y
Generating Enterprise Manager Root Key (this takes a minute)…   Done.
Fetching Root Certificate from the Repository…   Done.
Generating Registration Password Verifier in the Repository…   Done.
Generating Oracle Wallet Password for Enterprise Manager OMS…   Done.
Generating Oracle Wallet for Enterprise Manager OMS…   Done.
Generating Oracle Wallet for iAS HTTP Server…   Done.
Updating HTTPS port in emoms.properties file…   Done.
Generating HTTPS Virtual Host for Enterprise Manager OMS…   Done.
Securing central oms…   Ended.

4. Re-start Oracle Management Service by executing the following command:

<OMS_HOME>/bin/emctl start oms

5. Retry the failed step from the error dialog to complete the installation.

  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: