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!

Standby database setup

620899Aug 19 2009 — edited Aug 19 2009
Hi experts
I am doing a setup for standby database on 11.1.0.6 on win xp but failed, it is on the same machine.
Just to know is it practically possible to setup on the same host at all in windows platform or not.

I tried the same as per docs but not through

it is giving me this error on the primary database
SQL> select status,error from v$archive_dest;

STATUS    ERROR
--------- -----------------------------------------------------------------
VALID
ERROR     ORA-16047: DGID mismatch between destination setting and standby
INACTIVE
INACTIVE
INACTIVE
INACTIVE
INACTIVE
INACTIVE
INACTIVE
INACTIVE

10 rows selected.

SQL> alter system set log_archive_dest_2='service=stby LGWR ASYNC valid_for=(ONL
INE_LOGFILES,PRIMARY_ROLE) db_unique_name=orcl';

System altered.

SQL> alter system set log_archive_dest_state_2=enable scope=both;

System altered.

SQL> select status,error from v$archive_dest where dest_id=2;

STATUS    ERROR
--------- -----------------------------------------------------------------
VALID

SQL> ALTER SYSTEM SWITCH LOGFILE;

System altered.

SQL> ALTER SYSTEM SWITCH LOGFILE;

System altered.

SQL> select status,error from v$archive_dest where dest_id=2;

STATUS    ERROR
--------- -----------------------------------------------------------------
DISABLED  ORA-16047: DGID mismatch between destination setting and standby

SQL>
any suggestion please.

Thanks

Edited by: SumanRoy on Aug 19, 2009 3:10 AM
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 16 2009
Added on Aug 19 2009
8 comments
786 views