Monday, March 28, 2011

OEM Grid Control..

nice presentation

http://oukc.oracle.com/static05/opn/oracle9i_database/40263/013107_40263/index.htm

http://www.oracle.com/technetwork/articles/havewala-gridcontrol-088685.html

Oracle Grid control componenets:

- Repository database
- OMS, oralce management service
- EM agent

OMS (This is a J2EE application deployed on Oracle Application Server 10g), components of OMS:

- Oracle HTTP Server
- Oracle Application Server Containers for Java (OC4J)
- OracleAS Web Cache.

Therefore, Grid Control is a reduced version of Oracle Application Server itself.

use Oracle Process Management Notification Control , OPMNCTL
or dcmctl (Distributed Configuration Management Control).
This is in addition to the Enterprise Manager Control (emctl) utility

/app/oracle/instancename/oms10g/opmn/bin > ./opmnctl status

Processes in Instance: EnterpriseManager0.hostname
-------------------+--------------------+---------+---------
ias-component | process-type | pid | status
-------------------+--------------------+---------+---------
HTTP_Server | HTTP_Server | 23058 | Alive
LogLoader | logloaderd | N/A | Down
dcm-daemon | dcm-daemon | N/A | Down
OC4J | home | 23059 | Alive
OC4J | OC4J_EMPROV | 23060 | Alive
OC4J | OC4J_EM | 23061 | Alive
OC4J | OCMRepeater | 23064 | Alive
WebCache | WebCache | 23071 | Alive
WebCache | WebCacheAdmin | 23070 | Alive
DSA | DSA | N/A | Down

here OC4J_EM is only a single Unix process with its own PID

troubleshooting:

http://www.myoraclesupports.com/content/grid-control-target-maintenance-steps-diagnose-issues-related-agent-unreachable-status

http://www.myoraclesupports.com/content/how-troubleshoot-communication-between-oracle-management-service-oms-and-grid-agent-componen

Configuring the management agent:

•The emd.properties file in the sysman/ directory

This file contains the global variables for the Management Agent. For most installations, the following two parameters need to be modified:

◦REPOSITORY_URL=http://host:port/em/upload/

This is the location of the Oracle Management Service where you want the Management Agent to register.

◦EMD_URL=http://local_host:port/emd/main/

This is the location and port where you want the Management Agent to listen for communications from clients.

•The targets.xml file in the sysman/directory

This file contains the information about the local system and its database instances. It is in XML format and needs to be customized. Although the Management Agent attempts to configure this file, z/OS differences may not permit it to do so.

emctl start agent

emctl upload

emctl stop agent

Number of Files to Upload:
This metric shows the number of XML files that are in the $ORACLE_HOME/sysman/emd/upload directory waiting to be uploaded to the repository

No comments: