重庆分公司,新征程启航
为企业提供网站建设、域名注册、服务器等服务
这个内容是参考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)
另外有需要云服务器可以了解下创新互联cdcxhl.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。