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 LVM
Chapter 240
where hh must be unique to the volume group you are creating. Use
the next hexadecimal number that is available on your system, after
the volume groups that are already configured. Use the following
command to display a list of existing volume groups:
# ls -l /dev/*/group
3. Create the volume group and add physical volumes to it with the
following commands:
# vgcreate -g bus0 /dev/vg_ops /dev/dsk/c1t2d0
# vgextend -g bus1 /dev/vg_ops /dev/dsk/c0t2d0
The first command creates the volume group and adds a physical
volume to it in a physical volume group called bus0. The second
command adds the second drive to the volume group, locating it in a
different physical volume group named bus1. The use of physical
volume groups allows the use of PVG-strict mirroring of disks and
PV links.
4. Repeat this procedure for additional volume groups.
Building Mirrored Logical Volumes for RAC with LVM
Commands
After you create volume groups and define physical volumes for use in
them, you define mirrored logical volumes for data, logs, and control
files. It is recommended that you use a shell script to issue the
commands described in the next sections. The commands you use for
creating logical volumes vary slightly depending on whether you are
creating logical volumes for RAC redo log files or for use with Oracle
data.
Creating Mirrored Logical Volumes for RAC Redo Logs and
Control Files
Create logical volumes for use as redo log and control files by selecting
mirror consistency recovery. Use the same options as in the following
example:
# lvcreate -m 1 -M n -c y -s g -n redo1.log -L 4 /dev/vg_ops
The -m 1 option specifies single mirroring; the -M n option ensures that
mirror write cache recovery is set off; the -c y means that mirror
consistency recovery is enabled; the -s g means that mirroring is