1
我有2个Oracle数据库服务器。如何在本地服务器上配置侦听器和TNS名称,以便本地服务器可以运行外部过程并访问远程过程?当服务器和客户机在同一个机器上时如何配置oracle监听器
到目前为止,我有以下非工作配置。它有什么问题?非常感谢。
****TNSNAMES.ORA****
local_instance =
(description =
(address_list =
(address = (protocol = tcp)(host = localhost)(port = 1521))
(address = (protocol = ipc)(key=extproc0))
)
(connect_data =
(service_name = local_instance)
)
)
remote_instance =
(description =
(address_list =
(address = (protocol = tcp)(host = xxx.xxx.xxx.xxx)(port = 1521))
)
(connect_data =
(service_name = remote_instance)
)
)
****LISTENER.ORA****
listener =
(description =
(address = (protocol = tcp)(host = localhost)(port = 1526))
)