查看oms状态:
[oracle@oemapp1 backup]$ $OMS_HOME/bin/emctl status oms -details Oracle Enterprise Manager Cloud Control 13c Release 2 Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved. Enter Enterprise Manager Root (SYSMAN) Password : Console Server Host : oemapp1.oracle.com HTTP Console Port : 7788 HTTPS Console Port : 7802 HTTP Upload Port : 4889 HTTPS Upload Port : 4903 EM Instance Home : /app/oracle/oms_local/gc_inst/em/EMGC_OMS1 OMS Log Directory Location : /app/oracle/oms_local/gc_inst/em/EMGC_OMS1/sysman/log SLB or virtual hostname: myslb.oracle.com HTTPS SLB Upload Port : 4903 HTTPS SLB Console Port : 443 HTTPS SLB JVMD Port : 7301 Agent Upload is locked. OMS Console is locked. Active CA ID: 1 Console URL: https://myslb.oracle.com:443/em Upload URL: https://myslb.oracle.com:4903/empbs/upload WLS Domain Information Domain Name : GCDomain Admin Server Host : oemapp1.oracle.com Admin Server HTTPS Port: 7102 Admin Server is RUNNING Oracle Management Server Information Managed Server Instance Name: EMGC_OMS1 Oracle Management Server Instance Host: oemapp1.oracle.com WebTier is Up Oracle Management Server is Up JVMD Engine is Up BI Publisher Server Information BI Publisher Managed Server Name: BIP BI Publisher Server is Up BI Publisher HTTP Managed Server Port : 9701 BI Publisher HTTPS Managed Server Port : 9803 BI Publisher HTTP OHS Port : 9788 BI Publisher HTTPS OHS Port : 9851 BI Publisher HTTPS SLB Port : 5443 BI Publisher is locked. BI Publisher Server named 'BIP' running at URL: https://myslb.oracle.com:5443/xmlpserver BI Publisher Server Logs: /app/oracle/oms_local/gc_inst/user_projects/domains/GCDomain/servers/BIP/logs/ BI Publisher Log : /app/oracle/oms_local/gc_inst/user_projects/domains/GCDomain/servers/BIP/logs/bipublisher/bipublisher.log查看agent状态:
[oracle@oemapp1 backup]$ $AGENT_HOME/bin/emctl status agent Oracle Enterprise Manager Cloud Control 13c Release 2 Copyright (c) 1996, 2016 Oracle Corporation. All rights reserved. --------------------------------------------------------------- Agent Version : 13.2.0.0.0 OMS Version : 13.2.0.0.0 Protocol Version : 12.1.0.1.0 Agent Home : /app/oracle/oms_local/agent/agent_inst Agent Log Directory : /app/oracle/oms_local/agent/agent_inst/sysman/log Agent Binaries : /app/oracle/oms_local/agent/agent_13.2.0.0.0 Core JAR Location : /app/oracle/oms_local/agent/agent_13.2.0.0.0/jlib Agent Process ID : 17263 Parent Process ID : 17060 Agent URL : https://oemapp1.oracle.com:3872/emd/main/ Local Agent URL in NAT : https://oemapp1.oracle.com:3872/emd/main/ Repository URL : https://myslb.oracle.com:4903/empbs/upload Started at : 2018-10-12 15:49:58 Started by user : oracle Operating System : Linux version 2.6.32-696.el6.x86_64 (amd64) Number of Targets : 34 Last Reload : (none) Last successful upload : 2018-10-12 15:50:53 Last attempted upload : 2018-10-12 15:50:53 Total Megabytes of XML files uploaded so far : 0.17 Number of XML files pending upload : 19 Size of XML files pending upload(MB) : 0.07 Available disk space on upload filesystem : 63.80% Collection Status : Collections enabled Heartbeat Status : Ok Last attempted heartbeat to OMS : 2018-10-12 15:50:33 Last successful heartbeat to OMS : 2018-10-12 15:50:33 Next scheduled heartbeat to OMS : 2018-10-12 15:51:35 --------------------------------------------------------------- Agent is Running and Ready