User's Guide
mkdir /cfs/rac
8. Create the Mount Point MNP packages.
cfsmntadm add hrdbdg rac_vol /cfs/rac sfo_hrdb_mp all=rw SFO_1\
SFO_2
9. Mount the cluster file system on the CFS sub-cluster.
cfsmount /cfs/rac
10. Create a directory structure for the RAC database data files in the cluster file system. Set proper
permission and owners for the directory.
chmod 775 /cfs/rac
mkdir /cfs/rac/oradata
chmod 775 /cfs/rac/oradata
chown oracle:oinstall /cfs/rac/oradata
Setting up CFS File Systems for RAC Database Flash Recovery
This section describes how to create CFS file systems for RAC database flash recovery.
If you have SLVM, CVM, or CFS configured in your environment, see the following documents
available at http://www.hp.com/go/hpux-serviceguard-docs:
• Architecture Considerations and Best Practices for Architecting an Oracle 10gR2 RAC Solution
with Serviceguard and SGeRAC
• Using Serviceguard Extension for RAC
The following procedure explains the steps to configure the CFS file systems for flash recovery for
the example hrdb database.
Complete the following procedure on the CFS cluster master node to set up the CFS file systems:
1. Initialize the source disks of the replication pair.
/etc/vx/bin/vxdisksetup -i c4t0d4
/etc/vx/bin/vxdisksetup -i c4t0d5
2. Create a disk group using the above initialized disks.
vxdg –s init flashdg c4t0d4 c4t0d5
3. Create Serviceguard Disk Group MNP package for the disk group.
cfsdgadm add flashdg sfo_flash_dg all=sw SFO_1 SFO_2
4. Activate the disk group in the site CFS sub-cluster.
cfsdgadm activate flashdg
5. Create a volume from the entire disk group.
vxassist -g flashdg make flash_vol 4500m
6. Create a file system using the above created volume.
newfs -F vxfs /dev/vx/rdsk/flashdg/flash_vol
7. Create mount points for the RAC database flash logs and flash area.
mkdir /cfs
chmod 775 /cfs
mkdir /cfs/flash
8. Create Mount Point MNP package for the cluster file system.
cfsmntadm add flashdg flash_vol /cfs/flash sfo_flash_mp all=rw SFO_1\
SFO_2
374 Designing a Disaster Recovery Solution Using Site Aware Disaster Tolerant Architecture