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 , 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 :
Repository URL :
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 , 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 :
Repository URL :
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
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30126024/viewspace-2146621/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【GC】OEL4.8部署安裝 Grid Control OMSGC
- 【GC】OEM Grid Control 11gR1部署之OMS部分GC
- 【GC】OEL4.8解除安裝重新部署安裝Grid Control OMSGC
- EM Cloud Control 12c OMS 及 OMA 都需要部署Plug-in的原因 - 2Cloud
- EM Cloud Control 12c OMS 及 OMA 都需要部署Plug-in的原因 - 1Cloud
- 【GC】未建立或丟失密碼檔案導致 Grid Control OMS無法正常安裝GC密碼
- 【GC】Grid Control Agent完整刪除方法GC
- 【GC】OEM Grid Control 11gR1部署之Agent部分GC
- 【GC】How to Install Grid Control Agents on RAC Clusters? [ID 378037.1]GC
- 【GC】使用 agentDownload.linux完成Grid Control Agent的快速部署安裝GCLinux
- Grid Control的安裝
- 【GC】OEM Grid Control 11gR1部署之WebLogic Server部分GCWebServer
- 安裝Grid Control 10.2.0.2.1 for windows在做OMS配置的時候遇到OUI-25031解決辦法WindowsUI
- 安裝Grid Control
- GoldenGate , Grid ControlGo
- To Verify if the Enterprise Manager GC (OMS) is Locked or Unlocked_428874.1GC
- C語言容易混淆的一些概念C語言
- 分散式資料庫的一些重要概念和術語及誤區分散式資料庫
- Grid Control服務端看不到Agent相關資訊,同時OMS狀態為unknown處理服務端
- 安裝10.2.0.4 Grid Control之前需要安裝 10.2.0.3.0 Grid Control
- oracle grid control etc/hostsOracle
- Oracle 12c OEM Cloud Control OMS安裝OracleCloud
- 【GC】Grid Control 11gR1安裝過程中遭遇ERROR: invalid entry CRCGCError
- Java Hotspot G1 GC的一些關鍵技術JavaHotSpotGC
- 【GC】重新配置Agent以應對 OMS伺服器的變化GC伺服器
- 【ACOUG】Oracle Grid Control的使用與技巧Oracle
- 淺談zabbix和Grid control
- GC 10.2.0.1 OMS和Agent連線失敗後的處理過程GC
- OEM GC11G OMS不能發現主機的問題解決GC
- 關於量子技術的一些概念糾正
- 重新建立Grid Control的Repository DatabaseDatabase
- Akka學習——術語和概念
- oracle基本概念和術語Oracle
- OCM實驗-grid control安裝
- grid佈局基本概念
- 我的oracle enterprise grid control曲折之路Oracle
- OCM實驗-grid control agent安裝
- 如何解除安裝Oracle Grid ControlOracle