How to Safely Remove a Data Guard Broker Configuration [ID 261336.1]
|
|
|
Modified 20-OCT-2010Type REFERENCEStatus PUBLISHED
|
|
PURPOSE
-------
How to safely remove a Data Guard Broker configuration.
SCOPE & APPLICATION
-------------------
This applies to all DBAs who wish to remove and deactive a
Data Guard Broker configuration.
Removing the Configuration
----------------------------
1) Remove the Data Guard Broker Configuration
a) Using the Commandline DGMGRL:
- Connect to the Primary Database
DGMGRL> connect sys/<Password>@<Primary Database>
- Remove the Data Guard Broker Configuration
DGMGRL> remove configuration;
b) Using Data Guard Manager or Grid Control:
Follow the Wizard as mentioned in the Chapter
'Scenarios Using Oracle Enterprise Manager'
of the Data Guard Broker Guide of each Database Version.
2) On the primary database set dg_broker_start=false:
SQL> show parameter dg_broker
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
dg_broker_config_file1 string ?/dbs/dr1@.dat
dg_broker_config_file2 string ?/dbs/dr2@.dat
dg_broker_start boolean TRUE
SQL>
SQL> alter system set dg_broker_start=false scope=both;
System altered.
SQL> show parameter dg_broker
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
dg_broker_config_file1 string ?/dbs/dr1@.dat
dg_broker_config_file2 string ?/dbs/dr2@.dat
dg_broker_start boolean FALSE
SQL>
3) On the primary disable any archive destinations that are archiving to the standby:
SQL> select dest_id,destination,status
2 from v$archive_dest
3 where target='STANDBY';
DEST_ID
----------
DESTINATION
--------------------------------------------------------------------------------
STATUS
---------
2
(DESCRIPTION=(ADDRESS_LIST = (ADDRESS=(PROTOCOL=tcp)(HOST=hasunclu2.us.oracle.co
m)(PORT=1521)))(CONNECT_DATA=(SID=DG920phy)(ORACLE_HOME=/u03/oracle/9.2.0)(SERVE
R=DEDICATED)))
VALID
SQL> alter system set log_archive_dest_state_2=defer scope=both;
System altered.
SQL>
4) on the standby set the dg_broker_start parameter to false:
SQL> show parameter dg_broker
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
dg_broker_config_file1 string ?/dbs/dr1@.dat
dg_broker_config_file2 string ?/dbs/dr2@.dat
dg_broker_start boolean TRUE
SQL> alter system set dg_broker_start=false scope=both;
System altered.
SQL>
5) On both system rename the metadata files (if they exist):
oracle@hasunclu1:/u03/oracle/9.2.0/dbs> mv dr1DG920.dat dr1DG920.back
oracle@hasunclu1:/u03/oracle/9.2.0/dbs> mv dr2DG920.dat dr2DG920.back
RELATED DOCUMENTS
--------------------
Oracle® Data Guard Broker Guide
------------------------------------------------------------------------------
Blog: http://blog.csdn.net/tianlesoftware
网上资源: http://tianlesoftware.download.csdn.net
相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx
DBA1 群:62697716(满); DBA2 群:62697977(满)
DBA3 群:62697850 DBA 超级群:63306533;
聊天 群:40132017
--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请
分享到:
相关推荐
But how do you lock down data while granting access to people who need to see it? In this practical book, authors Ted Dunning and Ellen Friedman offer two novel and practical solutions that you can ...
USB Safely Remove Portable是一款用于毫不费力地快速断开任何可移动设备的工具。它不仅能节省时间,还能确保在拔掉设备时,所有数据都保留在设备上。Safely Remove是一个系统工具,旨在快速和安全地停止连接到您的...
USB Safely Remove是一个可以安全删除USB设备的系统工具. 它使用方便, 可以删除任何USB设备, 可以自动停止设备而不必将其拔出. 该软件还提供设置热键, 防止设备假死, 定制设备显示名称, 插入设备自启动程序等功能....
USB Safely Remove是一个可以将USB设备安全删除的系统工具,能够有效帮助您解决无法删除USB设备的困扰。 USB Safely Remove是一个收费软件,网上有很多破解版,但有心的用户会发现,官方曾经举行了为期一周的免费...
USB Safely Remove 5.x 注册机
USB Safely Remove 是一个增强型USB移动设备安全移除工具,比Windows自带的USB设备删除工具功能更强大使用更方便,USB Safely Remove 可以以不同的名称及图标显示多个移动设备,支持自定义隐藏任意USB移动设备,更...
USB Safely Remove是一个可以将USB设备安全删除的辅助工具,对于频繁添加或者移除USB设备的用户非常有用,能够有效帮助您解决无法删除USB设备的困扰。USB Safely Remove加入了一个堪称“杀手级”的功能──招回装置...
USB Safely Remove是一个可以将USB设备安全删除的辅助工具,对于频繁添加或者移除USB设备的用户非常有用,能够有效帮助您解决无法删除USB设备的困扰。USB Safely Remove加入了一个堪称“杀手级”的功能──招回装置...
USB Safely Remove 4.6.2.1140 Final New:June 24,2011 08:55:46 OS:Win2000/XP/2003/Vista/Win7,32(64)bit 一个可以将USB设备安全删除的系统工具.它使用方便, 可以通过组合键停止USB设备的运行,可以删除任何USB ...
Safely Remove is a system utility designed for quick and safely stopping USB Flash Drives connected to your computer. With this utility you can safely stop and remove USB Flash Drives much faster ...
USB Safely Remove是一个可以将USB设备安全删除的辅助工具,对于频繁添加或者移除USB设备的用户非常有用,能够有效帮助您解决无法删除USB设备的困扰。 USB Safely Remove 可以直接取代操作系统内建的「安全地移除...
如果你经常频繁使用USB设备,为了保护硬件避免出现意外情况,建议你安装一个USB安全移除工具USB Safely Remove,能够在设备停止后断开电源,开启该选项后系统会断开USB设备的电源,推荐使用外置硬盘的用户使用,...
USB safely remove for USB port.
USB Safely Remove可以将USB设备安全删除的系统工具。它使用方便,可以通过组合键停止USB设备的运行,可以删除任何USB设备。最大的特色是,可以自动停止USB设备而不必将它拔出。 USB Safely Remove截图
有时U盘和移动硬盘无法弹出,这时候就需要这款USB Safely Remove,这里提供一个单文件的绿色版,方便的使用,随时可以调出来弹出usb设备用。
USB安全移除(USB Safely Remove) v5.1.3.1186 中文破解版
停止USB的软件 用破解文件替启动文件 一定OK USB.Safely.Remove.v4.2.4.845.Cracked
USB Safely Remove 中文版是一个可以将 USB 设备安全删除的辅助工具,对于频繁添加或者移 除USB 设备的用户非常有用,能够有效帮助您解决无法删除 USB 设备的困扰。最大的特色是,可以 自动停止USB设备而不必将它拔...
USB USB Safely Remove是一款增强的安全删除硬件软件,能完全系统自带的USB设备删除工具,实时显示当前连接的USB设备名称,可为每个设备添加停止热键。显示停止菜单中可见设备与隐藏设备。F5热键可扫描硬件改动,...
Find out how to integrate the infrastructure-as-a-service (IaaS) and platform-as-a-service (PaaS) models with your existing business infrastructure while maximizing availability, ensuring continuity ...