下面附相关配置文件及监听信息:
1.备库:
[oracle@ocm2 admin]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 26-MAR-2019 19:39:22
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ocm2.sztech.com)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 26-MAR-2019 16:47:53
Uptime 0 days 2 hr. 51 min. 28 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/db_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/ocm2/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ocm2.sztech.com)(PORT=1521)))
Services Summary...
Service "sbdb1.example.com" has 2 instance(s).
Instance "sbdb1", status UNKNOWN, has 1 handler(s) for this service...
Instance "sbdb1", status READY, has 1 handler(s) for this service...
Service "sbdb1_DGB.example.com" has 1 instance(s).
Instance "sbdb1", status READY, has 1 handler(s) for this service...
Service "sbdb1_DGMGRL.example.com" has 1 instance(s).
Instance "sbdb1", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@ocm1 ~]$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 26-MAR-2019 19:46:22
Copyright (c) 1991, 2011, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ocm1.sztech.com)(PORT=1521)))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date 26-MAR-2019 11:49:01
Uptime 0 days 7 hr. 57 min. 20 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/ocm1/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ocm1.sztech.com)(PORT=1521)))
Services Summary...
Service "prod1.example.com" has 2 instance(s).
Instance "prod1", status UNKNOWN, has 1 handler(s) for this service...
Instance "prod1", status READY, has 1 handler(s) for this service...
Service "prod1XDB.example.com" has 1 instance(s).
Instance "prod1", status READY, has 1 handler(s) for this service...
Service "prod1_DGB.example.com" has 1 instance(s).
Instance "prod1", status READY, has 1 handler(s) for this service...
Service "prod1_DGMGRL.example.com" has 1 instance(s).
Instance "prod1", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
[oracle@ocm1 ~]$