Updating scan listener with new port number & make it to hear a new PORT Number on new RAC Cluster. Make sure SA checks new port number on the number & update ocr accordingly. Using srvctl to update scan port number. Don't forget to validate new port number after making necessary changes on server / database level
[oracle@tnc1 ~]$ srvctl modify scan_listener -p 1525
[oracle@tnc1 ~]$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1525
Registration invited nodes:
Registration invited subnets:
SCAN Listener is enabled.
[oracle@tnc1 ~]$ srvctl status scan
SCAN VIP scan1 is enabled
SCAN VIP scan1 is running on node tnc1
Before:
SQL> show parameter remote_listener
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_listener string tnc-scan.localdomain:1521
SQL> alter system set remote_listener='tnc-scan.localdomain:1525' scope=both sid='*';
System altered.
After:
SQL> show parameter remote
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_listener string tnc-scan.localdomain:1525
update client configuration files & tnsnames.ora with new port number 1525 and test existing connections accordingly
[oracle@tnc1 ~]$ sqlplus nspdba/oracle@cbn
SQL*Plus: Release 12.1.0.2.0 Production on Mon Feb 15 04:17:50 2016
Copyright (c) 1982, 2014, Oracle. All rights reserved.
Last Successful login time: Sat Feb 13 2016 14:20:05 -05:00
Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Advanced Analytics and Real Application Testing options
SQL> show con_name
CON_NAME
------------------------------
CBN
--Nikhil Tatineni--
--12c Oracle RAC--