开始安装集群就绪软件(只需要在一个节点安装即可):
[[email protected] ~]# xhost +
access control disabled, clients can connect from any host
[[email protected] ~]# su - oracle
[[email protected] ~]$ cd /opt/clusterware/
[[email protected] clusterware]$ ls
cluvfy  doc  install  response  rpm  runInstaller  stage  upgrade  welcome.html
[[email protected] clusterware]$ ./runInstaller -ignoreSysPreReqs  (-ignoreSysPreReqs 参数绕过系统版本的检查)
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                      Passed

RAC clusterware软件安装 图解

   选择安装目录,与用户组

RAC clusterware软件安装 图解 

   选择clusterware集群包安装home 目录

RAC clusterware软件安装 图解

    安装环境自检;crs 最小内存不小于512M,否则检查会通不过;此处报内存大于512,可以突略.

RAC clusterware软件安装 图解

    添加节点2信息

RAC clusterware软件安装 图解 

    添加后的节点信息,修改集群名

RAC clusterware软件安装 图解 

     配置私网络与公网地址:

RAC clusterware软件安装 图解 

     配置集群注册软件安装目录

RAC clusterware软件安装 图解

     配置表决磁盘安装目录.

RAC clusterware软件安装 图解 

       显示安装概要

RAC clusterware软件安装 图解 

    显示安装进度

RAC clusterware软件安装 图解

   使用ROOT用户执行相应路径包.

建议按下列顺序执行 
通常在最后一个节点执行root.sh时会遇到错误,就我们的情况而言当然就是node2
[[email protected] /]# /u01/app/oracle/oraInventory/orainstRoot.sh
[[email protected] ~]# /u01/app/oracle/oraInventory/orainstRoot.sh
[[email protected] /]# /u01/app/oracle/product/10.2.0/crs/root.sh
[[email protected] ~]# /u01/app/oracle/product/10.2.0/crs/root.sh
CSS is active on these nodes.
 node1
 node2
CSS is active on all nodes.
Waiting for the Oracle CRSD and EVMD to start
Waiting for the Oracle CRSD and EVMD to start
Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
/u01/app/oracle/product/10.2.0/crs/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory

出现以下报错,各节点修改以下参数就可以:
[[email protected] bin]# vi /u01/app/oracle/product/10.2.0/crs/bin/vipca
    if [ "$arch" = "i686" -o "$arch" = "ia64" ]
       then
            LD_ASSUME_KERNEL=2.4.19
            export LD_ASSUME_KERNEL
       fi
       unset LD_ASSUME_KERNEL                 ------添加的行
       #End workaround
       ;;
[[email protected] bin]# vi /u01/app/oracle/product/10.2.0/crs/bin/srvctl
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
unset LD_ASSUME_KERNEL              ------添加的行 
[[email protected] bin]# vi /u01/app/oracle/product/10.2.0/crs/bin/vipca
       if [ "$arch" = "i686" -o "$arch" = "ia64" ]
       then
            LD_ASSUME_KERNEL=2.4.19
            export LD_ASSUME_KERNEL
       fi
       unset LD_ASSUME_KERNEL                 ------添加的行
       #End workaround
       ;;
[[email protected] bin]# vi /u01/app/oracle/product/10.2.0/crs/bin/srvctl
LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL
unset LD_ASSUME_KERNEL              ------添加的行 
  在节点2再次执行下面操作:
[[email protected] bin]# /u01/app/oracle/product/10.2.0/crs/root.sh
WARNING: directory '/u01/app/oracle/product/10.2.0' is not owned by root
WARNING: directory '/u01/app/oracle/product' is not owned by root
WARNING: directory '/u01/app/oracle' is not owned by root
WARNING: directory '/u01/app' is not owned by root
WARNING: directory '/u01' is not owned by root
Checking to see if Oracle CRS stack is already configured
Oracle CRS stack is already configured and will be running under init(1M)


执行完后,点击上图的OK;进入一阶段配置:
当新界面执行到第三部的时候会报错,先不管;打开另一个窗口,执行下面的配置
[[email protected] bin]# xhost +
[[email protected] bin]# /u01/app/oracle/product/10.2.0/crs/bin/vipca

RAC clusterware软件安装 图解 

RAC clusterware软件安装 图解

RAC clusterware软件安装 图解

 RAC clusterware软件安装 图解

     执行完后,点击OK,切回到之前的安装进程窗口

RAC clusterware软件安装 图解

   点击''Retry'' 重试安装. 安装完后,点击'Next'  --> 'Exit'  退出安装完成.

    检查安装是否成功:

    [[email protected] ~]$ crs_stat -t
Name           Type           Target    State     Host       
------------------------------------------------------------
ora.node1.gsd  application    ONLINE    ONLINE    node1      
ora.node1.ons  application    ONLINE    ONLINE    node1      
ora.node1.vip  application    ONLINE    ONLINE    node1      
ora.node2.gsd  application    ONLINE    ONLINE    node2      
ora.node2.ons  application    ONLINE    ONLINE    node2      
ora.node2.vip  application    ONLINE    ONLINE    node2