Oracle 19c RAC INS40724,多网卡绑定惹的祸

2024年 4月 15日 46.5k 0

问题现象:

Oracle 19C RAC安装grid,安装进度到Grid Plug and Play时,输入Cluster Name,SCAN Name等,Next报错如下:

    [INS-40724] No locally defined network interface matches the SCAN subnet.

    详细信息:

      Cause - None of the locally defined network interfaces has a subnet matching the SCAN subnet.
      Action - Define a public interface with a subnet matching the one you want to use for the SCAN.

      原因分析:

      INS-40724错误通常有以下几个原因导致的:

        1./etc/hosts或DNS配置有问题。
        2.私有网络和公共网络在同一网段。
        3.网络配置有问题。

        检查 etc/hosts和网段没有问题

        最终ifconfig -a检查发现两块公共网卡绑定bond后,broadcast地址不对,广播地址居然和ip地址一样。

          [grid@xxx- cjc -db01 crs]$ ifconfig -a


          bond0: flags=5187 mtu 1500
          inet 192.100.100.30 netmask 255.255.255.255 broadcast 192.100.100.30
          inet6 fe80::ef58:4b63:b400:4394 prefixlen 64 scopeid 0x20
          ether 80:68:33:6c:96:33 txqueuelen 1000 (Ethernet)
          RX packets 44801 bytes 10847804 (10.3 MiB)
          RX errors 0 dropped 0 overruns 0 frame 0
          TX packets 68949 bytes 71116587 (67.8 MiB)
          TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

          解决方案:

          重新进行公共网卡绑定,更改broadcast

          1.查看网卡信息

            nmcli connection show

            2.删除现有网卡绑定

            注意:

            (1) 删除时远程连接会中断,建议在机房本机操作,或通过带外连接进行操作。

              nmcli connection delete bond-bond0
              nmcli connection delete bond-slave-enp0s 1
              nmcli connection delete bond-slave-enp0s 2

              3.重新绑定

                nmcli connection add type bond ifname bond0 mode 1 ip4 192.100.100.30/24 ipv4.gateway 192.100.100.254
                nmcli connection add type bond-slave ifname enp0s 1 master bond0
                nmcli connection add type bond-slave ifname enp0s 2 master bond0

                4.查看网卡状态

                  nmcli connection show
                  cat /proc/net/bonding/bond0

                  5.ifconfig -a检查

                  广播地址已变成192.100.100.255

                  6.再次执行grid安装,可以正常next。

                  ###chenjuchao 20240412###

                  欢迎关注我的公众号《IT小Chen》

                  相关文章

                  Oracle如何使用授予和撤销权限的语法和示例
                  Awesome Project: 探索 MatrixOrigin 云原生分布式数据库
                  下载丨66页PDF,云和恩墨技术通讯(2024年7月刊)
                  社区版oceanbase安装
                  Oracle 导出CSV工具-sqluldr2
                  ETL数据集成丨快速将MySQL数据迁移至Doris数据库

                  发布评论