Oracle 参数 REMOTE_LISTENER 官方解释,作用,如何配置最优化建议
本站中文解释
REMOTE_LISTENER(远程侦听器):指定高可用的配置参数,通过网络心跳,发现实例的存活状态,当发现一个实例宕机以后,能自动转移到另外一台数据库节点运行,实现实例高可用,该参数指定远程侦听器使用TCP/IP协议及使用的端口号,形如:
(ADDRESS = (PROTOCOL = TCP)(HOST = 要连接的远程主机IP)(PORT = 1521))
REMOTE_LISTENER设置步骤:
1.首先需在被使用的主机修改LISTENER文件,加入描述该实例的SID等信息,确保远程的侦听器正常工作;
2.然后需要确定主机的IP地址,用于指定远程侦听器,可使用“ipconfig”命令查看;
3.以SYS用户进入本地实例,查看REMOTE_LISTENER参数状态,可使用“show parameter Remote_listener”语句查看;
4.如果REMOTE_LISTENER参数已指定,可使用“alter system reset REMOTE_LISTENER”语句重置该参数;
5.使用“alter system set REMOTE_LISTENER =”(ADDRESS=(PROTOCOL=TCP)(HOST=远程主机IP)(PORT=1521))” 设置远程侦听器;
6.最后重启实例使新的参数生效,可使用“shutdown immediate”和“startup”命令实现实例的重启;
官方英文解释
REMOTE_LISTENER
specifies a network name that resolves to an address or address list of Oracle Net remote listeners (that is, listeners that are not running on the same system as this instance). The address or address list is specified in the TNSNAMES.ORA
file or other address repository as configured for your system.
Property | Description |
---|---|
Parameter type |
String |
Syntax |
|
Default value |
There is no default value. |
Modifiable |
|
Modifiable in a PDB |
Yes |
Basic |
Yes |
See Also:
-
Oracle Database
Concepts for more information about listener processes and dispatcher processes -
Oracle Database Net
Services Administrator’s Guide and your operating system-specific Oracle documentation for more information about specifying network addresses for the protocols on your system -
Oracle Clusterware
Administration and Deployment Guide for information about SCAN addresses