Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Introduction to the Software structure of ORACLE 12C Cloud Control

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Recently, for testing ORACLE 12C Cloud Control, the deployment of ORACLE 12C Cloud Control, found that there are great changes with the GC of the OCM exam, the following briefly introduces the directory structure and process of CC, log information.

1.1. directory structure

This content is reference MOS:

12c Cloud Control: Details of the Directory Structure and Commonly Used Locations in a 12c OMS Installation (Document ID 1368503.1)

1.2. process analysis

The OMS server process mainly includes two types of processes: OL and HTTP.

1.2.1. OMS OL process

Cloud Control with minimal installation consists of 4 Java processes, 3 of which are WebLogic processes (1 administrative server process, 1 managed server process, 1 node manager process) and 1 is a normal Java program (Agent process).

[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

From this information point of view, OMS memory requirements are relatively large.

/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

1.2.2. OHS Process (HTTP)

WebTier encapsulates the Apache HTTP server, replacing the original LOGY agent.

[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

1.3. OMS Instance Profile

Configuration file for OMS, containing configuration information for Cloud Control itself, as well as LOGY Server and HTTP Server

Related configurations. The programs and configuration files used by OMS runtime are stored in the directory of, that is, the directory where the OMS instance was created.

[oracle@oel7 OMS_Instance]$ tree -L 1 ../ OMS_Instance

../ OMS_Instance

|-- NodeManager--Node Manager

|-- WebTierIH1--OHS Services

|-- em--OMS Services

`-- user_projects--TECHNICAL DOMAIN

1.3.1. OMS Core Configuration

The/em//emgc.properties file contains most of the OMS configuration information.

1.3.2. <$Server Core Configuration

/user_projects/domains/GCDomain/config/config.xml, which contains configuration information for LOGY.

1.3.3. Oracle HTTP Server (OHS) Core Configuration

The//config/OHS//httpd.conf file contains HTTP Server configuration information.

1.3.4. Node Manager Core Configuration

The/NodeManager/emnodemanager/nodemanager.properties file contains configuration information for the LOGY node manager.

1.4. Log analysis 1.4.1. OMS log

OMS logs are stored in the/em//sysman/log directory.

Log settings need to be viewed and adjusted through emctl commands, such as:

[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

1.4.2. OMS Installation Configuration Log

Installation: /logs

EMPrereqkit: /logs/emdbprereqs/LATEST/repository.log(emprereqkit.log)

Configuration Tools: /cfgtoollogs

Repository Creation: /sysman/log/schemamanager

Agent Deploy:/em//sysman/agentpush

1.4.3. Oracle HTTP Server (OHS) logs 1.4.3.1 Oracle HTTP Server logs

//diagnostics/logs/OHS/directory for OHS logs.

1.4.3.2 OPMN Log

OPMN tools are used to start and stop OHS services.

//diagnostics/logs/OPMN/Holds OPMN logs.

1.4.3.2 EM NodeManager logs

/NodeManager/emnodemanager

1.4.3.3 Adminserver Log

/user_projects/domains//servers/ADMIN_SERVER_NAME>/logs

1.4.3.4 EM Managed Server logs

/user_projects/domains//servers//logs

References:

EM 12c: Steps to Locate and Manage the Various Logs/Trace files in a 12c OMS Installation (Doc ID 1448308.1)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report