4.修改对应VIP
先确定一下当前VIP 在哪个网卡
srvctl config nodeapps -a
修改新VIP到新的网卡
srvctl modify nodeapps -n <nodename>1 -A <nodename>1-nvip/255.255.255.0/<if_name>
for example:
su - root
/u01/app/19.3.0/grid/bin/srvctl modify nodeapps -n easdb1 -A 192.168.2.36/255.255.255.0/ens4f0
/u01/app/19.3.0/grid/bin/srvctl modify nodeapps -n easdb2 -A 192.168.2.37/255.255.255.0/ens4f0
确认修改:
srvctl config nodeapps -a
[grid@easdb1 ~]$ srvctl config nodeapps -a
Network 1 exists
Subnet IPv4: 192.168.2.0/255.255.255.0/ens4f0, static
Subnet IPv6:
Ping Targets:
Network is enabled
Network is individually enabled on nodes:
Network is individually disabled on nodes:
VIP exists: network number 1, hosting node easdb1
VIP Name: easdb1-vip
VIP IPv4 Address: 192.168.2.26
VIP IPv6 Address:
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
VIP exists: network number 1, hosting node easdb2
VIP Name: easdb2-vip
VIP IPv4 Address: 192.168.2.27
VIP IPv6 Address:
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes: