Sample Configuration with HP Serviceguard Extension for RAG and Oracle Real Application Clusters 11g release 2 using Cluster File System
19
Create the Oracle user home and modify the Oracle user to the new home directory on each node.
# mkdir /home/oracle
# chown oracle:oinstall /home/oracle
# usermod –d /home/oracle oracle
Change password on each node
# passwd oracle
Set up ssh without a password for the Oracle user on all nodes—alternatively, this can be done
during Oracle 11g R2 Clusterware installation using Oracle installer.
Note: In this sample configuration, a single user has been created to manage both the Grid
Infrastructure and the RAC database. If you want to create a separate Grid Infrastructure user, see
Oracle Grid Infrastructure Installation Guide 11gR2 for HP-UX:
Create symbolic links
http://download.oracle.com/docs/cd/E11882_01/install.112/e17211.pdf
This is 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
Change kernel parameters settings
To get the latest information about kernel parameters and make the change accordingly, see Oracle
Grid Infrastructure Installation Guide 11gR2 for HP-UX:
http://download.oracle.com/docs/cd/E11882_01/install.112/e17211.pdf
Create file system for Oracle directories
In the following samples,
/u01/app is a mounted file system for Oracle software. Assume that there is
a private disk (
disk21) with 18 GB storage capacity on all nodes. Create the local file system on each
node.
# umask 022
# pvcreate /dev/rdisk/disk21
# mkdir /dev/vg01
# mknod /dev/vg01/group c 64 0x010000
# vgcreate /dev/vg01 /dev/disk/disk21
# lvcreate –L 16000 /dev/vg01
# newfs –F vxfs /dev/vg01/rlvol1
# mkdir –p /u01/app
# mount /dev/vg01/lvol1 /u01/app
# chmod 775 /u01/app
# chown oracle:oinstall /u01/app