Veritas Storage Foundation™ 5.0.1 for Oracle RAC Installation, Configuration, and Administrator's Guide Extracts for the HP Serviceguard Storage Management Suite on HP-UX 11i v3
Table Of Contents
- Veritas Storage Foundation™ 5.0.1 for Oracle RAC Installation, Configuration, and Administrator's Guide Extracts for the HP Serviceguard Storage Management Suite on HP-UX 11i v3
- Table of Contents
- Preface
- 1 Introducing Serviceguard Extension for RAC
- About Serviceguard Extension for RAC
- How Serviceguard Extension for RAC Works (High-Level Perspective)
- Component Products and Processes of SG SMS Serviceguard Cluster File System for RAC
- Communication Infrastructure
- Cluster Interconnect Communication Channel
- Low-level Communication: Port Relationship Between GAB and Processes
- Cluster Volume Manager
- Cluster File System
- Oracle Disk Manager
- Additional Features of Serviceguard Extension for RAC
- 2 Planning SGeRAC Installation and Configuration
- 3 Configuring the Repository Database for Oracle
- 4 Using Storage Checkpoints and Storage Rollback
- About Storage Checkpoints and Storage Rollback in SGeRAC
- Using Storage Checkpoints and Storage Rollback for Backup and Restore
- Determining Space Requirements for Storage Checkpoints
- Performance of Storage Checkpoints
- Backing up and Recovering the Database Using Storage Checkpoints
- Guidelines for Oracle Recovery
- Using the Storage Checkpoint Command Line Interface (CLI)
- Examples of Using the Command Line Interface
- Prerequisites
- Creating or Updating the Repository Using dbed_update
- Creating Storage Checkpoints Using dbed_ckptcreate
- Displaying Storage Checkpoints Using dbed_ckptdisplay
- Mounting Storage Checkpoints Using dbed_ckptmount
- Unmounting Storage Checkpoints Using dbed_ckptumount
- Performing Storage Rollback Using dbed_ckptrollback
- Removing Storage Checkpoints Using dbed_ckptremove
- Cloning the Oracle Instance Using dbed_clonedb
- 5 Using FlashSnap for Backup and Recovery
- About Veritas Database FlashSnap
- Planning to Use Database FlashSnap
- Preparing Hosts and Storage for Database FlashSnap
- Summary of Database Snapshot Steps
- Creating a Snapplan (dbed_vmchecksnap)
- Validating a Snapplan (dbed_vmchecksnap)
- Displaying, Copying, and Removing a Snapplan (dbed_vmchecksnap)
- Creating a Snapshot (dbed_vmsnap)
- Backing Up the Database from Snapshot Volumes (dbed_vmclonedb)
- Cloning a Database (dbed_vmclonedb)
- Resynchronizing the Snapshot to Your Database
- Removing a Snapshot Volume
- 6 Investigating I/O Performance for SGeRAC: Storage Mapping
- A Troubleshooting SGeRAC
Access to cluster storage in typical SGeRAC configurations use CFS. Raw access to CVM volumes
is also possible but not part of a common configuration.
CFS Architecture
SGeRAC uses CFS to manage a file system in a large database environment. Since CFS is an
extension of VxFS, it operates in a similar fashion and caches metadata and data in memory
(typically called buffer cache or vnode cache). CFS uses a distributed locking mechanism called
Global Lock Manager (GLM) to ensure all nodes have a consistent view of the file system. GLM
provides metadata and cache coherency across multiple nodes by coordinating access to file
system metadata, such as inodes and free lists. The role of GLM is set on a per-file system basis
to enable load balancing.
CFS involves a primary/secondary architecture. One of the nodes in the cluster is the primary
node for a file system. Though any node can initiate an operation to create, delete, or resize data,
the GLM master node carries out the actual operation. After creating a file, the GLM master node
grants locks for data coherency across nodes. For example, if a node tries to modify a block in a
file, it must obtain an exclusive lock to ensure other nodes that may have the same file cached
have this cached copy invalidated.
SGeRAC configurations minimize the use of GLM locking. Oracle RAC accesses the file system
through the ODM interface and handles its own locking; only Oracle (and not GLM) buffers data
and coordinates write operations to files. A single point of locking and buffering ensures maximum
performance. GLM locking is only involved when metadata for a file changes, such as during
create and resize operations.
CFS Communication
CFS uses port f for GLM lock and metadata communication. SGeRAC configurations minimize
the use of GLM locking except when metadata for a file changes.
Oracle Disk Manager
SGeRAC requires Oracle Disk Manager (ODM), a standard API published by Oracle for support
of database I/O. SGeRAC provides a library for Oracle to use as its I/O library.
ODM Architecture
When the ODM library is linked, Oracle is able to bypass all caching and locks at the file system
layer and to communicate directly with raw volumes. The SGeRAC implementation of ODM
generates performance equivalent to performance with raw devices while the storage uses
easy-to-manage file systems.
All ODM features can operate in a cluster environment. Nodes communicate with each other
before performing any operation that could potentially affect another node. For example, before
creating a new data file with a specific name, ODM checks with other nodes to see if the file name
is already in use.
ODM Performance Enhancements
ODM enables the performance benefits provided by Oracle Disk Manager:
• Locking for data integrity.
• Few system calls and context switches.
• Increased I/O parallelism.
• Efficient file creation and disk allocation.
18 Introducing Serviceguard Extension for RAC