Archive

Archive for the ‘Enterprise Manager Grid Control’ Category

Oracle Enterprise Manager 11g Grid Control Release 1 (11.1.0.1.0) Installation on RedHat Linux x86-64

Grid Control 11.1.0.1.0 Installation:

Operating  System:Red Hat Enterprise Linux Server release 5.4 (Tikanga)

emgcl001<oracle:>:/etc=>uname -a
Linux emgcl001.ukatru.com 2.6.18-164.el5 #1 SMP Thu Sep 3 04:15:13 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Please download software from the following link.

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

Prerequisite:
Grid Control 11g uses WebLogic Server instead of the OC4J traditional with version 10.1 and 10.2. Grid Control will deploy on an existing WLS function in the grid Control Installation.

Obtain the wls1032_generic.jar for installation of WLS on 64bit platforms.
WLS will be installed from this source in execution of a java command (example):
/usr/java/jdk1.6.0_21/bin/java -d64 -jar wls1032_generic.jar

$ /usr/java/jdk1.6.0_21/bin/java -d64 -jar wls1032_generic.jar
Extracting 0%……………………………………………………………………………………….100%
May 5, 2011 9:12:49 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.

Click on Next to start the WLS installation

Specify the Middleware Home dir and click on Next.

If this option is declined, the user is asked about the certainty of this decision in an Are You Sure? pop-up window, to which the “Yes” answer can be given.
In either case, once the desired option is given, select Next to proceed.

For Grid Control , choose Typical and then Next.

Select Next once the jdk 1.6 location is verified.

The default can be accepted by selecting Next.

Select Next to accept the choices and begin WLS installation.


Uncheck the Run Quickstart option and select Done.

I am using existing database for em repository database and make sure the following prerequisites were met.

dbsl8001<oracle:oradv11>:/home/oracle=>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.2.0 Production on Fri May 6 12:18:13 2011

Copyright (c) 1982, 2010, Oracle.  All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 – 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options

Typical initialization parameter
Parameter Value
job_queue_processes 10
db_block_size 8192
timed_statistics TRUE
open_cursors 300
session_cached_cursors  300
aq_tm_processes 1
compatible <currently installed Oracle Database release> (default)
undo_management AUTO
undo_retention 10800
undo_tablespace <any acceptable name>
processes 500
log_buffer 1048576
statistics_level TYPICAL

/u01=>./runInstaller
Starting Oracle Universal Installer…

Checking Temp space: must be greater than 150 MB.   Actual 8235 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 2687 MB    Passed

select Next to proceed

The installation type should be selected from the Select Installation Type screen.
Note that in this version, options for Additional Management Agent and Grid Control with a New Database are not offered.
Agent installation through a GUI-based OUI is not offered in version 11.1.0.1.0.
The 11.1.0.1.0 Grid Control installer is not equipped for installation of a database as an option.
Select Next after the Installation type is selected.

On the Secure Oracle Management Service screen, enter the following:
– Agent registration password (remember for future use)
– Access type for agent to OMS (http/https or https only)
– Access type to console URL (http/https or https only)
Select Next when all determinations are complete.

Use the URL provided in the Finish window to access the Grid Control web application, which should be active as the configuration assistants complete. Use the sysman account for login.


Enterprise Manager 10g Grid Control Release 2 Installation Steps

April 28, 2011 Leave a comment

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.

%d bloggers like this: