RAC 11gR2: Change SCAN VIP subnet

First of all, check whether your DNS servers is resolving to the new IPs. This is usually done by a network administrator.

[oracle@rac2 ~]$ nslookup rac-scan
Server:        144.180.76.91
Address:    144.180.76.91#53

Name:    rac-scan.localdomain
Address: 144.180.76.121
Name:    rac-scan.localdomain
Address: 144.180.76.123
Name:    rac-scan.localdomain
Address: 144.180.76.122

Now from grid home check the current scan configuration.

[oracle@rac2 ~]$ srvctl config scan
SCAN name: rac-scan, Network: 1/144.180.76.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /192.168.1.121/192.168.1.121
SCAN VIP name: scan2, IP: /192.168.1.123/192.168.1.123
SCAN VIP name: scan3, IP: /192.168.1.122/192.168.1.122

As you can see the IPs are in a different subnet. To change it logon as root and modify the scan.

[root@rac2 ~]# /u01/app/11.2.0/grid/bin/srvctl modify scan -n rac-scan

Now, bring the SCAN back online…

[oracle@rac2 ~]$ srvctl start scan
[oracle@rac2 ~]$ srvctl start scan_listener

Confirm the IPs changed…

[oracle@rac2 ~]$ srvctl config scan
SCAN name: rac-scan, Network: 1/144.180.76.0/255.255.255.0/eth0
SCAN VIP name: scan1, IP: /rac-scan.localdomain/144.180.76.122
SCAN VIP name: scan2, IP: /rac-scan.localdomain/144.180.76.121
SCAN VIP name: scan3, IP: /rac-scan.localdomain/144.180.76.123

That’s it. For further information you can refer to Doc ID 952903.1.

Advertisements

About Bruno Carvalho

Coffee addicted tech guy.
This entry was posted in ORACLE Database and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s