Using Serviceguard Extension for RAC, 3rd Edition, May 2006
Serviceguard Configuration for Oracle 10g RAC
Creating a RAC Demo Database
Chapter 290
Creating a RAC Demo Database
This section demonstrates the steps for creating a demo database with
datafiles on raw volumes with SLVM or CVM, or with Cluster File
System.
Creating a RAC Demo Database on SLVM or CVM
Export environment variables for “oracle” user:
export ORACLE_BASE=/mnt/app/oracle
export \
DBCA_RAW_CONFIG=/mnt/app/oracle/oradata/ver10/ver10_raw.conf
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORA_CRS_HOME=/mnt/app/crs/oracle/product/10.2.0/crs
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$ORACLE_HOME/rd
bms/lib
SHLIB_PATH=$ORACLE_HOME/lib32:$ORACLE_HOME/rdbms/lib32
export LD_LIBRARY_PATH SHLIB_PATH
export \
PATH=$PATH:$ORACLE_HOME/bin:$ORA_CRS_HOME/bin:/usr/local/bin:
CLASSPATH=$ORACLE_HOME/jre:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbm
s/jlib:$ORACLE_HOME/network/jlib
export CLASSPATH
export DISPLAY={display}:0.0
1. Setting up Listeners with Oracle Network Configuration
Assistant
Use the Oracle network configuration assistant to configure the
listeners with the following command:
$ netca
2. Create Database with Database Configuration Assistant
Use the Oracle database configuration assistant to create the
database with the following command:
$ dbca
Use following guidelines when installing on a local file system: