How To Add Second Standby - Document 842822.1
How To Add Second Standby - Document 842822.1
How to Add Second Standby in Existing Dataguard Configuration With Broker Using DGMGRL (Doc ID 842822.1)
In this Document
Goal
Solution
References
APPLIES TO:
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 18.6.0.0.0 [Release 10.2 to 18]
Information in this document applies to any platform.
GOAL
NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data
from the Oracle sample schema(s), Public Documentation delivered with an Oracle database product or other training material.
Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner.
For the purposes of this document, the following fictitious environment is used as an example to describe the procedure:
====================================
1 of 5 02/02/23, 3:49 pm
Document 842822.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=1cjxojvrfs_236&id...
This document provides the step by step approach on adding a second standby to an existing dataguard configuration.
Configuration
Name: DRS001
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
mystd - Physical standby database
SOLUTION
Procedure
========
Detailed Steps
==========
1) Take RMAN backup of PRIMARY database and controlfile for standby
2 of 5 02/02/23, 3:49 pm
Document 842822.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=1cjxojvrfs_236&id...
Example of changes:
db_unique_name = 'sstd'
db_name='prim'
fal_server=prim,mystd
fal_client=sstd
db_file_name_convert = 'prim','sstd'
log_file_name_convert = 'prim','sstd'
log_archive_dest_1 =LOCATION=USE_DB_RECOVERY_FILE_DEST
NOTE : On first standby FAL_SERVER parameter we can add this standby also.
For example,
On mystd,
3) Copy the files (Rman Backups , PFILE ) to the new server (SSTD)
a) Configure tnsnames.ora in primary and second standby so that they can communicate each other and verify using tnsping.
example: $ tnsping prim
b) In second standby server create spfile from pfile and STARTUP NOMOUNT the instance.connect to RMAN as below and use DUPLICATE
3 of 5 02/02/23, 3:49 pm
Document 842822.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=1cjxojvrfs_236&id...
SQL> alter database add standby logfile group 4 '/u01/app/oradata/sstd/sredo1.log' size 50M ;
if ASM filesystem
SQL> alter database add standby logfile group 4 '+<AsmDiskGroupName>' size 50M ;
7) Update log_archive_Dest_n parameter in PRIMARY that will be the remote archival for second standby and enable the log_archive_dest_state_n
SQL> ALTER SYSTEM SET LOG_ARCHIVE_DEST_3 ='service=sstd lgwr async affirm valid_for=(online_logfiles,primary_role)
db_unique_name=sstd';
Configuration
Name: DRS001
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
4 of 5 02/02/23, 3:49 pm
Document 842822.1 https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=1cjxojvrfs_236&id...
Databases:
prim - Primary database
mystd - Physical standby database
sstd - Physical standby database (disabled)
Configuration
Name: DRS001
Enabled: YES
Protection Mode: MaxPerformance
Fast-Start Failover: DISABLED
Databases:
prim - Primary database
mystd - Physical standby database
sstd - Physical standby database
REFERENCES
NOTE:837102.1 - Step By Step Guide On Creating Physical Standby Using RMAN Backup based Duplicate In ASM For ASM Primary
Didn't find what you are looking for?
5 of 5 02/02/23, 3:49 pm