Using Serviceguard Extension for RAC, 10th Edition, April 2013
# chown -R oracle:oinstall /mnt/app/crs/oracle/product/10.2.0/crs
# chmod -R 775 /mnt/app/crs/oracle/product/10.2.0/crs
8. 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
# usermod -d /mnt/app/oracle oracle
9. Create Oracle base directory (for RAC binaries on cluster file system).
If installing RAC binaries on Cluster File System, create the oracle base directory once, because
this is a CFS directory visible by all nodes. The CFS file system used is /cfs/mnt1.
# mkdir -p /cfs/mnt1/oracle
# chown -R oracle:oinstall /cfs/mnt1/oracle
# chmod -R 775 /cfs/mnt1/oracle
# chmod 775 /cfs
# chmod 775 /cfs/mnt1
Modify oracle user to use new home directory on each node.
# usermod -d /cfs/mnt1/oracle oracle
10. Prepare shared storage on SLVM.
This section assumes the OCR, vote device, and database files are created on SLVM volume
group vg_rac.
NOTE: Step 10 is only applicable up to Oracle 11gR1. If you prefer to use SLVM storage
for Oracle 11gR2, see Oracle Database 11g Release 2 Real Application Clusters with
SLVM/RAW on HP-UX Installation Cookbook http://h18006.www1.hp.com/storage/pdfs/
4AA2-7668ENW.pdf.
a. Change permission of Shared Logical Volume group.
This section assumes the OCR, vote device, and database files are created on SLVM
volume group vg_rac.
# chmod 755 /dev/vg_rac
b. Change permission and ownership of Oracle cluster software vote device and database
files.
# chown oracle:oinstall /dev/vg_rac/r*
# chmod 660 /dev/vg_rac/r*
c. Change Permission of OCR device.
# chown root:oinstall /dev/vg_rac/rora_ocr
# chmod 640 /dev/vg_rac/rora_ocr
d. Create raw device mapping file for Oracle Database Configuration Assistant.
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
Prerequisites for Oracle 10gR2, 11gR1, or 11gR2 (Sample Installation) 61