`

10gR2 RAC Install issues on Oracle EL5 or RHEL5 or SLES10 (VIPCA / SRVCTL / OUI

阅读更多

Applies to:

Oracle Server - Enterprise Edition - Version: 10.2.0.1 to 10.2.0.3
Linux x86-64
Generic Linux
Intel Based Server LINUX

Symptoms

When installing 10gR2 RAC on Oracle Enterprise Linux 5 or RHEL5 or SLES10 there are three issues that users must be aware of.

Issue#1: To install 10gR2, you must first install the base release, which is 10.2.0.1. As these version of OS are newer, you should use the following command to invoke the installer:

$ runInstaller -ignoreSysPrereqs        // This will bypass the OS check //


Issue#2:  At end of root.sh on the last node vipca will fail to run with the following error:

Oracle CRS stack installed and running under init(1M)
Running vipca(silent) for configuring nodeapps
/home/oracle/crs/oracle/product/10/crs/jdk/jre//bin/java: error while loading
shared libraries: libpthread.so.0: cannot open shared object file:
No such file or directory 

Also, srvctl will show similar output if workaround below is not implemented.

Issue#3: After working around Issue#2 above, vipca will fail to run with the following error if the VIP IP's are in a non-routable range [10.x.x.x, 172.(16-31).x.x or 192.168.x.x]:

# vipca
Error 0(Native: listNetInterfaces:[3]) 
[Error 0(Native: listNetInterfaces:[3])]

Cause

These releases of the Linux kernel fix an old bug in the Linux threading that Oracle worked around using LD_ASSUME_KERNEL settings in both vipca and srvctl, this workaround is no longer valid on OEL5 or RHEL5 or SLES10 hence the failures.

Solution

If you have not yet run root.sh on the last node, implement workaround for issue#2 below and run root.sh (you may skip running the vipca portion at the bottom of this note). 
If you have a non-routable IP range for VIPs you will also need workaround for issue# 3 and then run vipca manually.

To workaround Issue#2 above, edit vipca (in the CRS bin directory on all nodes) to undo the setting of LD_ASSUME_KERNEL. After the IF statement around line 120 add an unset command to ensure LD_ASSUME_KERNEL is not set as follows:

if [ "$arch" = "i686" -o "$arch" = "ia64" -o "$arch" = "x86_64" ]
then
  LD_ASSUME_KERNEL=2.4.19
  export LD_ASSUME_KERNEL
fi

unset LD_ASSUME_KERNEL         <<<== Line to be added

 

Similarly for srvctl (in both the CRS and, when installed, RDBMS and ASM bin directories on all nodes), unset LD_ASSUME_KERNEL by adding one line, around line 168 should look like this:

LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL

unset LD_ASSUME_KERNEL          <<<== Line to be added

Remember to re-edit these files on all nodes:
<CRS_HOME>/bin/vipca
<CRS_HOME>/bin/srvctl
<RDBMS_HOME>/bin/srvctl
<ASM_HOME>/bin/srvctl

after applying the 10.2.0.2 or 10.2.0.3 patchsets, as these patchset will still include those settings unnecessary for OEL5 or RHEL5 or SLES10.   This issue was raised with development and is fixed in the 10.2.0.4 patchsets.

Note that we are explicitly unsetting LD_ASSUME_KERNEL and not merely commenting out its setting to handle a case where the user has it set in their environment (login shell).

 

To workaround issue#3 (vipca failing on non-routable VIP IP ranges, manually or during root.sh), if you still have the OUI window open, click OK and it will create the "oifcfg" information, then cluvfy will fail due to vipca not completed successfully, skip below in this note and run vipca manually then return to the installer and cluvfy will succeed.  Otherwise you may configure the interfaces for RAC manually using the oifcfg command as root, like in the following example (from any node):

<CRS_HOME>/bin # ./oifcfg setif -global eth0/192.168.1.0:public 
<CRS_HOME>/bin # ./oifcfg setif -global eth1/10.10.10.0:cluster_interconnect 
<CRS_HOME>/bin # ./oifcfg getif 
 eth0 192.168.1.0 global public 
 eth1 10.10.10.0 global cluster_interconnect

 

The goal is to get the output of "oifcfg getif" to include both public and cluster_interconnect interfaces, of course you should exchange your own IP addresses and interface name from your environment. To get the proper IPs in your environment run this command:

<CRS_HOME>/bin # ./oifcfg iflist
eth0 192.168.1.0
eth1 10.10.10.0 

 

If you have not yet run root.sh on the last node, implement workaround for issue #2 above and run root.sh (you may skip running the vipca portion below. If you have a non-routable IP range for VIPs you will also need workaround for issue# 3 above, and then run vipca manually.


Running VIPCA:

After implementing the above workaround(s), you should be able invoke vipca (as root, from last node) manually and configure the VIP IPs via the GUI interface.

<CRS_HOME>/bin # export DISPLAY=<x-display:0>
<CRS_HOME>/bin # ./vipca

Make sure the DISPLAY environment variable is set correctly and you can open X-clock or other X applications from that shell.

Once vipca completes running, all the Clusterware resources (VIP, GSD, ONS) will be started, there is no need to re-run root.sh since vipca is the last step in root.sh. 

 

To verify the Clusterware resources are running correctly:

<CRS_HOME>/bin # ./crs_stat -t
Name           Type        Target State  Host
------------------------------------------------------------
ora....ux1.gsd application ONLINE ONLINE raclinux1
ora....ux1.ons application ONLINE ONLINE raclinux1
ora....ux1.vip application ONLINE ONLINE raclinux1
ora....ux2.gsd application ONLINE ONLINE raclinux2
ora....ux2.ons application ONLINE ONLINE raclinux2
ora....ux2.vip application ONLINE ONLINE raclinux2


You may now proceed with the rest of the RAC installation.

 

 

References

NOTE:456634.1 - Prerequisite Checks Fail When Installing 10.2 On Red Hat 5 (RHEL5)

分享到:
评论

相关推荐

    deploying-oracle-11gr2-rac-on-rhel6_1

    ### Oracle 11g R2 RAC 在 RHEL 6 中部署最佳实践 #### 概述 Oracle 11g R2 RAC (Real Application Clusters) 是 Oracle 数据库的一个重要版本,它提供了高可用性和负载均衡功能。RHEL (Red Hat Enterprise Linux) ...

    Oracle 11gR2 RAC(ASM) on RHEL6.4安装流程

    ### Oracle 11gR2 RAC (ASM) on RHEL6.4 安装流程详解 #### 环境概述 本文档旨在详细介绍Oracle 11gR2 RAC (ASM) 在Red Hat Enterprise Linux Server 6.4 (Santiago) 上的安装流程。RAC (Real Application ...

    一步一步在Linux上升级 Oracle 10gR2 RAC到11gR2 RAC

    某客户需要将一套Oracle 10gR2 双节点RAC 生产数据库升级至Oracle 11gR2 RAC,所以便有了本系列实战的教程。 为更贴切还原生产过程中的实际操作,本系列教程一个分两大部分: 第一部分已发 一步一步在Linux上部署...

    oracle 10g rac on rhel5.5 相关包

    在部署Oracle 10g RAC on RHEL5.5时,除了这些包外,还需要安装其他依赖,如Oracle Grid Infrastructure、Oracle Database软件、Clusterware、ASM (Automatic Storage Management) 等。安装过程中,你需要确保操作...

    ORACLE_10gR2_RAC升级ORACLE_10gR2_RAC升级

    ### ORACLE 10gR2 RAC 升级至 10.2.0.4 的关键步骤 #### 1. 停止相关进程 在进行ORACLE 10gR2 RAC(Real Application Clusters)的升级之前,确保所有相关进程和服务已经停止是非常重要的一步。这不仅包括数据库...

    构建最高可用Oracle数据库系统 Oracle 11gR2 RAC管理、维护与性能优化

    第10章 RAC管理 10.1 Clusterware磁盘文件管理 10.1.1管理表决磁盘文件 10.1.2管理OCR文件 10.1.3表决磁盘和OCR的恢复案例 10.1.4管理OLR文件 10.1.5重建表决磁盘和OCR文件 10.1.6重新配置Grid ...

    ORACLE11GR2_RAC_linux安装

    oracle linux 6.4上安装部署 oracle RAC 11G R2,oracle linux上安装oracle是最简便的。

    install_Oracle_11gR2_RAC_on_HP-UX

    在本文中,我们将深入探讨如何在HP-UX 11.31上安装Oracle 11gR2 RAC(Real Application Clusters)系统。Oracle 11gR2引入了若干新特性,显著增强了Oracle Clusterware和Automatic Storage Management (ASM)的功能。...

    Oracle 11gR2 RAC RHEl6 安装规范和手册

    ### Oracle 11gR2 RAC 在 RHEL 6 安装规范及手册关键知识点解析 #### 一、Oracle RAC 11g 概述 - **Oracle RAC (Real Application Clusters)**:是一种数据库集群解决方案,允许多个数据库实例同时访问同一个...

    网盘资料\oracle相关书籍\Oracle RAC系列之_10gR2 RAC(ASM) Data Guard容灾配置手册

    在"Oracle RAC系列之_10gR2 RAC(ASM) Data Guard容灾配置手册"中,你可能会学习到以下关键知识点: 1. **RAC安装与配置**:如何在多台服务器上安装和配置RAC实例,包括网络设置、OCR(Oracle Cluster Registry)和...

    Oracle10gR2 RAC实时应用集群

    Oracle10gR2 RAC实时应用集群Oracle10gR2 RAC实时应用集群

    Oracle 11gR2 RAC + ASM on AIX-6.1安装指导手册

    Oracle 11gR2 RAC (Real Application Clusters) 和 ASM (Automatic Storage Management) 是在AIX-6.1操作系统上部署企业级数据库环境的关键组件。本安装指南将涵盖预安装检查、规划以及安装过程中的重要步骤。 1. ...

    Oracle11gR2 RAC guides On Lunix

    ### Oracle 11gR2 RAC 在 Linux 上的安装指南 #### 一、引言与新特性概述 本文档提供了 Oracle 11gR2 RAC 在 Linux 环境下的安装指导,旨在帮助数据库管理员顺利安装配置该版本的 RAC 系统。文档详细介绍了 11gR2 ...

    Oracle 10gR2 RAC ON REHL5.4 i386 by GuanghuiZhou

    在本知识点中,我们将深入探讨在Red Hat Enterprise Linux(RHEL)5.4 i386架构上安装Oracle 10g Release 2(10gR2)RAC的详细步骤与要求。 首先,必须对目标系统进行一系列的检查和配置以满足安装需求。检查过程...

    构建最高可用Oracle数据库系统:Oracle 11gR2 RAC管理、维护与性能优化

    《构建最高可用Oracle数据库系统:Oracle 11gR2 RAC管理、维护与性能优化》从硬件和软件两个维度系统且全面地讲解了Oracle 11g R2 RAC的架构、工作原理、管理及维护的系统理论和方法,以及性能优化的技巧和最佳实践...

    oracle11g_rac_install_on_RHEL6.4

    十分详细的Oracle11G的安装手册,作者的笔记本本身就是8个内存。注意咯!8G哟!没有的同学建议,去找两个笔记本,或者升级吧,要不然就只能看看咯!

    RedHat 5 下安装 Oracle 11gR2 RAC 环境

    在RedHat 5下安装Oracle 11gR2 RAC环境是一项复杂而细致的任务,涉及到多方面的系统配置与软件部署。以下是对该任务中关键知识点的深入解析: ### 安装环境概述 #### 主机操作系统 主机操作系统选择了Win7,这表明...

Global site tag (gtag.js) - Google Analytics