Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

4. On the Select Configuration Option screen, select the Install Database Software Only option.
5. Create a listener on both nodes of the site using Oracle NETCA.
For more information about using NETCA to configure listeners in a CRS cluster, see the Oracle
RAC Installation and Configuration user’s guide.
After installing Oracle RAC, you must create the RAC database.
Creating the RAC database at the local site
After installing Oracle RAC, create the RAC database from the site that has the source disks of the
replication. In this manual, this site is referred to as the local site. The RAC database creation is
replicated to the remote site through physical replication and the identical RAC database can be
configured on the remote site from the replication target disks.
In our example configuration, a database, hrdb, is created from the Site A site. This database is
replicated to the Site B site. After the RAC database is created at the Site A site, the identical RAC
database must be configured at the Site B site.
The example hrdb RAC database uses the Cluster File System for storing its data files. The Cluster
File System for the RAC data files is created over the replicated disk array disk group. There are
two file systems for each RAC database files; one for the database data files and the other for the
flash recovery area. The subsequent sections describe the procedures to set up the file systems for
RAC database files.
The RAC database can also be configured to use CVM or SLVM raw volumes. As a result,
appropriate CVM disk groups or SLVM volume groups must be created with required raw volumes
over the replicated disks.
Setting up CFS file systems for RAC Database data files
This section describes how to create CFS file systems for RAC database data files.
NOTE: If you have SLVM configured in your environment, then you must create shared LVM
volume groups for the RAC database and import them on all the nodes. For more information about
creating shared LVM volume groups for the RAC database, see the latest edition of Using
Serviceguard Extension for RAC manual available at http://www.hp.com/go/
hpux-serviceguard-docs-> HP Serviceguard Extension for RAC.
The following example shows how to configure CFS file systems for the example hrdb database
in a legacy package style. HP recommends you to follow modular style of packaging wherever
possible.
To set up the CFS file systems, do the following on the CFS cluster master node:
1. Initialize the source disks of the replication pair.
# /etc/vx/bin/vxdisksetup -i c4t0d1
# /etc/vx/bin/vxdisksetup -i c4t0d2
2. Create a disk group for the RAC database data files.
# vxdg s init hrdbdg c4t0d1 c4t0d2
3. Create Serviceguard Disk Group MNP packages for the disk groups.
# cfsdgadm add hrdbdg sfo_hrdb_dg all=sw SFO_1 SFO_2
4. Activate the CVM disk group in the local site CFS sub-cluster.
# cfsdgadm activate hrdbdg
5. Create a volume from the disk group.
# vxassist -g hrdbdg make rac_vol 4500m
6. Create a file system using the created volume.
# newfs -F vxfs /dev/vx/rdsk/hrdbdg/rac_vol
110 Configuring Oracle RAC in SADTA