Oracle RAC私网网卡冗余

第一步:添加网卡(网络部门实施)

第二步:给新网卡配置ip地址(如果网络部门没有配置,要自己动手配置)

第三步:查看心跳网络配置

--1

su - grid

oifcfg getif

enp0s3 192.168.1.0 global public

enp0s8 10.10.1.0 global cluster_interconnect,asm

--2

添加新的私有网络

oifcfg setif -global enp0s9/10.10.10.0:cluster_interconnect

oifcfg getif

enp0s3 192.168.1.0 global public

enp0s8 10.10.10.0 global cluster_interconnect,asm

enp0s9 10.10.1.0 global cluster_interconnect

--3

查看新增网卡有没有被HAIP接管

ifconfig -a

如果没有被接管需要重启has

crsctl stop has

crsctl start has

--4

查看心跳的状态,看到169段的网址表示配置成功

ifconfig -a

enp0s9: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

inet 10.10.1.76 netmask 255.255.255.0 broadcast 10.10.10.255

inet6 fe80::aa57:333c:c39b:f57 prefixlen 64 scopeid 0x20

ether 08:00:27:21:43:83 txqueuelen 1000 (Ethernet)

RX packets 55070 bytes 62291254 (59.4 MiB)

RX errors 0 dropped 0 overruns 0 frame 0

TX packets 25825 bytes 20797845 (19.8 MiB)

TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp0s9:1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500

inet 169.254.18.77 netmask 255.255.224.0 broadcast 169.254.31.255

ether 08:00:27:21:43:83 txqueuelen 1000 (Ethernet)