26)))
Services Summary...
Service "PRO" has 1 instance(s).
Instance "PROD", status READY, has 4 handler(s) for this service...
Service "PRODA" has 1 instance(s).
Instance "PROD", status READY, has 4 handler(s) for this service...
Service "PRODA_XPT" has 1 instance(s).
Instance "PROD", status READY, has 4 handler(s) for this service...
The command completed successfully
3.db_unique_name为PROD,db_name 为PROD,service_names 为PRO,监听状态中有两个服务:PROD、PRO SQL> show parameter db_doma
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_domain string
SQL> show parameter db_uni
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_unique_name string PROD
SQL> show parameter db_n
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name string PROD
SQL> alter system set service_names='PRO';
System altered.
SQL> show parameter service
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
service_names string PRO
SQL> alter system register;
System altered.
[oracle@ocm1 admin]$ lsnrctl status LSNR2
LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 09-APR-2014 23:48:52
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ocm1.bys.com)(PORT=1526)))
STATUS of the LISTENER
------------------------
Alias LSNR2
Version TNSLSNR for Linux: Version 10.2.0.1.0 - Production
Start Date 09-APR-2014 23:48:39
Uptime 0 days 0 hr. 0 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/10.2.0.1/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/product/10.2.0.1/dbhome_1/network/log/lsnr2.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ocm1.bys.com)(PORT=1526)))
Services Summary...
Service "PRO" has 1 instance(s).
Instance "PROD", status READY, has 4 handler(s) for this service...
Service "PROD" has 1 instance(s).
Instance "PROD", status READY, has 4 handler(s) for this service...
Service "PROD_XPT" has 1 instance(s).
Instance "PROD", status READY, has 4 handler(s) for this service...
The command completed successfully
|