Switchover db11g
Switchover db11g
##
####################### Step Manual Data Guard Switchover
#########################
###################################################################################
##
https://oracledbwr.com/oracle-12c-step-by-step-manual-data-guard-switchover/
MEMBER
--------------------------------------------------------------------------------
/u01/app/oracle/oradata/DB11G/redo03.log
/u01/app/oracle/oradata/DB11G/redo02.log
/u01/app/oracle/oradata/DB11G/redo01.log
((BYTES/1024)/1024)
-------------------
50
50
50
=== create standby redo logs on both the standby and the primary database (in case
of switchovers)==
In addition to the online redo logs, you should create standby redo logs on both
the standby and the primary database (in case of switchovers). The standby redo
logs should be at least as big as the largest online redo log and there should be
one extra group per thread compared the online redo logs. In my case, the following
standby redo logs must be created on both servers.
Primary database:-
Standby database:-
Before performing switchover, kindly verify the state of data guard on both the
instances by following SQL queries:
Step 2:-
ALTER SESSION SET nls_date_format='DD-MON-YYYY HH24:MI:SS';
SELECT sequence#, first_time, next_time, applied FROM v$archived_log ORDER BY
sequence#;
On Primary database:-
Step 4:
shutdown immediate
startup nomount
On Standby database:
Step 7:-
alter database commit to switchover to primary;
Database altered.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.