oracle 10g/11g  命令对照,日志文件夹对照

oracle 11g 中不再建议使用的命令

Deprecated Command

Replacement Commands

crs_stat

crsctl check cluster -all

crsctl stat res -t

crs_register

crsctl add resource

crsctl add type

crsctl modify resource

crsctl modify type

crs_unregister

crsctl stop resource

crsctl modify resource resource_name -attr "AUTO_START=never"

crs_start

crsctl start resource

crsctl start crs

crsctl start cluster

crs_stop

crsctl stop resource

crsctl stop crs

crsctl stop cluster

crs_getperm

crsctl getperm resource

crsctl getperm type

crs_profile

crsctl add resource

crsctl add type

crsctl status resource

crsctl status type

crsctl modify resource

crsctl modify type

crs_relocate

crsctl relocate resource

crs_setperm

crsctl setperm resource

crsctl setperm type

crsctl check crsd

crsctl check crs

crsctl check cssd

crsctl check css

crsctl check evmd

crsctl check evm

crsctl debug res log resource_name:level

crsctl set log

crsctl set css votedisk

crsctl add css votedisk

crsctl delete css votedisk

crsctl query css votedisk

crsctl replace votedisk

crsctl start resources

crsctl start resource -all

crsctl stop resources

crsctl stop resource -all

Oracle 10g Log Directory Structure in Cluster Ready Services
To diagnose any problem, the first thing examined by Oracle Support are theinstallation log files. Anyone who knows anything about database administrationknows the importance of the dump directories (bdump, udump, and cdump).Similarly, each component in the CRS stack has its respective directoriescreated under the CRS home:

Log location

Comment

$ORA_CRS_HOME/crs/log

Contains trace files for the CRS resources.

$ORA_CRS_HOME/crs/init

Contains trace files of the CRS daemon during startup. Good place to start with any CRS login problems.

$ORA_CRS_HOME/css/log

The Cluster Synchronization (CSS) logs indicate all actions such as reconfigurations, missed check-ins, connects, and disconnects from the client CSS listener. In some cases, the logger logs messages with the category of auth.crit for the reboots done by Oracle. This could be used for checking the exact time when the reboot occurred.

$ORA_CRS_HOME/css/init

Contains core dumps from the Oracle Cluster Synchronization Service daemon (OCSSd) and the process ID (PID) for the CSS daemon whose death is treated as fatal. If abnormal restarts for CSS exist, the core files will have the format of core.<pid>.

$ORA_CRS_HOME/evm/log

PID and lock files for EVM. Core files for EVM should also be written here.

$ORA_CRS_HOME/evm/init

PID and lock files for EVM. Core files for EVM should also be written here.

$ORA_CRS_HOME/srvm/log

Log files for Oracle Cluster Registry (OCR), which contains the details at the Oracle cluster level.

$ORA_CRS_HOME/log

Log files for Oracle Clusterware (known as the cluster alert log), which contains diagnostic messages at the Oracle cluster level. This is available from Oracle database 10g R2.

Oracle 11g Log Directory Structure

Locations of OracleClusterware Component Log Files

Component

Log File LocationFoot 1 

Cluster Health Monitor (CHM)

The system monitor service and cluster logger service record log information in following locations, respectively:

Grid_home/log/host_name/crfmond

Grid_home/log/host_name/crflogd

Oracle Database Quality of Service Management (DBQOS)

Oracle Database QoS Management Grid Operations Manager logs:

Grid_home/oc4j/j2ee/home/log/dbwlm/auditing

Oracle Database QoS Management trace logs:

Grid_home/oc4j/j2ee/home/log/dbwlm/logging

Cluster Ready Services Daemon (CRSD) Log Files

Grid_home/log/host_name/crsd

Cluster Synchronization Services (CSS)

Grid_home/log/host_name/cssd

Cluster Time Synchronization Service (CTSS)

Grid_home/log/host_name/ctssd

Grid Plug and Play

Grid_home/log/host_name/gpnpd

Multicast Domain Name Service Daemon (MDNSD)

Grid_home/log/host_name/mdnsd

Oracle Cluster Registry

Oracle Cluster Registry tools (OCRDUMP, OCRCHECK, OCRCONFIG) record log information in the following location:Foot 2 

Grid_home/log/host_name/client

Cluster Ready Services records Oracle Cluster Registry log information in the following location:

Grid_home/log/host_name/crsd

Oracle Grid Naming Service (GNS)

Grid_home/log/host_name/gnsd

Oracle High Availability Services Daemon (OHASD)

Grid_home/log/host_name/ohasd

Oracle Automatic Storage Management Cluster File System (Oracle ACFS)

Grid_home/log/host_name/acfsrepl

Grid_home/log/host_name/acfsreplroot

Grid_home/log/host_name/acfssec

Grid_home/log/host_name/acfs

Event Manager (EVM) information generated by evmd

Grid_home/log/host_name/evmd

Cluster Verification Utility (CVU)

Grid_home/log/host_name/cvu

Oracle RAC RACG

The Oracle RAC high availability trace files are located in the following two locations:

Grid_home/log/host_name/racg

$ORACLE_HOME/log/host_name/racg

Core files are in subdirectories of the log directory. Each RACG executable has a subdirectory assigned exclusively for that executable. The name of the RACG executable subdirectory is the same as the name of the executable.

Additionally, you can find logging information for the VIP in Grid_home/log/host_name/agent/crsd/orarootagent_root and for the database in $ORACLE_HOME/log/host_name/racg.

Server Manager (SRVM)

Grid_home/log/host_name/srvm

Disk Monitor Daemon (diskmon)

Grid_home/log/host_name/diskmon

Grid Interprocess Communication Daemon (GIPCD)

Grid_home/log/host_name/gipcd

Clusterware daemonlogs are all under <GRID_HOME>/log/<nodename>.

Structure under<GRID_HOME>/log/<nodename>:

----这样来看是不是更清楚一些

alert<NODENAME>.log - look herefirst for most clusterware issues
./admin:
./agent:
./agent/crsd:
./agent/crsd/oraagent_oracle:
./agent/crsd/ora_oc4j_type_oracle:
./agent/crsd/orarootagent_root:
./agent/ohasd:
./agent/ohasd/oraagent_oracle:
./agent/ohasd/oracssdagent_root:
./agent/ohasd/oracssdmonitor_root:
./agent/ohasd/orarootagent_root:
./client:
./crsd:
./cssd:
./ctssd:
./diskmon:
./evmd:
./gipcd:
./gnsd:
./gpnpd:
./mdnsd:
./ohasd:
./racg:
./racg/racgeut:
./racg/racgevtf:
./racg/racgmain:
./srvm:

oracle 10g/11g 命令对照,日志文件夹对照相关推荐

  1. 在linux oracle 10g/11g x64bit环境中,goldengate随os启动而自己主动启动的脚本

    在linux oracle 10g/11g x64bit环境中,goldengate随os启动而自己主动启动的脚本 在linux.oracle 10g/11g x64bit环境中,goldengate ...

  2. oracle数据库源数据路径,oracle中用什么命令查找数据文件所在路径呢?

    oracle中用什么命令查找数据文件所在路径呢? 来源:互联网  宽屏版  评论 2009-07-09 18:39:28 分类: 电脑/网络 >> 电脑常识 问题描述: 在pl/sql中执 ...

  3. windows用 tree命令查看目录文件夹结构

    windows用 tree命令查看目录文件夹结构 ## 查看帮助 tree --helptree --dirsfirst --filelimit 6 -h -t –dirsfirst 目录优先展示 – ...

  4. 服务器内提取文件,linux命令如何提取文件夹内特定文件路径

    linux命令如何提取文件夹内特定文件路径 发布时间:2020-07-20 16:35:25 来源:亿速云 阅读:102 作者:小猪 栏目:服务器 这篇文章主要为大家展示了linux命令如何提取文件夹 ...

  5. cmd xcopy 拷贝文件夹_在纯dos下用xcopy命令怎么复制文件夹

    在纯 dos 下用 xcopy 命令怎么复制文件夹 XCOPY --目录复制命令 1 .功能:复制指定的目录和目录下的所有文件连同目录结构. 2 .类型:外部命令 3 .格式: XCOPY [ 源盘: ...

  6. sftp命令上传本地文件到服务器,使用sftp命令上传文件夹方法

    使用sftp命令上传文件夹方法 发布时间:2020-08-05 02:24:03 来源:ITPUB博客 阅读:138 作者:ouyida3 # 前言 sftp上传单个文件使用put,多个文件可使用mp ...

  7. Windows批处理命令快速获取文件夹下特定类型的文件名(2022.5.15)

    Windows批处理命令快速获取文件夹下特定类型的文件名 (2022.5.15) 1.需求分析 2.batch简介 3.代码实现 3.1 八种编程语言分别实现 3.1.1 C# 实现 3.1.2 C+ ...

  8. 命令行删除文件夹及文件夹下文件

    如果文件夹下存储的文件很多(几个G或者几个T的数据),右键删除速度很慢,所以需要用到命令行删除,速度相对快很多.我整理了两个系统的删除方法,以此记录方便备查. Win10 cmd命令行删除文件夹及文件 ...

  9. 【Linux】centOS 使用ls命令能显示出来文件夹用cd命令却进不去?

    [Linux]centOS 使用ls命令能显示出来文件夹用cd命令却进不去? 方法一:可以使用反斜杠

最新文章

  1. Floodlight之 FloodlightContextStore 数据结构
  2. datanode 不能连接master
  3. php开发mvc教程,php开发一个简单的MVC
  4. java file源码_java File源码理解,探索File路径
  5. asp.net core合并压缩资源文件引发的学习之旅
  6. LeetCode之Two Sum
  7. HTML5怎样设置站点,我是怎样让网站用上HTML5 Manifest
  8. GMQ钱包致力成为您数字资产安全的保护伞
  9. drupal7 payment module:把支付form元素注入到form中
  10. 精灵3P+Pix4D简单航测详细应用教程
  11. 流氓软件mcafee之Mac端卸载
  12. 行测相关题,在线测评——图形找规律、逻辑思维
  13. linux du命令
  14. C语言开发工具(编译器|IDE)推荐
  15. CAD图形导入3dmax方法及注意要点
  16. 一个表写给另一个表的情书!
  17. vue中使用rem适配方案
  18. 【Ubuntu18.04离线安装网卡驱动】自带r8169安装r8125有线网卡驱动
  19. ISIS(中间系统到中间系统)及其配置
  20. 神经网络与卷积神经网络,卷积神经网络运用

热门文章

  1. 简单易懂的 pwnable.kr 第六题[random]Writeupt
  2. python_base_while循环、for循环
  3. 读薄《高性能MySql》(四)查询性能优化
  4. spring cloud各组件详解
  5. (转)8种常见机器学习算法比较
  6. IOS将字符串转换为日期时间格式
  7. Spring学习(四)IOC详解
  8. java集合(4)-Set集合
  9. 【数学建模】数模day13-灰色系统理论I-灰色关联与GM(1,1)预测
  10. [BZOJ1503][NOI2004]郁闷的出纳员 无旋Treap