To Verify if the Enterprise Manager GC (OMS) is Locked or Unlocked_428874.1
How To Verify if the Enterprise Manager Grid Control (OMS) is Locked or Unlocked? (Doc ID 428874.1)
In this Document
Goal |
Solution |
References |
Applies to:
Enterprise Manager Base Platform - Version 10.1.0.3 to 10.2.0.5 [Release 10.1 to 10.2]
Information in this document applies to any platform.
Enterprise Manager Grid Control - Version: 10.1.0.3 to 10.2.0.5 - Release: 10.1 to 10.2
***Checked for relevance on 22-Feb-2012***
Goal
How can we verify if the Grid Control OMS is locked or if it is unlocked?
When we run "emctl secure lock" this locks the OMS. It means that all Agents must be Secure and upload over HTTPS Port. Any unsecured Agents will be not able to upload data. Conversely running "emctl secure unlock" will unlock the OMS meaning that Non Secure Agents may upload using the HTTP port.
The problem is there is no simple command to run to find out if the Grid Control OMS is locked or unlocked.
To check if the Cloud Control OMS 12c is locked or unlocked please read:
Document 1566110.1 - How to check if the Enterprise Management Cloud Control 12c OMS is locked or unlocked ?
Solution
1. httpd_em.conf file
To see if the OMS is locked or unlocked we can look at the $OMS_HOME/sysman/config/httpd_em.conf file.
Find the heading for your unsecured port number. (Default 4889)
ie. Listen 4889
Check for the entries "Deny from ....".
If the OMS is locked they will show "Deny from all" otherwise you will see the entry "Deny from none". This is shown below.
|
|
|
|
2. Repository:
Starting from Grid Control 10gR2 (10.2.0.x.0) you may use the following SQL query to verify if the OMS is locked or not. Connect to the Repository Database as SYSMAN user and issue the following query:
oms.timestamp ,
DECODE(oms.value,0,'Unsecured',1,'Secured and Unlocked',2,'Secured and Locked','error:'
||oms.value) lock_status
FROM mgmt_oms_parameters oms,
(SELECT host_url ,
name ,
MAX(TIMESTAMP) last_time
FROM mgmt_oms_parameters
WHERE name = 'oms_secure_status'
GROUP BY host_url,
name
) s
WHERE oms.host_url = s.host_url
AND oms.TIMESTAMP = s.last_time
AND oms.name = s.name
ORDER BY oms.host_url;
References
NOTE:1566110.1 - How to check if the Enterprise Management Cloud Control 12c OMS is locked or unlocked ?
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-1247812/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- GoldenGate Enterprise Manager Plug-In(12.1.0.3.0) 部署文件Go
- Deinstall the Enterprise Manager 13c Cloud Control AgentCloud
- OMS
- ORACLE OMS啟動失敗之BEA-300040 I/O error while writing node manager statusOracleErrorWhile
- OMS Log Files 位置
- A. Locked Calculator
- Lombok @Locked指南Lombok
- RuneScape - To verify your level of combatBAT
- [20180619]bbed verify問題.txt
- Full GC (Metadata GC Threshold)GC
- 從CLR GC到CoreCLR GCGC
- 計算機中了locked勒索病毒怎麼辦,locked勒索病毒解密,資料恢復計算機解密資料恢復
- 計算機伺服器中了locked勒索病毒怎麼辦,locked勒索病毒解密流程計算機伺服器解密
- PHP composer 報錯 certificate verify failedPHPAI
- GCGC
- PostgreSQL DBA(81) - Locks(FOR UPDATE SKIP LOCKED)SQL
- GC.MaxGeneration屬性【GC示例】GC
- 伺服器中了locked勒索病毒怎麼處理,locked勒索病毒解密,資料恢復伺服器解密資料恢復
- OGG:manager
- 計算機伺服器中了locked勒索病毒的正確處理流程,locked勒索病毒解密計算機伺服器解密
- 計算機伺服器中了locked勒索病毒怎麼解鎖,locked勒索病毒解密步驟計算機伺服器解密
- hyperf如何接入swoole enterprise
- EMQX Enterprise 4.4.11 釋出MQ
- SAP EPD - Enterprise Product Developmentdev
- Oracle案例07——ORA-28000: the account is lockedOracle
- ORA-20005:object statistics are locked (stattype = ALL)Object
- 企業計算機中了locked勒索病毒怎麼解鎖,locked勒索病毒解密,資料恢復計算機解密資料恢復
- 計算機伺服器中了_locked勒索病毒如何處理,_locked勒索病毒解密資料恢復計算機伺服器解密資料恢復
- 計算機伺服器中了_locked勒索病毒怎麼辦,_locked勒索病毒解密資料恢復計算機伺服器解密資料恢復
- 計算機伺服器中了locked勒索病毒怎麼處理,locked勒索病毒解密處理流程計算機伺服器解密
- GC是什麼?為什麼要有GC?GC
- JVM 系列文章之 Full GC 和 Minor GCJVMGC
- 計算機伺服器中了locked勒索病毒怎麼處理,locked勒索病毒解密資料恢復計算機伺服器解密資料恢復
- Xmanager Enterprise 5 的基本使用
- 總結Minor GC、Full GC觸發條件GC
- python的GCPythonGC
- java GC CollectorJavaGC
- gc buffer busyGC
- gc 檢視GC