在配置oracle 12c的 broker时,在添加备库的配置时,出现ORA-16698的错误提示,如下:
DGMGRL>add database orcldg as connect identifier is ORCLDG; Error:ORA-16698: member has a LOG_ARCHIVE_DEST_n parameter with SERVICE attribute set Failed.
这个错误可以通过在Primary 和 Standby上取消log_archive_dest_n参数来解决,实际这一块的参数应当是交给DG broker 来管理了,不再需要人为介入设置,故而这里要解决这个问题,只需要将之前人为设置的log_archive_dest_2这个参数重置掉即可,操作如下:
在主库与备库中执行 SQL>alter system set log_archive_dest_2='' scope=both; Systemaltered.
执行完成后,再使用dgmgrl添加备库的信息(dgmgrl需要连接上主库,进行配置) DGMGRL>add database orcldg as connect identifier is ORCLDG; Database"orcldg" added
添加完成后,查看broker配置 DGMGRL>show configuration Configuration- dgconfig Protection Mode: MaxPerformance Members: orcl - Primary database orcldg - Physical standby database(disabled) Fast-StartFailover: DISABLED ConfigurationStatus: SUCCESS (status updated 39 seconds ago)
|