在進行DATA GUARD的物理STANDBY切換前需要注意:
確認主庫和從庫間網絡連接通暢;
確認沒有活動的會話連接在數據庫中;
PRIMARY數據庫處于打開的狀態,STANDBY數據庫處于MOUNT狀態;
確保STANDBY數據庫處于ARCHIVELOG模式;
如果設置了REDO應用的延遲,那么將這個設置去掉;
確保配置了主庫和從庫的初始化參數,使得切換完成后,DATA GUARD機制可以順利的運行。
主庫:
[oracle@s1 ~]$ sqlplus "/ as sysdba"
SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 29 19:55:02 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> alter database commit to switchover to physical standby;
Database altered.
SQL> shutdown immediate;
文章來源于領測軟件測試網 http://www.kjueaiud.com/