AIX_6[1].1下RAC安装问题小结.docx_第1页
AIX_6[1].1下RAC安装问题小结.docx_第2页
AIX_6[1].1下RAC安装问题小结.docx_第3页
AIX_6[1].1下RAC安装问题小结.docx_第4页
AIX_6[1].1下RAC安装问题小结.docx_第5页
已阅读5页,还剩4页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

aix 6.1下rac安装问题小结aix 6.1, rac 分享到: 新浪微博 腾讯微博 qq空间 qq好友 更多 0 最近在aix 6.1上安装了一套rac,实施得不多,遇到不少问题,记录一下:os版本:host_nam_1:/#oslevel -s6100-04-02-1007ha版本:host_nam_1:/#lslpp -l cluster.*fileset levelstate description-path:/usr/lib/objreposcluster.adt.es.client.include5.5.0.0committedes client include filescluster.adt.es.client.samples.clinfo5.5.0.0committedes client clinfo samplescluster.adt.es.client.samples.clstat5.5.0.1committedes client clstat samples# rsh 报错#rsh host_nam_2 datershd: 0826-813permissionisdenied.相关文件配置:#cat .rhostshost_nam_1 roothost_nam_2 roothost_nam_1 oraclehost_nam_2 oracle#cat /etc/hosts.equivhost_nam_1 roothost_nam_2 roothost_nam_1 oraclehost_nam_2 oracle其中host_nam_1、host_nam_2是hostname。这里主要是/etc/hosts文件中,hostname不能当作别名,或者,”.rhosts”、”hosts.equiv”里不要配别名,应该是跟解析有关。原hosts配置:175.16.1.11 host_nam_1_boot1host_nam_1175.16.1.12 host_nam_2_boot1host_nam_2192.168.10.17 host_nam_1_boot2192.168.10.18 host_nam_2_boot2192.168.10.16 host_nam_2_vip192.168.10.15 host_nam_1_vip改为:175.16.1.11 host_nam_1_boot1175.16.1.12 host_nam_2_boot1192.168.10.17 host_nam_1host_nam_1_boot2192.168.10.18 host_nam_2host_nam_2_boot2192.168.10.16 host_nam_2_vip192.168.10.15 host_nam_1_vip# rootpre.sh报错这个安装前在文档中有到看到,作为注意事项记录一下:the oracle 10gr2 oui and configuration assistant programs do not recognize aix 6 v6.1 as a supported release.执行rootpre.sh时会报:configuring asynchronous i/o.asynchronous i/oisnotinstalledonthis system.you will needtoinstall it,andeither configure it yourselfusingsmit aioorrerun the oracle root installation procedure.configuring posix asynchronous i/o.posix asynchronous i/oisnotinstalledonthis system.you will needtoinstall it,andeither configure it yourselfusingsmit aioorrerun the oracle root installation procedure.解决方法:下载6718715补丁,执行里面的rootpre.sh参考文档:282036.1# vipca 报错vipca时,vip起不来,日志报错信息:interface en4 checked failed(host=host_nam_1)invalid parameters,orfailedtobring up vip(host=host_nam_1)原因:vip绑定的是小机集成的网卡logical host ethernet port (lp-hea)the entstat output for lhea is different from a regular adapter解决方法:修改racgvip脚本,找到$entstat -d $_if这行,修改为:$entstat-d $_if|$grep-ieq.*lan.*state.*:.*operational.*|.*link.*status.*:.*up.*|.*port.*operational.*state.*:.*up.*|.*driver.*flags.*:.*up.*参考文档:959746.1# ons 起不来日志报错信息:failedtoget ipforlocalhost(0)failedtoget ipforlocalhost(0)failedtoget ipforlocalhost(0)onsctl: ons failedtostart解决方法:原hosts文件中找不到localhost:127.0.0.1 loopback改为:127.0.0.1 loopback localhost# crs 升级10.2.0.4报错升级完成后执行root102.sh,报:# ./root102.sherror : pleasechangethe crs_oracle_user id oracletohave the following os capabilities :解决方法:#chuser capabilities=cap_bypass_rac_vmm,cap_propagate,cap_numa_attach oracle#lsuser -f oracle | grep capabilitiescapabilities=cap_bypass_rac_vmm,cap_propagate,cap_numa_attach这个报错之前遇到过,升级的文档中,也有提到。# crs 升级10.2.0.4后,vip起不来这次的有点难搞,日志中没有太多的信息,只有一行:invalid parameters,orfailedtobring up vip(host=host_nam_1)后来使用crsctl对vip进行debug,收集更多的信息:#crsctl debug log res ora.host_nam_2.vip:5setresource debug module: ora.host_nam_2.viplevel:5#srvctl start nodeapps -n host_nam_2crs-0233: resourceorrelatives are currently involvedwithanother operation.host_nam_2ra.host_nam_2.vip:thu mar2513:57:25gmt+08:002010360824checking interface existancehost_nam_2ra.host_nam_2.vip:thu mar2513:57:25gmt+08:002010360824calling getifbyiphost_nam_2ra.host_nam_2.vip:thu mar2513:57:25gmt+08:002010360824getifbyip:startedfor192.168.10.16host_nam_2:ora.host_nam_2.vip:thu mar2513:57:26gmt+08:002010360824getifbyip: checkingiffailoverishappening()host_nam_2:ora.host_nam_2.vip:thu mar2513:57:26gmt+08:002010360824getifbyip: failoverisnothappening()host_nam_2:ora.host_nam_2.vip:thu mar2513:57:26gmt+08:002010360824completed getifbyiphost_nam_2:ora.host_nam_2.vip:thu mar2513:57:26gmt+08:002010360824ping_vip 192.168.10.16 startedhost_nam_2:ora.host_nam_2.vip:thu mar2513:57:26gmt+08:002010360824abouttoexecute :/usr/sbin/ping-c1-w1192.168.10.16host_nam_2:ora.host_nam_2.vip:thu mar2513:57:27gmt+08:002010360824ping_vip: 192.168.10.16isnotpingable,_count=1host_nam_2:ora.host_nam_2.vip:thu mar2513:57:27gmt+08:002010360824completedwithinitial interface testhost_nam_2:ora.host_nam_2.vip:thu mar2513:57:27gmt+08:002010360824broadcast=192.168.10.255host_nam_2:ora.host_nam_2.vip:thu mar2513:57:27gmt+08:002010360824interface testshost_nam_2:ora.host_nam_2.vip:thu mar2513:57:27gmt+08:002010360824checkif: startforif=en4host_nam_2:ora.host_nam_2.vip:thu mar2513:57:27gmt+08:002010360824isifalive: startforif=en4host_nam_2:ora.host_nam_2.vip:thu mar2513:57:27gmt+08:002010360824defaultgw:startedhost_nam_2:ora.host_nam_2.vip:thu mar2513:57:27gmt+08:002010360824defaultgw:completedwith192.168.10.254host_nam_2:ora.host_nam_2.vip:thu mar2513:57:27gmt+08:002010360824abouttoexecute command:/usr/sbin/ping-s 192.168.10.18-c1-w1192.168.10.254host_nam_2:ora.host_nam_2.vip:thu mar2513:57:28gmt+08:002010360824abouttoexecute command:/usr/sbin/ping-s 192.168.10.18-c1-w1192.168.10.254host_nam_2:ora.host_nam_2.vip:thu mar2513:57:29gmt+08:002010360824isifalive: rx packets checkedif=en4 failedhost_nam_2:ora.host_nam_2.vip:thu mar2513:57:29gmt+08:002010360824interface en4 checked failed(host=host_nam_2)host_nam_2:ora.host_nam_2.vip:thu mar2513:57:29gmt+08:002010360824isifalive: endforif=en4host_nam_2:ora.host_nam_2.vip:thu mar2513:57:29gmt+08:002010360824checkif: endforif=en4host_nam_2:ora.host_nam_2.vip:invalid parameters,orfailedtobring up vip(host=host_nam_2)host_nam_2:ora.host_nam_2.vip:thu mar2513:57:30gmt+08:002010307376checking interface existancehost_nam_2:ora.host_nam_2.vip:thu mar2513:57:30gmt+08:002010307376calling getifbyiphost_nam_2:ora.host_nam_2.vip:thu mar2513:57:30gmt+08:002010307376getifbyip:startedfor192.168.10.16host_nam_2:ora.host_nam_2.vip:thu mar2513:57:30gmt+08:002010307376getifbyip: checkingiffailoverishappening()host_nam_2:ora.host_nam_2.vip:thu mar2513:57:30gmt+08:002010307376getifbyip: failoverisnothappening()host_nam_2:ora.host_nam_2.vip:thu mar2513:57:30gmt+08:002010307376completed getifbyiphost_nam_2:ora.host_nam_2.vip:thu mar2513:57:30gmt+08:002010307376ping_vip 192.168.10.16 startedhost_nam_2:ora.host_nam_2.vip:thu mar2513:57:30gmt+08:002010307376abouttoexecute :/usr/sbin/ping-c1-w1192.168.10.16host_nam_2:ora.host_nam_2.vip:thu mar2513:57:31gmt+08:002010307376ping_vip: 192.168.10.16isnotpingable,_count=1host_nam_2:ora.host_nam_2.vip:thu mar2513:57:31gmt+08:002010307376completedwithinitial interface testhost_nam_2:ora.host_nam_2.vip:thu mar2513:57:31gmt+08:002010307376broadcast=192.168.10.255crs-1006: no more memberstoconsidercrs-0215: couldnotstart resourceora.host_nam_2.vip.crs-0210: couldnotfind resource ora.host_nam_2.listener_host_nam_2.lsnr.这才搜索到了相关信息:bug8413088: vip cannot startonaix6.1because netstat has a newcolumn.bug9157855: during restartorwhen one of the two node clusterisdown,vip resource fails这个问题,在打完crs psu后,也同样有可能存在,可以通过修改racvip脚本来解决:10.2.0.4:_o1=$netstat -n -i $_if | $awk if (/$_if/) print$5; exit_o2=$netstat -n -i $_if | $awk if (/$_if/) print$5; exit打完psu后:_o1=$netstat -n -i $_if -p tcp | $grep -ie .*packets received$ | $awk print$1; exit_o2=$netstat -n -i $_if -p tcp | $grep -ie .*packets received$ | $awk print$1; exit最终改为:_o1=$netstat -n -i $_if -p ip | $grep -ie .*packets received$ | $awk print$1; exit_o2=$netstat -n -i $_if -p ip | $grep -ie .*packets received$ | $awk print$1; exit这个问题很杯具,花了很多时间,安装前,阅读相关文档时,我就注意到了这个bug,两次vip起不来,我都拿去对比,看看是不是这个bug。结果还是没发现,一直到debug出来。# rdbms升10204时,报java进程没停oracle universal installer has detected thatthere are processes runninginthecurrently selected oracle home.thefollowing processes needtobe shutdownbefore continuing:java刚开始时,还有crs的进程,停掉crs后,还有一个java始终过不去,用fuser查使用$oracle_home目录进程,全kill,把ps -ef | grep java 出来的进程,除了安装的进程外都杀了,还是不行。最后在metalink上找到了解决方法,升级前:cd/usr/sbin/mv fuser fuser.origtouch/usr/sbin/fuserchmod+x/usr/sbin/fuser升级完成后,再改回来:cd/usr/sbin/cp fuser.orig fuser这招很阴啊。参考文档:975597.1# 数据库打完psu补丁后,启crs报错在crs、database都升级、打补丁完成后,启crs、vip等资源时,报错:host_nam_1:/#crsctl start crsexec(): 0509-036 cannotloadprogram/app/oracle/product/10204/db_1/bin/crsctl.bin because of the following errors:0509-150dependent module libhasgen10.a(shr_hasgen10.o)couldnotbe loaded.0509-022 cannotloadmodule libhasgen10.a(shr_hasgen10.o).0509-026 system error: a fileordirectoryinth

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论