日期:2014-05-17 浏览次数:20968 次
# tnsnames.ora Network Configuration File: d:\app\Administrator\product\11.2.0\dbhome_1\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle configuration tools.
LISTENER_PRIMARY =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
STANDBY_192.168.160.217 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.160.217)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = standby)
)
)
HIS_ORCL =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.6)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = orcl)
)
)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
PRIMARY_192.168.160.103 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.160.103)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = primary)
)
)
C:\Documents and Settings\Administrator>tnsping primary_192.168.160.103
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 30-8月 -
2013 09:22:35
Copyright (c) 1997, 2010, Oracle. All rights reserved.
已使用的参数文件:
d:\app\Administrator\product\11.2.0\dbhome_1\network\admin\sqlnet.ora