
环境

之前为了数据库迁移,做了双节点RAC+单节点DG,数据库版本为11.2.0.4,后破坏DG,移除备库
问题描述

RAC中node2因故障自动重启,但是在启动过程open时,报错:
WARNING: The 'LOG_ARCHIVE_CONFIG' init.ora parameter settings
are inconsistent with another started instance. This may be
caused by the 'DB_UNIQUE_NAME' init.ora parameter being specified
differently on one or more of the other RAC instances; the
DB_UNIQUE_NAME parameter value MUST be identical for all
instances of the database.
Errors in file tpemr1_lgwr_7408.trc:
ORA-16188: LOG_ARCHIVE_CONFIG settings inconsistent with previously started instance
LGWR(ospid: 7048): terminating the instance due to error 16188
分析解决

当时移除DG备库时,执行了如下命令
alter system set log_archive_config='' scope=both sid='*'
经查官方手册,该参数的默认值为:‘SEND, RECEIVE, NODG_CONFIG’
正确的设置该参数为:
alter system set log_archive_config=NODG_CONFIG scope=both sid='*';
参考文档:
扫描二维码
获取更多精彩
DBALAB

文章转载自dblife,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




