在1台Server上 3个 db的listener配置
root@tharpdb1: /oracle/product/10.2.0/network/admin> cat listener.ora
# listener.ora Network Configuration File: /oracle/product/10.2.0/network/admin/listener.ora
# Generated by Oracle configuration tools.
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = thamr)
(ORACLE_HOME = /oracle/product/10.2.0)
(SID_NAME = thamr)
)
(SID_DESC =
(GLOBAL_DBNAME = thalr)
(ORACLE_HOME = /oracle/product/10.2.0)
(SID_NAME = thalr)
)
(SID_DESC =
(GLOBAL_DBNAME = thars)
(ORACLE_HOME = /oracle/product/10.2.0)
(SID_NAME = thars)
)
)
LISTENER =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = tharpdb1)(PORT = 1521))
)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/23490498/viewspace-677054/ ,如需转载,请注明出处,否则将追究法律责任。