扫二维码与项目经理沟通
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流
创新互联建站专注于企业网络营销推广、网站重做改版、湘乡网站定制设计、自适应品牌网站建设、H5高端网站建设、成都做商城网站、集团公司官网建设、外贸营销网站建设、高端网站制作、响应式网页设计等建站业务,价格优惠性价比高,为湘乡等各大城市提供网站开发制作服务。
这个内容是参考MOS:
12c Cloud Control: Details of the Directory Structure and Commonly Used Locations in a 12c OMS Installation (文档ID 1368503.1)
OMS服务器进程,主要包含WebLogic和HTTP两类进程。
使用最小化安装的Cloud Control包含4个Java进程,其中3个为WebLogic进程(1个管理服务器进程,1个被管服务器进程,1个节点管理器进程),1个为普通Java程序(Agent进程)。
[oracle@oel7 bin]$ps -ef | grep java | grep -v grep | awk '{print $1, $2, $3, $8, $NF}' | sort
oracle 1879 1459 /cloud/Agent/core/12.1.0.5.0/jdk/bin/java oracle.sysman.gcagent.tmmain.TMMain
oracle 1953 1 /cloud/Middleware/jdk16/jdk/jre/bin/java weblogic.NodeManager
oracle 2040 1992 /cloud/Middleware/jdk16/jdk/bin/java weblogic.Server
oracle 30877 30824 /cloud/Middleware/jdk16/jdk/bin/java weblogic.Server
[oracle@oel7 ~]$ps -ef | grep weblogic | grep -v grep
从这个信息来看,OMS对内存的要求比较大。
/cloud/Middleware/jdk16/jdk/jre/bin/java -Xms126m -Xmx382m weblogic.NodeManager
/cloud/Middleware/jdk16/jdk/bin/java -server -Xms256m -Xmx512m -Dweblogic.Name=EMGC_ADMINSERVER
/cloud/Middleware/jdk16/jdk/bin/java -server -Xms256M -Xmx1740M -Dweblogic.Name=EMGC_OMS1
WebTier 封装了Apache HTTP服务器,替换了原有的WebLogic代理程序。
[oracle@oel7 bin]$ps -ef | grep http | grep -v java | sort | grep 14584
oracle 14584 14344 0 11:16 ? 00:00:01 /cloud/Middleware/Oracle_WT/ohs/bin/httpd.worker -DSSL
oracle 14594 14584 0 11:16 ? 00:00:00 /cloud/Middleware/Oracle_WT/ohs/bin/odl_rotatelogs /cloud/OMS_Instance/WebTierIH1/diagnostics/logs/OHS/ohs1/em_upload_http_access_log 10M 100M
oracle 14595 14584 0 11:16 ? 00:00:00 /cloud/Middleware/Oracle_WT/ohs/bin/odl_rotatelogs /cloud/OMS_Instance/WebTierIH1/diagnostics/logs/OHS/ohs1/em_upload_https_access_log 10M 100M
oracle 14598 14584 0 11:16 ? 00:00:00 /cloud/Middleware/Oracle_WT/ohs/bin/httpd.worker -DSSL
oracle 14599 14584 0 11:16 ? 00:00:03 /cloud/Middleware/Oracle_WT/ohs/bin/httpd.worker -DSSL
oracle 14600 14584 0 11:16 ? 00:00:02 /cloud/Middleware/Oracle_WT/ohs/bin/httpd.worker -DSSL
OMS的配置文件,包含Cloud Control本身的配置信息,以及WebLogic Server和HTTP Server
相关的配置。OMS运行时使用到的程序和配置文件,都存放在
[oracle@oel7 OMS_Instance]$tree -L 1 ../OMS_Instance
../OMS_Instance
|-- NodeManager--节点管理器
|-- WebTierIH1--OHS服务
|-- em--OMS服务
`-- user_projects--WebLogic域
OMS的日志存放在
日志的设置查看与调整,需要通过emctl命令进行操作,比如:
[oracle@oel7 bin]$./emctl get property -name log4j.rootCategory
Oracle Enterprise Manager Cloud Control 12c Release 5
Copyright (c) 1996, 2015 Oracle Corporation. All rights reserved.
SYSMAN password:
Value for property log4j.rootCategory at Global level is WARN, emlogAppender, emtrcAppender
[oracle@oel7 bin]$./emctl set property -name log4j.rootCategory -value "DEBUG, emlogAppender, emtrcAppender" -module logging
Installation:
EMPrereqkit:
Configuration Tools:
Repository Creation:
Agent Deploy:
OPMN工具用于启停OHS服务。
参考文档:
EM 12c: Steps to Locate and Manage the Various Logs/Trace files in a 12c OMS Installation (文档ID 1448308.1)
我们在微信上24小时期待你的声音
解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流