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

How to understand the structure of log files in Oracle RAC cluster environment

2025-01-31 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article shows you how to understand the log file structure in the Oracle RAC cluster environment, the content is concise and easy to understand, it will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

In an Oracle RAC environment, periodic checks of the logs in the cluster are essential. By looking at the cluster logs, you can locate the problems in the cluster environment early in order to nip the problem in the bud.

Briefly introduce the structure of logs in Oracle cluster environment to make it easy to find the required log files quickly.

Hiding place of 1.Oracle Cluster Log

The logs involved in the Oracle cluster are mainly located in the "$ORA_CRS_HOME/log" and "$ORACLE_HOME/log" directories.

two。 Log directory structure

RACDB1@rac1 / home/oracle$ tree-d $ORA_CRS_HOME/log

/ oracle/app/crs/log

|-- crs

`--rac1

|-- admin

|-- client

|-- crsd

|-- cssd

| |-- oclsmon |

| | `--oclsomon |

|-- evmd

`--racg

|-- racgeut

|-- racgevtf

`--racgmain

13 directories

RACDB1@rac1 / home/oracle$ tree-d $ORACLE_HOME/log

/ oracle/app/oracle/product/10.2.0/db_1/log

`--rac1

|-- client

`--racg

|-- racgeut

|-- racgimon

|-- racgmain

`--racgmdb

7 directories

Where "rac1" is the specific hostname.

3. Log directory function description

1) the CRS log is stored in the "$ORA_CRS_HOME/log//crsd" directory and will be archived every 10m.

2) the CSS log is stored in the "$ORA_CRS_HOME/log//cssd" directory and will be archived every 20m.

3) EVM logs are stored in the "$ORA_CRS_HOME/log//evmd" directory

4) the log corresponding to the RACG executable is recorded in the racg directory in the "$ORA_CRS_HOME/log/" and "$ORACLE_HOME/log/" directories

5) the "$ORA_CRS_HOME/log//client" and "$ORACLE_HOME/log//client" directories record log information corresponding to srvctl, ocrdump, ocrconfig, and ocrcheck commands.

Alert logs of 4.Oracle cluster

Like alert logs for Oracle instances, alert log files also exist in the Oracle cluster environment. The file is located in the "in $ORA_CRS_HOME/log/" directory with a naming convention of "alert.log"

This warning log records important warnings about the Oracle cluster.

RACDB1@rac1 / oracle/app/crs/log/rac1 $tail-10f alertrac1.log

[cssd (10098)] CRS-1610:node rac2 (2) at 90% heartbeat fatal, eviction in 2.178 seconds

2010-11-15 09Fringe 09VONING 11.264

[cssd (6656)] CRS-1605:CSSD voting file is online: / dev/raw/raw2. Details in / oracle/app/crs/log/rac1/cssd/ocssd.log.

[cssd (6656)] CRS-1601:CSSD Reconfiguration complete. Active nodes are rac1 rac2.

2010-11-15 09 09 14 029

[evmd (5878)] CRS-1401:EVMD started on node rac1.

2010-11-1509For 09WR 14.868

[crsd (6015)] CRS-1012:The OCR service started on node rac1.

2010-11-15 09VOR 09VONING 27.545

[crsd (6015)] CRS-1201:CRSD started on node rac1.

5. Summary

Being familiar with the location and function of log files in Oracle cluster environment helps to quickly locate the location of the fault and make good use of it.

The above content is how to understand the log file structure in the Oracle RAC cluster environment. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

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

Servers

Wechat

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

12
Report