oracle dg模式下部署cdc遇到的log_archive_dest的问题
2017-06-23 17:49
1021 查看
在dg的模式下,配置异步的cdc,在主库上配置staging的位置的时候,使用下面的额配置
alter system set log_archive_dest_4=’service=stagingdb lgwr async optional noregister reopen=5 valid_for=(online_logfile,primary_role)’;
提示ORA-16052: DB_UNIQUE_NAME attribute is required.
因为参数log_archive_config已经配置dg_config,所以在配置log_archive_dest_n的时候需要指定db_unique_name,但是如果加了db_unique_name,会提示
ORA-16053: DB_UNIQUE_NAME stagingdb is not in the Data Guard Configuration
需要在log_archive_config的dg_config中将这个db_unique_name配置进入,
在配置好上面的情况下,日志依然无法传入staging库,主库上的alert日志中提示:
Check that the primary and standby are using a password file
and remote_login_passwordfile is set to SHARED or EXCLUSIVE,
and that the SYS password is same in the password files.
returning error ORA-16191
在staging库上alert user sys identified by 这种方式重新设置口令后依然不起作用,最后拷贝主库的口令文件到staging库,重命名。
现在的配置就是staging库伪装成改了从库,所以需要主库和staging库上的dg_config配置完全一致,否则在主库上使用
select dest_name,status,error,target,process from v$archive_dest where substr(dest_name,-1) in (3,4);命令查看的时候,提示下面的错误
ERROR ORA-16047: DGID mismatch between destination setting and target STANDBY LGWR
database
alter system set log_archive_dest_4=’service=stagingdb lgwr async optional noregister reopen=5 valid_for=(online_logfile,primary_role)’;
提示ORA-16052: DB_UNIQUE_NAME attribute is required.
因为参数log_archive_config已经配置dg_config,所以在配置log_archive_dest_n的时候需要指定db_unique_name,但是如果加了db_unique_name,会提示
ORA-16053: DB_UNIQUE_NAME stagingdb is not in the Data Guard Configuration
需要在log_archive_config的dg_config中将这个db_unique_name配置进入,
在配置好上面的情况下,日志依然无法传入staging库,主库上的alert日志中提示:
Check that the primary and standby are using a password file
and remote_login_passwordfile is set to SHARED or EXCLUSIVE,
and that the SYS password is same in the password files.
returning error ORA-16191
在staging库上alert user sys identified by 这种方式重新设置口令后依然不起作用,最后拷贝主库的口令文件到staging库,重命名。
现在的配置就是staging库伪装成改了从库,所以需要主库和staging库上的dg_config配置完全一致,否则在主库上使用
select dest_name,status,error,target,process from v$archive_dest where substr(dest_name,-1) in (3,4);命令查看的时候,提示下面的错误
ERROR ORA-16047: DGID mismatch between destination setting and target STANDBY LGWR
database
相关文章推荐
- 关于Resin在Eclipse或者Myeclipse上利用Debug模式部署的方法以及遇到的一些问题
- lvs-dr模式部署遇到问题,求教老鸟
- 做dg时遇到的log_archive_dest、log_archive_dest_1、db_recovery_file_dest之间互相影响
- ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated问题处理过程
- 备库log_archive_dest_2的问题
- SparkStreaming local模式部署下遇到的requirement failed的问题
- ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated问题处理过程
- 做dg时遇到的log_archive_dest、log_archive_dest_1、db_recovery_file_dest之间互相影响
- ORA-16032: parameter LOG_ARCHIVE_DEST_3 destination string cannot be translated问题处理过程
- 在websphere上部署应用遇到的问题
- 服务器(WIndows2003)部署asp.net网站生成word文档经常遇到的问题!
- 8. 在NOARCHIVELOG模式下用户管理的备份与恢复
- 在IIS中部署WCF中遇到的问题
- 归档模式archivelog&非归档模式noarchivelog
- 为Reporting Service部署自定义程序集可能遇到的问题
- 调试Release模式下遇到的问题 - Debug和Release的差异。
- ARCHIVELOG 与 NOARCHIVELOG模式的转换
- 采用Oracle Archive Log模式和非Archive Log模式对备份恢复的影响
- 烦恼的 Word 2003 遇到问题需要关闭..&.安全模式...
- 在部署Web工程时遇到的一个小问题,及解决方法