About Oracle Cluster Registry

Oracle Cluster Registry (OCR) is a file that contains information about the cluster node list and instance-to-node mapping information. OCR also contains information about Oracle Clusterware resource profiles for resources that you have customized. The voting
disk data is also backed up in OCR.

OCR里面包含了集群的节点信息还有实例到节点的映射信息等。也包含了自定义的集群资源,voting disk的数据也备份到OCR中

Each node in a cluster also has a local copy of the OCR, called an Oracle Local Registry (OLR), that is created when Oracle Clusterware is installed. Multiple processes on each node have simultaneous read and write access to the OLR particular to the node on
which they reside, whether Oracle Clusterware is fully functional. By default, OLR is located at Grid_home/cdata/$HOSTNAME.olr

集群中每一个节点也包括一个本地的OCR备份,叫做OLR,在集群安装的时候就被创建了.在每一个节点的多个进程同时读写本地的OLR.默认情况下,OLR存在于$Grid_home/cdata/$HOSTNAME.olr

Managing the Oracle Clusterware Stack

Note:

Do not use Oracle Clusterware Control (CRSCTL) commands on Oracle entities (such as resources, resource types, and server pools) that have names beginning with ora unless you are directed to do so by Oracle Support. The Server Control utility (SRVCTL) is the
correct utility to use on Oracle entities.

不要以crsctl命令去开启ora开头的进程名字,除非由oracle support通知.启动这种进程要使用srvctl

Starting Oracle Clusterware

You use the CRSCTL utility to manage Oracle Clusterware. If the Oracle High Availability Services daemon (OHASD) is running on all the cluster nodes, then you can start the entire Oracle Clusterware stack (all the processes and resources managed by Oracle Clusterware),
on all nodes in the cluster by executing the following command on any node:

crsctl start cluster -all

----如果OHASD进程已经在所有节点启动,那么就可以使用上面的命令启动整个集群.

You can start the Oracle Clusterware stack on specific nodes by using the -n option followed by a space-delimited list of node names, for example:

crsctl start cluster -n racnode1 racnode4

----使用上面的命令来启动集群中的单个节点

To use the previous command, the OHASD process must be running on the specified nodes.

To start the entire Oracle Clusterware stack on a node, including the OHASD process, run the following command on that node:

crsctl start crs

-----使用上面的命令可以启动包括OHASD进程在内的集群资源,但是只是在一个节点.

Stopping Oracle Clusterware

To stop Oracle Clusterware on all nodes in the cluster, execute the following command on any node:

crsctl stop cluster -all

----停止集群中所有节点的资源

The previous command stops the resources managed by Oracle Clusterware, the Oracle ASM instance, and all the Oracle Clusterware processes (except for OHASD and its dependent processes).

To stop Oracle Clusterware and Oracle ASM on select nodes, include the -n option followed by a space-delimited list of node names, for example:

crsctl stop cluster -n racnode1 racnode3

----停止单个节点

If you do not include either the -all or the -n option in the stop cluster command, then Oracle Clusterware and its managed resources are stopped only on the node where you execute the command.

To completely shut down the entire Oracle Clusterware stack, including the OHASD process, use the crsctl stop crs command. CRSCTL attempts to gracefully stop the resources managed by Oracle Clusterware during the shutdown of the Oracle Clusterware stack. If
any resources that Oracle Clusterware manages are still running after executing the crsctl stop crs command, then the command fails. You must then use the -f option to unconditionally stop all resources and stop the Oracle Clusterware stack, for example:

crsctl stop crs -all -f

----强制关闭crs

Note:

When you shut down the Oracle Clusterware stack, you also shut down the Oracle Automatic Storage Management (Oracle ASM) instances. If the Oracle Clusterware files (voting disk and OCR) are stored in an Oracle ASM disk group, then the only way to shut down
the Oracle ASM instances is to shut down the Oracle Clusterware stack.

时间: 2024-12-11 02:53:33

About Oracle Cluster Registry的相关文章

Failed to upgrade Oracle Cluster Registry configuration(root.sh)

近期在给客户基于Suse 11 sp3安装Oracle 10g RAC,在安装完clusterware运行/u01/app/crs/root.sh时收到错误提示.Failed to upgrade Oracle Cluster Registry configuration因为当前的环境使用了多路径,从Oracle的描写叙述来看.这是一个Oracle Bug(4679769),假设你有同样的问题,请接着往下看. 一.故障现象suse11a:/u01/app/crs # /u01/app/crs/r

10G RAC安装时Failed to upgrade Oracle Cluster Registry configuration

10G RAC安装时遇到Failed to upgrade Oracle Cluster Registry configuration,原因为使用DMM多路径软件device-mapper-multipath,触发此BUG. 关于DMM多路径软件device-mapper-multipath上安装RAC,参考文档Configuring raw devices (multipath) for Oracle Clusterware 10g Release 2 (10.2.0) on RHEL5/OL

管理 Oracle Cluster Registry(OCR)

oracle的clusterware包含两个重要组件:OCR(包含本地组件OLR)和voting disks --OCR管理oracle clusterware和oracle rac数据库的配置信息 --OLR位于每个节点本地,管理着本地节点的clusterware配置信息 --voting disks管理成员关系信息.每个voting disk都必须能被集群中的所有节点访问. 在12C中,必须将OCR和voting disks中放在asm中(12c不支持块设备和裸设备:12.2不再支持其他共享

Oracle Cluster Registry Location to be Added is not Accessible

APPLIES TO: Oracle Server - Enterprise Edition - Version 11.2.0.1 and laterInformation in this document applies to any platform. GOAL This note is to list OCR storage requirement and to provide location of diagnostic information if PROT-30 is reporte

oracle cluster 物理配置要求及限制

 oracle cluster 物理配置要求及限制 1.Oracle Clusterware supports up to 100 nodes in a cluster on configurations running Oracle Database 10grelease 2 (10.2) and later releases. 在10.2以后的版本开始 oracle的集群支持最多100g节点的集群. 2.网络配置: 每个节点最少2张网卡(one for a public network

Oracle Cluster Health Monitor(CHM)简介

Oracle Cluster Health Monitor(CHM)简介 概述 Cluster Health Monitor(以下简称CHM)是一个Oracle提供的工具,用来自动收集操作系统的资源(CPU.内存.SWAP.进程.I/O以及网络等)的使用情况.CHM会每秒收集一次数据. 这些系统资源数据对于诊断集群系统的节点重启.Hang.实例驱逐(Eviction).性能问题等是非常有帮助的.另外,用户可以使用CHM来及早发现一些系统负载高.内存异常等问题,从而避免产生更严重的问题. CHM会

oracle cluster verfication utility failed

节点间的时间同步对于Oracle来说是非常重要的,在11g版本之前往往通过搭建NTP服务器完成时间同步.在Oracle 11g中新增加了一个CTSS(Cluster Time Synchronization Services,集群时间同步服务)服务,用来完成集群节点间时间同步.在安装Grid Infrastructure过程中,如果没有发现节点有NTP服务,就会自动安装CTSS. 1. NTP时间同步服务配置 NTP是传统的时间同步服务,往往在一个企业中有一个专门的时间同步服务器,这种情况依然可

通过案例学调优之--Oracle Cluster Table

通过案例学调优之--Oracle Cluster Table About Clusters A cluster provides an optional method of storing table data. A cluster is made up of a group of tables that share the same data blocks. The tables are grouped together because they share common columns an

转 Oracle Cluster Health Monitor(CHM)简介

Cluster Health Monitor(以下简称CHM)是一个Oracle提供的工具,用来自动收集操作系统的资源(CPU.内存.SWAP.进程.I/O以及网络等)的使用情况.CHM会每秒收集一次数据.这些系统资源数据对于诊断集群系统的节点重启.Hang.实例驱逐(Eviction).性能问题等是非常有帮助的.另外,用户可以使用CHM来及早发现一些系统负载高.内存异常等问题,从而避免产生更严重的问题. CHM默认安装在以下版本: 11.2.0.2 及更高版本的 Oracle Grid Inf