设为首页 加入收藏

TOP

验证service_names、db_name、db_unique_name在注册动态监听服务名时的作用(二)
2014-11-23 23:12:11 来源: 作者: 【 】 浏览:19
Tags:验证 service_names db_name db_unique_name 注册 动态 监听 服务 时的 作用
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
首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇mysql基础知识 下一篇数据源的编写(开发中不写)、使..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: