Using Serviceguard Extension for RAC, 9th Edition, September 2010
Install Oracle Software into CFS Home
Oracle RAC software is installed using the Oracle Universal Installer. This section describes
installation of Oracle RAC software onto a CFS home.
1. Oracle pre-installation steps.
a. Create user accounts.
Create user and group for Oracle accounts on all nodes using the following commands:
# groupadd -g 99 dba
# useradd -g dba -u 999 -d /cfs/mnt1/oracle oracle
Create Oracle home directory on CFS.
# cd /cfs/mnt1
# mkdir /cfs/mnt1/oracle
# chown oracle:dba oracle
Change password for Oracle account on all nodes.
# passwd oracle
b. Setup for remote commands.
Set up user equivalence for all nodes by adding node name entries to /etc/
hosts.equiv or add entries to the .rhosts of oracle account.
c. Set up CFS directory for Oracle datafiles.
# cd /cfs/mnt2
# mkdir oradata
# chown oracle:dba oradata
# chmod 755 oradata
# ll
total 0drwxr-xr-x 2 root root 96 Jun 3 11:43 lost+founddrwxr-xr-x 2 oracle
dba 96 Jun 3 13:45 oradat
d. Set up CFS directory for server management.
Preallocate space for srvm (200MB).
# prealloc /cfs/cfssrvm/ora_srvm 209715200
# chown oracle:dba /cfs/cfssrvm/ora_srvm
2. Install Oracle RAC software.
a. Install Oracle (software only) with Oracle Universal Installer as oracle user.
# su - oracle
When using CFS for SRVM, set SRVM_SHARED_CONFIG.
$ export SRVM_SHARED_CONFIG=/cfs/cfssrvm/ora_srvm
b. Set DISPLAY.
$ export DISPLAY=${display}:0.0
c. Run Oracle Universal Installer and follow installation steps.
$ cd <Oracle installation disk directory>
$ ./runInstaller
Create Database with Oracle Tools
Refer to Oracle documentation for more detailed information on creating an Oracle database.
100 Serviceguard Configuration for Oracle 9i RAC