How To Modify Scan and SCAN Listener
How To Modify Scan and SCAN Listener
Applies to:
Oracle Server - Enterprise Edition - Version 11.2.0.1 and later
Information in this document applies to any platform.
Goal
This note provides steps to update 11gR2 Grid Infrastructure (CRS) Single Client Access Name
(SCAN) setting or SCAN listener port setting if it's not setup properly or if it's changed after
setup.
Note:
Fix
SCAN IP must be in same subnet as public and VIP. If the new SCAN IP will be in different
subnet, refer to note 276434.1 to change nodeapps/network resource first.
1a. If you intend to use /etc/hosts for SCAN name resolution, the same and only entry for SCAN
name must exist on all nodes.
1b. If you intend to use DNS for SCAN name resolution, remove entries for SCAN name from
/etc/hosts on all nodes, and make sure nslookup returns good result on all nodes, for example:
$ nslookup pay-scan.us.oracle.com
..
Name: pay-scan.us.oracle.com
Address: 10.4.0.201
Name: pay-scan.us.oracle.com
Address: 10.4.0.202
Name: pay-scan.us.oracle.com
Address: 10.4.0.203
If name resolution for SCAN is being switched from local hosts file to DNS, be sure to remove
SCAN name in local hosts file on all nodes prior to execute below commands.
### For 11.2.0.1 only, if you intend to change SCAN name, due to bug 9603829, execute the
following:
### Example:
# $GRID_HOME/bin/crsctl modify type ora.scan_vip.type -attr
"ATTRIBUTE=SCAN_NAME,DEFAULT_VALUE=pay-scan.us.oracle.com"
Once SCAN name is changed, update database init.ora/spfile parameter remote_listener to the
new one.
There's no option to modify SCAN to use non-first network, to change to second or other
network, scan_listener and scan resources need to be removed and added back.
As grid user: