10G RAC installation failed to upgrade Oracle Cluster Registry configuration

Source: Internet
Author: User

10G RAC installation encountered the failed to upgrade Oracle Cluster Registry configuration, caused by the use of the DMM multipath software Device-mapper-multipath to trigger this bug.

About the DMM multi-path software Device-mapper-multipath installation RAC, reference document Configuring RAW Devices (Multipath) for Oracle clusterware 10g Release 2 (10.2.0) on RHEL5/OL5 (document ID 564580.1), when using multipath, you need to manually create a bare device -10g in OCR and voting disks need to use bare devices, 11g began to support DMM mapping out of the file.

3. Create Raw Devices

During the installation of Oracle Clusterware 10g Release 2 (10.2.0), the Universal Installer (OUI) is unable to verify th e Sharedness of block devices, therefore requires the use of raw devices (whether-singlepath or multipath devices) to B e specified for OCR and voting disks. As mentioned earlier, this is no longer of the case from oracle11g R1 (11.1.0) so can use multipathed block devices Directl Y.

manually create raw devices to bind against multipathed device partitions (/DEV/MAPPER/*PN). Disregard device permissions for Now-this'll be addressed later.For example:# RAW/DEV/RAW/RAW1/DEV/MAPPER/OCR1P1
/dev/raw/raw1:bound to Major 253, minor 11

Here are the root.sh scripts that are encountered to execute the
[Email protected] ~]# sh/oracle/app/oracle/product/10.2.0/crs/root.sh
Warning:directory '/oracle/app/oracle/product/10.2.0 ' isn't owned by root
Warning:directory '/oracle/app/oracle/product ' isn't owned by root
Warning:directory '/oracle/app/oracle ' isn't owned by root
Warning:directory '/oracle/app ' isn't owned by root
Warning:directory '/oracle ' isn't owned by root
Checking to see if the Oracle CRS stack is already configured
/etc/oracle does not exist. Creating it now.

Setting the permissions on OCR backup directory
Setting Up NS Directories
Failed to upgrade Oracle Cluster Registry configuration


This is in the reference document Configuring RAW Devices (Multipath) for Oracle clusterware 10g Release 2 (10.2.0) on RHEL5/OL5 (document ID 564580.1 ) is also described in the

7. Install Oracle 10GR2 Clusterware

Proceed to install Oracle clusterware 10g Release 2 (10.2.0), ensuring to specify the appropriate raw devices (/dev/ra W/rawN) for OCR and voting disks. OCR Devices is initialised (formatted) as part of running the root.sh script. Before running root.sh, be aware that several known issues exist that'll cause the Clusterware installation to Fail, namely:

    • bug.4679769 FAILED to FORMAT OCR DISK USING clsfmt
    • note.414163.1 10GR2 RAC Install issues on Oracle EL5 or RHEL5 or SLES10 (VIPCA failures)

Due to bug.4679769, initialisation of multipathed OCR devices would fail. Therefore, before runningroot.sh, download and apply patch forbug.4679769. If root.sh was already run without first has applied patch forbug.4679769, remove (null) the failed, partially Initialised OCR structures from all OCR devices, for example:

That is, before running the root.sh script to hit the patch bug.4679769, then the OCR disk DD a bit, and then use Clsfmt.bin to verify if the format OCR disk

Roughly as follows:

[Email protected] bin]# cd/home/oracle/install/4679769/
[[email protected] 4679769]# ls
Clsfmt.bin README.txt
[Email protected] 4679769]# Ls-al
Total 692
Drwxrwxr-x 2 Oracle Oinstall 4096 Nov 9 2005.
Drwxr-xr-x 6 Oracle Oinstall 4096 DEC 29 16:51.
-rw-r--r--1 Oracle Oinstall 687320 Nov 9 2005 Clsfmt.bin
-rw-rw-r--1 Oracle Oinstall 4266 Nov 9 2005 README.txt
[email protected] 4679769]# CP clsfmt.bin/oracle/app/oracle/product/10.2.0/crs/bin/
[Email protected] 4679769]# CD-
/oracle/app/oracle/product/10.2.0/crs/bin
[Email protected] bin]# chmod 755 clsfmt.bin
[[email protected] bin]# dd if=/dev/null of=/dev/raw/raw9 bs=1024k count=1000
0+0 Records in
0+0 Records out
0 bytes (0 B) copied, 3.9e-05 seconds, 0.0 kb/s
[[email protected] bin]# dd If=/dev/zero of=/dev/raw/raw9 bs=1024k count=1000
1000+0 Records in
1000+0 Records out
1048576000 bytes (1.0 GB) copied, 2.00336 seconds, 523 MB/s
[[email protected] bin]# dd If=/dev/zero OF=/DEV/RAW/RAW10 bs=1024k count=1000
1000+0 Records in
1000+0 Records out
1048576000 bytes (1.0 GB) copied, 1.99393 seconds, 526 MB/s
[Email protected] bin]#/clsfmtbin OCR/DEV/RAW/RAW9
BASH:./clsfmtbin:no such file or directory
[Email protected] bin]#/clsfmt.bin OCR/DEV/RAW/RAW9
clsfmt:successfully initialized File/dev/raw/raw9
[Email protected] bin]#/clsfmt.bin OCR/DEV/RAW/RAW10
clsfmt:successfully initialized FILE/DEV/RAW/RAW10


You can do it again, root.sh.

[Email protected] bin]# sh/oracle/app/oracle/product/10.2.0/crs/root.sh
Warning:directory '/oracle/app/oracle/product/10.2.0 ' isn't owned by root
Warning:directory '/oracle/app/oracle/product ' isn't owned by root
Warning:directory '/oracle/app/oracle ' isn't owned by root
Warning:directory '/oracle/app ' isn't owned by root
Warning:directory '/oracle ' isn't owned by root
Checking to see if the Oracle CRS stack is already configured

Setting the permissions on OCR backup directory
Setting Up NS Directories
Oracle Cluster Registry Configuration upgraded successfully
Warning:directory '/oracle/app/oracle/product/10.2.0 ' isn't owned by root
Warning:directory '/oracle/app/oracle/product ' isn't owned by root
Warning:directory '/oracle/app/oracle ' isn't owned by root
Warning:directory '/oracle/app ' isn't owned by root
Warning:directory '/oracle ' isn't owned by root
Successfully accumulated necessary OCR keys.
Using ports:css=49895 crs=49896 evmc=49898 and evmr=49897.
Node <nodenumber>: <nodename> <private interconnect name> Node 1:315RAC01 priv_rac01 315rac01
Node 2:315rac02 PRIV_RAC02 315RAC02
Creating OCR keys for user ' root ', privgrp ' root '.
Operation successful.
Now formatting voting device:/DEV/RAW/RAW3
Now formatting voting device:/DEV/RAW/RAW4
Now formatting voting device:/DEV/RAW/RAW5
Format of 3 voting devices complete.
Startup'll is queued to init within seconds.
Adding daemons to Inittab
Expecting the CRS daemons to being up within-seconds.
CSS is active on these nodes.
315rac01
CSS is inactive on these nodes.
315rac02
Local node checking complete.
Run root.sh on remaining nodes to start CRS daemons.

10G RAC installation failed to upgrade Oracle Cluster Registry configuration

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.