To Change the SCAN IP address it must be available and need to changes on the DNS by the network admin. So we have SCAN IP address available.
Steps:
1. To check the current status SCN IP address on DNS
$nslookup <scan-name> $nslookup testrac-scan.abc.com Server: 160.34.11.20 Address: 160.34.11.21#40 Name: testrac-scan.abc.com Address: 160.34.11.88 Name: testrac-scan.abc.com Address: 160.34.11.89 Name: testrac-scan.abc.com Address: 160.34.11.90
2. Check the current status SCAN-VIP in the resource file
# $GRID_HOME/bin/srvctl config scan SCAN name: testrac-scan, Network: 1/10.101.10.0/255.255.255.0/eth4 SCAN VIP name: scan1, IP: /testrac-scan.abc.com/160.34.11.88 SCAN VIP name: scan2, IP: /testrac-scan.abc.com/160.34.11.89 SCAN VIP name: scan3, IP: /testrac-scan.abc.com/160.34.11.90
3. Request network admin to update NEW SCAN IP address in the DNS server.
Example:
Old SCAN IP:
160.34.11.88
160.34.11.89
160.34.11.90
new SCAN IP:
170.35.12.60
170.35.12.61
170.35.12.62
$nslookup testrac-scan.abc.com Server: 170.35.12.20 Address: 170.35.12.21#40 Name: testrac-scan.abc.com Address: 170.35.12.60 Name: testrac-scan.abc.com Address: 170.35.12.61 Name: testrac-scan.abc.com Address: 170.35.12.62
4.CRS to update the SCAN VIP resources:
Note: current SCAN-VIP resource should be stopped before modifying the CRS resoruce file.
# $GRID_HOME/bin/srvctl stop scan_listener # $GRID_HOME/bin/srvctl stop scan # $GRID_HOME/bin/srvctl status scan SCAN VIP scan1 is enabled SCAN VIP scan1 is not running SCAN VIP scan2 is enabled SCAN VIP scan2 is not running SCAN VIP scan3 is enabled SCAN VIP scan3 is not running
# $GRID_HOME/bin/srvctl status scan_listener SCAN Listener LISTENER_SCAN1 is enabled SCAN listener LISTENER_SCAN1 is not running SCAN Listener LISTENER_SCAN2 is enabled SCAN listener LISTENER_SCAN2 is not running SCAN Listener LISTENER_SCAN3 is enabled SCAN listener LISTENER_SCAN3 is not running
# $GRID_HOME/bin/srvctl modify scan -n testrac-scan.abc.com # $GRID_HOME/bin/srvctl modify scan_listener -u
5. To verify that the change was successful
# $GRID_HOME/bin/srvctl config scan SCAN name: sales-scan, Network: 1/1/10.101.10.0/255.255.255.0/eth4 SCAN VIP name: scan1, IP: /testrac-scan.abc.com/170.35.12.60 SCAN VIP name: scan2, IP: /testrac-scan.abc.com/170.35.12.61 SCAN VIP name: scan3, IP: /testrac-scan.abc.com/170.35.12.62
6. Start SCAN and the SCAN listener
# $GRID_HOME/bin/srvctl start scan # $GRID_HOME/bin/srvctl start scan_listener
Source: Click Here
As per my knowledge the above procedure will start only one scan listener
scan listener will start all nodes
as per your blog only one scan listener will start
because you just modified scan not scan listener
Thanks Raj
It’s Updated
Hello Skant,
Thanks for the good article.
In the article you have changed the IP of DNS Server as well, so this doesn’t need to change the IP in /etc/resolv.conf as well
Thanks