ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Oracle 10G Rac on RHEL5 notice

Oracle 10G Rac on RHEL5 notice

原创 Linux操作系统 作者:沙不宣 时间:2010-10-12 01:18:08 0 删除 编辑
./runInstaller时提示缺少libthread
 
安装libXP  rpm包
 
=============================================================
忽略系统版本检查
oracle$ ./runInstaller -ignoreSysPrereqs
 
=============================================================
在最后一个节点执行root.sh时报错
Running vipca(silent) for configuring nodeapps
/u01/app/oracle/product/10.2.0/crs_1/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
 
手工执行vipca同样报错
# /u01/app/oracle/product/10.2.0/crs_1/bin/vipca
/u01/app/oracle/product/10.2.0/crs_1/jdk/jre//bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory


unset LD_ASSUME_KERNEL by adding one line, around line 168 should look like this:
# vi /u01/app/oracle/product/10.2.0/crs_1/bin/vipca

LD_ASSUME_KERNEL=2.4.19
export LD_ASSUME_KERNEL

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)
Remember to re-edit these files on all nodes:
/bin/vipca
/bin/srvctl
/bin/srvctl
/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).

==============================================================

再次执行vipca,报如下错误

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

使用oifcfg配置网络
/bin # ./oifcfg setif -global eth0/192.168.56.0:public
/bin # ./oifcfg setif -global eth1/10.10.10.0:cluster_interconnect
/bin # ./oifcfg getif
eth0 192.168.56.0 global public
eth1 10.10.10.0 global cluster_interconnect

==============================================================

定义rawdevice设备
 
vi /etc/udev/rules.d/60-raw.rules
 
   ACTION=="add", KERNEL=="sdb1", RUN+="/bin/raw /dev/raw/raw1 %N"
   ACTION=="add", KERNEL=="sdb2", RUN+="/bin/raw /dev/raw/raw2 %N"
   ACTION=="add", KERNEL=="sdc1", RUN+="/bin/raw /dev/raw/raw3 %N"
   ACTION=="add", KERNEL=="sdd1", RUN+="/bin/raw /dev/raw/raw4 %N"
   ACTION=="add", KERNEL=="sde1", RUN+="/bin/raw /dev/raw/raw5 %N"
   KERNEL=="raw1",OWNER="root",GROUP="oinstall",MODE="640"
   KERNEL=="raw2",OWNER="oracle",GROUP="oinstall",MODE="644"
   KERNEL=="raw[3-5]",OWNER="oracle",GROUP="dba",MODE="644"
 
其中raw1 ,raw2为ocr,votedisk,要注意用户和权限设置,否则不能启动crs
 
 
创建ASM时不能找到共享裸设备
 
把search device path置为空


==============================================================

public网卡的gateway

public网卡必须配置gateway,gateway IP 必须可以ping通,否则在CRS启动后,vip资源会因为无法ping通gateway ip而反复在两个节点间漂移。

测试时没有将vmware虚拟网卡上的防火墙禁用掉,导致虚拟机无法ping通其gateway(vmware的虚拟网卡),导致vip总是漂移,困扰了我很久。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/149154/viewspace-675737/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: 没有了~
下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2010-10-12

  • 博文量
    1
  • 访问量
    4289