If we want to change the port of the scan listener we can do it through the below-mentioned steps. We will change it from default 1521 to 1531.
Index
Checking present configuration
$ srvctl config scan_listener
SCAN Listeners for network 1:
Registration invited nodes:
Registration invited subnets:
Endpoints: TCP:1521
SCAN Listener LISTENER_SCAN1 exists
SCAN Listener is enabled.
SCAN Listener LISTENER_SCAN2 exists
SCAN Listener is enabled.
SCAN Listener LISTENER_SCAN3 exists
SCAN Listener is enabled.
Modify the scan listener port no
$ srvctl modify scan_listener -p 1531
Note:- To take effect of the same we need to restart the scan listener with the below command.
$ srvctl stop scan_listener
$ srvctl start scan_listener
Crosscheck modified scan listener port no
$ srvctl config scan_listener
SCAN Listeners for network 1:
Registration invited nodes:
Registration invited subnets:
Endpoints: TCP:1531
SCAN Listener LISTENER_SCAN1 exists
SCAN Listener is enabled.
SCAN Listener LISTENER_SCAN2 exists
SCAN Listener is enabled.
SCAN Listener LISTENER_SCAN3 exists
SCAN Listener is enabled.
The above article has provided you with enough information about how to change the scan listener port number. Hope this will be helpful for you.
Views: 248