oracle 11.2.0.4 make 报错,linux7安装oracle11.2.0.4RAC注意事项

2.Oracle 软件安装遇到agent nmhs of make file ins_emagent.mk

error in invoking target ‘agent nmhs‘ of make file ins_emagent.mk while installing Oracle 11.2.0.4 on Linux (文档 ID 2299494.1)

SYMPTOMS

When installing Oracle database 11.2.0.4 software on some Linux x86-64 releases, such as SUSE12SP1, SUSE12SP2 or RHEL7, the below error is reported during link stage:

SOLUTION

Edit $ORACLE_HOME/sysman/lib/ins_emagent.mk, search for the line

$(MK_EMAGENT_NMECTL)

Then replace the line with

$(MK_EMAGENT_NMECTL) -lnnz11    空格后,-字符l,nnz,数字11,实际操作发现只再一个节点存在

Then click “Retry” button to continue.

----*如下BUG oracle没有明确的MOS文档说明,可以参考了解即可。

Patch 19692824

During installation of Oracle Database or Oracle RAC on OL7, the following linking error may be encountered:

Error in invoking target ‘agent nmhs‘ of makefile ‘/sysman/lib/ins_emagent.mk‘. See ‘‘ for details.

If this error is encountered, the user should select  Continue . Then, after the installation has completed, the user must download Patch 19692824 from  My Oracle Support  and apply it per the instructions included in the patch README.

3.由于客户环境是公有云,遇到私有HAIP不通,导致安装GRID,第二个节点grid无法启动

CRS-5018:(:CLSN00037:) 节点2 安装GRID执行root.sh脚本失败,观察日志发现集群是ASM启动后报错,也就是说ASM实例无法启动成功。

由于ORACLE ASM启动之前是需要确保HAIP能够互通,因此本次将问题关注HAIP信息

参考

Known Issues: Grid Infrastructure Redundant Interconnect and ora.cluster_interconnect.haip (Doc ID 1640865.1)

Bug 11077756 - allow root script to continue upon HAIP failure

Issue: Startup failure of HAIP fails root script, fix of the bug will allow root script to continue so HAIP issue can be worked later.

Fixed in: 11.2.0.2 GI PSU6, 11.2.0.3 and above

Note: the consequence is that HAIP will be disabled. Once the cause is identified and solution is implemented, HAIP needs to be enabled when there‘s an outage window. To enable, as root on ALL nodes:

# $GRID_HOME/bin/crsctl modify res ora.cluster_interconnect.haip -attr "ENABLED=1" -init

# $GRID_HOME/bin/crsctl stop crs

# $GRID_HOME/bin/crsctl start crs

观察集群私网信息,HAIP再节点2是正常的

# ./crsctl stat res ora.cluster_interconnect.haip -init

NAME=ora.cluster_interconnect.haip

TYPE=ora.haip.type

TARGET=ONLINE

STATE=ONLINE on rac2

查询发现HAIP已经绑定在bond0上了,因此私网IP再节点1上,存在异常现象。

[root@rac2 bin]# netstat -rn

Destination Gateway Genmask Flags MSS Window irtt Iface

10.10.10.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1

10.118.7.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0

0.0.0.0 10.118.7.1 0.0.0.0 UG 0 0 0 eth0

原文链接:https://blog.csdn.net/evils798/article/details/27248263

操作,为私网配置网关,重启网络服务,重新安装(建议可以尝试上述链接,指定IP的网卡路由)

重新配置私网网关地址之后,重新安装RAC ,再次执行root.sh 报错,本次169.254 的Oracle haip地址使用的是eth1的私网网卡地址,但是发现

节点1无法ping通节点2的haip地址。

ASM on Non-First Node (Second or Others) Fails to Start: PMON (ospid: nnnn): terminating the instance due to error 481 (Doc ID 1383737.1)

并且,grid$sqlplus / as sysasm

SQL>startup 报错如上述,还是私网HAIP不通的问题。

Case5. HAIP is up on all nodes and route info is presented but HAIP is not pingable

Symptom:

HAIP is presented on both nodes and route information is also presented, but both nodes can not ping or traceroute against the other node HAIP.

······

Solution:

For Openstack Cloud implementation, engage system admin to create another neutron port to map link-local traffic. For other environment, engage SysAdmin/NetworkAdmin to review routing/network setup.

解决方案是让网络工程师调整,但是云厂商很难具体开通HAIP之间的连接。

本次选择禁用HAIP 服务,达到云环境安装目的。

禁用HAIP

参考链接

http://blog.itpub.net/23135684/viewspace-752721/

https://blog.csdn.net/ctypyb2002/article/details/90705436

https://blog.51cto.com/snowhill/2045748

root.sh 再节点2执行之后,集群报错之后

节点2 root执行如下修改命令,重启CRS后,再执行root.sh脚本

crsctl modify res ora.cluster_interconnect.haip-attr "ENABLED=0" -init

crsctl modify res ora.asm-attr

"START_DEPENDENCIES=‘hard(ora.cssd,ora.ctssd)pullup(ora.cssd,ora.ctssd)weak(ora.drivers.acfs)‘,

STOP_DEPENDENCIES=‘hard(intermediate:ora.cssd)‘" -init

随后节点1,root执行上述修改命令

随后,GRID安装可以顺利进行,并且ORACLE 集群软件也正常安装完毕。

DBCA建库遇到报错

crs 2672 crs 5017 报错,并且异常现象是DBCA建库,只有一个节点的DB能正常启动,另一个节点DB用于启动失败。

与Grid root.sh安装报错类型,后面发现当HAIP不通后,禁用后,还需要执行如下步骤。

ASM实例,及DB实例,都需要修改,本次节点使用私网IP地址

SQL> alter system set cluster_interconnects = ‘10.10.10.3‘ scope=spfile sid=‘+ASM1‘ ;

SQL> alter system set cluster_interconnects = ‘10.10.10.4‘ scope=spfile sid=‘+ASM2‘ ;

DB

SQL> alter system set cluster_interconnects = ‘10.10.10.3‘ scope=spfile sid=‘orcl1‘

SQL> alter system set cluster_interconnects = ‘10.10.10.4‘ scope=spfile sid=‘orcl2‘ ;

实际操作步骤是DBCA建库后,一个DBOK之后,修改DB,ASM参数后,重启集群,DB后,第二个节点的实例也能正常启动了。本次安装成功。

建议:禁用HAIP后,GRID集群安装成功之后,修改ASM参数,后续DBCA不知道是否能避免这个问题。

linux7安装oracle11.2.0.4RAC注意事项

标签:report   error   工程师   ice   replace   sysman   ensure   button   handle

本条技术文章来源于互联网,如果无意侵犯您的权益请点击此处反馈版权投诉 本文系统来源:https://www.cnblogs.com/lvcha001/p/12155042.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值