在服务器端的连接中,Oracle NET通过remote_listener确定当前RAC中的远程监听和实例,以便分发连接。 RAC环境中的监听器可以分为本地监听器和SCAN监听器,分别对应LOCAL_LISTENER和REMOTE_LISTENER参数: LOCAL LISTENER:本地监听器只能监听到运行在本节点上的数据库。RAC的每个节点上都会有独立的本地监听器,它会监听该节点...
根据上面的信息我们可以看到,现在oracle动态注册到1521端口的监听器listener,而listener1是静态注册,监听器使用的端口是1530。接下来我们做出配置,让PMON进程动态注册到1530端口的监听器。 使用more命令,得到listener.ora文件里红色部分的内容 [oracle@ztj10 admin]$ more listener.ora # listener.ora Network Configuration...
SQL> alter system set LOCAL_LISTENER='(ADDRESS = (PROTOCOL = TCP)(HOST = xxx.xxx.xxx.xxx)(PORT = 1522))'; 1.1.3 静态注册 静态注册就是实例启动时读取listener.ora文件的配置,将实例和服务注册到监听程序。 静态注册时,listener.ora中的GLOBAL_DBNAME向外提供服务名,listener.ora中的SID_NAME提供注册...
Hi all, I would like toverifyif it is correct. In the local_listener of the two nodes RAC database (no rac one node), is better that it contains the node vip instead off node ip to improve the timetoreconnectsessions. Now: SQL> show parameter listener NAME TYPE VALUE --- --- --...
在Oracle数据库中,local_listener参数用于指定数据库实例应连接的本地监听器地址。以下是按照你的提示,逐步说明如何修改local_listener参数的过程: 1. 确认当前Oracle数据库实例的状态 在修改任何数据库参数之前,建议确认数据库实例的状态。通常,我们希望在数据库处于空闲或维护窗口期间进行此类更改。 2. 使用SQL*Plus或...
1.1LOCAL_LISTENER 官网信息如下: LOCAL_LISTENER specifies a network name that resolves to an address or address list of Oracle Net local listeners (that is, listeners that are running on the same machine as this instance).The address or address list is specified in the TNSNAMES.ORA fileor othe...
local_listener參数有两种书写格式,提供了不同的功能。 监听文件上,1521和1526port上都有动态监听port。 [oracle@dbsv admin]$ cat listener.ora LISTENER= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=tcp)(HOST=dbsv)(PORT=1521)) (ADDRESS=(PROTOCOL=ipc)(KEY=extproc))) SID...
记录一则LOCAL_LISTENER的问题 有网友反映,他在一套Oracle的测试环境中配置有两个监听,分别监听不同端口。 目前想把环境上的一套数据库同时注册到这两个监听,他将数据库参数local_listener和tnsname.ora文件配置如下: 然后抛出问题:tnsname.ora中的service_name可以随便填吗? 如果答案是不可以,那为什么他测试随意...
LOCAL_LISTENER specifies a network name that resolves to an address or address list of Oracle Net local listeners (that is, listeners that run on the same system as this instance).
二. LOCAL_LISTENER与动态注册 关于动态注册,参考我的Blog: Oracle Listener动态注册与 静态注册 http://www.cndba.cn/Dave/article/1177 动态注册是在instance启动的时候,PMON进程根据init.ora中的instance_name,service_names两个参数将实例和服务动态注册到listener中。