Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to configure Oracle listener whitelist

2025-04-12 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article mainly introduces "how to configure the whitelist of Oracle listeners". In the daily operation, I believe many people have doubts about how to configure the whitelist of Oracle listeners. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts of "how to configure the whitelist of Oracle listeners". Next, please follow the editor to study!

1. Single instance environment:

2. RAC environment:

1. Single instance environment:

# 1.1 add whitelist IP

Modify $ORACLE_HOME/network/admin/sqlnet.ora. If there is no sqlnet.ora file, edit it from the preparation template under $ORACLE_HOME/network/admin/samples.

# add the following:

TCP.VALIDNODE_CHECKING=yes

TCP.INVITED_NODES= (ip1,ip2,ip3)

# 1.2 restart the service

Method 1: lsnrctl stop; lsnrctl start

Method 2: lsnrctl reload

# check the registration of oracle service

Lsnrctl status [listener]

2. RAC environment:

# 2.1 add whitelist IP

Modify the "$GRID_HOME/network/admin/sqlnet.ora" file, all nodes need to be modified. If there is no sqlnet.ora file, edit it from the template under $GRID_HOME/network/admin/samples

# 2.2 restart the service

Method 1:

# restart each node listener, restart one node first, and then start other nodes after verification

Srvctl [stop | start] listener-n [node01 | node02]

# restart scan

Srvctl stop scan_listener; srvctl start scan_listener

Method 2:

# restart each node listener, restart one node first, and then start other nodes after verification

Lsnrctl stop; lsnrctl start

# it's important to restart the scan listener.

Lsnrctl stop listener_scan1

Lsnrctl start listener_scan1

# check the registration of oracle service

Lsnrctl status [listener | listener_scan1]

Note: listener is the local default listener name for each node.

Listener_scan1 listens for scan-can be found through crsctl stat res-t view

At this point, the study on "how to configure the whitelist of Oracle listeners" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report