Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 

 

Upgrading and Downgrading the OCR in RAC

Oracle RAC Cluster Tips by Burleson Consulting

This is an excerpt from the bestselling book Oracle Grid & Real Application Clusters.  To get immediate access to the code depot of working RAC scripts, buy it directly from the publisher and save more than 30%.


When CRS is installed, Oracle automatically executes the ocrconfig ?upgrade command. To downgrade, follow the downgrade instructions for each CRS component and also downgrade the OCR using the ocrconfig -downgrade command.

Cluster Database Configuration Import and Export with SRVCONFIG

Use SRVCONFIG utility to import and export SRVM cluster database configuration information to and from the OCR. For example, the following command exports the configuration information to a text file (replace the file_name.txt with the desired file name):

srvconfig -exp file_name.txt

While the following command would be used to import the configuration information from a text file into the OCR:

srvconfig -imp file_name.txt

OPTION

PURPOSE

-backuploc

To change OCR backup file location. For this entry, use a full path that is accessible by all nodes.

-showbackup

To display the location, timestamp, and the node name of origin for the last three automatically created backup files.

-upgrade

To upgrade the OCR to a later version.

-downgrade

To downgrade the OCR to an earlier version.

-help

To display help for the ocrconfig commands.

Table 8.13: Common SRVCONFIG command options

GSD daemon

The GSD daemon has been replaced with the CRS in Oracle Database 10g.

Using SQL*Plus

SQL*plus can also be used to administer the RAC system.  It uses SQL statements to perform necessary tasks. Prior to executing SQL*plus commands, ensure that the cluster manager is running and the nodes are valid.

Starting the database in Cluster mode

After ensuring that the cluster nodes are valid, the cluster manager component is running, and the shared storage is accessible, start the database on one of the nodes through SQL*plus.

On a UNIX Platform:

sqlplus /nolog
connect sys/<password> as sysdba
startup PFILE=init$ORACLE_sid.ora

On a Windows Platform:

Ensure that the OracleServicesid service is running. If not, start at the DOS command prompt:

> net start OracleServicewsid

Then:

sqlplus /nolog
connect sys/<password> as sysdba
startup PFILE=%ORACLE_HOME%\database\initsid.ora

The first instance in cluster mode determines the values of the global parameters for the other instances that may join later. When second and subsequent instances join the cluster, Oracle compares the values of any global parameters in its parameter file with those already in use. An instance cannot join the database unless it has the comparable values for its global parameters.

To launch the subsequent instances on other nodes, use the same startup commands shown above with SQL*plus. Since the first instance is already running, the subsequent instances join the clustered database.

 


This is an excerpt from the bestselling book Oracle Grid & Real Application Clusters, Rampant TechPress, by Mike Ault and Madhu Tumma.

You can buy it direct from the publisher for 30%-off and get instant access to the code depot of Oracle tuning scripts.

http://www.rampant-books.com/book_2004_1_10g_grid.htm


 

 
��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational