Skip Headers
Oracle® Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide
10g Release 2 (10.2)

Part Number B14197-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

Preface

The Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide introduces Oracle Clusterware and Real Application Clusters (RAC) by describing the architectures of these products as well as providing an overview of them. This book also describes administrative and deployment topics for Oracle Clusterware and RAC.

Information in this manual applies to RAC as it runs on all platforms. In addition, the content of this manual supplements administrative and deployment topics for Oracle single-instance databases that appear in other Oracle documentation. Where necessary, this manual refers to platform-specific documentation. This Preface contains these topics:

Audience

The Oracle Database Oracle Clusterware and Oracle Real Application Clusters Administration and Deployment Guide is intended for database administrators, network administrators, and system administrators who perform the following tasks:

To use this document, you should be familiar with the administrative procedures described inOracle Database 2 Day DBA and the Oracle Database Administrator's Guide. You should also read Oracle Database Concepts to become familiar with Oracle database concepts. You should also be familiar with installing and configuring RAC as described in the platform-specific Real Application Clusters installation guides.

Documentation Accessibility

Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at

http://www.oracle.com/accessibility/

Accessibility of Code Examples in Documentation

Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.

Accessibility of Links to External Web Sites in Documentation

This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.

TTY Access to Oracle Support Services

Oracle provides dedicated Text Telephone (TTY) access to Oracle Support Services within the United States of America 24 hours a day, seven days a week. For TTY support, call 800.446.2398.

Structure

This document is organized as follows:

Chapter 1, "Introduction to Oracle Clusterware and Oracle Real Application Clusters"

This chapter introduces Oracle Clusterware and RAC by describing the Oracle Clusterware and RAC architectures as well as the component processing of these products. The chapter describes the Oracle Clusterware API that you can use on both single-instance Oracle databases as well as RAC databases to use the Oracle high availability features. This chapter briefly describes workload management, high availability, and services. This chapter also describes the Oracle Clusterware and RAC installation processes. In addition, the chapter introduces RAC-specific design, deployment, and administration topics.

Chapter 2, "Introduction to Oracle Clusterware and RAC Administration and Deployment"

This chapter introduces RAC administrative and deployment topics by describing the Oracle Database 10g RAC documentation set. This chapter provides an overview of database and instance management, storage management, and services management. This chapter also provides an overview of administering RAC environments with Oracle Enterprise Manager, as well as a description of application deployment in RAC environments. In addition, this chapter introduces the Oracle Clusterware, and additional high availability features such as load balancing, Recovery Manager (RMAN), and Data Guard.

Chapter 3, " Administering Oracle Clusterware Components"

This chapter describes how to administer the voting disks and the Oracle Cluster Registry (OCR) disks. This chapter explains how to backup and recover these components as well as how to add, replace, repair, remove, and troubleshoot them.

Chapter 4, " Administering Storage"

This chapter explains how to administer storage components in RAC by describing Automatic Storage Management (ASM) administration, datafiles, redo log files, and automatic undo tablespace administration.

Chapter 5, " Administering Database Instances and Cluster Databases"

This chapter explains how to administer RAC database instances and RAC databases. This chapter provides an overview of the tools that you can use to administer RAC environments, such as Enterprise Manager, SQL*Plus, and the Server Control Utility (SRVCTL). This chapter also describes how to start and stop instances and databases using these tools. In addition, this chapter describes parameter use in RAC and the administration of the Server Parameter File (SPFILE).

Chapter 6, "Introduction to Workload Management"

This chapter describes how to administer services and other high availability features in RAC environments. This chapter explains Connection Pool Load Balancing and connection load balancing and also describes how to change VIP addresses, how automatic restarts after failures function, and OCI event notification. In addition, this chapter explains how to administer high availability features such as services with Enterprise Manager and the Server Control Utility (SRVCTL).

Chapter 7, "Configuring Recovery Manager and Archiving"

This chapter explains how to configure Recovery Manager (RMAN) for use with RAC databases. This chapter discusses how to configure the snapshot control file location, the RMAN control file, and the automatic Server Parameter File (SPFILE) autobackup feature. This chapter also explains how to manage archived redo logs and provides RMAN configuration scenarios for RAC environments. In addition, this chapter explains how to change the archiving log mode in RAC.

Chapter 8, " Managing Backup and Recovery"

This chapter explains how to administer backup and recovery in RAC. This chapter explains instance recovery and the chapter provides Recovery Manager (RMAN) back up and restore scenarios for RAC environments. This chapter also describes RAC instance recovery, parallel backup, recovery with SQL*Plus, and using the Flash Recovery Area in RAC.

Chapter 9, " Administrative Options"

This chapter describes administrative tasks or options within Oracle tools that are specific to RAC. These include Enterprise Manager tasks, special tasks that you perform with SQL*Plus, quiescing RAC databases, and administering network interfaces with the Oracle Interface Configuration Tool (OIFCFG).

Chapter 10, " Adding and Deleting Nodes and Instances"

This chapter explains how to add and delete nodes and instances in RAC environments.

Chapter 11, "Design and Deployment Techniques"

This chapter describes design and deployment techniques for deploying applications in RAC environments. This chapter also describes high availability topics such as deploying services and how the Oracle Clusterware manages services within RAC.

Chapter 12, "Monitoring Performance"

This chapter describes how to monitor performance in RAC environments. This includes an explanation of how to verify interconnect settings, descriptions of performance views for RAC, and descriptions of RAC-specific statistics and how to monitor them. This chapter also describes the Automatic Workload Repository (AWR) and how to analyze RAC statistics and RAC wait events. This chapter also explains how to monitor performance in RAC environments with Enterprise Manager. This chapter describes the Enterprise Manager Cluster Performance and Cluster Database Performance Pages. The chapter also describes the Cluster Cache Coherency and Coherency Instances Pages.

Chapter 13, "Making Applications Highly Available Using the Oracle Clusterware"

This chapter explains how use Oracle Clusterware commands to extend the high availability of the Oracle Clusterware framework to custom applications. That is, you can use RAC high availability features to make your custom applications highly available.

Appendix A, "Troubleshooting"

This appendix explains important troubleshooting topics such as how to contact Oracle Support Services, using log and trace files, and using the Cluster Verification Utility (CVU).

Chapter B, "High Availability Oracle Clusterware Command-Line Reference and C API"

This appendix describes Oracle Clusterware application programming interface (API) command reference information. This chapter describes the Oracle Clusterware commands, information about the C-code application API, and an explanation about the functions for managing resource structures. Use information in this appendix with Chapter 13, "Making Applications Highly Available Using the Oracle Clusterware".

Appendix C, " Oracle Cluster Registry Configuration Tool Command Syntax"

This appendix describes the OCRCONFIG syntax, which is the Oracle Cluster Registry (OCR) configuration tool.

Appendix D, " Server Control Utility Reference"

This appendix is the Server Control Utility (SRVCTL) command reference. This appendix includes such topics as SRVCTL command syntax and options, RAC database configuration and administration tasks that you can perform with SRVCTL, as well as descriptions of node-level tasks.

Appendix E, "Oracle Real Application Clusters Tools Messages"

This appendix describes the messages for the Java-based RAC management tools.

Glossary

The glossary defines important RAC-specific terms.

Related Documents

For more information, refer to the Oracle resources listed in this section.

Error messages descriptions are available online or by way of a Tahiti documentation search.

Printed documentation is available for sale in the Oracle Store at

http://oraclestore.oracle.com/

To download free release notes, installation documentation, white papers, or other collateral, please visit the Oracle Technology Network (OTN). You must register online before using OTN; registration is free and can be done at

http://www.oracle.com/membership/

If you already have a username and password for OTN, then you can go directly to the documentation section of the OTN Web site at

Conventions

This section describes the conventions used in the text and code examples of this documentation set. This section describes:

Conventions in Text

We use various conventions in text to help you more quickly identify special terms. The following table describes those conventions and provides examples of their use.

Convention Meaning Example
Bold Bold typeface indicates terms that are defined in the text or terms that appear in a glossary, or both. When you specify this clause, you create an index-organized table.
Italics Italic typeface indicates book titles or emphasis. Oracle Database Concepts

Ensure that the recovery catalog and target database do not reside on the same disk.

UPPERCASE monospace (fixed-width) font Uppercase monospace typeface indicates elements supplied by the system. Such elements include parameters, privileges, datatypes, RMAN keywords, SQL keywords, SQL*Plus or utility commands, packages and methods, as well as system-supplied column names, database objects and structures, usernames, and roles. You can specify this clause only for a NUMBER column.

You can back up the database by using the BACKUP command.

Query the TABLE_NAME column in the USER_TABLES data dictionary view.

Use the DBMS_STATS.GENERATE_STATS procedure.

lowercase monospace (fixed-width) font Lowercase monospace typeface indicates executable programs, filenames, directory names, and sample user-supplied elements. Such elements include computer and database names, net service names and connect identifiers, user-supplied database objects and structures, column names, packages and classes, usernames and roles, program units, and parameter values.

Note: Some programmatic elements use a mixture of UPPERCASE and lowercase. Enter these elements as shown.

Enter sqlplus to start SQL*Plus.

The password is specified in the orapwd file.

Back up the datafiles and control files in the /disk1/oracle/dbs directory.

The department_id, department_name, and location_id columns are in the hr.departments table.

Set the QUERY_REWRITE_ENABLED initialization parameter to true.

Connect as oe user.

The JRepUtil class implements these methods.

lowercase italic monospace (fixed-width) font Lowercase italic monospace font represents placeholders or variables. You can specify the parallel_clause.

Run old_release.SQL where old_release refers to the release you installed prior to upgrading.


Conventions in Code Examples

Code examples illustrate SQL, PL/SQL, SQL*Plus, or other command-line statements. They are displayed in a monospace (fixed-width) font and separated from normal text as shown in this example:

SELECT username FROM dba_users WHERE username = 'MIGRATE';

The following table describes typographic conventions used in code examples and provides examples of their use.

Convention Meaning Example
[ ]
Anything enclosed in brackets is optional.
DECIMAL (digits [ , precision ])
{ }
Braces are used for grouping items.
{ENABLE | DISABLE}
|

A vertical bar represents a choice of two options.
{ENABLE | DISABLE}
[COMPRESS | NOCOMPRESS]
...
Ellipsis points mean repetition in syntax descriptions.

In addition, ellipsis points can mean an omission in code examples or text.

CREATE TABLE ... AS subquery;

SELECT col1, col2, ... , coln FROM employees;
Other symbols You must use symbols other than brackets ([ ]), braces ({ }), vertical bars (|), and ellipsis points (...) exactly as shown.
acctbal NUMBER(11,2);
acct    CONSTANT NUMBER(4) := 3;
Italics
Italicized text indicates placeholders or variables for which you must supply particular values.
CONNECT SYSTEM/system_password
DB_NAME = database_name
UPPERCASE
Uppercase typeface indicates elements supplied by the system. We show these terms in uppercase in order to distinguish them from terms you define. Unless terms appear in brackets, enter them in the order and with the spelling shown. Because these terms are not case sensitive, you can use them in either UPPERCASE or lowercase.
SELECT last_name, employee_id FROM employees;
SELECT * FROM USER_TABLES;
DROP TABLE hr.employees;
lowercase
Lowercase typeface indicates user-defined programmatic elements, such as names of tables, columns, or files.

Note: Some programmatic elements use a mixture of UPPERCASE and lowercase. Enter these elements as shown.

SELECT last_name, employee_id FROM employees;
sqlplus hr/hr
CREATE USER mjones IDENTIFIED BY ty3MU9;

Conventions for Windows Operating Systems

The following table describes conventions for Windows operating systems and provides examples of their use.

Convention Meaning Example
Choose Start > menu item How to start a program. To start the Database Configuration Assistant, choose Start > Programs > Oracle - HOME_NAME > Configuration and Migration Tools > Database Configuration Assistant.
File and directory names File and directory names are not case sensitive. The following special characters are not allowed: left angle bracket (<), right angle bracket (>), colon (:), double quotation marks ("), slash (/), pipe (|), and dash (-). The special character backslash (\) is treated as an element separator, even when it appears in quotes. If the filename begins with \\, then Windows assumes it uses the Universal Naming Convention. c:\winnt"\"system32 is the same as C:\WINNT\SYSTEM32
C:\> Represents the Windows command prompt of the current hard disk drive. The escape character in a command prompt is the caret (^). Your prompt reflects the subdirectory in which you are working. Referred to as the command prompt in this manual.
C:\oracle\oradata>
Special characters The backslash (\) special character is sometimes required as an escape character for the double quotation mark (") special character at the Windows command prompt. Parentheses and the single quotation mark (') do not require an escape character. Refer to your Windows operating system documentation for more information on escape and special characters.
C:\>exp HR/HR TABLES=employees QUERY=\"WHERE job_id='SA_REP' and salary<8000\"
HOME_NAME
Represents the Oracle home name. The home name can be up to 16 alphanumeric characters. The only special character allowed in the home name is the underscore.
C:\> net start OracleHOME_NAMETNSListener
ORACLE_HOME and ORACLE_BASE In releases prior to Oracle8i release 8.1.3, when you installed Oracle components, all subdirectories were located under a top level ORACLE_HOME directory. The default for Windows NT was C:\orant.

This release complies with Optimal Flexible Architecture (OFA) guidelines. All subdirectories are not under a top level ORACLE_HOME directory. There is a top level directory called ORACLE_BASE that by default is C:\oracle\product\10.1.0. If you install the latest Oracle release on a computer with no other Oracle software installed, then the default setting for the first Oracle home directory is C:\oracle\product\10.1.0\db_n, where n is the latest Oracle home number. The Oracle home directory is located directly under ORACLE_BASE.

All directory path examples in this guide follow OFA conventions.

Refer to Oracle Database Installation Guide for Microsoft Windows (32-Bit) for additional information about OFA compliances and for information about installing Oracle products in non-OFA compliant directories.

Go to the ORACLE_BASE\ORACLE_HOME\rdbms\admin directory.