搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法

煙花丶易冷發表於2016-10-26
OS 版本是:Enterprise Linux Enterprise Linux Server release 5.4
DB 版本是:Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
配置RAC 過程中,在安裝clusterware元件的時候出現如下執行指令碼的提示:
搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法
出現如上錯誤,在兩個節點上執行/u01/app/oracle/root.sh之前,建議修改兩個節點上的$ORA_CRS_HOME/bin/vipca $ORA_CRS_HOME/bin/srvctl  ,新增unset LD_ASSUME_KERNEL,這是Oracle 10.2.0.1的一個bug
如下操作:


[root@HHDB20 ~]# /u01/app/oracle/oraInventory/orainstRoot.sh

[root@HHDB21 ~]# /u01/app/oracle/oraInventory/orainstRoot.sh

[root@HHDB20 ~]# vi /u01/app/oracle/crs/bin/vipca
搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法

[root@HHDB20 ~]# vi /u01/app/oracle/crs/bin/srvctl
搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法
[root@HHDB21 ~]# vi /u01/app/oracle/crs/bin/vipca
搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法
[root@HHDB21 ~]# vi /u01/app/oracle/crs/bin/srvctl

搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法


[root@HHDB20 ~]# /u01/app/oracle/crs/root.sh
[root@HHDB21 ~]# /u01/app/oracle/crs/root.sh
出現如下OUI-25031錯誤
搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法
解決辦法如下:
OUI-25031錯誤處理:手動配置VIPCA
手動修改vipca設定(兩節點都要執行)
[root@HHDB20 ~]# cd /u01/app/oracle/crs/bin/
[root@HHDB20 bin]# ./oifcfg setif -global eth0/192.168.1.0:public
PRIF-50: duplicate interface is given in the input
[root@HHDB20 bin]# ./oifcfg setif -global eth1/10.0.0.0:cluster_interconnect
PRIF-50: duplicate interface is given in the input
[root@HHDB20 bin]#  ./oifcfg getif
eth0  192.168.1.0  global  public
eth1  10.0.0.0  global  cluster_interconnect
[root@HHDB21 ~]# cd /u01/app/oracle/crs/bin/
[root@HHDB21 bin]# ./oifcfg setif -global eth0/192.168.1.0:public
PRIF-50: duplicate interface is given in the input
[root@HHDB21 bin]# ./oifcfg setif -global eth1/10.0.0.0:cluster_interconnect
PRIF-50: duplicate interface is given in the input
[root@HHDB21 bin]# ./oifcfg getif
eth0  192.168.1.0  global  public
eth1  10.0.0.0  global  cluster_interconnect
新開一個終端,進入CRS_HOME/bin,再次執行./vipca 
1)開始配置VIP,如下:
搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法
2)選擇vip使用的網路卡,這裡是eth0
搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法
3)輸入兩個節點的vip-name和vip
搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法
4)出現如下配置完成介面
搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法
5)VIP配置完成之後,再次執行檢查,點選Retry,通過
搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法
6)clusterware 配置完成介面
搭建ORACLE 10g RAC過程中出現 OUI-25031 的解決辦法
檢視配置好的crs狀態資訊:
[oracle@HHDB20 ~]$ crs_stat -t


Name           Type           Target    State     Host

------------------------------------------------------------

ora.hhdb20.gsd application    ONLINE    ONLINE    hhdb20

ora.hhdb20.ons application    ONLINE    ONLINE    hhdb20

ora.hhdb20.vip application    ONLINE    ONLINE    hhdb20

ora.hhdb21.gsd application    ONLINE    ONLINE    hhdb21

ora.hhdb21.ons application    ONLINE    ONLINE    hhdb21

ora.hhdb21.vip application    ONLINE    ONLINE    hhdb21


來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29634949/viewspace-1246971/,如需轉載,請註明出處,否則將追究法律責任。

相關文章