SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(SID_NAME =orcl)
)
(SID_DESC = 当有多个实例的时候可以,一次性写多个
(ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
(SID_NAME =oradu)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = oracledba)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
)
)
ADR_BASE_LISTENER = /u01/app/oracle
======================================================================
Listener Configure:
## primaryDB:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_NAME = )
(ORACLE_HOME = /u01/app/oracle/product/10.2.0)
(SID_NAME = ora10g)
)
(SID_DESC =
(GLOBAL_NAME = )
(ORACLE_HOME = /u01/app/oracle/product/10.2.0)
(SID_NAME = standby)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.1)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)
ADR_BASE_LISTENER = /u01/app/oracle
---------------------------------------------------------------------------------------------------------------------------------------
## standbyDB:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_NAME = )
(ORACLE_HOME = /u01/app/oracle/product/10.2.0)
(SID_NAME = ora10g)
)
(SID_DESC =
(GLOBAL_NAME = )
(ORACLE_HOME = /u01/app/oracle/product/10.2.0)
(SID_NAME = standby)
)
)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.3)(PORT = 1521))
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
)
ADR_BASE_LISTENER = /u01/app/oracle