oracle Rac 进程以及clusterware日志目录。


     oracle 集群有两种存储组件文件,一种是二进制的磁盘表决文件(voting disk files),磁盘表决文件存储每个节点成员的记录信息,另一个是oracle集群注册表(OCR),它记录这集群配置信息。这两种文件必须都存储在共享存储供其他节点成员访问使用。
 oracle 集群包括两种单独的堆栈,一种是集群服务守护进程(CRSd),另外一个是高可用服务守护进程(ohasd),这两中堆栈有很多进程来完成集群操作工作。
  集群服务栈
 1、集群就绪服务(CRS)
  在集群中这是管理高可用性操作主要的程序,crs守护进程(crsd)基于存储早ocr中的配置信息来管理集群资源。包括启动、关闭、监控和失败倒换操作等。当资源改变的时候crsd进程将会产生时间信息进行记录,当你安装oracle rac的时候,这个crsd就会监控数据库实例,监听,等待当该进程组件失败的时候还能自动重启。
 2、集群同步服务(CSS)
  管理集群控制信息控制那些节点是集群成员,并且当节点被加入集群或是剔除集群进行告知。cssdagent进程监控集群并且提供i/0fencing.这个服务进程是之前的oprocd进程的替代。
 3、asm
 提供对集群和数据库的磁盘管理
 4、ctss
  提供对集群成员的时钟同步,如果设置ntp那么该进程处于观望模式,如果没有配置ntp那么该进程处于激活模式:
  [grid@rac-two ~]$ crsctl check ctss
CRS-4701: The Cluster Time Synchronization Service is in Active mode.
CRS-4702: Offset (in msec): 0
[grid@rac-two ~]$
5、事件管理进程(EVM)
用于数据库集群发生事件的时候将会有这个后台进程写入事件信息
6、Oracle Notification Service (ONS):
为传输fan(fast application notification)事件发布和注册服务
7、Oracle Agent (oraagent):
扩大集群支持的oracle特殊要求和复杂资源。当fan事件发生,运行服务器的callout脚本,在11gR1版本中,该进程为RACG

8、Oracle Root Agent (orarootagent):
专门的oraagent进程,帮助crsd管理root用户拥有的资源呢,如网络、网格虚拟ip地址资源等。
   数据库高可用服务栈
Cluster Logger Service (ologgerd):
 Receives information from all the nodes in the cluster and persists in a CHM repository-based database. This service runs on only two nodes in a cluster.

System Monitor Service (osysmond):
  The monitoring and operating system metric collection service that sends the data to the cluster logger service. This service runs on every node in a cluster.

Grid Plug and Play (GPNPD):
   Provides access to the Grid Plug and Play profile, and coordinates updates to the profile among the nodes of the cluster to ensure that all of the nodes have the most recent profile.
网格即插即用,帮助快速添加集群节点到集群中
Grid Interprocess Communication (GIPC):
  A support daemon that enables Redundant Interconnect Usage.(支持守护进程使用多个网卡作为内部连接)

Multicast Domain Name Service (mDNS):
   Used by Grid Plug and Play to locate profiles in the cluster, as well as by GNS to perform name resolution. The mDNS process is a background process on Linux and UNIX and on Windows.
用于Gpnp在集群中查找profile,也用于使gns去执行名称解析。
Oracle Grid Naming Service (GNS):
   Handles requests sent by external DNS servers, performing name resolution for names defined by the cluster.
  网格命名服务,用于给集群自动分配scan vip和节点vip、解析scan名称等工作。
 
oracle RAC cluster 日志信息:
 日志对于系统或是数据库问题的诊断尤为重要,在cluster中除了scan监听日志和用于存储ocr和表决磁盘的asm实例日志符合adr结构,其他日志不符合adr特性。
 默认clusterware日志存储在$ORACLE_HOME/log/hostname中

如下图:

每个目录中日志作用信息如下:

摘自网络:

 

   ams和监听日志信息如下图:


 
 
 
  

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。