DBA Hub

📋Steps in this guide1/3

How to modify scan listener port in Oracle RAC DBACLASS

How to modify scan listener port in Oracle RAC . Below are the easy steps for modifying the scan listener port.

oracle clusteringintermediate
by OracleDba
15 views
1

Overview

If you wish to change the scan listener port post installation, then follow below steps. Here we will change the port from 1522 to 1523. 1. Check the scan listener configuration 2. Modify the port using srvctl

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1522
Registration invited nodes:
Registration invited subnets:
SCAN Listener is enabled.
SCAN Listener is individually enabled on nodes:
SCAN Listener is individually disabled on nodes:
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1522
Registration invited nodes:
Registration invited subnets:
SCAN Listener is enabled.
SCAN Listener is individually enabled on nodes:
SCAN Listener is individually disabled on nodes:
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1522
Registration invited nodes:
Registration invited subnets:
SCAN Listener is enabled.
SCAN Listener is individually enabled on nodes:
SCAN Listener is individually disabled on nodes:

srvctl modify scan_listener -p 1523
2

Section 2

3. Restart the scan_listener 4. Check the configuration again:

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$GRID_HOME/bin/srvctl stop scan_listener
$GRID_HOME/bin/srvctl start scan_listener

$ srvctl config scan_listener
SCAN Listener LISTENER_SCAN1 exists. Port: TCP:1523
Registration invited nodes:
Registration invited subnets:
SCAN Listener is enabled.
SCAN Listener is individually enabled on nodes:
SCAN Listener is individually disabled on nodes:
SCAN Listener LISTENER_SCAN2 exists. Port: TCP:1523
Registration invited nodes:
Registration invited subnets:
SCAN Listener is enabled.
SCAN Listener is individually enabled on nodes:
SCAN Listener is individually disabled on nodes:
SCAN Listener LISTENER_SCAN3 exists. Port: TCP:1523
Registration invited nodes:
Registration invited subnets:
SCAN Listener is enabled.
SCAN Listener is individually enabled on nodes:
SCAN Listener is individually disabled on nodes:
3

Section 3

5. Change the remote_listener parameter in database:

Code/Command (click line numbers to comment):

1
2
3
4
5
NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
remote_listener                      string       localdb-scan.dba.com.sa:1522

Alter system set remote_listener='localdb-scan.dba.com.sa:1523' scope=both sid='*';

Comments (0)

Please to add comments

No comments yet. Be the first to comment!