Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Redologs not shipped to standby

486215Jun 23 2009 — edited Jun 23 2009

Hi,

I am using Oracle 10.2.0.4 database on Solaris 10.

Our primary database is a 2-instance RAC database and the standby which has been configured is also a 2 instance RAC database.

log_archive_dest_1                   string      location="/u02/app/oracle/arch
                                                 /smttst", valid_for=(ONLINE_LO
                                                 GFILE,ALL_ROLES)
log_archive_dest_2                   string      SERVICE=smttstdr VALID_FOR=(ON
                                                 LINE_LOGFILES,PRIMARY_ROLE) DB
                                                 UNIQUENAME=smttstdr
log_archive_dest_state_1             string      ENABLE
log_archive_dest_state_2             string      ENABLE

Password files have all been set correctly in both primary and standby.

Initially I received these error messages

ARC1: Archival destination is a Primary RAC instance: 'smttstdr'
Mon Jun 22 15:46:55 2009
Errors in file /u01/app/oracle/admin/smttst/bdump/smttst1_arc1_20487.trc:
ORA-16047: DGID mismatch between destination setting and standby
PING[ARC1]: Heartbeat failed to connect to standby 'smttstdr'. Error is 16047.
Mon Jun 22 15:48:47 2009

This was due to the wrong entry in the tnsnames.ora which has been fixed now.

tnsnames.ora file in primary

SMTTST =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.130.113.30)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.130.113.40)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = smttst)
    )
  )

SMTTSTDR =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.140.113.30)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.140.113.40)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = smttstdr)
    )
  )

tnsnames.ora file in standby

SMTTST =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.130.113.30)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.130.113.40)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
     (SERVICE_NAME = smttst)
    )
  )

SMTTSTDR =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.140.113.30)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.140.113.40)(PORT = 1521))
    (LOAD_BALANCE = yes)
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = smttstdr)
    )
  )

Any suggestions?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 21 2009
Added on Jun 23 2009
5 comments
3,094 views