Using Serviceguard Extension for RAC, 2nd Edition, February 2005 Update
Table Of Contents
- Using Serviceguard Extension for RAC
- 1 Introduction to Serviceguard Extension for RAC
- 2 Serviceguard Configuration for Oracle RAC
- Planning Database Storage
- Installing Serviceguard Extension for RAC
- Configuration File Parameters
- Creating a Storage Infrastructure with LVM
- Building Volume Groups for RAC on Mirrored Disks
- Building Mirrored Logical Volumes for RAC with LVM Commands
- Creating RAC Volume Groups on Disk Arrays
- Creating Logical Volumes for RAC on Disk Arrays
- Oracle Demo Database Files
- Displaying the Logical Volume Infrastructure
- Exporting the Logical Volume Infrastructure
- Installing Oracle Real Application Clusters
- Cluster Configuration ASCII File
- Creating a Storage Infrastructure with CVM
- Initializing the VERITAS Volume Manager
- Preparing the Cluster for Use with CVM
- Starting the Cluster and Identifying the Master Node
- Converting Disks from LVM to CVM
- Initializing Disks for CVM
- Creating Disk Groups for RAC
- Creating Volumes
- Oracle Demo Database Files
- Adding Disk Groups to the Cluster Configuration
- Using Packages to Configure Startup and Shutdown of RAC Instances
- Starting Oracle Instances
- Creating Packages to Launch Oracle RAC Instances
- Configuring Packages that Access the Oracle RAC Database
- running cluster:adding or removing packages
- Writing the Package Control Script
- Using Serviceguard Manager to Write the Package Control Script
- Using Commands to Write the Package Control Script
- Customizing the Package Control Script
- Optimizing for Large Numbers of Storage Units
- Customizing the Control Script for RAC Instances
- Configuring an Oracle RAC Instance Package
- Using Serviceguard Manager to a Configure Oracle RAC Instance Package
- Enabling DB Provider Monitoring
- 3 Maintenance and Troubleshooting
- Reviewing Cluster and Package States with the
- Managing the Shared Storage
- Removing ServiceGuard Extension for RAC from a System
- Monitoring Hardware
- Adding Disk Hardware
- Replacing Disks
- Replacement of I/O Cards
- Replacement of LAN Cards
- Monitoring RAC Instances
- A Blank Planning Worksheets

Serviceguard Configuration for Oracle RAC
Creating a Storage Infrastructure with CVM
Chapter 2 53
Creating a Storage Infrastructure with CVM
In addition to configuring the cluster, you create the appropriate logical
volume infrastructure to provide access to data from different nodes.
This is done with Logical Volume Manager (LVM), VERITAS Volume
Manager (VxVM), or VERITAS Cluster Volume Manager (CVM). LVM
and VxVM configuration are done before cluster configuration, and CVM
configuration is done after cluster configuration.
This section shows how to configure storage using the VERITAS Cluster
Volume Manager (CVM). The examples show how to configure RAC disk
groups, but you can also create CVM disk groups for non-RAC use. For
more information, including details about configuration of plexes
(mirrors), multi-pathing, and RAID, refer to the HP-UX documentation
for the VERITAS Volume Manager.
Initializing the VERITAS Volume Manager
If you are about to create disk groups for the first time, you need to
initialize the Volume Manager. This is done by creating a disk group
known as rootdg that contains at least one disk. Use the following
command after installing CVM on each node:
# vxinstall
This displays a menu-driven program that steps you through the CVM
initialization sequence. From the main menu, choose the “Custom”
option, and specify the disk you wish to include in rootdg.
IMPORTANT The rootdg in the VERITAS Volume Manager is not the same as the
HP-UX root disk, and cannot be used for the HP-UX root file system (/).
Note also that rootdg cannot be used for shared storage. However, rootdg
can be used for other local filesystems (e.g., /export/home), so it need
not be wasted. Creating a rootdg disk group is only necessary the first
time you use the Volume Manager.