暂无图片
暂无图片
暂无图片
暂无图片
暂无图片

如何重置/移除 DG链路

原创 xusmallhorse 2023-08-24
295

  A) On the Primary database:


   a) Go into sqlplus and remove it's configuration from the LAD parameter:

     sql> show parameter log_archive_dest_n                                     
     sql> alter system set log_archive_dest_n='' scope=both;             << use sid='*'; at the end if you are RAC
     sql> show parameter log_archive_config
     sql> alter system set log_archive_config='dg_config=(PRIMARY,STANDBY1,STANDBY2)' scope=both;         << use sid='*'; at the end if you are RAC


   b) If the fal_server is pointing to the Standby you are removing,then you need to remove it from the fal_server parameter:

     sql>   alter system set fal_server='STANDBY1,STANDBY2' scope=both;             << use sid='*'; at the end if you are RAC



B) On the Standby database:

  Note: If you are going to remove the standby from it's machine, then you don't need to do the following.

  a) Reset any log_archive_dest_n parameters that may be pointing back to the primary or the other standby

     sql> show parameter log_archive_dest_
     sql> alter system set log_archive_dest_n='' scope=both;                 << use sid='*'; at the end if you are RAC


  b) remove the log_archive_config parameter

    sql> alter system reset log_archive_config scope=both;                 << use sid='*'; at the end if you are RAC
    or you can set like: SQL> alter system set log_archive_config=NODG_CONFIG scope=both sid='*';


来自:

How to Remove One Standby Database from a Data Guard Configuration (Doc ID 2196935.1) 

最后修改时间:2023-08-24 09:51:26
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。

评论