Oracle RAC 12C,18C,19C for Linux私网多网卡的rp_filter参数设置问题

在安装Oracle RAC 12C/18C/19C for Linux过程中,如果私网包含多个网口使用HAIP来实现私网网络冗余时,需要更改/etc/sysctl.conf文件,将所有私网网口的rp_filter参数更改为2(以下以eth2和eth3为私网网口为例),

net.ipv4.conf.eth2.rp_filter = 2
net.ipv4.conf.eth3.rp_filter = 2

详细说明可以参考官方安装文档: 关于多个私网网口参数设置的内容。

不过注意,虽然文档说也可以将参数设置为0,但经过验证只有设置为2后RAC才能正常通信。

参数rp_filter的默认值为1,如果没有更改,那么在安装RAC后,第2个节点在启动时将会无法正常与第1个节点通信,导致crs服务无法启动,ASM实例也不能正常运行。查看第2个节点的ASM实例的日志文件,有如下错误出现:

2021-11-01T23:31:50.778514+08:00
No connectivity to other instances in the cluster during startup. Hence, LMON is terminating the instance. Please check the LMON trace file for details. Also, please check the network logs of this instance along with clusterwide network health for problems and then re-start this instance.
LMON (ospid: ): terminating the instance due to ORA error
Cause - 'Instance is being terminated by LMON'
2021-11-01T23:31:51.033510+08:00
System state dump requested by (instance=1, osid=16413 (LMON)), summary=[abnormal instance termination]. error - 'Instance is terminating.
'
System State dumped to trace file /u01/app/grid/diag/asm/+asm/+ASM1/trace/+ASM1_diag_16403.trc
2021-11-01T23:31:51.522884+08:00
Dumping diagnostic data in directory=[cdmp_20211101233151], requested by (instance=1, osid=16413 (LMON)), summary=[abnormal instance termination].
2021-11-01T23:31:52.695731+08:00
Instance terminated by LMON, pid = 16413

问题的分析过程可以参考链接:老司机遇到的ORACLE 12C安装问题-技术人生系列第二十五期-我和数据中心的故事。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值