Professional Documents
Culture Documents
We need to follow the following formula to make sure we have sufficient standby redo logs.
Enable flashback
The complete list of log file after standby creation is as follows
PRIMARY
Listener on primary
TNS on Standby
Listner on Standby
Create password file on primary and copy it to dbs location of standby node
run
spfile
parameter_value_convert 'ORAPRD','ORAPRD_stby'
set db_name='ORAPRD'
set db_unique_name='ORAPRD_stby'
set diagnostic_dest='/u01/app/oracle/admin/ORAPRD_stby/adump/'
set db_file_name_convert='+DATA/ORAPRD/','/u01/app/oracle/oradata/ORAPRD'
set log_file_name_convert='+DATA/ORAPRD/','/u01/app/oracle/oradata/ORAPRD'
set control_files='/u01/app/oracle/oradata/ORAPRD_stby/standby1.ctl'
set log_archive_max_processes='5'
set fal_client='ORAPRD_stby'
set fal_server='ORAPRD'
set sga_target='1152m'
set pga_aggregate_target='384m'
set standby_file_management='AUTO'
set log_archive_config='dg_config=(ORAPRD,ORAPRD_stby)'
nofilenamecheck;
}
Verify the logs and check if there are any errors.
Primary
Standby