Grid Control一些术语GC、OMS、OMR、OMA的概念
发表于:2026-11-02 作者:千家信息网编辑
千家信息网最后更新 2026年11月02日,EM:database controlGC:grid controlCC:cloud control(12开始就不叫GC了改叫CC了,目前有12CC、13CC)OMROracle Management
千家信息网最后更新 2026年11月02日Grid Control一些术语GC、OMS、OMR、OMA的概念EM:database control
GC:grid control
CC:cloud control(12开始就不叫GC了改叫CC了,目前有12CC、13CC)
OMR
Oracle Management Repository
OMR就是存放GC监控信息的数据库,一般存放在sysman用户下的表,因为要用到监控报警,所以要用到dbsnmp用户,所以要开启sysman、dbsnmp两个用户
/etc/hsots必须有OMR和OMS的信息
OMS
Oracle Management Service
OMS简单可以简单理解为GC监控,安装了weblogic和grid control软件,其中在安装grid contro过程中要指定OMR服务器的信息。
OMS安装好后,自动在本机安装了OMA服务
/etc/hsots必须有OMR和OMS的信息
/etc/oratab信息默认如下(分别是OMS、OMA的HOME目录,可以修改*为oms和agent)
*:/u01/app/bea/oracle/Middleware/oms11g:N
*:/u01/app/bea/oracle/Middleware/agent11g:N
OMA
Oracle Management Agent
被监控的服务器,/etc/hosts必须要有OMS的域名信息
一般一台服务器装一套OMA就可以了,但是如果有不同的OMS的来监控服务器,比如13c,12c同时监控同一台服务器,则这台服务器需要两套OMA,且版本应该不一样。
安装OMA的方法
1、登录OMS服务器
. oraenv -> oms
cd $ORACLE_HOME/sysman/agent_download/11.1.0.1.0//
copy agentDownload.linux到OMA服务器比如/home/oracle
2、登录OMA服务器
./agentDownload.linux -b /u01/app/oracle/product/11.2.0 -y --安装好后,默认连接OMS的4900端口
-y表示Decline Security Updates,表示不需要输入邮箱地址
3、安装好后,/etc/oratab默认有如下信息
agent:/u01/app/oracle/product/11.2.0/agent11g:N(即第二步-b时指定的HOME目录加agent11g子目录,可以修改*为agent)
OMA安装过程中一定要注意:输入正确的registration password,否则虽然可以正常安装agent,但是永远连不上OMS
OMS的启动关闭
emctl start oms
emctl stop oms
emctl status oms
emctl status oms -details
emctl status oms -details -sysman_pwd sysman'spassword
OMA的启动关闭
emctl start agent
emctl stop agent
emctl status agent
OMA连不上OMS的现象和处理方法
1、如果安装agent过程中输错了密码,连不上OMS,则如下
emctl upload agent
emctl verifykey
emctl secure agent
比如
EMD pingOMS error: Failure connecting to https://gc.oracle.com:4900/em/upload/ , err -1
2、如果重新在其他目录安装了agent,连不上OMS,则如下查看什么报错
emctl upload agent
emctl verifykey
比如
EMD pingOMS error: Invalid ping response "ERROR-Agent is blocked... Please contact EM adminstrator to unblock the agent"
则进入em界面,setup->agent->unblock
3、最后都不行的话重启OMS,再如上1、2两种方式
OMA\OMS日志目录
OMS日志在gc_inst运行时的目录里,即$INST_HOME/em/EMGC_OMS1/sysman/log
OMS:/u01/app/bea/oracle/gc_inst/em/EMGC_OMS1/sysman/log
agent日志$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
GC:grid control
CC:cloud control(12开始就不叫GC了改叫CC了,目前有12CC、13CC)
OMR
Oracle Management Repository
OMR就是存放GC监控信息的数据库,一般存放在sysman用户下的表,因为要用到监控报警,所以要用到dbsnmp用户,所以要开启sysman、dbsnmp两个用户
/etc/hsots必须有OMR和OMS的信息
OMS
Oracle Management Service
OMS简单可以简单理解为GC监控,安装了weblogic和grid control软件,其中在安装grid contro过程中要指定OMR服务器的信息。
OMS安装好后,自动在本机安装了OMA服务
/etc/hsots必须有OMR和OMS的信息
/etc/oratab信息默认如下(分别是OMS、OMA的HOME目录,可以修改*为oms和agent)
*:/u01/app/bea/oracle/Middleware/oms11g:N
*:/u01/app/bea/oracle/Middleware/agent11g:N
OMA
Oracle Management Agent
被监控的服务器,/etc/hosts必须要有OMS的域名信息
一般一台服务器装一套OMA就可以了,但是如果有不同的OMS的来监控服务器,比如13c,12c同时监控同一台服务器,则这台服务器需要两套OMA,且版本应该不一样。
安装OMA的方法
1、登录OMS服务器
. oraenv -> oms
cd $ORACLE_HOME/sysman/agent_download/11.1.0.1.0//
copy agentDownload.linux到OMA服务器比如/home/oracle
2、登录OMA服务器
./agentDownload.linux -b /u01/app/oracle/product/11.2.0 -y --安装好后,默认连接OMS的4900端口
-y表示Decline Security Updates,表示不需要输入邮箱地址
3、安装好后,/etc/oratab默认有如下信息
agent:/u01/app/oracle/product/11.2.0/agent11g:N(即第二步-b时指定的HOME目录加agent11g子目录,可以修改*为agent)
OMA安装过程中一定要注意:输入正确的registration password,否则虽然可以正常安装agent,但是永远连不上OMS
OMS的启动关闭
emctl start oms
emctl stop oms
emctl status oms
emctl status oms -details
emctl status oms -details -sysman_pwd sysman'spassword
OMA的启动关闭
emctl start agent
emctl stop agent
emctl status agent
OMA连不上OMS的现象和处理方法
1、如果安装agent过程中输错了密码,连不上OMS,则如下
emctl upload agent
emctl verifykey
emctl secure agent
比如
EMD pingOMS error: Failure connecting to https://gc.oracle.com:4900/em/upload/ , err -1
2、如果重新在其他目录安装了agent,连不上OMS,则如下查看什么报错
emctl upload agent
emctl verifykey
比如
EMD pingOMS error: Invalid ping response "ERROR-Agent is blocked... Please contact EM adminstrator to unblock the agent"
则进入em界面,setup->agent->unblock
3、最后都不行的话重启OMS,再如上1、2两种方式
OMA\OMS日志目录
OMS日志在gc_inst运行时的目录里,即$INST_HOME/em/EMGC_OMS1/sysman/log
OMS:/u01/app/bea/oracle/gc_inst/em/EMGC_OMS1/sysman/log
agent日志$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
服务
服务器
信息
监控
目录
日志
用户
过程
装好
方法
登录
输入
不同
不行
两个
同时
地址
域名
如上
子目
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
广东猪兼强互联网科技有限公司
A股互联网金融科技公司
互联网金融与金融科技
科技服务与互联网
互联网科技集团
互联网科技排名
广州宏创互联网科技
互联网科技论文
万达互联网科技
美国互联网前沿科技
互联网科技公司需要的职位
福州新华互联网科技学校 知乎
承德科技产业互联网发展
宁夏众和广鑫互联网科技有限公司
深圳市优智互联网科技有限公司
互联网科技大奖都有哪些公司
东莞新华互联网科技学校
上海创道互联网络科技有限公司
半导体行业属于互联网高科技类吗
江苏互联网科技小贷
互联网科技有限公司图片
丰台科技园 互联网
亿账通互联网科技
互联网金融 科技创新
科技赋能互联网健康
江苏南京365互联网科技
互联网科技实习生岗位职责
互联网科技寓意
湖北码尼互联网科技有限公司电话
互联网媒体平台算高科技产业