时间:2021-07-01 10:21:17 帮助过:13人阅读
[oracle@master admin]$ cat tnsnames.ora
# tnsnames.ora Network Configuration File: /oracle/oracle/11g/network/admin/tnsnames.ora
# Generated by Oracle configuration tools.
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.1.1.10)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
[oracle@master admin]$ cat listener.ora
# listener.ora Network Configuration File: /oracle/oracle/11g/network/admin/listener.ora
# Generated by Oracle configuration tools.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(ADDRESS = (PROTOCOL = TCP)(HOST = master.example.com)(PORT = 1521))
)
)
ADR_BASE_LISTENER = /oracle/oracle
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(GLOBAL_DBNAME = orcl)
(ORACLE_HOME = /oracle/oracle/11g)
(SID_NAME = orcl)
)
)
[oracle@master admin]$
配置oracle监听文件
标签:glob oracle 信息 work gen protocol server add esc