When installing Oracle CRS, OUI will request the location of the OCR
and voting disk. List the appropriate disk names as requested.
Oracle Database Release Notes 10gR2 for Linux based systems.
Prior
to installing Oracle CRS, the raw devices that will keep the OCR and
voting disk files, must be defined and initialized using the following
procedure.
1. Determine which disk devices will be used store the OCR and voting disk file.
2. Execute cat /proc/partitions command on all nodes to verify that the selected devices are available on nodes of the cluster.
3. Run fdisk command to create and label a 200Mb partition for the OCR device and a 100 Mb partition for voting disk.
4. Re-run cat /proc/partitions to verify that the partitions are available.
$ cat /proc/partitions
For example, the /dev/sdb1 and /dev/sdc1 will be used for OCR and for voting disk; respectively.
5. Initialize the devices using dd.
OCR disk device
dd if=/dev/zero of=/dev/sdb1 bs=1M count=1
Voting disk
dd if=/dev/zero of=/dev/sdc1 bs=1M count=1
6. On Linux systems, complete the following steps to bind the disk devices to raw
devices:
a. To determine what raw devices are already bound to other devices, enter the
following command:
/usr/sbin/raw -qa
Raw devices have device names in the form /dev/raw/rawn, where n is a
number that identifies the raw device.
b. Open the /etc/sysconfig/rawdevices file in any text editor and add a
line
similar to the following for each device that you want to use for the
voting and OCR disks. Note, Specify an unused raw device for each disk
device.
/dev/raw/rawn /dev/sdb1
/dev/raw/rawn /dev/sdc1
c.
For each raw device that you specified in the rawdevices file, enter
commands similar to the following to set the owner, group, and
permissions on the device file.
The OCR device must set initially to 660 and root:dba. The root.sh script will to reset to the appropriate permissions.
OCR
chown root:dba /dev/raw/rawn
chmod 660 /dev/raw/rawn
Voting disk
chown oracle:dba /dev/raw/rawn
chmod 660 /dev/raw/rawn
d. To bind the disk devices to the raw devices, enter the following command:
/sbin/service rawdevices restart
The system automatically binds the devices listed in the rawdevices file
when it reboots.
Note:
At the time of installing Oracle CRS, OUI will request the location of
the OCR and voting disk. I am going to cover this with screen-shot in
my next post which include installtion of Oracle Enterpises Linux on
VMWARE.
分享到:
相关推荐
Oracle RAC 11gR2中引入的新特性包括:OCR和Voting Disk都放置在ASM磁盘组中,本地注册表OLR(OCR Location Registration)用于存储集群中每个节点的OCR配置信息。这样的设计不仅可以优化集群的管理,还能加快节点...
3. 备份 Voting Disk:使用命令 `crsctl query css votedisk` 来查询 Voting Disk 的位置,然后使用命令 `dd if=/dev/raw/raw2 of=/oracle/backup/votedisk_20100531.bak` 来备份 Voting Disk。 二、破坏 OCR 和 ...
### Oracle 10G RAC 下 OCR 和 Voting Disk 的管理 #### 一、Voting Disk (表决磁盘)管理 **定义与作用** 在Oracle 10g RAC环境中,Voting Disk(表决磁盘)主要用于记录集群中的成员信息,包括当前有哪些节点参与...
如果Voting Disk出现问题,可能引发“split brain”情况,即集群无法确定哪个节点是活动的。重建Voting Disks的步骤包括: 1. 备份:同样,首先备份现有Voting Disks,可以使用`crsctl get vote -v`查看状态,然后...
然而,当RAC中的ASM磁盘路径出现故障时,可能会导致OCR(Oracle Cluster Registry)和Voting Disk被Force Dismount,这是一个严重的故障情况,可能影响到整个集群的稳定性。 OCR是RAC中的关键组件,存储了集群的...
- 使用`crsctl add file -type=ocr -device=<device>`命令添加新的Voting Disk。这里的`<device>`指的是要使用的设备名。 4. **重新配置Clusterware**: - 登录到每个集群节点上,运行`/etc/init.d/crs stop`命令...
在Oracle数据库管理中,OCR(Oracle Cluster Registry)和投票文件(voting files)是确保集群稳定性与数据高可用性的关键组件。OCR存储集群的配置信息,包括实例、数据库和网络配置,而投票文件则用于集群节点间的...
OCR磁盘必须是共享的,一般选择裸设备如/dev/raw/raw1、/dev/raw/raw3(本地OCR配置)和/dev/raw/raw4、/dev/raw/raw5(冗余OCR)。OCR的属主应为root,组为oinstall。配置文件位于/etc/oracle/ocr.loc,OCR进程负责...
在本文中,我们介绍了 RAC 中常用的命令及说明,包括查看 Voting Disk 的位置、备份 Voting Disk、恢复 Voting Disk、查看 Voting Disk 的内容、Oracle Clusterware、OCR、OCR 备份、OCR 恢复和自动备份恢复 OCR 等...
A Voting Application: Learn how to render dynamic components and use standard Vue directives to build an interactive voting application. Forms with Validations: Build powerful forms that accept user...
Service orcltest is running on instance(s) orcl2, orcl1 ``` 2. **查询单个实例的状态**: ```bash $ srvctl status instance -d orcl -i orcl2 ``` 这条命令可以查看特定实例`orcl2`的状态。例如: ```...
This report, nearly two years later, documents in detail the extent of the problem and the steps we must take in the coming years to address it. Over the past 10 months, the Brennan Center surveyed ...
...在这个新方案中,引入了环签名和盲签名机制。环签名是一种特殊类型的数字签名,它允许一个签名者使用一组公钥中的一部分来创建一个签名,而无需所有者的同意。...此外,盲签名是一种特殊的数字签名,签名者在对消息...
It contains information about where to fetch the source, what patches to apply and how, and how the package should be installed on the system. This allows automated tools to fetch, build and install ...
In the first two projects, you will learn everything from adding ranking and voting capabilities to your App to building a multiuser blog platform with a unique twist. The third project tackles APIs ...
综上所述,Oracle Clusterware是构建Oracle RAC的关键组件,它通过OCR和Voting Disk等机制保证了集群的稳定性和一致性,同时通过一系列后台进程管理和协调集群资源,确保了数据库的高可用性和数据的一致性。
《Boosting the Margin: A New Explanation for the Effectiveness of Voting Methods》是一篇由Robert E. Schapire、Yoav Freund、Peter Bartlett和Wee Sun Lee共同撰写的论文。该论文深入探讨了在机器学习领域中一...
#### 引言与背景 ...Medioni等人最初提出这一方法,其目的在于从点云数据中提取感知结构。尽管张量投票在各种应用中展现出了极高的灵活性和效果,但由于传统实现方式计算复杂度较高,特别是在处理大规模数据时,这限制...
在Oracle数据库系统中,OCR(Oracle Configuration Manager Repository)是用来存储集群配置信息的组件,而Voting File则是在RAC(Real Application Clusters)环境中用于确定集群节点间的一致性和仲裁的关键文件,...