RAC通过ADG方式迁移数据库后,使用以下命令清除DG参数后,单独启动集群数据库实例。
alter system set log_archive_config='' scope=both sid='*'
告警日志:
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 /u01/app/oracle/diag/rdbms/test/test1/trace/test1_lgwr_29612.trc:
ORA-16188: LOG_ARCHIVE_CONFIG settings inconsistent with previously started instance
Fri Oct 13 00:30:07 2023
ARC4 started with pid=43, OS id=32461
LGWR (ospid: 29612): terminating the instance due to error 16188
解决方法:
alter system set log_archive_config=NODG_CONFIG scope=both sid='*';
仅在故障节点操作时不能生效,需要在正常节点修改log_archive_config参数,然后再启动实例。