Sample Configurations with SGeRAC and Oracle RAC 10gR2, March 2009
21
/mnt/app/crs/oracle/product/10.2.0/crs
When installing Oracle Cluster Software, you should set the ORACLE_HOME environment to specify
this directory. Please note at installation and before running the root.sh script, the parent directories
of the Oracle Cluster Software home directory must be changed to permit only the root user to write to
those directories.
Create Oracle base directory (for RAC binaries on local file system)
If installing RAC binaries on local file system, create the oracle base directory on each node.
# mkdir –p /mnt/app/oracle
# chown –R oracle:oinstall /mnt/app/oracle
# chmod –R 775 /mnt/app/oracle
Modify oracle user to new home directory on each node.
# usermod –d /mnt/app/oracle oracle
Prepare shared storage on SLVM
This section assumes the OCR, Vote device, and database files are created on SLVM volume group
vg_ops.
Change permission of shared logical volume group
# chmod 755 /dev/vg_ops
Change permission and ownership of Oracle Cluster Software vote device and database files
# chown oracle:oinstall /dev/vg_ops/r*
# chmod 660 /dev/vg_ops/r*
Change permission of OCR device
# chown root:oinstall /dev/vg_ops/rora_ocr
# chmod 640 /dev/vg_ops/rora_ocr
Change permission of voting device
# chown root:dba /dev/vg_ops/rora_vote
# chmod 644 /dev/vg_ops/rora_vote
Create raw device mapping file for Oracle Database Configuration Assistant
# chown root:dba /dev/vg_ops/rora_vote
# chmod 644 /dev/vg_ops/rora_vote
In this example, the database name is “ver10”.
# ORACLE_BASE=/mnt/app/oracle ; export ORACLE_BASE
# mkdir –p $ORACLE_BASE/oradata/ver10
# chown –R oracle:oinstall $ORACLE_BASE/oradata
# chmod –R 755 $ORACLE_BASE/oradata
The following is a sample of the mapping file for DBCA.
system=/dev/vg_ops/ropssystem.dbf
sysaux=/dev/vg_ops/ropssysaux.dbf