
export CLASSPATH
export ORACLE_SID=<set RAC database instance SID>
Configuring the Storage Device for Installing Oracle Clusterware
When Oracle Clusterware is installed in a site, it is installed only on a local file system on the Clusterware
1.Create a directory path for Oracle Clusterware Home, set an owner, and specify appropriate permissions.
2.Create an Oracle directory to save installation logs, set an owner, and specify appropriate permissions.
3.Create mount points on all nodes in the site for a CFS file system where the Clusterware
Setting Up CRS OCR and VOTING Directories
The shared storage for storing OCR and VOTING data can be configured using SLVM, or CVM, or CFS. When using SLVM or CVM, a separate SLVM volume group or CVM disk groups, with all required raw volumes should be configured using non replicated disks. For more information on using raw devices for OCR and VOTING storage, see the Oracle® Clusterware Installation Guide available at the Oracle documentation site. This CRS storage is however not required to be replicated in SADTA.
The current example will use CFS file system for OCR and VOTING. The following procedure describes configuring CFS for OCR and VOTING data. However, the Clusterware storage need not be replicated in SADTA.
1.Initialize the disk that will be used for the CFS file system from the CVM master node at the site.
/etc/vx/bin/vxdisksetup
NOTE: This disk should be a
2.From the site CVM master node, create the CRS disk group. vxdg
3.Create the Serviceguard Disk Group MNP packages for the disk group. cfsdgadm add sfo_crsdg sfo_crs_dg all=sw SFO_1 SFO_2
4.Activate the CVM DG in the site CFS
5.Create a volume for the CRS disk group. vxassist
6.Create a file system using the created volume.
newfs
7.Create Serviceguard Mount Point MNP packages for the clustered file system.
cfsmntadm add sfo_crsdg crs_vol /cfs/sfo_crs sfo_crs_mp all=rw\ SFO_1 SFO_2
8.Mount the clustered file system on the site CFS
9.Create the Clusterware OCR directory in the clustered file system. mkdir /cfs/sfo_crs/OCR
chmod 755 /sfo_cfs/crs/OCR
370 Designing a Disaster Recovery Solution Using Site Aware Disaster Tolerant Architecture