开始安装集群就绪软件(只需要在一个节点安装即可):
[root@node1 ~]# xhost +
access control disabled, clients can connect from any host
[root@node1 ~]# su - oracle
[oracle@node1 ~]$ cd /opt/clusterware/
[oracle@node1 clusterware]$ ls
cluvfy  doc  install  response  rpm  runInstaller  stage  upgrade  welcome.html
[oracle@node1 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软件安装 图解_软件安装_02 

   选择clusterware集群包安装home 目录

RAC clusterware软件安装 图解_休闲_03

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

RAC clusterware软件安装 图解_休闲_04

    添加节点2信息

RAC clusterware软件安装 图解_软件安装_05 

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

RAC clusterware软件安装 图解_图解_06 

     配置私网络与公网地址:

RAC clusterware软件安装 图解_clusterware_07 

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

RAC clusterware软件安装 图解_软件安装_08

     配置表决磁盘安装目录.

RAC clusterware软件安装 图解_休闲_09 

       显示安装概要

RAC clusterware软件安装 图解_clusterware_10 

    显示安装进度

RAC clusterware软件安装 图解_软件安装_11

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

建议按下列顺序执行 
通常在最后一个节点执行root.sh时会遇到错误,就我们的情况而言当然就是node2
[root@node1 /]# /u01/app/oracle/oraInventory/orainstRoot.sh
[root@node2 ~]# /u01/app/oracle/oraInventory/orainstRoot.sh
[root@node1 /]# /u01/app/oracle/product/10.2.0/crs/root.sh
[root@node2 ~]# /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

出现以下报错,各节点修改以下参数就可以:
[root@node2 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
       ;;
[root@node2 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              ------添加的行 
[root@node1 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
       ;;
[root@node1 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再次执行下面操作:
[root@node2 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;进入一阶段配置:
当新界面执行到第三部的时候会报错,先不管;打开另一个窗口,执行下面的配置
[root@node1 bin]# xhost +
[root@node1 bin]# /u01/app/oracle/product/10.2.0/crs/bin/vipca

RAC clusterware软件安装 图解_图解_12 

RAC clusterware软件安装 图解_休闲_13

RAC clusterware软件安装 图解_软件安装_14

 RAC clusterware软件安装 图解_图解_15

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

RAC clusterware软件安装 图解_图解_16

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

    检查安装是否成功:

    [oracle@node1 ~]$ 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