oracle clusterware 10g/11g 进程详解

2023-10-17 02:48

本文主要是介绍oracle clusterware 10g/11g 进程详解,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!



oracle clusterware 10g/11g 进程详解

The Oracle 10g Clusterware processes on UNIX-based systems are:

 

Oracle Clusterware

Oracle-provided clusterware that manages clusterdatabase processing including node membership, group services, global resourcemanagement, and high availability functions.

CRSD- OracleClusterware Daemon

The primary Oracle Clusterware process

crsd:Performs highavailability recovery and management operations such as maintaining the OCR andmanaging application resources. This process runs as the root user, or by auser in the admin group on Mac OSX-based systems. This process restarts automatically upon failure.

The CRSD process that creates the backupsalso creates and retains an OCR backup for each full

day and at the end of each week .

 

crsd :执行高可用性的恢复和管理操作:维护ocr,管理应用资源,该进程以root用户身份运行。该进程在由于故障意外断后会自动重启。Crsd会在每天或者每周结束时对ocr进行备份。

 

The CRSD process maintains an internal counter to track how often a resourcehas been restarted.

Crsd进程维护内部的一个计数器来跟踪特定资源的重启次数:

- Engine for HAoperation

高可用性操作的引擎
- Manages 'application resources'

管理应用资源
- Starts, stops, and fails 'application resources' over to other nodes

启动,停止,切换应用资源到其他节点
- Spawns separate 'actions' to start/stop/check application resources

产生独立的操作来启动、停止、检查应用资源
- Maintains configuration profiles in the OCR (Oracle Configuration Repository)

维护ocr中的配置文件
- Stores current known state in the OCR.

把当前的状态信息存储在ocr
- Runs as root

root身份运行
- Is restarted automatically on failure
故障发生后能够自动重启

 

 

evmd: Event manager daemon. This process also starts the racgevt processto manage FAN server callouts.

Evmd事件管理守护进程。这个进程也会启动racgevt进程来管理 Fan进程的调用
- Generates events when things happen

当意外发生时产生事件
- Spawns a permanent child evmlogger

产生一个永久子进程--evmlogger
- Evmlogger, on demand, spawns children

Evmlogger会根据实际情况自动产生子进程
- Scans callout directory and invokes callouts.


- Runs as Oracle.

oracle用户身份运行
- Restarted automatically on failure

异常后能够自动重启

ocssd:Manages cluster node membership and runs as the oracle user; failureof this process results in cluster restart.

Ocssd:管理集群节点成员资格,以oracle用户身份运行;该进程在异常时会自动重启

- OCSSD isrequired with RAC databases and with non-RAC database when using ASM

使用 rac数据库,或者单实例使用asm的数据库都需要ocssd


- Provides access to node membership

提供对节点成员的访问
- Provides group services

提供组服务
- Provides basic cluster locking

提供基本的集群锁
- Integrates with existing vendor clusteware, when present

当有第3方集群软件时能和他自动整合
- Can also runs without integration to vendor clustware

即使没有第3方集群软件,也能够运行
- Runs as Oracle.

oracle用户运行
- Failure exit causes machine reboot(RAC cluster only).

 该进程异常会导致机器重启
--- This is a feature to prevent data corruption in event of a split brain.

这个特性用来在发生脑裂时保护数据免收破坏。

 

 

oprocd : Process monitor for the cluster. Note that this process onlyappears on platforms that do not use vendor clusterware with OracleClusterware.

 

Oprocd为集群提供进程监控。这个进程只有当没有使用第3方集群时才会出现

 



 

 

Oracle 11g clusterwareprocesses on UNIX-based systems are:

The Oracle Clusterware Stack

Oracle Clusterwareconsists of two separate stacks: an upper stack anchored by the ClusterReady Services (CRS) daemon (crsd) and a lower stack anchored by the OracleHigh Availability Services daemon (ohasd). These two stacks have severalprocesses that facilitate cluster operations.

Oracle集群件由两个独立的堆栈组成:上层堆栈由crs固定,下层堆栈由oracle高可用服务固定ohasd

 

. The following sections describe thesestacks in more detail:

The Cluster Ready Services Stack

The Oracle High Availability Services Stack

 

The Cluster Ready Services Stack

The list in this section describes theprocesses that comprise CRS. The list includes components that are processes onLinux and UNIX operating systems, or services on Windows.

 

Cluster Ready Services (CRS): The primary program for managing highavailability operations in a cluster . The CRS daemon (crsd) manages clusterresources based on the configuration information that is stored in OCR for eachresource. This includes start, stop, monitor, and failover operations. The crsdprocess generates events when the status of a resource changes. When you haveOracle RAC installed, the crsd process monitors the Oracle database instance,listener, and so on, and automatically restarts these components when a failureoccurs.

Crs集群中管理高可用性操作的主要程序。Crs守护进程根据ocr中存储的每个资源的配置信息来管理集群资源。相应的操作包括:startstopmonitiorfailover。当资源的状态变化时crsd进程就会测试相应的事件。当安装完RAC crsd 进程会监控oracle数据库实例,监听,以及当这些组件异常时就会自动重启他们。

 

Cluster Synchronization Services (CSS): Manages the clusterconfiguration by controlling which nodes are members of the cluster and by notifyingmembers when a node joins or leaves the cluster. If you are using certifiedthird-party clusterware, then CSS processes interface with your clusterware tomanage node membership information.Thecssdagent process monitors the cluster and provides I/O fencing. This serviceformerly was provided by Oracle Process Monitor Daemon (oprocd), also Note: TheSCAN must resolve to at least one address on the public network. For highavailability and scalability, Oracle recommends that you configure the SCAN toresolve to three addresses .See Also: Your platform-specific Oracle GridInfrastructure Installation

Guide installation documentation forinformation about system requirements and configuring network addresses Overviewof Oracle Clusterware Platform-Specific Software Components1-8 OracleClusterware Administration and Deployment Guide known as OraFenceService onWindows. A cssdagent failure may resultin Oracle Clusterware restarting the node.

 

Css通过控制集群成员资格和在节点加入或离开集群时通知集群成员来管理集群配置。如果使用第3方认证集群软件,则css进程会和第3方集群件进行交互,来管理节点成员资格。

Cssdagent进程监控集群和提供io隔离。在oracle10gcssdagen的工作由oprocd来完成。

Scan在公网必须能解析出最少一个ip地址,从高可用性和扩展性来考虑oracle建议配置一个可以解析出3ipscan

windows环境下对应的服务为:oraFenceService

如果cssdagent异常肯会导致oracle集群重启节点。

 

 

Oracle ASM: Provides disk management for Oracle Clusterware and OracleDatabase.

 

 

Cluster Time Synchronization Service (CTSS): Provides timemanagement in a cluster for Oracle Clusterware.

Ctss:为oracle集群提供时间管理

 

Event Management (EVM): A background process that publishes eventsthat Oracle Clusterware creates.

Evm用来发布oracle集群创建的events的后台进程。

 

 

Oracle Notification Service (ONS): A publish and subscribe servicefor communicating Fast Application Notification (FAN) events.

Ons:为通知fan events提供发布和订阅的服务

 

Oracle Agent (oraagent): Extends clusterware to supportOracle-specific requirements and complex resources Thisprocess runs server callout scripts when FAN events occur. This process wasknown as RACG in Oracle Clusterware 11grelease 1 (11.1).

Oraagent:扩展集群以支持oracle特定的需求,和复杂资源。当FAN事件发生时该进程会运行服务器调用脚本。

 

Oracle Root Agent (orarootagent): A specialized oraagent processthat helps crsd manage resources owned by root, such as the network, and theGrid virtual IP address. The Cluster Synchronization Service (CSS), EventManagement (EVM), and Oracle Notification Services (ONS) components communicatewith other cluster component layers on other nodes in the same cluster databaseenvironment. These components are also the main communication links betweenOracle Database, applications, and the Oracle Clusterware high availabilitycomponents. In addition, these background processes monitor and manage databaseoperations.

Orarootagent:一个特别的oraagent,用来帮助crsd管理root用户的资源:网络,gridvip

Cssevmons会和其他节点上的集群组件进行通信。这些组件也是oracle数据库,应用,oracle高可用性组件间的主要通信链路。除此之外,这些后台进程也监控,管理数据库的操作。

 

The Oracle High Availability Services Stack

This section describes the processes thatcomprise the Oracle High Availability Services stack. The list includescomponents that are processes on Linux and UNIX operating systems, or services onWindows.

Cluster Logger Service (ologgerd): Receives information from allthe nodes in the cluster and persists in a CHM repository-based database. Thisservice runs on only two nodes in a cluster.

Ologgerd:从集群的所有节点接受信息并将信息存放到CHM信息库中。该服务运行在集群中的所有节点。

 

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

Osysmond:监控和os度量收集,并将数据发送到集群日志服务。这个服务运行在集群中的每个节点。

 

Grid Plug and Play (GPNPD): Provides access to the Grid Plug andPlay profile, and coordinates updates to the profile among the nodes of thecluster to ensure that all of the nodes have the most recent profile.

Gpnpd:通过访问gpnp配置文件,以及协调更新集群中所有节点的配置文件,确保所有节点拥有最近的配置文件。

 

Grid Interprocess Communication (GIPC): A support daemon thatenables Redundant Interconnect Usage.

Gipc:确保内联冗余的使用的守护进程。

 

Multicast Domain Name Service (mDNS): Used by Grid Plug and Play tolocate 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.

Mdns:被gpnp用来定位集群中的配置文件;gns用他来作命名解析。

 

Oracle Grid Naming Service (GNS): Handles requests sent by externalDNS servers, performing name resolution for names defined by the cluster.

Gns:处理外部dns服务器的请求,为集群定义的名字进行命名解析

Table 1–1 lists the processes and servicesassociated with Oracle Clusterware components. In Table 1–1, if a UNIX or aLinux system process has an (r) beside it, then the process runs as the rootuser.


这篇关于oracle clusterware 10g/11g 进程详解的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/222417

相关文章

HTML5的input标签的`type`属性值详解和代码示例

《HTML5的input标签的`type`属性值详解和代码示例》HTML5的`input`标签提供了多种`type`属性值,用于创建不同类型的输入控件,满足用户输入的多样化需求,从文本输入、密码输入、... 目录一、引言二、文本类输入类型2.1 text2.2 password2.3 textarea(严格

C++ move 的作用详解及陷阱最佳实践

《C++move的作用详解及陷阱最佳实践》文章详细介绍了C++中的`std::move`函数的作用,包括为什么需要它、它的本质、典型使用场景、以及一些常见陷阱和最佳实践,感兴趣的朋友跟随小编一起看... 目录C++ move 的作用详解一、一句话总结二、为什么需要 move?C++98/03 的痛点⚡C++

MySQL中between and的基本用法、范围查询示例详解

《MySQL中betweenand的基本用法、范围查询示例详解》BETWEENAND操作符在MySQL中用于选择在两个值之间的数据,包括边界值,它支持数值和日期类型,示例展示了如何使用BETWEEN... 目录一、between and语法二、使用示例2.1、betwphpeen and数值查询2.2、be

python中的flask_sqlalchemy的使用及示例详解

《python中的flask_sqlalchemy的使用及示例详解》文章主要介绍了在使用SQLAlchemy创建模型实例时,通过元类动态创建实例的方式,并说明了如何在实例化时执行__init__方法,... 目录@orm.reconstructorSQLAlchemy的回滚关联其他模型数据库基本操作将数据添

Java中ArrayList与顺序表示例详解

《Java中ArrayList与顺序表示例详解》顺序表是在计算机内存中以数组的形式保存的线性表,是指用一组地址连续的存储单元依次存储数据元素的线性结构,:本文主要介绍Java中ArrayList与... 目录前言一、Java集合框架核心接口与分类ArrayList二、顺序表数据结构中的顺序表三、常用代码手动

JAVA线程的周期及调度机制详解

《JAVA线程的周期及调度机制详解》Java线程的生命周期包括NEW、RUNNABLE、BLOCKED、WAITING、TIMED_WAITING和TERMINATED,线程调度依赖操作系统,采用抢占... 目录Java线程的生命周期线程状态转换示例代码JAVA线程调度机制优先级设置示例注意事项JAVA线程

详解C++ 存储二进制数据容器的几种方法

《详解C++存储二进制数据容器的几种方法》本文主要介绍了详解C++存储二进制数据容器,包括std::vector、std::array、std::string、std::bitset和std::ve... 目录1.std::vector<uint8_t>(最常用)特点:适用场景:示例:2.std::arra

C++构造函数中explicit详解

《C++构造函数中explicit详解》explicit关键字用于修饰单参数构造函数或可以看作单参数的构造函数,阻止编译器进行隐式类型转换或拷贝初始化,本文就来介绍explicit的使用,感兴趣的可以... 目录1. 什么是explicit2. 隐式转换的问题3.explicit的使用示例基本用法多参数构造

Android使用java实现网络连通性检查详解

《Android使用java实现网络连通性检查详解》这篇文章主要为大家详细介绍了Android使用java实现网络连通性检查的相关知识,文中的示例代码讲解详细,感兴趣的小伙伴可以跟随小编一起学习一下... 目录NetCheck.Java(可直接拷贝)使用示例(Activity/Fragment 内)权限要求

MyBatis中的两种参数传递类型详解(示例代码)

《MyBatis中的两种参数传递类型详解(示例代码)》文章介绍了MyBatis中传递多个参数的两种方式,使用Map和使用@Param注解或封装POJO,Map方式适用于动态、不固定的参数,但可读性和安... 目录✅ android方式一:使用Map<String, Object>✅ 方式二:使用@Param