Oracle Grid Agent Deployment On RAC 10gR2

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Installation of Grid Control Server and Agent Part II

This document is to gain hands on to deploy Grid Agent, and no ware in match to
implement this on a Production Server or on Business units. Subject of usage should be
with License from Oracle Corporation.
Oracle GRID
Oracle GRID Server

: 10.2.0.1
: oraclegrid.mycorpdomain.com

Target Servers Information:


Oracle Cluster
Oracle RAC Database
Operating System

: 10.2.0.4
: 10.2.0.4
: Enterprise Linux 4, Update 2 2.6.42.0.0.0.1.ELhugemem

References:
1) Oracle Enterprise Manager Grid Control Quick Installation Guide for Linux x86
10g Release 2 (10.2)
Part Number B28091-03

http://download.oracle.com/docs/cd/B16240_01/doc/install.102/b28091/b28091_03.htm
2) Deploying the Management Agent

http://download.oracle.com/docs/cd/B16240_01/doc/install.102/e10953/deployin
g_the_mgt_agent.htm#CIHHJJJJ
3) Oracle 10g Grid & Real Application Clusters Mike Ault & Madhu Tumma
http://www.rampant-books.com/book_2004_1_10g_grid.htm

-1-

1. Oracle Enterprise Manager Grid Control should be running and accessible on


the Grid utility server.
oraclegrid-> $OMS_HOME/opmn/bin/opmnctl status
Processes in Instance: EnterpriseManager0.oraclegrid.mycorpdomain.com
-------------------+--------------------+---------+--------ias-component
| process-type
|
pid | status
-------------------+--------------------+---------+--------DSA
| DSA
|
N/A | Down
HTTP_Server
| HTTP_Server
|
6024 | Alive
LogLoader
| logloaderd
|
N/A | Down
dcm-daemon
| dcm-daemon
|
10074 | Alive
OC4J
| home
|
7243 | Alive
OC4J
| OC4J_EMPROV
|
6022 | Alive
OC4J
| OC4J_EM
|
7833 | Alive
WebCache
| WebCache
|
6045 | Alive
WebCache
| WebCacheAdmin
|
7242 | Alive

-2-

2. Set the environment (.profile) for the Enterprise Grid Control agent as below
export
export
export
export

OMR_HOME=/u01/app/oracle/product/OracleHomes/db10g
OMS_HOME=/u01/app/oracle/product/OracleHomes/oms10g
OMA_HOME=/u01/app/oracle/product/OracleHomes/agent10g
OPMN_HOME=/u01/app/oracle/product/OracleHomes/oms10g/opmn

3.run ./runInstaller, from the staging area of the 10g Grid Control software
location as a Oracle User.

-3-

4. Specify Installation Type Screen opens, select Additional Management Agent to install
OEM Grid Agent and click Next

5. Specify the Oracle Home location.

-4-

6. Select both the clustered nodes, here its rac1, rac2. By default only one node will be selected.

7. Product-Specific Prerequisite checks

-5-

8. Specify Oracle Management Service location enter fully qualified Hostname of the
Management server.

9. Specify Agent Registration Password, which is entered at the time of Oracle EM Grid Control
Server installation.

-6-

10. Summary Screen cross check before you proceed here

11. Installation Screen

-7-

12. Remote Operations in Progress it will Install Oracle Grid Agent on RAC 2 as well.

13. Execute the script as a root as on the both the Cluster nodes, one after the other, and then
click OK to continue further.

[root@rac1 ~]# /u01/app/oracle/OracleHomes/agent10g/root.sh


Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/OracleHomes/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]: y

-8-

Copying dbhome to /usr/local/bin ...


The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
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.
************ NODE 2 *************************
[root@rac2 ~]# hostname
rac2.mycorpdomain.com
[root@rac2 ~]#
[root@rac2 ~]# /u01/app/oracle/OracleHomes/agent10g/root.sh
Running Oracle10 root.sh script...
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/OracleHomes/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]: y
Copying dbhome to /usr/local/bin ...
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying oraenv to /usr/local/bin ...
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: y
Copying coraenv to /usr/local/bin ...
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.

14. End of Installation of Agent.

This is Installation only, Please refer my next document for Setup and configuration of OEM for
the Cluster Database.
Comments, Inputs and suggestions are welcome.
Ravi Prakash, http://ravidba-oracle.blogspot.com/

-9-

You might also like