Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Grid Control the concepts of some terms GC, OMS, OMR, OMA

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

EM:database control

GC:grid control

CC:cloud control (12 is no longer called GC at the beginning, it has been changed to CC, and now there are 12CC and 13CC)

OMR

Oracle Management Repository

OMR is the database where GC monitoring information is stored, which is generally stored in the table under sysman users. Because monitoring and alarm are used, dbsnmp users are used, so sysman and dbsnmp users should be opened.

/ etc/hsots must have information about OMR and OMS

OMS

Oracle Management Service

OMS can be simply understood as GC monitoring, where weblogic and grid control software are installed, in which the information of the OMR server is specified during the installation of grid contro.

After OMS is installed, the OMA service is automatically installed on this machine.

/ etc/hsots must have information about OMR and OMS

/ etc/oratab information is as follows by default (HOME directory of OMS and OMA, respectively, and can be modified * to oms and agent)

*: / u01/app/bea/oracle/Middleware/oms11g:N

*: / u01/app/bea/oracle/Middleware/agent11g:N

OMA

Oracle Management Agent

For the monitored server, / etc/hosts must have the domain name information of OMS

Generally speaking, one server with one set of OMA is fine, but if there are different OMS to monitor the server, such as 13c OMA 12c to monitor the same server at the same time, then this server needs two sets of server, and the version should be different.

How to install OMA

1. Log in to the OMS server

. Oraenv-> oms

Cd $ORACLE_HOME/sysman/agent_download/11.1.0.1.0//

Copy agentDownload.linux to OMA server such as / home/oracle

2. Log in to the OMA server

. / agentDownload.linux-b / u01/app/oracle/product/11.2.0-y-after installation, port 4900 of OMS is connected by default

-y indicates Decline Security Updates, indicating no need to enter an email address

3. After installation, / etc/oratab has the following information by default

Agent:/u01/app/oracle/product/11.2.0/agent11g:N (that is, the HOME directory specified in step 2-b plus agent11g subdirectory, which can be modified * to agent)

During the installation of OMA, you must pay attention to: enter the correct registration password, otherwise, although you can install agent normally, you will never connect to OMS.

Startup and shutdown of OMS

Emctl start oms

Emctl stop oms

Emctl status oms

Emctl status oms-details

Emctl status oms-details-sysman_pwd sysman'spassword

Startup and shutdown of OMA

Emctl start agent

Emctl stop agent

Emctl status agent

The phenomenon that OMA can not be connected to OMS and its treatment

1. If you type the wrong password during the installation of agent and cannot connect to OMS, then the following

Emctl upload agent

Emctl verifykey

Emctl secure agent

such as

EMD pingOMS error: Failure connecting to https://gc.oracle.com:4900/em/upload/, err-1

2. If you reinstall agent in another directory and cannot connect to OMS, check what error is reported as follows

Emctl upload agent

Emctl verifykey

such as

EMD pingOMS error: Invalid ping response "ERROR-Agent is blocked... Please contact EM adminstrator to unblock the agent"

Enter the em interface, setup- > agent- > unblock

3. If it doesn't work in the end, restart OMS, and then use the above methods 1 or 2

OMA\ OMS log directory

The OMS log is in the directory of the gc_inst runtime, that is, $INST_HOME/em/EMGC_OMS1/sysman/log

OMS:/u01/app/bea/oracle/gc_inst/em/EMGC_OMS1/sysman/log

Agent log $AGENT_HOME/sysman/log

OMA:/u01/app/bea/oracle/Middleware/agent11g/sysman/log

[oracle@oms linux_x64] $. Oraenv

ORACLE_SID = [oms]? Agent

-bash: [: too many arguments

The Oracle base for ORACLE_HOME=/u01/app/bea/oracle/Middleware/agent11g is

XPointer evaluation failed: no locset

[oracle@oms linux_x64] $emctl status agent

Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0

Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.

Agent Version: 11.1.0.1.0

OMS Version: 11.1.0.1.0

Protocol Version: 11.1.0.0.0

Agent Home: / u01/app/bea/oracle/Middleware/agent11g

Agent binaries: / u01/app/bea/oracle/Middleware/agent11g

Agent Process ID: 3271

Parent Process ID: 3250

Agent URL: https://oms.oracle.com:3872/emd/main/

Repository URL: https://oms.oracle.com:4900/em/upload

Started at: 2017-06-18 01:36:17

Started by user: oracle

Last Reload: 2017-06-18 01:36:17

Last successful upload: 2017-06-18 02:14:43

Total Megabytes of XML files uploaded so far: 5.20

Number of XML files pending upload: 0

Size of XML files pending upload (MB): 0.00

Available disk space on upload filesystem: 57.63%

Last successful heartbeat to OMS: 2017-06-18 02:17:31

Agent is Running and Ready

[oracle@gc linux] $. Oraenv

ORACLE_SID = [emrep]? Oms

-bash: [: too many arguments

The Oracle base has been set to

XPointer evaluation failed: no locset

[oracle@gc linux] $emctl status oms

Oracle Enterprise Manager 11g Release 1 Grid Control

Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.

WebTier is Up

Oracle Management Server is Up

[oracle@gc linux] $emctl status oms-details

Oracle Enterprise Manager 11g Release 1 Grid Control

Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.

Enter Enterprise Manager Root (SYSMAN) Password:

Console Server Host: gc.oracle.com

HTTP Console Port: 7788

HTTPS Console Port: 7799

HTTP Upload Port: 4889

HTTPS Upload Port: 4900

OMS is not configured with SLB or virtual hostname

Agent Upload is locked.

OMS Console is locked.

Active CA ID: 1

[oracle@gc linux] $emctl status oms-details-sysman_pwd welcome1

Oracle Enterprise Manager 11g Release 1 Grid Control

Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.

Console Server Host: gc.oracle.com

HTTP Console Port: 7788

HTTPS Console Port: 7799

HTTP Upload Port: 4889

HTTPS Upload Port: 4900

OMS is not configured with SLB or virtual hostname

Agent Upload is locked.

OMS Console is locked.

Active CA ID: 1

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report