Creating a RAC Demo Database on CFS

Export environment variables for “oracle” user:

export ORACLE_BASE=/cfs/mnt1/oracle

export ORACLE_HOME=$ORACLE_BASE/product/<oracle version>/db_1

export ORA_CRS_HOME=/mnt/app/crs/oracle/product/<oracle version>/crs

LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:$ORACLE_HOME/rdbms/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/rdbms/jlib:$ORACLE_HOME/network/jlib export CLASSPATH

export DISPLAY={display}:0.0

1.Set up listeners with Oracle network configuration assistant (if the listeners are not configured).

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:

a.In this sample, the database name and SID prefix are ver10.

b.Select the storage option for cluster file system.

c.Enter /cfs/mnt2/oradata as the common directory.

Verifying Oracle Disk Manager is Configured

NOTE: The following steps are specific to CFS 4.1 or later.

1.Check the license for CFS 4.1 or later.

#/opt/VRTS/bin/vxlictest -n "VERITAS Storage Foundation for Oracle" -f "ODM"

output: ODM feature is licensed

2.Check that the VRTSodm package is installed:

#swlist VRTSodm

output for CFS 4.1: VRTSodm 4.1m VERITAS Oracle Disk Manager VRTSodm.ODM-KRN 4.1m VERITAS ODM kernel files VRTSodm.ODM-MAN 4.1m VERITAS ODM manual pages VRTSodm.ODM-RUN 4.1m VERITAS ODM commands output for CFS 5.0: VRTSodm 5.0.01.01 Veritas Oracle Disk Manager VRTSodm.ODM-KRN 5.0.01.01 Veritas ODM kernel files VRTSodm.ODM-MAN

5.0.01.01Veritas ODM manual pages VRTSodm.ODM-RUN 5.0.01.01 Veritas ODM commandsVRTSodm 5.0.31.5 Veritas Oracle Disk Manager VRTSodm.ODM-KRN 5.0.31.5 Veritas ODM kernel files VRTSodm.ODM-MAN

5.0.31.5Veritas ODM manual pages VRTSodm.ODM-RUN 5.0.31.5 Veritas ODM commands

3.Check that libodm.sl is present

64 Serviceguard Configuration for Oracle 10g, 11gR1, or 11gR2 RAC

Page 64
Image 64
HP Serviceguard Extension for RAC (SGeRAC) manual Verifying Oracle Disk Manager is Configured, #swlist VRTSodm