为12.1DataGuard配置DGMGRL遇到ORA-16698
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了为12.1DataGuard配置DGMGRL遇到ORA-16698,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含3841字,纯文字阅读大概需要6分钟。
内容图文
![为12.1DataGuard配置DGMGRL遇到ORA-16698](/upload/InfoBanner/zyjiaocheng/556/676273fc656a45e8a6edda2365fe3da8.jpg)
为12.1.0.2 DataGuard配置DGMGRL时遇到了ORA-16698错误: BANNER CON_ID------------------------------------------------------------------------------------------ ----------Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Produ
为12.1.0.2 DataGuard配置DGMGRL时遇到了ORA-16698错误:
BANNER CON_ID ------------------------------------------------------------------------------------------ ---------- Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production 0 PL/SQL Release 12.1.0.2.0 - Production 0 CORE 12.1.0.2.0 Production 0 TNS for Linux: Version 12.1.0.2.0 - Production 0 NLSRTL Version 12.1.0.2.0 - Production 0 DGMGRL> DGMGRL> [oracle@PD009 ~]$ oerr ora 16698 16698, 0000, "LOG_ARCHIVE_DEST_n parameter set for object to be added" // *Cause: One or more LOG_ARCHIVE_DEST_n initialization parameters that // contain a SERVICE attribute but not the NOREGISTER attribute were // set when attempting to create a configuration or add a standby or // far sync instance to the configuration. askmaclean.com // *Action: If creating a configuration, clear all LOG_ARCHIVE_DEST_n // initialization parameters that contain a SERVICE attribute but not // the NOREGISTER attribute. If adding a standby database or far sync // instance, clear the LOG_ARCHIVE_DEST_n initialization parameter // that specifies the database or far sync instance to be added.
这个错误可以通过在Primary 和 Standby上取消log_archive_dest_n参数来解决,实际这一块的参数应当是交给DG broker 来管理了,不再需要人为介入设置。
primary: SQL> alter system reset log_archive_dest_2 scope=spfile sid='*'; System altered. SQL> alter system reset log_archive_dest_1 scope=spfile sid='*'; System altered. SQL> startup force; ORACLE instance started. standby: SQL> alter system reset log_archive_dest_2 scope=spfile sid='*'; System altered. SQL> alter system reset log_archive_dest_1 scope=spfile sid='*'; System altered. 重启primary和standby实例 [oracle@PD009 ~]$ dgmgrl sys/oracle@PDPROD DGMGRL for Linux: Version 12.1.0.2.0 - 64bit Production Copyright (c) 2000, 2013, Oracle. All rights reserved. Welcome to DGMGRL, type "help" for information. Connected as SYSDBA. DGMGRL> create CONFIGURATION PDPROD as primary database is PDPROD CONNECT IDENTIFIER IS PDPROD; Configuration "pdprod" created with primary database "pdprod" add database PDSTBY as CONNECT IDENTIFIER IS PDSTBY MAINTAINED AS PHYSICAL; Database "pdstby" added Connected as SYSDBA. DGMGRL> enable configuration; Enabled. DGMGRL> DGMGRL> show configuration; Configuration - pdprod Protection Mode: MaxPerformance Members: pdprod - Primary database pdstby - Physical standby database Fast-Start Failover: DISABLED Configuration Status: SUCCESS (status updated 5 seconds ago)
Related posts:
- Recreate failovered primary database using Flashback Database
- Duplicate standby database from active database
- 解决DGMGRL Unable to connect to database ORA-12541: TNS:no listener问题
- 11gR2新特性:STANDBY_MAX_DATA_DELAY
- 关于参数log_file_name_convert
- 如何重置Exadata cell上的flash cache的内容
- 11gR2游标共享新特性带来的一些问题以及_cursor_features_enabled、_cursor_obsolete_threshold和106001 event
- DataGuard与异构平台
- 如何绕过ORA-00701错误和降低bootstrap对象的高水位
- _shared_pool_reserved_pct or shared_pool_reserved_size with ASMM
原文地址:为12.1 DataGuard配置DGMGRL遇到ORA-16698, 感谢原作者分享。
内容总结
以上是互联网集市为您收集整理的为12.1DataGuard配置DGMGRL遇到ORA-16698全部内容,希望文章能够帮你解决为12.1DataGuard配置DGMGRL遇到ORA-16698所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。