Oracle Data Guard Switchover and Switchback Manual

Summary Switchover: Switchover in Oracle Data Guard is a planned role transition between primary and standby databases without data loss or downtime. It is used for maintenance, testing, or planned failover. After switchover, the standby becomes the primary and the original primary becomes the standby. Switchback: Switchback is the reverse process of switchover, restoring the original primary as the primary database. It involves coordinated role changes ensuring no data loss and maintaining synchronization between databases. ...

October 6, 2025 · 410 words · kidtz

Oracle Data Guard in RAC

Summary This guide provides a structured procedure for configuring Oracle Data Guard in a Real Application Clusters (RAC) environment. It includes prerequisites, database and parameter setup, listener and network configuration, preparing the standby instance (with pfile details), enabling managed recovery, and final verification. Following these steps ensures a robust disaster recovery solution with synchronized primary and standby databases. Reference Oracle Doc ID: 2283978.1 1. Prerequisites On both servers: select name, open_mode, log_mode from v$database; archive log list; startup mount; alter database archivelog; alter database force logging; alter database open; show parameter db_reco; ALTER SYSTEM SET DB_RECOVERY_FILE_DEST_SIZE=5G SCOPE=BOTH SID='*'; ALTER SYSTEM SET DB_RECOVERY_FILE_DEST='+RECO01' SCOPE=BOTH SID='*'; alter database flashback on; 2. Configure Parameter Data Guard (Primary) ALTER SYSTEM SET LOG_ARCHIVE_CONFIG='DG_CONFIG=(dbsiha,dbsihadrc)' SCOPE=BOTH SID='*'; ALTER SYSTEM SET LOG_ARCHIVE_DEST_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=DBSIHA' SCOPE=BOTH SID='*'; ALTER SYSTEM SET LOG_ARCHIVE_DEST_2='SERVICE=dbsihadrc ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=dbsihadrc' SCOPE=BOTH SID='*'; ALTER SYSTEM SET LOG_ARCHIVE_DEST_STATE_2=ENABLE SCOPE=BOTH SID='*'; ALTER SYSTEM SET FAL_SERVER=dbsihadrc SCOPE=BOTH SID='*'; ALTER SYSTEM SET FAL_CLIENT=dbsiha SCOPE=BOTH SID='*'; ALTER SYSTEM SET STANDBY_FILE_MANAGEMENT=AUTO scope=both sid='*'; add standby redo logs: ...

September 24, 2025 · 599 words · kidtz