Dataguard Issue

Hello Everyone,
I am facing a issue with Dataguard setup. Following is the description:
Purpose:
Setup a Dataguard using Oracle Data Guard Solution between Production & DR(Physical standby) databases.
Problem Statement:
In case the network connectivity interrupted between Primary database and Physical Standby database, the Primary database is unable to respond to application servers. This issue occurred when the log shipment process is on. However, if the log shipment of Oracle Data Guard is stopped then production database/ system is working fine even if the connectivity between Primary database and Physical Standby database is interrupted.
Standby database is configured in high performance mode.
Environment:
Database Software Primary and Standby Server – Oracle10g Enterprise with Partition option, 64 bit, Version – 10.2.0.4
Primary Database server is configured with Two Sun M5000 nodes in OS cluster environment, Active and Passive Mode, Sun Cluster Suite 3.2 and OS Solaris 10
Standby Database Server is configured, Server – V890, OS Solaris 10
Java based multiple application are connected with Primary database using JDBC type 4 driver to processed the request.
Two independent IPMP are configured on Primary database server, one for application network and second for data guard network.
Application network are configured with dedicated switch and data guard network is connected with different switch.
Single listener is configured on Physical IP and Application is connecting to database through virtual IP dynamically assigned through cluster service

SQL> SELECT PROTECTION_MODE, PROTECTION_LEVEL, DATABASE_ROLE FROM V$DATABASE;
PROTECTION_MODE PROTECTION_LEVEL DATABASE_ROLE
MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE PRIMARY
SQL> SELECT PROTECTION_MODE, PROTECTION_LEVEL, DATABASE_ROLE FROM V$DATABASE;
PROTECTION_MODE PROTECTION_LEVEL DATABASE_ROLE
MAXIMUM PERFORMANCE MAXIMUM PERFORMANCE PHYSICAL STANDBY
And this is the Alert log file snapshot and all other necessary information.
Errors in file /oracle/admin/prtp/udump/prtp_rfs_3634.trc:
ORA-16009: remote archive log destination must be a STANDBY database
Sat Aug 28 00:01:49 2010
Errors in file /oracle/admin/prtp/bdump/prtp_arc0_29429.trc:
ORA-16009: remote archive log destination must be a STANDBY database
Sat Aug 28 00:01:49 2010
FAL[server, ARC0]: Error 16009 creating remote archivelog file 'prtp'
FAL[server, ARC0]: FAL archive failed, see trace file.
Sat Aug 28 00:01:49 2010
Errors in file /oracle/admin/prtp/bdump/prtp_arc0_29429.trc:
ORA-16055: FAL request rejected
ARCH: FAL archive failed. Archiver continuing
Sat Aug 28 00:01:49 2010
ORACLE Instance prtp - Archival Error. Archiver continuing.
Sat Aug 28 00:01:49 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[2]: Assigned to RFS process 3636
RFS[2]: Not using real application clusters
Sat Aug 28 00:01:49 2010
Errors in file /oracle/admin/prtp/udump/prtp_rfs_3636.trc:
ORA-16009: remote archive log destination must be a STANDBY database
Sat Aug 28 01:29:41 2010
Thread 1 advanced to log sequence 24582 (LGWR switch)
Current log# 6 seq# 24582 mem# 0: /oradata1/prtp/redo-log/redo06_1.log
Current log# 6 seq# 24582 mem# 1: /oradata2/prtp/redo-log/redo06_2.log
LGWR: Standby redo logfile selected for thread 1 sequence 24583 for destination LOG_ARCHIVE_DEST_2
Sat Aug 28 01:29:42 2010
Thread 1 advanced to log sequence 24583 (LGWR switch)
Current log# 7 seq# 24583 mem# 0: /oradata1/prtp/redo-log/redo07_1.log
Current log# 7 seq# 24583 mem# 1: /oradata2/prtp/redo-log/redo07_2.log
Sat Aug 28 01:44:38 2010
LGWR: Standby redo logfile selected for thread 1 sequence 24584 for destination LOG_ARCHIVE_DEST_2
Sat Aug 28 01:44:38 2010
Thread 1 advanced to log sequence 24584 (LGWR switch)
Current log# 8 seq# 24584 mem# 0: /oradata1/prtp/redo-log/redo08_1.log
Current log# 8 seq# 24584 mem# 1: /oradata2/prtp/redo-log/redo08_2.log
Sat Aug 28 01:59:39 2010
LGWR: Standby redo logfile selected for thread 1 sequence 24585 for destination LOG_ARCHIVE_DEST_2
Sat Aug 28 01:59:39 2010
Thread 1 advanced to log sequence 24585 (LGWR switch)
Current log# 1 seq# 24585 mem# 0: /oradata1/prtp/redo-log/redo01_1.log
Current log# 1 seq# 24585 mem# 1: /oradata2/prtp/redo-log/redo01_2.log
Sat Aug 28 02:14:38 2010
LGWR: Standby redo logfile selected for thread 1 sequence 24586 for destination LOG_ARCHIVE_DEST_2
Sat Aug 28 02:14:38 2010
Thread 1 advanced to log sequence 24586 (LGWR switch)
Current log# 2 seq# 24586 mem# 0: /oradata1/prtp/redo-log/redo02_1.log
Current log# 2 seq# 24586 mem# 1: /oradata2/prtp/redo-log/redo02_2.log
Sat Aug 28 02:29:39 2010
LGWR: Standby redo logfile selected for thread 1 sequence 24587 for destination LOG_ARCHIVE_DEST_2
Sat Aug 28 02:29:39 2010
Thread 1 advanced to log sequence 24587 (LGWR switch)
Current log# 3 seq# 24587 mem# 0: /oradata1/prtp/redo-log/redo03_1.log
Current log# 3 seq# 24587 mem# 1: /oradata2/prtp/redo-log/redo03_2.log
Sat Aug 28 02:44:38 2010
LGWR: Standby redo logfile selected for thread 1 sequence 24588 for destination LOG_ARCHIVE_DEST_2
Errors in file /oracle/admin/prtp/udump/prtp_rfs_9611.trc:
ORA-16009: remote archive log destination must be a STANDBY database
Sat Aug 28 01:27:56 2010
Errors in file /oracle/admin/prtp/bdump/prtp_arc0_29429.trc:
ORA-16009: remote archive log destination must be a STANDBY database
Sat Aug 28 01:27:56 2010
FAL[server, ARC0]: Error 16009 creating remote archivelog file 'prtp'
FAL[server, ARC0]: FAL archive failed, see trace file.
Sat Aug 28 01:27:56 2010
Errors in file /oracle/admin/prtp/bdump/prtp_arc0_29429.trc:
ORA-16055: FAL request rejected
ARCH: FAL archive failed. Archiver continuing
Sat Aug 28 01:27:56 2010
ORACLE Instance prtp - Archival Error. Archiver continuing.
Sat Aug 28 01:27:56 2010
Redo Shipping Client Connected as PUBLIC
-- Connected User is Valid
RFS[18]: Assigned to RFS process 9613
RFS[18]: Not using real application clusters
Sat Aug 28 01:27:56 2010
Errors in file /oracle/admin/prtp/udump/prtp_rfs_9613.trc:
ORA-16009: remote archive log destination must be a STANDBY database
Sat Aug 28 01:27:56 2010
Errors in file /oracle/admin/prtp/bdump/prtp_arc0_29429.trc:
ORA-16009: remote archive log destination must be a STANDBY database
Sat Aug 28 01:27:56 2010
FAL[server, ARC0]: Error 16009 creating remote archivelog file 'prtp'
FAL[server, ARC0]: FAL archive failed, see trace file.
Sat Aug 28 01:27:56 2010
Errors in file /oracle/admin/prtp/bdump/prtp_arc0_29429.trc:
ORA-16055: FAL request rejected
ARCH: FAL archive failed. Archiver continuing
Sat Aug 28 01:27:56 2010
ORACLE Instance prtp - Archival Error. Archiver continuing.
Sat Aug 28 01:29:39 2010
Thread 1 cannot allocate new log, sequence 24581
Private strand flush not complete
Current log# 4 seq# 24580 mem# 0: /oradata1/prtp/redo-log/redo04_1.log
Current log# 4 seq# 24580 mem# 1: /oradata2/prtp/redo-log/redo04_2.log
NAME TYPE VALUE
O7_DICTIONARY_ACCESSIBILITY boolean FALSE
active_instance_count integer
aq_tm_processes integer 1
archive_lag_target integer 900
asm_diskgroups string
asm_diskstring string
asm_power_limit integer 1
audit_file_dest string /oracle/ora10g/rdbms/audit
audit_sys_operations boolean FALSE
audit_syslog_level string
audit_trail string NONE
background_core_dump string partial
background_dump_dest string /oracle/admin/prtp/bdump
backup_tape_io_slaves boolean FALSE
bitmap_merge_area_size integer 1048576
blank_trimming boolean FALSE
buffer_pool_keep string
buffer_pool_recycle string
circuits integer
cluster_database boolean FALSE
cluster_database_instances integer 1
cluster_interconnects string
commit_point_strength integer 1
commit_write string
compatible string 10.2.0
control_file_record_keep_time integer 7
control_files string /oradata1/prtp/control/control
01.ctl, /oradata2/prtp/control
/control02.ctl, /oradata3/prtp
/control/control03.ctl
core_dump_dest string /oracle/admin/prtp/cdump
cpu_count integer 48
create_bitmap_area_size integer 8388608
create_stored_outlines string
cursor_sharing string FORCE
cursor_space_for_time boolean TRUE
db_16k_cache_size big integer 0
db_2k_cache_size big integer 0
db_32k_cache_size big integer 0
db_4k_cache_size big integer 0
db_8k_cache_size big integer 0
db_block_buffers integer 0
db_block_checking string FALSE
db_block_checksum string TRUE
db_block_size integer 8192
db_cache_advice string ON
db_cache_size big integer 6G
db_create_file_dest string
db_create_online_log_dest_1 string
db_create_online_log_dest_2 string
db_create_online_log_dest_3 string
db_create_online_log_dest_4 string
db_create_online_log_dest_5 string
db_domain string
db_file_multiblock_read_count integer 16
db_file_name_convert string
db_files integer 200
db_flashback_retention_target integer 0
db_keep_cache_size big integer 0
db_name string prtp
db_recovery_file_dest string
db_recovery_file_dest_size big integer 0
db_recycle_cache_size big integer 0
db_unique_name string prtp
db_writer_processes integer 6
dbwr_io_slaves integer 0
ddl_wait_for_locks boolean FALSE
dg_broker_config_file1 string /oracle/ora10g/dbs/dr1prtp.dat
dg_broker_config_file2 string /oracle/ora10g/dbs/dr2prtp.dat
dg_broker_start boolean FALSE
disk_asynch_io boolean TRUE
dispatchers string
distributed_lock_timeout integer 60
dml_locks integer 19380
drs_start boolean FALSE
event string 10511 trace name context forev
er, level 2
fal_client string prtp
fal_server string stndby
fast_start_io_target integer 0
fast_start_mttr_target integer 600
fast_start_parallel_rollback string LOW
file_mapping boolean FALSE
fileio_network_adapters string
filesystemio_options string asynch
fixed_date string
gc_files_to_locks string
gcs_server_processes integer 0
global_context_pool_size string
global_names boolean FALSE
hash_area_size integer 131072
hi_shared_memory_address integer 0
hs_autoregister boolean TRUE
ifile file
instance_groups string
instance_name string prtp
instance_number integer 0
instance_type string RDBMS
java_max_sessionspace_size integer 0
java_pool_size big integer 160M
java_soft_sessionspace_limit integer 0
job_queue_processes integer 10
large_pool_size big integer 560M
ldap_directory_access string NONE
license_max_sessions integer 0
license_max_users integer 0
license_sessions_warning integer 0
local_listener string
lock_name_space string
lock_sga boolean FALSE
log_archive_config string
log_archive_dest string
log_archive_dest_1 string location=/archive/archive-log/
MANDATORY
log_archive_dest_10 string
log_archive_dest_2 string service=stndby LGWR
log_archive_dest_3 string
log_archive_dest_4 string
log_archive_dest_5 string
log_archive_dest_6 string
log_archive_dest_7 string
log_archive_dest_8 string
log_archive_dest_9 string
log_archive_dest_state_1 string enable
log_archive_dest_state_10 string enable
log_archive_dest_state_2 string ENABLE
log_archive_dest_state_3 string enable
log_archive_dest_state_4 string enable
log_archive_dest_state_5 string enable
log_archive_dest_state_6 string enable
log_archive_dest_state_7 string enable
log_archive_dest_state_8 string enable
log_archive_dest_state_9 string enable
log_archive_duplex_dest string
log_archive_format string arc_%t_%s_%r.arc
log_archive_local_first boolean TRUE
log_archive_max_processes integer 2
log_archive_min_succeed_dest integer 1
log_archive_start boolean FALSE
log_archive_trace integer 0
log_buffer integer 20971520
log_checkpoint_interval integer 0
log_checkpoint_timeout integer 1800
log_checkpoints_to_alert boolean FALSE
log_file_name_convert string
logmnr_max_persistent_sessions integer 1
max_commit_propagation_delay integer 0
max_dispatchers integer
max_dump_file_size string UNLIMITED
max_enabled_roles integer 150
max_shared_servers integer
nls_calendar string
nls_comp string
nls_currency string
nls_date_format string
nls_date_language string
nls_dual_currency string
nls_iso_currency string
nls_language string AMERICAN
nls_length_semantics string BYTE
nls_nchar_conv_excp string FALSE
nls_numeric_characters string
nls_sort string
nls_territory string AMERICA
nls_time_format string
nls_time_tz_format string
nls_timestamp_format string
nls_timestamp_tz_format string
object_cache_max_size_percent integer 10
object_cache_optimal_size integer 102400
olap_page_pool_size big integer 0
open_cursors integer 4500
open_links integer 30
open_links_per_instance integer 30
optimizer_dynamic_sampling integer 2
optimizer_features_enable string 10.2.0.4
optimizer_index_caching integer 0
optimizer_index_cost_adj integer 100
optimizer_mode string ALL_ROWS
optimizer_secure_view_merging boolean TRUE
os_authent_prefix string ops$
os_roles boolean FALSE
parallel_adaptive_multi_user boolean TRUE
parallel_automatic_tuning boolean FALSE
parallel_execution_message_size integer 2152
parallel_instance_group string
parallel_max_servers integer 960
parallel_min_percent integer 0
parallel_min_servers integer 0
parallel_server boolean FALSE
parallel_server_instances integer 1
parallel_threads_per_cpu integer 2
pga_aggregate_target big integer 3G
plsql_ccflags string
plsql_code_type string INTERPRETED
plsql_compiler_flags string INTERPRETED, NON_DEBUG
plsql_debug boolean FALSE
NAME TYPE VALUE
plsql_native_library_dir string
plsql_native_library_subdir_count integer 0
plsql_optimize_level integer 2
plsql_v2_compatibility boolean FALSE
plsql_warnings string DISABLE:ALL
pre_11g_enable_capture boolean FALSE
pre_page_sga boolean FALSE
processes integer 4000
query_rewrite_enabled string TRUE
query_rewrite_integrity string enforced
rdbms_server_dn string
read_only_open_delayed boolean FALSE
recovery_parallelism integer 0
recyclebin string OFF
remote_archive_enable string true
remote_dependencies_mode string TIMESTAMP
remote_listener string
remote_login_passwordfile string EXCLUSIVE
remote_os_authent boolean FALSE
remote_os_roles boolean FALSE
replication_dependency_tracking boolean TRUE
resource_limit boolean TRUE
resource_manager_plan string
resumable_timeout integer 0
rollback_segments string
serial_reuse string disable
service_names string prtp
session_cached_cursors integer 0
session_max_open_files integer 10
sessions integer 4405
sga_max_size big integer 20G
sga_target big integer 20G
shadow_core_dump string partial
shared_memory_address integer 0
shared_pool_reserved_size big integer 214748364
shared_pool_size big integer 4G
shared_server_sessions integer
shared_servers integer 0
skip_unusable_indexes boolean TRUE
smtp_out_server string smtp.banglalinkgsm.com
sort_area_retained_size integer 0
sort_area_size integer 65536
spfile string /oradata1/prtp/pfile/spfileprt
p.ora
sql92_security boolean FALSE
sql_trace boolean FALSE
sql_version string NATIVE
sqltune_category string DEFAULT
standby_archive_dest string ?/dbs/arch
standby_file_management string AUTO
star_transformation_enabled string FALSE
statistics_level string TYPICAL
streams_pool_size big integer 0
tape_asynch_io boolean TRUE
thread integer 0
timed_os_statistics integer 0
timed_statistics boolean TRUE
trace_enabled boolean TRUE
tracefile_identifier string
transactions integer 4845
transactions_per_rollback_segment integer 5
undo_management string AUTO
undo_retention integer 15000
undo_tablespace string UNDOTBS
use_indirect_data_buffers boolean FALSE
user_dump_dest string /oracle/admin/prtp/udump
utl_file_dir string
workarea_size_policy string AUTO

Similar Messages

  • Next log sequence to archive in Standby Database (RAC Dataguard Issue)

    Hi All,
    I just had implemented Data Guard in our server. My primary Database is RAC configured, but it is only single node. The other Instance was removed and converted it to Developement Instance. For the reason I kept the primary as RAC is when I will implement dataguard, my Primary Database is RAC with 7 nodes.
    The first test is successful, and I was able to "switchover" from my primary to standby. I failed in the 'FAILOVER" test.
    I restore my primary server and redo the setup.
    BTW, my standby DB is physical standby.
    When I try to switchover again and issue archive log list, below is my output.
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 38
    *Next log sequence to archive 0*
    Current log sequence 38
    SQL> select open_mode, database_role from v$database;
    OPEN_MODE DATABASE_ROLE
    MOUNTED PHYSICAL STANDBY
    ===============================================
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence 38
    *Next log sequence to archive 38*
    Current log sequence 38
    SQL> select open_mode, database_role from v$database;
    OPEN_MODE DATABASE_ROLE
    READ WRITE PRIMARY
    In my first attempt to switchover before I failed in "FAILOVER" test, I also issue +archive log list+ in both primary and standby database, and if I remember it right, next log sequence on both should be identical. Am I right on this?
    Thanks in Advance.
    Jay A

    Or Am i just overthinking on this?
    Is dataguard only looking for the current and oldest log sequence?

  • Oracle Dataguard issue

    Hi
    Could you please help me on this...
    We started Oracle data guard setup for a production database where primary is located in Europe Region and standby is located in Latin America.
    We configured dataguard parameters on primary and performed cold backup of DB size nearly one terabyte. At the same time we kept standby server kept ready.
    But it took 15 days to reach cold backup and get restored on to standby location. In these 15 days we shipped manually all the archive logs to standby which were generated on primary.
    After restoration on standby server, today i created standby contro lfile on primary and transferred to standby using scp and then copied to standby control file locations. As per the standby database setup procedure i performed all the steps...
    I am able to mount the database in standby mode. After that i given the command "RECOVER STANDBY DATABASE;" to apply all the logs which were shipped manually in these 15 days....I am getting error given below:
    Physical Standby Database mounted.
    Completed: alter database mount standby database
    Mon Jun 28 07:53:33 2010
    Starting Data Guard Broker (DMON)
    INSV started with pid=22, OS id=1246
    Mon Jun 28 07:54:35 2010
    ALTER DATABASE RECOVER standby database
    Mon Jun 28 07:54:35 2010
    Media Recovery Start
    Managed Standby Recovery not using Real Time Apply
    Mon Jun 28 07:54:35 2010
    Errors in file /oracle/P19/saptrace/background/p19_dbw0_1173.trc:
    ORA-01157: cannot identify/lock data file 322 - see DBWR trace file
    ORA-01110: data file 322: '/oracle/P19/sapdata1/sr3_289/sr3.data289'
    ORA-27037: unable to obtain file status
    HPUX-ia64 Error: 2: No such file or directory
    Additional information: 3
    Mon Jun 28 07:54:35 2010
    Errors in file /oracle/P19/saptrace/background/p19_dbw0_1173.trc:
    ORA-01157: cannot identify/lock data file 323 - see DBWR trace file
    ORA-01110: data file 323: '/oracle/P19/sapdata1/sr3_290/sr3.data290'
    ORA-27037: unable to obtain file status
    HPUX-ia64 Error: 2: No such file or directory
    Additional information: 3
    Mon Jun 28 07:54:35 2010
    Errors in file /oracle/P19/saptrace/background/p19_dbw0_1173.trc:
    ORA-01157: cannot identify/lock data file 324 - see DBWR trace file
    ORA-01110: data file 324: '/oracle/P19/sapdata2/sr3_291/sr3.data291'
    ORA-27037: unable to obtain file status
    HPUX-ia64 Error: 2: No such file or directory
    Additional information: 3
    Mon Jun 28 07:54:35 2010
    Errors in file /oracle/P19/saptrace/background/p19_dbw0_1173.trc:
    ORA-01157: cannot identify/lock data file 325 - see DBWR trace file
    ORA-01110: data file 325: '/oracle/P19/sapdata3/sr3_292/sr3.data292'
    ORA-27037: unable to obtain file status
    HPUX-ia64 Error: 2: No such file or directory
    The above datafiles are added after the cold backup on primary....I am getting this error due to the latest standby controlfile used on standby....so i used the below commands on standby database:
    alter database datafile '/oracle/P19/sapdata1/sr3_289/sr3.data289' offline drop;
    alter database datafile '/oracle/P19/sapdata1/sr3_290/sr3.data290' offline drop;
    alter database datafile '/oracle/P19/sapdata2/sr3_291/sr3.data291' offline drop;
    alter database datafile '/oracle/P19/sapdata3/sr3_292/sr3.data292' offline drop;
    and then recovery started by applying the logs...please find the details from alert log file given below:
    Media Recovery Log /oracle/P19/oraarch/bkp_arch_dest/P19arch1_401780_624244340.dbf
    Mon Jun 28 08:37:22 2010
    ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    Mon Jun 28 08:37:22 2010
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Mon Jun 28 08:37:22 2010
    Media Recovery Log /oracle/P19/oraarch/bkp_arch_dest/P19arch1_401781_624244340.dbf
    Mon Jun 28 08:38:02 2010
    ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    Mon Jun 28 08:38:02 2010
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Mon Jun 28 08:38:02 2010
    Media Recovery Log /oracle/P19/oraarch/bkp_arch_dest/P19arch1_401782_624244340.dbf
    Mon Jun 28 08:38:32 2010
    ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    Mon Jun 28 08:38:32 2010
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    Mon Jun 28 08:38:32 2010
    Media Recovery Log /oracle/P19/oraarch/bkp_arch_dest/P19arch1_401783_624244340.dbf
    Mon Jun 28 08:39:05 2010
    ORA-279 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    Mon Jun 28 08:39:05 2010
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    After the manual shipped logs applying completion, i started the dataguard setup....logs are shipping and applying perfectly.....
    Media Recovery Waiting for thread 1 sequence 407421
    Fetching gap sequence in thread 1, gap sequence 407421-407506
    Thu Jul 1 00:26:41 2010
    RFS[2]: Archived Log: '/oracle/P19/oraarch/P19arch1_407529_624244340.dbf'
    Thu Jul 1 00:26:49 2010
    RFS[3]: Archived Log: '/oracle/P19/oraarch/P19arch1_407530_624244340.dbf'
    Thu Jul 1 00:27:17 2010
    RFS[1]: Archived Log: '/oracle/P19/oraarch/P19arch1_407531_624244340.dbf'
    Thu Jul 1 00:28:41 2010
    RFS[2]: Archived Log: '/oracle/P19/oraarch/P19arch1_407532_624244340.dbf'
    Thu Jul 1 00:29:14 2010
    RFS[3]: Archived Log: '/oracle/P19/oraarch/P19arch1_407421_624244340.dbf'
    Thu Jul 1 00:29:19 2010
    Media Recovery Log /oracle/P19/oraarch/P19arch1_407421_624244340.dbf
    Thu Jul 1 00:29:24 2010
    RFS[1]: Archived Log: '/oracle/P19/oraarch/P19arch1_407422_624244340.dbf'
    Thu Jul 1 00:29:51 2010
    Media Recovery Log /oracle/P19/oraarch/P19arch1_407422_624244340.dbf
    But the above files showing as recover as status...could you please tell how to go ahead on this....
    NAME
    STATUS
    /oracle/P19/sapdata1/sr3_289/sr3.data289
    RECOVER
    /oracle/P19/sapdata1/sr3_290/sr3.data290
    RECOVER
    /oracle/P19/sapdata2/sr3_291/sr3.data291
    RECOVER
    NAME
    STATUS
    /oracle/P19/sapdata3/sr3_292/sr3.data292
    RECOVER
    can i recover these files in standby mount mode? Any other solution is there? All archivelogs applied, log shipping and applying is going on...
    Thank You....

    try this out
    1.On the Primary server issue this command
    SQL> Alter database backup control file to trace;
    2.Go to your Udump directory and look for the trace file that has been generated by this comman.
    3.This file will contain the CREATE CONTROLFILE statement. It will have two sets of statement one with RESETLOGS and another withOUT RESETLOGS. use RESETLOGS option of CREATE CONTROLFILE statement. Now copy and paste the statement in a file. Let it be c.sql
    4.Now open a file named as c.sql file in text editor and set the database name from [example:ica] to [example:prod] shown in an example below
    CREATE CONTROLFILE
       SET DATABASE prod   
       LOGFILE GROUP 1 ('/u01/oracle/ica/redo01_01.log',
                        '/u01/oracle/ica/redo01_02.log'),
               GROUP 2 ('/u01/oracle/ica/redo02_01.log',
                        '/u01/oracle/ica/redo02_02.log'),
               GROUP 3 ('/u01/oracle/ica/redo03_01.log',
                        '/u01/oracle/ica/redo03_02.log')
       RESETLOGS
       DATAFILE '/u01/oracle/ica/system01.dbf' SIZE 3M,
                '/u01/oracle/ica/rbs01.dbs' SIZE 5M,
                '/u01/oracle/ica/users01.dbs' SIZE 5M,
                '/u01/oracle/ica/temp01.dbs' SIZE 5M
       MAXLOGFILES 50
       MAXLOGMEMBERS 3
       MAXLOGHISTORY 400
       MAXDATAFILES 200
       MAXINSTANCES 6
       ARCHIVELOG5. Start the database in NOMOUNT STATE
    SQL>Stratup Nomount;
    6.Now execute the script to create a new control file
    SQL> @/u01/oracle/c.sql
    7. Now open the database
    SQL>Alter database open resetlogs;
    IMPORTANT NOTE: Before implementing this suggested solution try it out on ur laptop or PC if possible
    Edited by: Suhail Faraaz on Jun 30, 2010 3:00 PM
    Edited by: Suhail Faraaz on Jun 30, 2010 3:03 PM

  • Dataguard issue:- URGENT!!!!!!!!!!!!!!!

    Dear all,
    please help me in solving the problem of the dataguard, the problem i am facing is when ever a archive log is created it is first applied in standby system and next it is applied to PRIMARY system and if the STANDBY connection is lost the primary hangs.
    I am doing this dataguard on oracle 9i on HP-Unix
    If i put the value of log_archive_dest_2 as 'SERVICE=STANDBY OPTIONAL ARCH ASYNC NOAFFIRM REGISTER' then i am getting an error ORA-16025: parameter LOG_ARCHIVE_DEST_2 contains repeated or conflicting attributes.
    the protection mode is maximum performance.
    can any one help me out of this problem.
    The parameters i have used for primary and standby are given below.
    ## ADDED PARAMETERS FOR DATAGUARD on PRIMARY
    dg_broker_start=true
    standby_file_management='AUTO'
    log_archive_dest_state_1=ENABLE
    log_archive_dest_state_2=ENABLE
    log_archive_dest_1='LOCATION=/oracle/C30/saparch/C30arch MANDATORY'
    log_archive_dest_2='SERVICE=STANDBY ARCH NOAFFIRM'
    remote_archive_enable=true
    standby_archive_dest='/oracle/C30/saparch/C30arch'
    fal_server='SERVICE=STANDBY'
    fal_client='SERVICE=PRIMARY'
    ## ADDED PARAMETERS FOR DATAGUARD ON STANDBY
    dg_broker_start=true
    standby_file_management='AUTO'
    log_archive_dest_state_2='defer'
    log_archive_dest_1='LOCATION=/oracle/C30/saparch/C30arch'
    #log_archive_dest_2='SERVICE=PRIMARY OPTIONAL ARCH ASYNC NOAFFIRM REGISTER'
    standby_archive_dest='/oracle/C30/saparch/C30arch'
    fal_client='SERVICE=STANDBY'
    fal_server='SERVICE=PRIMARY'
    Please help me out!!!!!!!!!!!

    thanks kamaljeet for reply,
    the protection mode is MAXIMUM PERFORMANCE.
    Please help me in sorting this problem.

  • Physical DataGuard issue

    Hello,
    - Primary Database and Standby versions: 11.2.0.3. Linux Redhat 5.
    - Physical Standby database created using rman active duplication command.
    - Archive logs are shipping and applied to standby.
    I am trying to setup the broker to manage the DG envirmement.
    from Primary, I connected to dgmgrl
    create configuration 'DGConfigCTT' as primary database is 'cttdb' connect identifier is cttdb;
    add database 'cttstby' as connect identifier is cttstby;Error: I cannot enable the standby database from dgmgrl
    dgmgrl
    DGMGRL for Linux: Version 11.2.0.3.0 - 64bit Production
    Copyright (c) 2000, 2009, Oracle. All rights reserved.
    Welcome to DGMGRL, type "help" for information.
    DGMGRL> connect sys
    Password:
    Connected.
    DGMGRL>  show database cttstby 'StatusReport';
    Error: ORA-16548: database not enabled
    DGMGRL> enable database cttstby;
    Enabled.
    DGMGRL> show database cttstby 'StatusReport';
    Error: ORA-16548: database not enabled
    DGMGRL>
    DGMGRL>
    DGMGRL>
    DGMGRL>Please help.

    DBA wrote:
    Yes, I did enabled itgive results of
    DGMGRL> show configuration;You should enable configuration , later if you add any database of course your step applicables. Below is sample
    DGMGRL> enable configuration;
    Enabled.
    DGMGRL>
    DGMGRL> show configuration;
    Configuration - CKPT
      Protection Mode: MaxPerformance
      Databases:
        PRIM - Primary database
        STAND  - Physical standby database
    Fast-Start Failover: DISABLED
    Configuration Status:
    SUCCESS
    DGMGRL>Edited by: CKPT on Jan 11, 2013 7:59 PM

  • Dataguard Issues

    OS :Windows 2003
    DB version:10.2.0.4.0- primary
    DB version:10.2.0.4.0- Physical stand by
    when I configuring the data guard , getting the below error.
    Can you please suugest me ?
    DGMGRL> show database tan statusreport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    tan ERROR ORA-16737: the redo transport service for standby database "venus" has an error
    tan WARNING ORA-16714: the value of property StandbyFileManagement is inconsistent with the database setting
    tan WARNING ORA-16714: the value of property DbFileNameConvert is inconsistent with the database setting
    tan WARNING ORA-16714: the value of property LogFileNameConvert is inconsistent with the database setting
    DGMGRL> show database venus statusreport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    * ERROR ORA-16816: incorrect database role
    * ERROR ORA-16700: the standby database has diverged from the primary database
    venus WARNING ORA-16714: the value of property StandbyFileManagement is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property ArchiveLagTarget is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property LogArchiveMinSucceedDest is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property StandbyArchiveLocation is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property AlternateLocation is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property LogArchiveTrace is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property LogArchiveFormat is inconsistent with the database setting
    * ERROR ORA-16766: Redo Apply unexpectedly offline

    OS :Windows 2003
    DB version:10.2.0.4.0- primary
    DB version:10.2.0.4.0- Physical stand by
    when I configuring the data guard , getting the below error.
    Can you please suugest me ?
    DGMGRL> show database tan statusreport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    tan ERROR ORA-16737: the redo transport service for standby database "venus" has an error
    tan WARNING ORA-16714: the value of property StandbyFileManagement is inconsistent with the database setting
    tan WARNING ORA-16714: the value of property DbFileNameConvert is inconsistent with the database setting
    tan WARNING ORA-16714: the value of property LogFileNameConvert is inconsistent with the database setting
    DGMGRL> show database venus statusreport;
    STATUS REPORT
    INSTANCE_NAME SEVERITY ERROR_TEXT
    * ERROR ORA-16816: incorrect database role
    * ERROR ORA-16700: the standby database has diverged from the primary database
    venus WARNING ORA-16714: the value of property StandbyFileManagement is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property ArchiveLagTarget is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property LogArchiveMinSucceedDest is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property StandbyArchiveLocation is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property AlternateLocation is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property LogArchiveTrace is inconsistent with the database setting
    venus WARNING ORA-16714: the value of property LogArchiveFormat is inconsistent with the database setting
    * ERROR ORA-16766: Redo Apply unexpectedly offline

  • ORA-02068: following severe error from ....

    Hi,
    we have a dataguard setup for 10g databases on AIX platform as below.
    host1(TALON) host2(CATALINA)
    TICSPROD (PRIMARY ) TICSPROD(STANDBY)
    PLSPROD (STANDBY) PLSPROD (PRIMARY)
    We have decided to recreate PLSPROD STANDBY(because of some setup issues) this weekend and last night we just disabled the PLSPROD STANDBY.Means now only PLSPROD PRIMARY is working.
    Last night, suddenly in the PRIMARY TICSPROD alert log file we see the below error.Is it because of the dataguard issue or any other issue.Please help as we have no clue how to resolve this.
    ORA-02050: transaction 4.34.2844973 rolled back, some remote DBs may be in-doubt
    ORA-02068: following severe error from PLSPROD
    ORA-03113: end-of-file on communication channel

    We have decided to recreate PLSPROD STANDBY(because of some setup issues) this weekend and last night we just disabled the PLSPROD STANDBY.Means now only PLSPROD PRIMARY is working.
    Last night, suddenly in the PRIMARY TICSPROD alert log file we see the below error.Is it because of the dataguard issue or any other issue.Please help as we have no clue how to resolve this.
    ORA-02050: transaction 4.34.2844973 rolled back, some remote DBs may be in-doubt
    ORA-02068: following severe error from PLSPROD
    ORA-03113: end-of-file on communication channel
    What are the parameters of standby
    post
    show parameter dest_2
    show parameter state_2ORA-02050:
         transaction string rolled back, some remote DBs may be in-doubt
    Cause:      network or remote failure in 2PC.
    Action:      Notify operations; remote DBs will automatically re-sync when the failure is repaired.
    defer the destination state 2 also refer the below link
    http://www.orafaq.com/forum/t/67115/2/

  • Isg_dataguard_issue

    Hi All;
    Can anybody tell me how can i restore archivelog from backup
    Regards And Thanks

    user11969173 wrote:
    Hi All;
    Can anybody tell me how can i restore archivelog from backup
    Regards And ThanksHi
    Refer :
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmrecov.htm
    Your subject is dataguard issue but your question realted to backup and recovery
    Always mention
    database version and os version..if you want restore the backup means, we want know about backup stratgies how did you taken backup before like using rman or ordinary hotbackup?...
    Regards
    Azar
    DBA

  • Broadcast On Commit acks

    Do you know what BOC acks (Broadcast On Commit acks) means or any document reference for this?
    Thx..

    Has someone (vendor/consultant/manager) told you that
    your DataGuardIt was oracle support who told me to apply this patch. I have a TAR on this issue. I also asked responsible guy about what i asked here through TAR request, not returned yet.
    i think i am right to suspect why oracle support wanted me to apply this patch for a dataguard issue.
    Thanks for your valuable input Dion_Cho & Hemant K Chitale.

  • Dataguard Interview questions and most frequeently asked DG issues

    Hi Gurus,
    I am new to this forum and happy to be a part of it.
    Can someone help me in posting " Dataguard Interview questions and most frequeently asked DG issues" as i am preparing for the interviews.
    And also share the enhancements to DG in 11g.
    Thanks in advance.

    I'm not impressed by any of the questions at any of the linked sites provided so here are the one's I would expect someone to be able to answer:
    1. What is the difference between Physical and Logical Data Guard in terms of how they work and how they are used in the enterprise?
    2. What is the difference between vanilla Data Guard and Active and Snapshot?
    3. How do you enable the Data Guard Broker process and why and when would you want to?
    4. Who is Larry Carpenter and why should you care?
    5. What parameters in using orapwd are critical for success?
    6. What would you recommend as a value for SEND_BUF_SIZE and why?
    7. Given a primary production database, and a full RMAN backup that takes 1 hour to fully restore ... how long would it take you to implement Physical Data Guard from the time you started working?
    If the answer to question 7 is greater than 2 hours ... my assumption would be that you probably had never done it before and it wouldn't matter that you got the first six questions correct.

  • Oracle Dataguard - Logs apply issue

    Hi,
    Due to some issue our archives logs are not applying from production to standy. we had our standby at London. i dont see any error messages. not sure what is happening, i had case open with oracle support.
    we need to shutdown all our production and DR last sunday. once it is back up it stopped sending logs. our production server is a 3 node RAC.
    i just need how to apply archive logs from production to standby which is in london.
    appricate your quick response.
    Thanks

    Hello,
    Please post the result:
    SELECT MAX(SEQUENCE#), MAX(COMPLETION_TIME), APPLIED FROM V$ARCHIVED_LOG GROUP BY APPLIED;
    and
    SELECT * FROM V$ARCHIVE_GAP;
    also you can copy them from the primary to the standby and apply them one by one:
    ALTER DATABASE REGISTER LOGFILE 'LOG_FILE_NAME';
    if the gapsequence is so big like 20 or 30 days i will recreate the dataguard using and clone it using rman.
    Kind regards
    Mohamed

  • Major issue's or bugs in 10gr2 dataguard?

    We have implements the physical standy database in 10gr2. My manager what know about dataguard major issues or bugs in 10gr2 ? Please share your experience.
    Appreciate your reply.

    Dear user530956,
    Please first check below link;
    http://www.oracle.com/technetwork/topics/security/alerts-086861.html
    Can you see any bug fixes about the Oracle Data Guard?
    There could be always bugs but i don't know that 10gR2 has data guard bugs or bugs that affects the system critically. I have never faces a bug for the data guard.
    Tell your manager to get you a metalink account and check the metalink for further information and articles about the Oracle Data Guard. You need more than people's experiences.
    Regards.
    Ogan

  • Oracle 9i database software upgrade issue with standby (Dataguard) database

    All,
    I have encountered a problem in upgrading the Oracle software on 2 of our databases in-house. The databases in question here are using Dataguard, so one is set to primary and one is set to standby. The version that they are/were starting at is 9.2.0.7.
    I was able to install and complete the 9.2.0.8 and 9.2.0.8 OCT CPU patches on the primary database, however when I moved to working on the standby database, I am got an error when attempting to follow step 6 of the post installation tasks:
    Enter the following SQL*Plus commands:
    SQL> STARTUP MIGRATE
    SQL> SPOOL patch.log
    SQL> @ORACLE_BASE\ORACLE_HOME\rdbms\admin\catpatch.sql
    SQL> SPOOL OFF
    (Please note that this is my first experience with working with Dataguard, so my methods in updating might have been a bit off-base.)
    If I attempt to startup the standby database in MIGRADE mode, I get the following error (which is expected):
    ORA-01666: controlfile is for a standby database
    If I try to run the catpatch.sql script, even after mounting the database in standby mode, I receive the additional error:
    ORA-01219: database not open: queries allowed on fixed tables/views only
    My question here is, how do I get the standby database to allow me to finish the software upgrade process, so that both versions of Oracle match on the primary and standby databases? :)
    (I did try some research on Metalink, but only found an article detailing how to upgrade your dataguard database from 9i to 10g, which did not look especially helpful in this case...)
    Thank you!
    -Sabrina

    Depending on the kind of Dataguard you currently have, physical or logical, there are two useful metalinks notes:
    Upgrading to 10g with a Physical Standby in Place
         Doc ID:      Note:278521.1
    Upgrading to 10g with a Logical Standby in Place
         Doc ID:      Note:278108.1
    ~ Madrid
    http://hrivera99.blogspot.com/

  • DataGuard Lagging Issue

    Hi,
    DataGuard is lagging behind primary database.
    For that i had shipped the missing archived log files and register them in DG side.
    But still on the DG side showing there is gap archived files of DG and Primary.
    Thread Last Sequence Received Last Sequence Applied Difference
    1 42899 42775 124
    2 42637 42637 0
    3 42779 42626 153
    what might be the reason and what is possible solution.
    Can you please help in finding out the cause?
    Thanks
    Vijay
    Edited by: cherukuri on Jul 2, 2011 4:32 PM
    Edited by: cherukuri on Jul 2, 2011 4:33 PM

    cherukuri wrote:
    HI,
    This is the measage on Primary Db
    \Error 16191 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'ITSMPRD_dg'
    Error 16191 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'ITSMPRD_dg'
    ORA-16191: Primary log shipping client not logged on standby
    *** 2011-06-19 05:44:52.264 64896 kcrr.c
    PING[ARC4]: Heartbeat failed to connect to standby 'ITSMPRD_dg'. Error is 16191.
    *** 2011-06-19 05:44:52.264 63005 kcrr.c
    kcrrfail: dest:2 err:16191 force:0 blast:1
    *** 2011-06-19 05:49:52.381
    Redo shipping client performing standby login
    ORA-01017: invalid username/password; logon denied
    OCI_DBVER attribute value retrieval failed error=1017
    *** 2011-06-19 05:49:52.599 64896 kcrr.c
    Error 1017 received logging on to the standby
    and this is on DG side
    Media Recovery Waiting for thread 1 sequence 42600
    Fetching gap sequence in thread 1, gap sequence 42600-42699
    Fri Jul 01 14:01:57 EDT 2011
    FAL[client]: Failed to request gap sequence
    GAP - thread 1 sequence 42600-42699
    DBID 3152143266 branch 697006498
    FAL[client]: All defined FAL servers have been attempted.
    and I just shipped missing archive logs and registered them after what i need to do.
    Thanks
    Vijay
    16191, 0000, "Primary log shipping client not logged on standby"
    // *Cause:  An attempt to ship redo to standby without logging on
    // to standby or with invalid user credentials.
    // *Action: Check that primary and standby are using password files and that
    //          both primary and standby have the same SYS password.
    //          Restart primary and/or standby after ensuring that
    //          password file is accessible and REMOTE_LOGIN_PASSWORDFILE
    //          initialization parameter is set to SHARED or EXCLUSIVE. copy the external password file from the Primary to the Standby system

  • Dataguard logical standby issue on lacking

    we have logical standby database and its has been lacking sql apply from 14 hrs from primary database. Is there anyway i can stop sql apply and recover the database through archive files and make sync with primary and then again start the sql apply on logical standby database.
    Please adivce

    Neon,
    I won't respond any further. The Dataguard Concepts and Administration Manual does contain a section on Troubleshooting.
    It is quite clear you are using technology on which you have insufficient knowledge.
    However, you belong to the class of wannabe-DBAs here,who as soon as they run into trouble start posting doc questions labeled with
    'I need the detail steps'
    'Urgent'
    or (new development) post
    'Any help' every half hour, when a volunteer didn't respond to their question.
    If you want a quick response, submit a SR at Metalink. At least those analists are getting paid to answer your doc questions.
    Sybrand Bakker
    Senior Oracle DBA

Maybe you are looking for