Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
17Activity
0 of .
Results for:
No results containing your search query
P. 1
Oracle Cluster Registry in RAC

Oracle Cluster Registry in RAC

Ratings: (0)|Views: 177|Likes:
Published by SHAHID FAROOQ

More info:

Published by: SHAHID FAROOQ on Aug 29, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as RTF, PDF, TXT or read online from Scribd
See more
See less

05/06/2012

pdf

text

original

 
The Oracle Cluster Registry in RAC (OCR)
The purpose of the Oracle Cluster Registry (OCR) is to hold cluster and database configuration informationfor RAC and Cluster Ready Services (CRS) such as the cluster node list, and cluster database instance tonode mapping, and CRS application resource profiles.There are two methods of copying OCR content and using the content for recovery. The first method usesautomatically generated physical OCR file copies and the second method uses manually created logicalOCR export files.
Management of the Oracle Cluster Registry Backup Files in Real Application Clusters
The CRS are managed by a CRS instance. There will be one CRS instance for each node in a RAC cluster.In a cluster, CRS instance automatically creates an OCR backup every four hours. At any one time, the lastthree backup copies are automatically retained. The CRS instance also creates and retains an OCR backupfor each full day and at the end of each week. The backup frequencies or the number of files that Oraclewill retain cannot be customized as they are completely controlled by the CRS instance.Because of the importance of OCR information, the ocrconfig tool should be used to make daily copies of the automatically generated backup files.To make a backup, use the ocrconfig tool with the showbackup option to identify the backup files, and thencopy each file to a location that is redundant to the location of the original OCR backup file. This ensuresthat there are at least two copies of each OCR backup file.Oracle also recommends that the OCR location reside on RAID arrays. If possible, use a backup locationthat is shared by all nodes in the cluster. The default target location of each OCR backup file is as followswhere <cluster name> is the name assigned to the cluster when CRS was installed:
<CRS Home>/cdata/<cluster name>
This location can be changed by using the following syntax:
ocrconfig -backuploc <directory name>
Restoration of the OCR File from the Automatically Generated OCR Backups
Before attempting to resolve any configuration-related problems, retry the application that failed. If the problem continues, then use one of the following platform-specific procedures to restore the OCR configuration.
Procedure for Restoring the Oracle Cluster Registry on UNIX-Based Systems
1. Stop the following OCR daemons: CSSD, CRSD, EVMD, and the EVM logger. On Linux the init.crsscript located in the /etc/init.d directory is used to stop these daemons, for example:
[root@aultlinux1 init.d]#/etc/init.d/init.crs stop
2. Shut down all the nodes in the cluster and restart from one node in single-user mode.3. Identify the recent backups using the ocrconfig -showbackup command.4. Execute the restore by applying an OCR backup file identified in Step 3 with the ocrconfig -restore <filename> command.5. Restart the CRS, CSS, and EVM daemons and resume operations in cluster mode. The daemons can berestarted using the same script as in step one only use the start option:

Activity (17)

You've already reviewed this. Edit your review.
1 hundred reads
ramprius liked this
brijesh1747 liked this
maleem liked this
puveeman liked this
kpbn liked this
Tamil liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->