Somedays ago, I finished installation the 11gr2 on RHEL6, and there are some tips here:
1. Install the requirement pacakges
[root@spsdev ~]#yum install local compat-libstdc++-33*
[root@spsdev ~]#yum install local libaio-devel-0.*
[root@spsdev ~]#yum install local pdksh-5.*
[root@spsdev ~]#yum install local unixODBC-devel-2.*
[root@spsdev ~]#yum install local sysstat-7.*
No need to install many packages as requirement from RHEL5 backward
2. Network Configuration
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.252.6.199 spsdev
192.168.10.101 spsdev-ha1
The IPv6 can be used for domain configuration later with GSD or NIS, ...etc
3. Cluster Time Synchronization Service
[root@spsdev ~]# /sbin/service ntpd stop
[root@spsdev ~]# chkconfig ntpd off
[root@spsdev ~]# mv /etc/ntp.conf /etc/ntp.conf.original
[root@spsdev ~]# rm /var/run/ntpd.pid
I'd like to disable the NTPD service before installation progressing begins
4. Create Groups and User for Grid Infrastructure
4.1. Create Groups
[root@spsdev ~]# groupadd -g 1000 oinstall
[root@spsdev ~]# groupadd -g 1200 asmadmin
[root@spsdev ~]# groupadd -g 1201 asmdba
[root@spsdev ~]# groupadd -g 1202 asmoper
[root@spsdev ~]# groupadd -g 1300 dba
[root@spsdev ~]# groupadd -g 1301 oper
4.2. Create users
[root@spsdev ~]# useradd -m -u 1100 -g oinstall -G asmadmin,asmdba,asmoper -d /spsdevgrid/grid -s /bin/bash -c "Grid Infrastructure Owner" grid
[root@spsdev ~]# id grid
uid=1100(grid) gid=1000(oinstall) groups=1000(oinstall),1200(asmadmin),1201(asmdba),1202(asmoper)
[root@spsdev ~]# passwd grid
Changing password for user grid.
New UNIX password: xxxxxxxxxxx
Retype new UNIX password: xxxxxxxxxxx
passwd: all authentication tokens updated successfully.
[root@spsdev ~]# useradd -m -u 1101 -g oinstall -G dba,oper,asmdba -d /spsdevoracle/oracle -s /bin/ksh -c "Oracle Software Owner" oracle
[root@spsdev ~]# id oracle
uid=1101(oracle) gid=1000(oinstall) groups=1000(oinstall),1201(asmdba),1300(dba),1301(oper)
[root@racnode1 ~]# passwd oracle
Changing password for user oracle.
New UNIX password: xxxxxxxxxxx
Retype new UNIX password: xxxxxxxxxxx
passwd: all authentication tokens updated successfully.
4.3.1. Build the grid's profile
# ---------------------------------------------------
# .bash_profile
# ---------------------------------------------------
# OS User: grid
# Application: Oracle Grid Infrastructure
# Version: Oracle 11g Release 2
# ---------------------------------------------------
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
alias ls="ls -FA"
# ---------------------------------------------------
# ORACLE_SID
# ---------------------------------------------------
ORACLE_SID=+ASM1; export ORACLE_SID
# ---------------------------------------------------
# JAVA_HOME
# ---------------------------------------------------
# Specifies the directory of the Java SDK and Runtime
# Environment.
# ---------------------------------------------------
JAVA_HOME=/usr/local/java; export JAVA_HOME
# ---------------------------------------------------
# GRID_BASE & ORACLE_BASE
# ---------------------------------------------------
GRID_BASE=/spsdev/app/grid; export GRID_BASE
ORACLE_BASE=$GRID_BASE; export ORACLE_BASE
# ---------------------------------------------------
# GRID_HOME & ORACLE_HOME
# ---------------------------------------------------
GRID_HOME=/spsdevapp/app/11.2.0/grid; export GRID_HOME
ORACLE_HOME=$GRID_HOME; export ORACLE_HOME
# ---------------------------------------------------
# ORACLE_PATH
# ---------------------------------------------------
ORACLE_PATH=$GRID_BASE/common/sql; export ORACLE_PATH
# ---------------------------------------------------
# SQLPATH
# ---------------------------------------------------
SQLPATH=$ORACLE_PATH; export SQLPATH
# ---------------------------------------------------
# ORACLE_TERM
# ---------------------------------------------------
ORACLE_TERM=xterm; export ORACLE_TERM
# ---------------------------------------------------
# NLS_DATE_FORMAT
# ---------------------------------------------------
NLS_DATE_FORMAT="DD-MON-YYYY HH24:MI:SS"; export NLS_DATE_FORMAT
# ---------------------------------------------------
# TNS_ADMIN
# ---------------------------------------------------
TNS_ADMIN=$GRID_HOME/network/admin; export TNS_ADMIN
# ---------------------------------------------------
# ORA_NLS11
# ---------------------------------------------------
ORA_NLS11=$GRID_HOME/nls/data; export ORA_NLS11
# ---------------------------------------------------
# PATH
# ---------------------------------------------------
PATH=.:${JAVA_HOME}/bin:$JAVA_HOME/db/bin:${PATH}:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch
PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
PATH=${PATH}:$SQLPATH/bin
export PATH
# ---------------------------------------------------
# LD_LIBRARY_PATH
# ---------------------------------------------------
LD_LIBRARY_PATH=$GRID_HOME/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$GRID_HOME/oracm/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
export LD_LIBRARY_PATH
# ---------------------------------------------------
# CLASSPATH
# ---------------------------------------------------
CLASSPATH=$GRID_HOME/jre
CLASSPATH=${CLASSPATH}:$GRID_HOME/jdbc/lib/ojdbc6.jar
CLASSPATH=${CLASSPATH}:$GRID_HOME/jlib
CLASSPATH=${CLASSPATH}:$GRID_HOME/rdbms/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/oc4j/ant/lib/ant.jar
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/oc4j/ant/lib/ant-launcher.jar
CLASSPATH=${CLASSPATH}:$JAVA_HOME/db/lib/derby.jar
CLASSPATH=${CLASSPATH}:$GRID_HOME/network/jlib
export CLASSPATH
# ---------------------------------------------------
# THREADS_FLAG
# ---------------------------------------------------
THREADS_FLAG=native; export THREADS_FLAG
# ---------------------------------------------------
# TEMP, TMP, and TMPDIR
# ---------------------------------------------------
export TEMP=/tmp
export TMPDIR=/tmp
# ---------------------------------------------------
# UMASK
# ---------------------------------------------------
umask 022
4.3.2. Build the oracle's profile
# ---------------------------------------------------
# .bash_profile
# ---------------------------------------------------
# OS User: oracle
# Application: Oracle Database Software Owner
# Version: Oracle 11g Release 2
# ---------------------------------------------------
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
alias ls="ls -FA"
# ---------------------------------------------------
# ORACLE_SID
# ---------------------------------------------------
ORACLE_SID=spsdev; export ORACLE_SID
# ---------------------------------------------------
# ORACLE_UNQNAME
# ---------------------------------------------------
ORACLE_UNQNAME=spsdev; export ORACLE_UNQNAME
# ---------------------------------------------------
# JAVA_HOME
# ---------------------------------------------------
JAVA_HOME=/usr/local/java; export JAVA_HOME
# ---------------------------------------------------
# ORACLE_BASE
# ---------------------------------------------------
ORACLE_BASE=/spsdevapp/app/oracle; export ORACLE_BASE
# ---------------------------------------------------
# ORACLE_HOME
# ---------------------------------------------------
ORACLE_HOME=$ORACLE_BASE/product/11.2.0/spsdev; export ORACLE_HOME
# ---------------------------------------------------
# ORACLE_PATH
# ---------------------------------------------------
ORACLE_PATH=$ORACLE_BASE/common/sql; export ORACLE_PATH
# ---------------------------------------------------
# SQLPATH
# ---------------------------------------------------
SQLPATH=$ORACLE_PATH; export SQLPATH
# ---------------------------------------------------
# ORACLE_TERM
# ---------------------------------------------------
ORACLE_TERM=xterm; export ORACLE_TERM
# ---------------------------------------------------
# NLS_DATE_FORMAT
# ---------------------------------------------------
NLS_DATE_FORMAT="DD-MON-YYYY HH24:MI:SS"; export NLS_DATE_FORMAT
# ---------------------------------------------------
# TNS_ADMIN
# ---------------------------------------------------
TNS_ADMIN=$ORACLE_HOME/network/admin; export TNS_ADMIN
# ---------------------------------------------------
# ORA_NLS11
# ---------------------------------------------------
ORA_NLS11=$ORACLE_HOME/nls/data; export ORA_NLS11
# ---------------------------------------------------
# PATH
# ---------------------------------------------------
PATH=.:${JAVA_HOME}/bin:$JAVA_HOME/db/bin:${PATH}:$HOME/bin:$ORACLE_HOME/bin:$ORACLE_HOME/OPatch
PATH=${PATH}:/usr/bin:/bin:/usr/bin/X11:/usr/local/bin
PATH=${PATH}:$SQLPATH/bin
export PATH
# ---------------------------------------------------
# LD_LIBRARY_PATH
# ---------------------------------------------------
LD_LIBRARY_PATH=$ORACLE_HOME/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$ORACLE_HOME/oracm/lib
LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
export LD_LIBRARY_PATH
# ---------------------------------------------------
# CLASSPATH
# ---------------------------------------------------
CLASSPATH=$ORACLE_HOME/jdbc/lib/ojdbc6.jar
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/rdbms/jlib
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/oc4j/ant/lib/ant.jar
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/oc4j/ant/lib/ant-launcher.jar
CLASSPATH=${CLASSPATH}:$JAVA_HOME/db/lib/derby.jar
CLASSPATH=${CLASSPATH}:$ORACLE_HOME/network/jlib
export CLASSPATH
# ---------------------------------------------------
# THREADS_FLAG
# ---------------------------------------------------
THREADS_FLAG=native; export THREADS_FLAG
# ---------------------------------------------------
# TEMP, TMP, and TMPDIR
# ---------------------------------------------------
export TEMP=/tmp
export TMPDIR=/tmp
# ---------------------------------------------------
# UMASK
# ---------------------------------------------------
umask 022
5. Configuration directories
[root@spsdev ~]# mkdir -p /spsdevapp/app/grid
[root@spsdev ~]# mkdir -p /spsdevapp/app/11.2.0/grid
[root@spsdev ~]# chown -R grid:oinstall /spsdevapp
[root@spsdev ~]# mkdir -p /spsdevapp/app/oracle
[root@spsdev ~]# chown oracle:oinstall /spsdevapp/app/oracle
[root@spsdev ~]# chmod -R 775 /spsdevapp
6. Installing the kmod asm library
[root@spsdev tmp]# yum install local kmod-oracleasm
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
No package local available.
Resolving Dependencies
--> Running transaction check
---> Package kmod-oracleasm.x86_64 0:2.0.8-4.el6_6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
kmod-oracleasm x86_64 2.0.8-4.el6_6 rhel-orcl 35 k
Transaction Summary
====================================================================================================================================
Install 1 Package(s)
Total download size: 35 k
Installed size: 117 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kmod-oracleasm-2.0.8-4.el6_6.x86_64 1/1
Verifying : kmod-oracleasm-2.0.8-4.el6_6.x86_64 1/1
Installed:
kmod-oracleasm.x86_64 0:2.0.8-4.el6_6
Complete!
[root@spsdev tmp]# yum install oracleasmlib
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package oracleasmlib.x86_64 0:2.0.4-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
oracleasmlib x86_64 2.0.4-1.el6 rhel-orcl 13 k
Transaction Summary
====================================================================================================================================
Install 1 Package(s)
Total download size: 13 k
Installed size: 27 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : oracleasmlib-2.0.4-1.el6.x86_64 1/1
Verifying : oracleasmlib-2.0.4-1.el6.x86_64 1/1
Installed:
oracleasmlib.x86_64 0:2.0.4-1.el6
Complete!
[root@spsdev rpm]# rpm -ivh oracleasm-support-2.1.8-1.el6.x86_64.rpm
warning: oracleasm-support-2.1.8-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID ec551f03: NOKEY
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [100%]
Note: I've built the local repository from my ISO's RHEL6 into this server
7.Configuration ASM Lib
[root@spsdev rpm]# /usr/sbin/oracleasm configure -i
Configuring the Oracle ASM library driver.
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting <ENTER> without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done
[root@spsdev ~]# /usr/sbin/oracleasm init
Writing disk header: done
Instantiating disk: done
8.Configuration the new partition preparing for ASM diskgroup
[root@spsdev rpm]# fdisk -ll
Disk /dev/sda: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000884e1
Device Boot Start End Blocks Id System
/dev/sda1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 26 4203 33554432 83 Linux
/dev/sda3 4203 4726 4194304 82 Linux swap / Solaris
/dev/sda4 4726 13055 66903040 5 Extended
/dev/sda5 4726 7913 25600000 83 Linux
/dev/sda6 7913 9443 12288000 83 Linux
/dev/sda7 9443 10973 12288000 83 Linux
/dev/sda8 10973 13055 16722912+ 83 Linux
Command (m for help): n
First sector (75911168-209715199, default 75911168):
Using default value 75911168
Last sector, +sectors or +size{K,M,G} (75911168-75913215, default 75913215):
Using default value 75913215
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
# partprobe
However, RHEL6 does not use partprobe command to use the new partition without reboot, so, I must reboot the server
Ref: https://access.redhat.com/solutions/57542
9.Configuration XDMCP
[root@spsdev ~]# vi /etc/gdm/custom.conf
# GDM configuration storage
[daemon]
[security]
DisallowTCP=false
AllowRemoteRoot=true
[xdmcp]
Enable=True
[greeter]
[chooser]
[debug]
[root@spsdev ~]# init 3
[root@spsdev ~]# init 5
10. Configuration VNC Server
[root@spsdev ~]# yum install local tigervnc-server
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Setting up Install Process
No package local available.
Resolving Dependencies
--> Running transaction check
---> Package tigervnc-server.x86_64 0:1.1.0-16.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================
Installing:
tigervnc-server x86_64 1.1.0-16.el6 rhel-neo 1.0 M
Transaction Summary
====================================================================================================================================
Install 1 Package(s)
Total download size: 1.0 M
Installed size: 2.6 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : tigervnc-server-1.1.0-16.el6.x86_64 1/1
Verifying : tigervnc-server-1.1.0-16.el6.x86_64 1/1
Installed:
tigervnc-server.x86_64 0:1.1.0-16.el6
Complete!
[root@spsdev ~]# vi /etc/sysconfig/vncservers
# The VNCSERVERS variable is a list of display:user pairs.
#
# Uncomment the lines below to start a VNC server on display :2
# as my 'myusername' (adjust this to your own). You will also
# need to set a VNC password; run 'man vncpasswd' to see how
# to do that.
#
# DO NOT RUN THIS SERVICE if your local area network is
# untrusted! For a secure way of using VNC, see this URL:
# https://access.redhat.com/knowledge/solutions/7027
# Use "-nolisten tcp" to prevent X connections to your VNC server via TCP.
# Use "-localhost" to prevent remote VNC clients connecting except when
# doing so through a secure tunnel. See the "-via" option in the
# `man vncviewer' manual page.
# VNCSERVERS="2:myusername"
# VNCSERVERARGS[2]="-geometry 800x600 -nolisten tcp -localhost"
VNCSERVERS="2:grid 3:oracle"
VNCSERVERARGS[2]="-geometry 1280x1024"
VNCSERVERARGS[3]="-geometry 1280x1024"
[root@spsdev ~]# su - grid
[grid@spsdev ~]$ vncpasswd
Password:
Verify:
[grid@spsdev ~]$ exit
logout
[root@spsdev ~]# su - oracle
[oracle@spsdev ~]$ vncpasswd
Password:
Verify:
[root@spsdev ~]# chkconfig vncserver on
[root@spsdev ~]# service vncserver start
Starting VNC server: 2:grid xauth: timeout in locking authority file /spsdevgrid/grid/.Xauthority
New 'spsdev:2 (grid)' desktop is spsdev:2
Creating default startup script /spsdevgrid/grid/.vnc/xstartup
Starting applications specified in /spsdevgrid/grid/.vnc/xstartup
Log file is /spsdevgrid/grid/.vnc/spsdev:2.log
3:oracle xauth: timeout in locking authority file /spsdevoracle/oracle/.Xauthority
New 'spsdev:3 (oracle)' desktop is spsdev:3
Creating default startup script /spsdevoracle/oracle/.vnc/xstartup
Starting applications specified in /spsdevoracle/oracle/.vnc/xstartup
Log file is /spsdevoracle/oracle/.vnc/spsdev:3.log
[ OK ]
[root@spsdev ~]#
Note: timeout in locking authority file /spsdevgrid/grid/.Xauthority --> This caused by enforcing SELinux, re-configuration the SELinux by:
[root@spsdev ~]# vi /etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
[root@spsdev ~]# service iptables stop
[root@spsdev ~]# service vncserver start
Starting VNC server: 2:grid
New 'spsdev:2 (grid)' desktop is spsdev:2
Starting applications specified in /spsdevgrid/grid/.vnc/xstartup
Log file is /spsdevgrid/grid/.vnc/spsdev:2.log
3:oracle
New 'spsdev:3 (oracle)' desktop is spsdev:3
Starting applications specified in /spsdevoracle/oracle/.vnc/xstartup
Log file is /spsdevoracle/oracle/.vnc/spsdev:3.log
[ OK ]
[root@spsdev ~]# su - grid
[grid@spsdev ~]$ vi /spsdevgrid/grid/.vnc/xstartup
#!/bin/sh
[ -r /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
export LANG
export SYSFONT
vncconfig -iconic &
#unset SESSION_MANAGER <<-- add #
#unset DBUS_SESSION_BUS_ADDRESS <<-- add #
OS=`uname -s`
if [ $OS = 'Linux' ]; then
case "$WINDOWMANAGER" in
*gnome*)
if [ -e /etc/SuSE-release ]; then
PATH=$PATH:/opt/gnome/bin
export PATH
fi
;;
esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session & <<-- replace twm by gnome-session
same done to oracle's user Xauth
11.Install the cvuqdisk Package for Linux
grid@spsdev ~]$ cd 11gr2
[grid@spsdev 11gr2]$ ls -llrt
total 1177012
drwxr-xr-x. 7 grid oinstall 4096 Aug 27 2013 grid/
-rw-r--r--. 1 grid oinstall 1205251894 Jun 6 11:56 p13390677_112040_Linux-x86-64_3of7.zip
[grid@spsdev 11gr2]$ cd grid
[grid@spsdev grid]$ ls
install/ readme.html response/ rpm/ runcluvfy.sh* runInstaller* sshsetup/ stage/ welcome.html
[grid@spsdev grid]$ cd rpm
[grid@spsdev rpm]$ ls
cvuqdisk-1.0.9-1.rpm
[grid@spsdev rpm]$ pwd
/spsdevgrid/grid/11gr2/grid/rpm
[grid@spsdev rpm]$ exit
logout
[root@spsdev ~]# cd /spsdevgrid/grid/11gr2/grid/rpm
[root@spsdev rpm]# CVUQDISK_GRP=oinstall; export CVUQDISK_GRP
[root@spsdev rpm]# rpm -iv cvuqdisk-1.0.9-1.rpm
Preparing packages for installation...
cvuqdisk-1.0.9-1
12. Finding and replace the name of OS
[grid@spsdev ~]$ cd 11gr2
[grid@spsdev 11gr2]$ ls
grid/ p13390677_112040_Linux-x86-64_3of7.zip
[grid@spsdev 11gr2]$ cd grid
[grid@spsdev grid]$ ls
install/ readme.html response/ rpm/ runcluvfy.sh* runInstaller* sshsetup/ stage/ welcome.html
[grid@spsdev grid]$ cd stage
[grid@spsdev stage]$ ls
Actions/ globalvariables/ productlanguages.properties
ComponentList/ install1.jar products.xml*
Components/ invDetails.properties* properties/
config.xml* libs.xml* Queries/
cvu/ oracle.crs.11_2_0_4_0_1377371739698.bak* shiphomeinfo.properties*
Dialogs/ oracle.crs.11_2_0_4_0_1377371740066.bak* shiphomeproperties.xml*
ext/ oracle.crs.11_2_0_4_0_dep_default.properties sizes/
fastcopy/ oracle.crs.11_2_0_4_0.xml* TopLevel_UserAction.properties*
fastcopy.xml OuiConfigVariables.xml* UserActions/
[grid@spsdev stage]$ cd cvu
[grid@spsdev cvu]$ ls
cv/ cvu_prereq.xml*
[grid@spsdev cvu]$ cd cv
[grid@spsdev cv]$ ls
admin/ cvdata/ remenv/
[grid@spsdev cv]$ cd admin
[grid@spsdev admin]$ ls
cvu_config*
[grid@spsdev admin]$ vi cvu_config
# Configuration file for Cluster Verification Utility(CVU)
# Version: 011405
#
# NOTE:
# 1._ Any line without a '=' will be ignored
# 2._ Since the fallback option will look into the environment variables,
# please have a component prefix(CV_) for each property to define a
# namespace.
#
#Nodes for the cluster. If CRS home is not installed, this list will be
#picked up when -n all is mentioned in the commandline argument.
#CV_NODE_ALL=
#if enabled, cvuqdisk rpm is required on all nodes
CV_RAW_CHECK_ENABLED=TRUE
# Fallback to this distribution id
CV_ASSUME_DISTID=OEL6 <<-- [b]Replace 4 original by 6[/b]
# Whether X-Windows check should be performed for user equivalence with SSH
#CV_XCHK_FOR_SSH_ENABLED=TRUE
# To override SSH location
#ORACLE_SRVM_REMOTESHELL=/usr/bin/ssh
# To override SCP location
#ORACLE_SRVM_REMOTECOPY=/usr/bin/scp
# To override version used by command line parser
#CV_ASSUME_CL_VERSION=10.2
# Location of the browser to be used to display HTML report
#CV_DEFAULT_BROWSER_LOCATION=/usr/bin/mozilla
Same to oracle
13. Going to installation processing
[root@spsdev rpm]# /spsdevapp/app/oraInventory/orainstRoot.sh
Changing permissions of /spsdevapp/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.
Changing groupname of /spsdevapp/app/oraInventory to oinstall.
The execution of the script is complete.
[root@spsdev rpm]# /spsdevapp/app/11.2.0/grid/root.sh
Performing root user operation for Oracle 11g
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /spsdevapp/app/11.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /spsdevapp/app/11.2.0/grid/crs/install/crsconfig_params
Creating trace directory
LOCAL ADD MODE
Creating OCR keys for user 'grid', privgrp 'oinstall'..
Operation successful.
LOCAL ONLY MODE
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4664: Node spsdev successfully pinned.
Adding Clusterware entries to upstart
spsdev 2016/08/23 10:19:14 /spsdevapp/app/11.2.0/grid/cdata/spsdev/backup_20160823_101914.olr
Successfully configured Oracle Grid Infrastructure for a Standalone Server