Sample Configurations with SGeRAC and Oracle RAC 10gR2, March 2009
20
Create groups on each node
Create the Oracle Inventory group if one does not exist, create the OSDBA group, and create the
Operator Group (optional).
# /usr/sbin/groupadd oinstall
# /usr/sbin/groupadd dba
# /usr/sbin/groupadd oper
Create Oracle user on each node
# /usr/bin/useradd –u 203 –g oinstall –G dba,oper oracle
Change password on each node
# passwd oracle
Enable remote access (ssh or remsh) for Oracle user on all nodes
For remsh, add oracle user to the .rhosts file or host.equiv file.
Create symbolic links
Required if Motif 2.1 Development Environment Package is not installed.
# ln -s /usr/lib/libX11.3 /usr/lib/libX11.sl
# ln -s /usr/lib/libXIE.2 /usr/lib/libXIE.sl
# ln -s /usr/lib/libXext.3 /usr/lib/libXext.sl
# ln -s /usr/lib/libXhp11.3 /usr/lib/Xhp11.sl
# ln -s /usr/lib/libXi.3 /usr/lib/libXi.sl
# ln -s /usr/lib/libXm.4 /usr/lib/libXm.sl
# ln -s /usr/lib/libXp.2 /usr/lib/libXp.sl
# ln -s /usr/lib/libXt.3 /usr/lib/libXt.sl
# ln -s /usr/lib/libXtst.2 /usr/lib/libXtst.sl
Create file system for Oracle directories
In the following samples, /mnt/app is a mounted file system for Oracle software. Assume there is a
private disk c2t0d0 at 18 GB size on all nodes. Create the local file system on each node.
# umask 022
# pvcreate /dev/rdsk/c2t0d0
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgcreate /dev/vg01 /dev/dsk/c2t0d0
# lvcreate –L 16000 /dev/vg01
# newfs –F vxfs /dev/vg01/rlvol1
# mkdir –p /mnt/app
# mount /dev/vg01/lvol1 /mnt/app
# chmod 775 /mnt/app
Create Oracle Cluster Software home directory
For installing Oracle Cluster Software on local file system, create the directories on each node.
# mkdir –p /mnt/app/crs/oracle/product/10.2.0/crs
# chown –R oracle:oinstall /mnt/app/crs/oracle
# chmod -R 775 /mnt/app/crs/oracle
The Oracle Cluster Software home directory is as follows: