溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

Grid Control一些術(shù)語GC、OMS、OMR、OMA的概念

發(fā)布時(shí)間:2020-08-08 20:07:24 來源:ITPUB博客 閱讀:310 作者:lusklusklusk 欄目:關(guān)系型數(shù)據(jù)庫
EM:database control
GC:grid control
CC:cloud control(12開始就不叫GC了改叫CC了,目前有12CC、13CC)

OMR
Oracle Management Repository 
OMR就是存放GC監(jiān)控信息的數(shù)據(jù)庫,一般存放在sysman用戶下的表,因?yàn)橐玫奖O(jiān)控報(bào)警,所以要用到dbsnmp用戶,所以要開啟sysman、dbsnmp兩個(gè)用戶
/etc/hsots必須有OMR和OMS的信息

OMS
Oracle Management Service 
OMS簡單可以簡單理解為GC監(jiān)控,安裝了weblogic和grid control軟件,其中在安裝grid contro過程中要指定OMR服務(wù)器的信息。
OMS安裝好后,自動(dòng)在本機(jī)安裝了OMA服務(wù)
/etc/hsots必須有OMR和OMS的信息
/etc/oratab信息默認(rèn)如下(分別是OMS、OMA的HOME目錄,可以修改*為oms和agent)
*:/u01/app/bea/oracle/Middleware/oms11g:N
*:/u01/app/bea/oracle/Middleware/agent11g:N

OMA
Oracle Management Agent
被監(jiān)控的服務(wù)器,/etc/hosts必須要有OMS的域名信息
一般一臺(tái)服務(wù)器裝一套OMA就可以了,但是如果有不同的OMS的來監(jiān)控服務(wù)器,比如13c,12c同時(shí)監(jiān)控同一臺(tái)服務(wù)器,則這臺(tái)服務(wù)器需要兩套OMA,且版本應(yīng)該不一樣。
安裝OMA的方法
1、登錄OMS服務(wù)器
. oraenv -> oms
cd $ORACLE_HOME/sysman/agent_download/11.1.0.1.0//
copy agentDownload.linux到OMA服務(wù)器比如/home/oracle
2、登錄OMA服務(wù)器
 ./agentDownload.linux -b /u01/app/oracle/product/11.2.0 -y  --安裝好后,默認(rèn)連接OMS的4900端口
-y表示Decline Security Updates,表示不需要輸入郵箱地址
3、安裝好后,/etc/oratab默認(rèn)有如下信息
agent:/u01/app/oracle/product/11.2.0/agent11g:N(即第二步-b時(shí)指定的HOME目錄加agent11g子目錄,可以修改*為agent)
OMA安裝過程中一定要注意:輸入正確的registration password,否則雖然可以正常安裝agent,但是永遠(yuǎn)連不上OMS
Grid Control一些術(shù)語GC、OMS、OMR、OMA的概念


OMS的啟動(dòng)關(guān)閉
emctl start oms
emctl stop oms
emctl status oms
emctl status oms -details
emctl status oms -details -sysman_pwd sysman'spassword

OMA的啟動(dòng)關(guān)閉
emctl start agent
emctl stop agent
emctl status agent


OMA連不上OMS的現(xiàn)象和處理方法
1、如果安裝agent過程中輸錯(cuò)了密碼,連不上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,則如下查看什么報(bào)錯(cuò)
emctl upload agent
emctl verifykey
比如
EMD pingOMS error: Invalid ping response "ERROR-Agent is blocked... Please contact EM adminstrator to unblock the agent"
則進(jìn)入em界面,setup->agent->unblock

3、最后都不行的話重啟OMS,再如上1、2兩種方式



OMA\OMS日志目錄
OMS日志在gc_inst運(yùn)行時(shí)的目錄里,即$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
向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請(qǐng)聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI