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



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:

时间: 2024-10-21 06:01:28

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

oracle 10g/11g 命令对比,日志目录对比

 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_unregist

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

在linux.oracle 10g/11g x64bit环境中,goldengate随os启动而自己主动启动的脚本 背景描写叙述: goldengate安装于/u01/ggs文件夹下 rhel5.5 oracle 10g/11g x64bit Oracle GoldenGate Command Interpreter for Oracle Version 11.1.1.0.0 Build 078 Linux, x64, 64bit (optimized), Oracle 11 on Jul 28

[转]Oracle 10g/11g 密码策略 用户口令 大小写敏感

一. Oracle 10g 1.1 说明 在Oracle 10g下,默认情况下,密码是不区分大小写的.这个是由于密码文件的默认参数有关. C:\Users\Administrator.DavidDai>orapwd Usage: orapwd file=<fname>entries=<users> force=<y/n> ignorecase=<y/n>nosysdba=<y/n> where file - name of password

更改Oracle 10g/11g数据库为归档模式

一.oracle 10g/11g 在Oracle 11g,开启archive log模式时,默认归档目录为db_recovery_file_dest指定.此参数在pfile/spfile中可以指定: db_recovery_file_dest='/u01/app/oracle/flash_recovery_area'; 1.sqlplus / as sysdba;登陆进去: 2.关闭数据库 SQL> shutdown immediate Database closed. Database dis

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

在linux,oracle 10g/11g x64bit环境中,goldengate随os启动而自动启动的脚本 背景描述: goldengate安装于/u01/ggs目录下 rhel5.5 oracle 10g/11g x64bit Oracle GoldenGate Command Interpreter for Oracle Version 11.1.1.0.0 Build 078 Linux, x64, 64bit (optimized), Oracle 11 on Jul 28 2010

win7 安装oracle 10g 未生成监听文件 导致配置监听时无法保存

最近这两天一直在为安装 的oracle 配置监听无法保存 再找各种解决方案,最后自己居然自己配置出来了. 因为缺少监听文件,拷贝别人的放到自己的目录下C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN   listener.ora.tnsnames.ora和 sqlnet.ora 1.修改 tnsnames.ora  中的 # tnsnames.ora Network Configuration File:  c:\oracle\product\10.

oracle 10g/11g RAC 启停归档模式

 oracle 10g rac 启停归档模式  如果Oracle数据库运行在归档模式,当进行数据库维护时,可能需要暂停数据库的归档,在完成维护后,再重新启动归档模式. 通过以下步骤可以从归档模式转换为非归档模式: 以下步骤在一台机器上操作.节点二保持down.在所有的操作完成后在打开节点二的数据库. sql>connect SYS/PASSWORD sql>ALTER SYSTEM SET CLUSTER_DATABASE=FALSE SCOPE=SPFILE; sql>shutdo

shell命令查看某文件夹下的文件个数

shell命令查看某文件夹下的文件个数 2010-06-25 17:05:15|  分类: shell |字号 订阅 1.查看某文件夹下文件的个数: ls -l |grep "^-"|wc -l 或 find ./company -type f | wc -l 2.查看某文件夹下文件的个数,包括子文件夹里的: ls -lR|grep "^-"|wc -l 3.查看某文件夹下文件夹的个数,包括子文件夹里的: ls -lR|grep "^d"|wc

Oracle 11g 管理重做日志文件

重做日志也称联机重做日志.引入重做日志的目的是数据恢复.在数据库运行过程中,用户更改的数据会暂时存放在数据库的高速缓冲区中.为了提高写数据的速度,并不是一旦有数据变化,就把变化的数据写到数据文件中.频繁的读写磁盘文件会使数据库系统效率降低,所以要等到数据库高速缓冲区中的数据达到一定的量或者满足一定的条件时,DBWR进程才会将变化了的数据写到数据文件中.这种情况下如果在DBWR把变化了的更改写到数据文件之前发生了宕机,那么数据高速缓冲区中的数据就会全部丢失.如果在数据库重新启动后无法恢复这部分用户