Rename SCAN
In this post, we will see how we can change a scan name in Oracle 19c RAC. The same process applies for Oracle 12c and 18c RAC as well.
Please click on the INDEX and browse for more interesting posts.
For more posts regarding Oracle 19c RAC, please click on the links below
Installation of ORACLE 19c RAC Servers using Virtual Box
Installation of 19c Grid and RAC database using Virtual Box
Steps to fix a corrupted SPFile in ASM with 2 node RAC
19c Grid Patch from 19.3 to 19.5
Original name : crsprod-scan
New Name : infra-scan
1. Display the current configuration using the following command as the oracle/grid user.
$ export GRID_HOME=/u01/app/19c/grid $ $GRID_HOME/bin/srvctl config scan SCAN name: crsprod-scan, Network: 1 Subnet Ipv4 : 172.168.0.0/255.255.0.0/enp0s3, static Subnet Ipv6 : SCAN 1 Ipv4 VIP : 172.168.190.10 SCAN VIP is enabled SCAN 2 Ipv4 VIP : 172.168.190.20 SCAN VIP is enabled SCAN 3 Ipv4 VIP : 172.168.190.30 SCAN VIP is enabled
2. Turn off the SCAN and SCAN listeners using the following commands as the oracle/grid user.
$ export GRID_HOME=/u01/app/19c/grid $ $GRID_HOME/bin/srvctl stop scan_listener $ $GRID_HOME/bin/srvctl stop scan
3. Check the new name is configured in the DNS. You need to reach out to your DNS Team to change the DNS entries and repoint the IPs of crsprod-scan to infra-scan.
$ nslookup infra-scan Server: 172.168.190.1 Address: 172.168.190.1#53 Name: infra-scan.infraxpertzz.com Address: 172.168.190.10 Name: infra-scan. infraxpertzz.com Address: 172.168.190.20 Name: infra-scan.infraxpertzz.com Address: 172.168.190.30
4. Modify the SCAN name using the following commands as the root user.
$ export GRID_HOME=/u01/app/19c/grid $ $GRID_HOME/bin/srvctl modify scan -n infra-scan
5. Turn on the SCAN and SCAN listeners again using the following commands as the oracle/grid user.
$ $GRID_HOME/bin/srvctl modify scan_listener -u $ $GRID_HOME/bin/srvctl start scan_listener
6. Display the changed configuration.
$ export GRID_HOME=/u01/app/19c/grid $ $GRID_HOME/bin/srvctl config scan SCAN name: infra-scan, Network: 1 Subnet Ipv4 : 172.168.0.0/255.255.0.0/enp0s3, static Subnet Ipv6 : SCAN 1 Ipv4 VIP : 172.168.190.10 SCAN VIP is enabled SCAN 2 Ipv4 VIP : 172.168.190.20 SCAN VIP is enabled SCAN 3 Ipv4 VIP : 172.168.190.30 SCAN VIP is enabled