Oracle RAC 19c: Change VIPs adresses

This tutorial explains how to change the Node VIP (Virtual IP) addresses in an Oracle RAC 19c cluster running Oracle Grid Infrastructure 19c.

Applies to:

  • Oracle RAC 19c
  • Oracle Grid Infrastructure 19c
  • Linux
  • Static VIP configuration (non-DHCP)

Note: This procedure changes Node VIPs only. It does not modify:

  • Public IPs
  • Private Interconnect
  • SCAN VIPs
  • Hostnames

Example Environment

NodeHostnameCurrent VIPNew VIP
Node1rac19c-node01192.168.10.101192.168.20.101
Node2rac19c-node02192.168.10.102192.168.20.102

Note:

  • Subnet mask: 255.255.255.0
  • Public interface: pubnet

Step 1: Check Current VIP Configuration

[grid@rac19c-node01 ~]$ srvctl config vip -node rac19c-node01
VIP exists: network number 1, hosting node rac19c-node01
VIP Name: rac19c-node01-vip.wadhahdaouehi.tn
VIP IPv4 Address: 192.168.10.101
VIP IPv6 Address:
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
[grid@rac19c-node01 ~]$ srvctl config vip -node rac19c-node02
VIP exists: network number 1, hosting node rac19c-node02
VIP Name: rac19c-node02-vip.wadhahdaouehi.tn
VIP IPv4 Address: 192.168.10.102
VIP IPv6 Address:
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
[grid@rac19c-node01 ~]$ olsnodes -n
rac19c-node01 1
rac19c-node01 2

Step 2: Modify the VIP Address


[root@rac19c-node01 ~]# srvctl modify nodeapps -n rac19c-node01 -A 192.168.20.101/255.255.255.0/pubnet
[root@rac19c-node01 ~]#
[root@rac19c-node01 ~]# srvctl modify nodeapps -n grac19c-node02 -A 192.168.20.102/255.255.255.0/pubnet

Step 3: Verify la modification:

[root@rac19c-node01 ~]# srvctl config vip -n rac19c-node01
VIP exists: network number 1, hosting node rac19c-node01
VIP Name: rac19c-node01-vip.wadhahdaouehi.tn
VIP IPv4 Address: 192.168.20.101
VIP IPv6 Address:
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
[root@rac19c-node01 ~]#
[root@rac19c-node01 ~]#
[root@rac19c-node01 ~]# srvctl config vip -n rac19c-node02
VIP exists: network number 1, hosting node rac19c-node02
VIP Name: rac19c-node02-vip.wadhahdaouehi.tn
VIP IPv4 Address: 192.168.20.102
VIP IPv6 Address:
VIP is enabled.
VIP is individually enabled on nodes:
VIP is individually disabled on nodes:
[root@rac19c-node01 ~]#
[root@rac19c-node01 ~]#

Important Notes

  • Ensure that the new VIP addresses are reserved and reachable on the target subnet before making the change.
  • This procedure changes only the Node VIPs.
  • Perform the operation during a maintenance window, as active client connections using the affected VIP may be interrupted while the VIP is stopped and restarted.
Bookmark the permalink.
Loading Facebook Comments ...

Leave a Reply