[20211020]XXXX_DGB服务名.txt --//当使用DGMGRL管理dg时,会建立如下两个服务XXXX_DGB,XXXX_DGMGRL.昨天配置是不小心犯了一个小错误做一个记录。 $ lsnrctl status LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 20-OCT-2021 09:30:48 Copyright (c) 1991, 2011, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.aaa.bbb)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production Start Date 20-OCT-2021 09:27:37 Uptime 0 days 0 hr. 3 min. 11 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/11.2.0.3/db_1/network/admin/listener.ora Listener Log File /u01/app/oracle/product/11.2.0.3/db_1/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.aaa.bbb)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) Services Summary... Service "xxx999XDB" has 1 instance(s). Instance "xxx999dg2", status READY, has 1 handler(s) for this service... Service "xxx999dg2" has 2 instance(s). Instance "xxx999dg2", status UNKNOWN, has 1 handler(s) for this service... Instance "xxx999dg2", status READY, has 1 handler(s) for this service... Service "xxx999dg2_DGB" has 2 instance(s). Instance "xxx999dg2", status UNKNOWN, has 1 handler(s) for this service... Instance "xxx999dg2", status READY, has 1 handler(s) for this service... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Service "xxx999dg2_DGMGRL" has 1 instance(s). Instance "xxx999dg2", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully --//xxx999dg2_DGB 服务名存在两个一个动态注册,一个静态注册。静态注册是我写在监听配置文件里面,为什么还存在一个动态注册的 --//服务名呢? SYS@xxx999dg2> show parameter service NAME TYPE VALUE ------------- ------ --------- service_names string xxx999dg2 --//仅仅存在一个服务名xxx999dg2。 SYS@xxx999dg2> select name from DBA_SERVICES; NAME -------------------- SYS$BACKGROUND SYS$USERS xxx999XDB xxx999 --//也不存在xxx999dg2_DGB服务名。 --//找到一个链接:http://blog.itpub.net/20747382/viewspace-2130664/ =>_DGMGRL and _DGB Note: Static entries are only used by the Broker itself via the Broker defined StaticConnectIdentifier property. They are NEVER to be used for any other purpose by the user. This includes using it for the normal DGConnectIdentifier, RMAN connections or anything else. Also note that you must never define a static entry for the Broker 'DGB' service. That service is for the Broker exclusive use. Also note that using the "_DGMGRL" or "_DGB" in your TNSNAMES definition is expressly forbidden. 注意:静态条目仅通过代理定义的静态连接标识符属性使用。用户绝不会将它们用于任何其他目的。这包括使用它用于正常的DG连接器标 识符、RMAN连接或其他任何东西。还要注意,您永远不能为代理"DGB"服务定义静态条目。这项服务是为经纪人独家使用的。还要注意, 在您的名称定义中,使用"_DGMGRL"或"_DGB"是明确禁止的。 --//可以发现提示永远不能为代理"DGB"服务定义静态条目,这项服务是为经纪人独家使用的。 --//也就是根本不需要配置xxx999dg2_DGB服务为静态注册。在监听文件中注解这部分内容。 $ lsnrctl status LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 20-OCT-2021 16:33:24 Copyright (c) 1991, 2011, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.aaa.bbb)(PORT=1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.3.0 - Production Start Date 20-OCT-2021 10:53:09 Uptime 0 days 5 hr. 40 min. 15 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/11.2.0.3/db_1/network/admin/listener.ora Listener Log File /u01/app/oracle/product/11.2.0.3/db_1/network/log/listener.log Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=192.168.aaa.bbb)(PORT=1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) Services Summary... Service "xxx999XDB" has 1 instance(s). Instance "xxx999dg2", status READY, has 1 handler(s) for this service... Service "xxx999dg2" has 2 instance(s). Instance "xxx999dg2", status UNKNOWN, has 1 handler(s) for this service... Instance "xxx999dg2", status READY, has 1 handler(s) for this service... Service "xxx999dg2_DGB" has 1 instance(s). Instance "xxx999dg2", status READY, has 1 handler(s) for this service... Service "xxx999dg2_DGMGRL" has 1 instance(s). Instance "xxx999dg2", status UNKNOWN, has 1 handler(s) for this service... The command completed successfully --//xxx999dg2_DGB 这个服务非常特殊,只要使用DGMGRL就存在并且建立一个动态服务名。
[20211020]XXXX_DGB服务名.txt
来源:这里教程网
时间:2026-03-03 17:04:12
作者:
编辑推荐:
下一篇:
相关推荐
-
雷神推出 MIX PRO II 迷你主机:基于 Ultra 200H,玻璃上盖 + ARGB 灯效
2 月 9 日消息,雷神 (THUNDEROBOT) 现已宣布推出基于英
-
制造商 Musnap 推出彩色墨水屏电纸书 Ocean C:支持手写笔、第三方安卓应用
2 月 10 日消息,制造商 Musnap 现已在海外推出一款 Oce
热文推荐
- 圆心科技冲刺IPO:独角兽也需要反思
圆心科技冲刺IPO:独角兽也需要反思
26-03-03 - 【OPTIMIZATION】Oracle影响优化器选择的相关技术
【OPTIMIZATION】Oracle影响优化器选择的相关技术
26-03-03 - 关于log file switch and checkpoint机制
关于log file switch and checkpoint机制
26-03-03 - Zabbix5.0 配置 ODBC 监控 Oracle 数据库
Zabbix5.0 配置 ODBC 监控 Oracle 数据库
26-03-03 - Flinkx Logminer性能探测&优化之路
Flinkx Logminer性能探测&优化之路
26-03-03 - 逆风上市的孩子王,蓝图仍待验证
逆风上市的孩子王,蓝图仍待验证
26-03-03 - DG19C搭建(asm单实例)
DG19C搭建(asm单实例)
26-03-03 - 【STATS】Oracle导入导出优化器统计信息
【STATS】Oracle导入导出优化器统计信息
26-03-03 - 网约车的新出口:集体出行来了?
网约车的新出口:集体出行来了?
26-03-03 - 视频怎么调整播放速度,调快或者调慢,需要怎么做
视频怎么调整播放速度,调快或者调慢,需要怎么做
26-03-03
