Error when starting dataguard
993195Mar 20 2013 — edited Mar 20 2013Hello. I set up a new dataguard and am receiving errors when I try to start it on my primary. I looked at support note 172779.1 and it says the DB_UNIQUE_NAME needs to match from the log_archive_dest_2 to the db_unique_name of the standby. I think it looks okay but I'm missing something.
10.2.0.5 on Linux RH 5
On primary -
log_archive_dest_1 string location=USE_DB_RECOVERY_FILE_
DEST valid_for=(ALL_LOGFILES,A
LL_ROLES) DB_UNIQUE_NAME=bcso
log_archive_dest_2 string SERVICE=BCSTDBY_40 reopen=60 V
ALID_FOR=(ONLINE_LOGFILES,PRIM
ARY_ROLE) DB_UNIQUE_NAME=stdby
From standby
SQL> show parameter db_name
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_name string bcso
SQL> show parameter db_uniq
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
db_unique_name string stdby
error on primary
ORA-16047: DGID mismatch between destination setting and standby
Wed Mar 20 16:32:49 GMT 2013
PING[ARC1]: Heartbeat failed to connect to standby 'BCSTDBY_40'. Error is 16047.
Wed Mar 20 16:33:20 GMT 2013
Using STANDBY_ARCHIVE_DEST parameter default value as USE_DB_RECOVERY_FILE_DEST
tnsping BCSTDBY_40
TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 20-MAR-2013 16:50:26
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/10.2.0_64/Db_1/network/admin/sqlnet.ora
From primary -
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.40)(PORT = 1611)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = stdby)))
OK (0 msec)
From stdby
tnsping BCSTDBY_39
TNS Ping Utility for Linux: Version 10.2.0.5.0 - Production on 20-MAR-2013 16:52:45
Copyright (c) 1997, 2010, Oracle. All rights reserved.
Used parameter files:
/u01/app/oracle/product/10.2.0_64/Db_1/network/admin/sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = xxx.39)(PORT = 1611)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = bcso)))
OK (0 msec)
Edited by: 990192 on Mar 20, 2013 9:55 AM