Configuring Single Instance Applications in CFS/CVM Environments in Continentalclusters, November 2006

6
3 Creating Storage Infrastructure
The Oracle 10g database files can be stored in cluster logical volumes managed by logical volume
managers such as CVM 4.1 or stored in a cluster file system infrastructure like CFS 4.1. Oracle
requires two log files for the Oracle instance, several control files and data files for the Oracle
database. CVM 4.1 provides a cluster shared storage storing the database files in raw volumes. With
CFS 4.1, the database files reside on a cluster file system that is visible to all nodes in the cluster.
The CVM/CFS storage infrastructure must be configured on both primary and recovery clusters. The
CVM disk group names on both primary and recovery clusters must be identical.
The following sections outline details of creating a storage infrastructure using CVM and CFS on both
primary and recovery clusters.
3.1 Creating a Storage Infrastructure for CVM
Start the cluster using the following command:
$ cmruncl
Start the CVM system multi-node package using the following command:
$ cfscluster config –t 900 -s
When CVM starts, it selects a master node and all the disk group configuration commands must be
issued from this master node.
To determine the master node, issue the following command:
vxdctl –c mode
mode: enabled: cluster active - MASTER
master: ccia1
3.1.1 Initializing Disks for CVM
To initialize a disk for CVM, run the vxdisksetup command on the master node.
/etc/vx/bin/vxdisksetup –i c4t4td1
/etc/vx/bin/vxdisksetup –i c4t4td2
/etc/vx/bin/vxdisksetup –i c4t4td3