[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2105
  • Last Modified:

Failed to upgrade Oracle Cluster Registry configuration

-Iam installing Oracle Rac using NFS,i have done successful the check command on both Rac1 and Rac2 :

/mountpoint/clusterware/runcluvfy.sh stage -pre crsinst -n rac1,rac2 -verbose

-But when i almost finish clusterware installing,i have problem at this step ;

# cd /export/home/crs/product/10.2.0/crs
# ./root.sh

[root@rac1 Server]# /export/home/oracle/oracle/product/10.2.0/crs/root.sh
WARNING: directory '/export/home/oracle/oracle/product/10.2.0' is not owned by root
WARNING: directory '/export/home/oracle/oracle/product' is not owned by root
WARNING: directory '/export/home/oracle/oracle' is not owned by root
WARNING: directory '/export/home/oracle' is not owned by root
WARNING: directory '/export/home' is not owned by root
WARNING: directory '/export' is not owned by root
Checking to see if Oracle CRS stack is already configured

Setting the permissions on OCR backup directory
Setting up NS directories
Failed to upgrade Oracle Cluster Registry configuration    

-I saw log and found :

.....
2009-12-23 11:11:21.321: [  OCROSD][1122416]utread:4: problem reading the buffer errno 0 errstring Success
2009-12-23 11:11:21.321: [  OCROSD][1122416]utread:3: problem reading buffer 9bda000 buflen 4096 retval 0 phy_offset 102400 retry 3
2009-12-23 11:11:21.321: [  OCROSD][1122416]utread:4: problem reading the buffer errno 0 errstring Success
2009-12-23 11:11:21.321: [  OCROSD][1122416]utread:3: problem reading buffer 9bda000 buflen 4096 retval 0 phy_offset 102400 retry 4
2009-12-23 11:11:21.321: [  OCROSD][1122416]utread:4: problem reading the buffer errno 0 errstring Success
2009-12-23 11:11:21.321: [  OCRRAW][1122416]propriogid:1: INVALID FORMAT
2009-12-23 11:11:21.321: [  OCROSD][1122416]utread:3: problem reading buffer 9bda000 buflen 4096 retval 0 phy_offset 102400 retry 0
2009-12-23 11:11:21.321: [  OCROSD][1122416]utread:4: problem reading the buffer errno 0 errstring Success
[root@rac1 client]# vi ocrconfig_30652.log

Oracle Database 10g CRS Release 10.2.0.1.0 Production Copyright 1996, 2005 Oracle.  All rights reserved.
2009-12-24 11:06:03.883: [ OCRCONF][14894784]ocrconfig starts...
2009-12-24 11:06:03.884: [ OCRCONF][14894784]Upgrading OCR data
2009-12-24 11:06:03.886: [ OCRCONF][14894784]OCR already in current version.
2009-12-24 11:06:03.891: [ OCRCONF][14894784]Failed to call clsssinit (21)
2009-12-24 11:06:03.891: [ OCRCONF][14894784]Failed to make a backup copy of OCR
2009-12-24 11:06:03.891: [ OCRCONF][14894784]Exiting [status=failed]...    

-The log is not specified to me,thats why i cant fix it,if there anybody who knew about this problem,help me to solve it,thanks so much !!
0
ncsvietnam
Asked:
ncsvietnam
  • 5
  • 4
4 Solutions
 
logictankCommented:
Where are you storing your OCR & Voting Disks (OCFS2, RAW, or BLOCK devices)?  Post the device paths or file system paths.
0
 
ncsvietnamAuthor Commented:
Hello!!!
I store OCR and Voting Disks :

mkdir /shared_config
mkdir /shared_crs
mkdir /shared_home
mkdir /shared_data
Add the following lines to the /etc/exports file.
/shared_config               *(rw,sync,no_wdelay,insecure_locks,no_root_squash)
/shared_crs                  *(rw,sync,no_wdelay,insecure_locks,no_root_squash)
/shared_home                 *(rw,sync,no_wdelay,insecure_locks,no_root_squash)
/shared_data                 *(rw,sync,no_wdelay,insecure_locks,no_root_squash)
Run the following command to export the NFS shares.
chkconfig nfs on
service nfs restart
On both RAC1 and RAC2 create the directories in which the Oracle software will be installed.
mkdir -p /export/home/crs/product/10.2.0/crs
mkdir -p /export/home/oracle/oracle/product/10.2.0/db_1
mkdir -p /export/oradata
mkdir -p /export/shared_config
chown -R oracle:oinstall /export/home /export/home/oracle /export/oradata /export/shared_config
chmod -R 775 /export/home /export/home/oracle /export/oradata /export/shared_config
Add the following lines to the "/etc/fstab" file. The mount options are suggestions from Kevin Closson.
nas1:/shared_config /export/shared_config  nfs  rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0  0 0
nas1:/shared_crs    /export/home/crs/product/10.2.0/crs  nfs  rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0  0 0
nas1:/shared_home   /export/home/oracle/oracle/product/10.2.0/db_1  nfs  rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0  0 0
nas1:/shared_data   /export/oradata  nfs  rw,bg,hard,nointr,tcp,vers=3,timeo=300,rsize=32768,wsize=32768,actimeo=0  0 0
Mount the NFS shares on both servers.
mount /export/shared_config
mount /export/home/crs/product/10.2.0/crs
mount /export/home/oracle/oracle/product/10.2.0/db_1
mount /export/oradata
Create the shared OCR Configuration and Voting Disk files.
touch /export/shared_config/ocr_configuration
touch /export/shared_config/voting_disk
Make sure the permissions on the shared directories are correct.
chown -R oracle:oinstall /export/shared_config
chown -R oracle:oinstall /export/home/crs/product/10.2.0/crs
chown -R oracle:oinstall /export/home/oracle/oracle/product/10.2.0/db_1
chown -R oracle:oinstall /export/oradata
0
 
ncsvietnamAuthor Commented:
Follow showed error ,i check on this file to see all of command that failed :

vi /export/home/oracle/oracle/product/10.2.0/crs/cfgtoollogs/configToolAllCommands

/export/home/oracle/oracle/product/10.2.0/crs/bin/racgons add_config rac1:6200
/export/home/oracle/oracle/product/10.2.0/crs/bin/oifcfg setif -global  eth1/192.168.40.0:cluster_interconnect eth0/192.168.40.0:public
/export/home/oracle/oracle/product/10.2.0/crs/bin/cluvfy stage -post crsinst -n rac1  
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
logictankCommented:
OCR & Voting disks should be stored on either BLOCK, OCFS2, or , RAW devices.  Preferrably Block devices as RAW devices are being removed from the Linux distribution in futrure releases.  NFS is not a candidate for storing your cluster registry or quorum disks (OCR/Voting).  The latency involved with a network file system (NFS) with cluster services will cause node evictions and other problems at the cluster level.
0
 
ncsvietnamAuthor Commented:
could you give me the good tutorial about Rac installing on redhat ( not using VMware ) ? Thanks much :)
0
 
logictankCommented:
Here are a few links from Oracle that give overviews on RAC installations:
http://www.oracle.com/technology/pub/articles/smiley_rac10g_install.html
http://www.oracle.com/technology/pub/articles/hunter_rac10gr2_iscsi.html

These primarily use OCFS2 and are good overviews for Dev/Test environments, for Production RAC Clusters you will need to evaluate the type of applications that will use the cluster as well as the user characteristics connecting to the cluster.  Identify business SLA's, Disaster Recovery, High Availability, and Performance requirements and design the cluster accordingly.
I would recommend not using NFS for OCR/Voting disks again because of storage latency and the possibility of node evictions.  If you have SAN storage available you can use LUN's from the SAN for OCR/Voting but verify that the LUN's aren't a part of an active RAID group servicing high transaction, high throughput applications again for latency issues.  Block devices are preferred over OCFS2 because you remove the CFS (Cluster File System) layer which can be another area for possible node evictions if the OCFS2 volumes experience problems.  Otherwise if you have access to Metalink search on "RAC Assurance" and you will find a couple of notes that outline common best practices as well as specific best practices for Linux.
0
 
ncsvietnamAuthor Commented:
-Thank for replying
-Can i ask you that this is full instruction
http://www.oracle-base.com/articles/11g/OracleDB11gR1RACInstallationOnLinuxUsingNFS.php
???
-Do i get the successfull if i follow that ?
0
 
logictankCommented:
If this is a TEST environment that won't be heavily used than you can use the above link to setup your RAC Cluster.  If you're building a RAC cluster for a Production environment or an envrionment that requires High Availability and a stable infrastructure the above link would not be adequate.
0
 
ncsvietnamAuthor Commented:
thanks
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now