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))
)