Logical Standby Database Not Getting Sync With Primary Database
Hi All,
I am using a Primary DB and Logical Standby DB configuration in Oracle 10g:-
Version Name:-
SQL> select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Solaris: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
We have build the logical standby last week and till date the Logical DB is not sync. I have checked the init parameters and I wont see any problems with it. Also archive log destinations are also fine enough.
We have a important table named "HPD_HELPDESK" where record count is growing gradually whereas in logical standby it's not growing. There are some 19K record difference in the both the tables.
I have checked the alert log but it is also not giving any error message. Please find the last few lines of the alert log in logical Database:-
RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1703_790996778.arc] to LogMiner session id [1]
Tue Aug 28 14:56:52 GMT 2012
RFS[2853]: Successfully opened standby log 5: '/oracle_data/oradata/remedy/stbyredo01.log'
Tue Aug 28 14:56:58 GMT 2012
RFS LogMiner: Client enabled and ready for notification
Tue Aug 28 14:57:00 GMT 2012
RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1704_790996778.arc] to LogMiner session id [1]
Tue Aug 28 15:06:40 GMT 2012
RFS[2854]: Successfully opened standby log 5: '/oracle_data/oradata/remedy/stbyredo01.log'
Tue Aug 28 15:06:47 GMT 2012
RFS LogMiner: Client enabled and ready for notification
Tue Aug 28 15:06:49 GMT 2012
RFS LogMiner: Registered logfile [oradata_san1/oradata/remedy/arch/ars1_1705_790996778.arc] to LogMiner session id [1]
I am not able to trace the issue that why the records are not growing in logical DB. Please provide your inputs.
Regards,
Arijit
How do you know that there's such a gap between the tables?
If your standby db is a physical standby, then it is not open and you can't query your table without cancelling the recovery of the managed standby database.
What does it say if you execute this sql?
SELECT PROCESS, STATUS, THREAD#, SEQUENCE#, BLOCK#, BLOCKS FROM V$MANAGED_STANDBY;The ARCH processes should be connected and MRP waiting for a file.
If you query for the archive_gaps, do you get any hits?
select * from gv$archive_gapIf you're not working in a RAC environment you need to query v$archive_gap, instead!
Did you check whether the archives generated from the primary instance are transferred and present in the file system of your standby database?
I believe your standby is not in recovery_mode anymore or has an archive_gap, which is the reason why it doesn't catch up anymore.
Hope it helps a little,
Regards,
Sebastian
PS: I'm working on 11g, so unfortunately I'm not quite sure if the views are exist in 10gR2. It's worth a try though!
Edited by: skahlert on 31.08.2012 13:46
Similar Messages
-
Issue with physical standby database not in sync with primary
Hi,
I created an physical standby database couple of Hours back . I am trying to keep the standby database in Managed recovery mode to make the standby in sync with primary but it is throwing the below erros. Please share your suggestion ...
SQL> select thread#,max(sequence#) from v$log_history group by thread#;
THREAD# MAX(SEQUENCE#)
1 7
PROCESS STATUS THREAD# SEQUENCE#
ARCH CONNECTED 0 0
ARCH CONNECTED 0 0
RFS OPENING 1 12
ALERT LOG :
Tue Mar 20 07:31:32 2012
alter database recover managed standby database disconnect from session
Tue Mar 20 07:31:32 2012
Attempt to start background Managed Standby Recovery process (PRIMARY)
MRP0 started with pid=18, OS id=16370
Tue Mar 20 07:31:32 2012
MRP0: Background Managed Standby Recovery process started (PRIMARY)
Managed Standby Recovery not using Real Time Apply
parallel recovery started with 8 processes
Media Recovery Log /oracle/STDBY/arch/1_3_777567883.dbf
Tue Mar 20 07:31:39 2012
Completed: alter database recover managed standby database disconnect from session
Tue Mar 20 07:31:54 2012
Incomplete recovery applied all redo ever generated.
Recovery completed through change 9677325080303
Tue Mar 20 07:31:54 2012
MRP0: Media Recovery Complete (PRIMARY)
Tue Mar 20 07:31:55 2012
MRP0: Background Media Recovery process shutdown (PRIMARY)
Thanks,
RakeshHI CKPT,
Thanks for the reply. All the Archives from primary are transferred to the standby by RFS. Also i tried to register the log files manually even but it says already registered. They are no errors in the primary instance alert log file. Please find the log
SEVERITY ERROR_CODE MESSAGE TO_CHAR(TIMESTAMP,'D
Informational 0 ARC0: Archival started 20-MAR-2012 06:51:36
Informational 0 ARC1: Archival started 20-MAR-2012 06:51:36
Informational 0 ARC0: Becoming the 'no FAL' ARCH 20-MAR-2012 06:51:36
Informational 0 ARC0: Becoming the 'no SRL' ARCH 20-MAR-2012 06:51:36
Informational 0 ARC1: Becoming the heartbeat ARCH 20-MAR-2012 06:51:36
Informational 0 Redo Shipping Client Connected as PUBLIC 20-MAR-2012 06:52:07
Informational 0 -- Connected User is Valid 20-MAR-2012 06:52:07
Informational 0 RFS[1]: Assigned to RFS process 15934 20-MAR-2012 06:52:07
Informational 0 RFS[1]: Identified database type as 'physical standby' 20-MAR-2012 06:52:07
Warning 0 RFS[1]: No standby redo logfiles created 20-MAR-2012 06:52:07
Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 06:52:42
Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 06:52:42
Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:52:47
Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 06:52:49
bf
Control 0 MRP0: Media Recovery Complete 20-MAR-2012 06:53:04
Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 06:53:06
Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:53:24
Control 0 Media Recovery Complete 20-MAR-2012 06:53:43
Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 06:54:55
Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 06:54:55
Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 06:55:00
Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 06:55:01
bf
Control 0 MRP0: Media Recovery Complete 20-MAR-2012 06:55:17
Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 06:55:18
Informational 0 Redo Shipping Client Connected as PUBLIC 20-MAR-2012 07:31:03
Informational 0 -- Connected User is Valid 20-MAR-2012 07:31:03
Informational 0 RFS[2]: Assigned to RFS process 16366 20-MAR-2012 07:31:03
Informational 0 RFS[2]: Identified database type as 'physical standby' 20-MAR-2012 07:31:03
Warning 0 RFS[2]: No standby redo logfiles created 20-MAR-2012 07:31:04
Warning 0 RFS[2]: No standby redo logfiles created 20-MAR-2012 07:31:06
Control 0 Attempt to start background Managed Standby Recovery process 20-MAR-2012 07:31:32
Control 0 MRP0: Background Managed Standby Recovery process started 20-MAR-2012 07:31:32
Informational 0 Managed Standby Recovery not using Real Time Apply 20-MAR-2012 07:31:37
Informational 0 Media Recovery Log /oracle/STDBY/arch/1_3_777567883.d 20-MAR-2012 07:31:38
bf
Control 0 MRP0: Media Recovery Complete 20-MAR-2012 07:31:54
Control 0 MRP0: Background Media Recovery process shutdown 20-MAR-2012 07:31:55
36 rows selected.
SQL> archive log list;
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /oracle/STDBY/arch/
Oldest online log sequence 13
Next log sequence to archive 0
Current log sequence 14
SQL> ho ls -ltra /oracle/STDBY/arch/
total 3754456
drwxr-xr-x 4 oracle dba 4096 Feb 13 17:38 ..
-rw-r----- 1 oracle dba 908516864 Mar 20 06:37 1_8_777567883.dbf
-rw-r----- 1 oracle dba 770419200 Mar 20 06:40 1_3_777567883.dbf
-rw-r----- 1 oracle dba 757698048 Mar 20 06:41 1_4_777567883.dbf
-rw-r----- 1 oracle dba 5171712 Mar 20 06:41 1_5_777567883.dbf
-rw-r----- 1 oracle dba 1060801024 Mar 20 06:43 1_6_777567883.dbf
-rw-r----- 1 oracle dba 323025920 Mar 20 06:43 1_7_777567883.dbf
-rw-r----- 1 oracle dba 1558016 Mar 20 06:43 1_9_777567883.dbf
-rw-r----- 1 oracle dba 4608 Mar 20 06:43 1_10_777567883.dbf
-rw-r----- 1 oracle dba 1579008 Mar 20 06:52 1_11_777567883.dbf
-rw-r----- 1 oracle dba 11876864 Mar 20 07:31 1_12_777567883.dbf
-rw-r----- 1 oracle dba 2560 Mar 20 07:31 1_13_777567883.dbf
drwxr-xr-x 2 oracle dba 36864 Mar 20 07:31 .
SQL> -
Dataguard configured using RMAN not in sync with Primary
Hi All.
I have configured physical standby using RMAN it has errored out as below message since the Physical standby is came in Mount state and it is not in sync with Primary.
$ rman target sys/oracle1@PROD_st_STBY auxiliary /
Recovery Manager: Release 11.2.0.1.0 - Production on Sun Jul 29 13:27:02 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: PROD_ST (DBID=609107922)
connected to auxiliary database: PROD_ST (not mounted)
RMAN> duplicate target database for standby dorecover;
Starting Duplicate Db at 29-JUL-12
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=156 device type=DISK
contents of Memory Script:
set until scn 239665;
restore clone standby controlfile;
executing Memory Script
executing command: SET until clause
Starting restore at 29-JUL-12
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece /oracle1/oraerp/PROD_st/rman/07ngg1p6_1_1
channel ORA_AUX_DISK_1: piece handle=/oracle1/oraerp/PROD_st/rman/07ngg1p6_1_1 tag=TAG20120719T140110
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
output file name=/oracle1/oraerp/PROD_st/cont_.ctl
Finished restore at 29-JUL-12
contents of Memory Script:
sql clone 'alter database mount standby database';
executing Memory Script
sql statement: alter database mount standby database
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 07/29/2012 13:27:29
RMAN-05501: aborting duplication of target database
RMAN-05001: auxiliary file name /oracle1/oraerp/PROD_st/undotbs1.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary file name /oracle1/oraerp/PROD_st/sysaux.dbf conflicts with a file used by the target database
RMAN-05001: auxiliary file name /oracle1/oraerp/PROD_st/system01.dbf conflicts with a file used by the target database
RMAN>
SQL> select name,open_mode from v$database;
NAME OPEN_MODE
PROD_ST MOUNTED
SQL> select name,db_unique_name,database_role from v$database;
NAME DB_UNIQUE_NAME DATABASE_ROLE
PROD_ST PROD_st_STBY PHYSICAL STANDBY
SQL>
SQL> alter database recover managed standby database disconnect;
Database altered.
SQL>
SQL> alter system set log_archive_dest_state_2=enable;
System altered.
SQL> sho parameter log_archive_dest_2
NAME TYPE VALUE
log_archive_dest_2 string LOCATION=/oracle1/oraerp/PROD_
st/arch/ VALID_FOR=(ALL_LOGFIL
ES,ALL_ROLES)
On Primary
==========
SQL> SELECT THREAD# "Thread",SEQUENCE# "Last Sequence Generated"
FROM V$ARCHIVED_LOG
WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)
ORDER BY 1; 2 3 4
Thread Last Sequence Generated
1 281
ON STANDBY
SQL> SELECT ARCH.THREAD# "Thread", ARCH.SEQUENCE# "Last Sequence Received", APPL.SEQUENCE# "Last Sequence Applied", (ARCH.SEQUENCE# - APPL.SEQUENCE#) "Difference"
2 FROM
3 (SELECT THREAD# ,SEQUENCE# FROM V$ARCHIVED_LOG WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$ARCHIVED_LOG GROUP BY THREAD#)) ARCH,
4 (SELECT THREAD# ,SEQUENCE# FROM V$LOG_HISTORY WHERE (THREAD#,FIRST_TIME ) IN (SELECT THREAD#,MAX(FIRST_TIME) FROM V$LOG_HISTORY GROUP BY THREAD#)) APPL
5 WHERE
6 ARCH.THREAD# = APPL.THREAD#
ORDER BY 1; 7
no rows selected
SQL>
SQL> SELECT THREAD#, LOW_SEQUENCE#, HIGH_SEQUENCE# FROM V$ARCHIVE_GAP;
no rows selected
SQL>
Please suggest solution.
Best Regards,
Edited by: user13707876 on 19-Jul-2012 02:04Hi,
It has worked now since error with warnings encountered as below:
$ rman target sys/oracle1@PROD_st_STBY auxiliary /
Recovery Manager: Release 11.2.0.1.0 - Production on Sun Jul 29 15:57:39 2012
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
connected to target database: PROD_ST (DBID=609107922)
connected to auxiliary database: PROD_ST (not mounted)
RMAN> duplicate target database for standby nofilenamecheck;
Starting Duplicate Db at 29-JUL-12
using target database control file instead of recovery catalog
allocated channel: ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: SID=156 device type=DISK
contents of Memory Script:
restore clone standby controlfile;
executing Memory Script
Starting restore at 29-JUL-12
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: restoring control file
channel ORA_AUX_DISK_1: reading from backup piece /oracle1/oraerp/PROD_st/rman/0enggc17_1_1
channel ORA_AUX_DISK_1: piece handle=/oracle1/oraerp/PROD_st/rman/0enggc17_1_1 tag=TAG20120719T165607
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:01
output file name=/oracle1/oraerp/PROD_st/cont_.ctl
Finished restore at 29-JUL-12
contents of Memory Script:
sql clone 'alter database mount standby database';
executing Memory Script
sql statement: alter database mount standby database
contents of Memory Script:
set newname for tempfile 1 to
"/oracle1/oraerp/PROD_st/temp01.dbf";
switch clone tempfile all;
set newname for datafile 1 to
"/oracle1/oraerp/PROD_st/system01.dbf";
set newname for datafile 2 to
"/oracle1/oraerp/PROD_st/sysaux.dbf";
set newname for datafile 3 to
"/oracle1/oraerp/PROD_st/undotbs1.dbf";
set newname for datafile 4 to
"/oracle1/oraerp/PROD_st/users01.dbf";
restore
clone database
executing Memory Script
executing command: SET NEWNAME
renamed tempfile 1 to /oracle1/oraerp/PROD_st/temp01.dbf in control file
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting restore at 29-JUL-12
using channel ORA_AUX_DISK_1
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00001 to /oracle1/oraerp/PROD_st/system01.dbf
channel ORA_AUX_DISK_1: restoring datafile 00004 to /oracle1/oraerp/PROD_st/users01.dbf
channel ORA_AUX_DISK_1: reading from backup piece /oracle1/oraerp/PROD_st/rman/09nggc0j_1_1
channel ORA_AUX_DISK_1: piece handle=/oracle1/oraerp/PROD_st/rman/09nggc0j_1_1 tag=TAG20120719T165547
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:03
channel ORA_AUX_DISK_1: starting datafile backup set restore
channel ORA_AUX_DISK_1: specifying datafile(s) to restore from backup set
channel ORA_AUX_DISK_1: restoring datafile 00002 to /oracle1/oraerp/PROD_st/sysaux.dbf
channel ORA_AUX_DISK_1: restoring datafile 00003 to /oracle1/oraerp/PROD_st/undotbs1.dbf
channel ORA_AUX_DISK_1: reading from backup piece /oracle1/oraerp/PROD_st/rman/08nggc0j_1_1
channel ORA_AUX_DISK_1: piece handle=/oracle1/oraerp/PROD_st/rman/08nggc0j_1_1 tag=TAG20120719T165547
channel ORA_AUX_DISK_1: restored backup piece 1
channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:03
Finished restore at 29-JUL-12
contents of Memory Script:
switch clone datafile all;
executing Memory Script
datafile 1 switched to datafile copy
input datafile copy RECID=1 STAMP=789926299 file name=/oracle1/oraerp/PROD_st/system01.dbf
datafile 2 switched to datafile copy
input datafile copy RECID=2 STAMP=789926299 file name=/oracle1/oraerp/PROD_st/sysaux.dbf
datafile 3 switched to datafile copy
input datafile copy RECID=3 STAMP=789926299 file name=/oracle1/oraerp/PROD_st/undotbs1.dbf
datafile 4 switched to datafile copy
input datafile copy RECID=4 STAMP=789926299 file name=/oracle1/oraerp/PROD_st/users01.dbf
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 1 thread 1: '/oracle1/oraerp/PROD_st/redo.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 2 thread 1: '/oracle1/oraerp/PROD_st/redo_2.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 5 thread 0: '/oracle1/oraerp/PROD_st/log5.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
ORACLE error from auxiliary database: ORA-19527: physical standby redo log must be renamed
ORA-00312: online log 6 thread 0: '/oracle1/oraerp/PROD_st/log6.log'
RMAN-05535: WARNING: All redo log files were not defined properly.
Finished Duplicate Db at 29-JUL-12
RMAN>
So please suggest can i rename them all redolog file.
Best Regards, -
i am using windows 7 and itunes 11.7 my i phone 5s is not getting synced with my laptop it keeps showing backing up please help i need to put music ?
Hi,
Have you managed to solve this problem? if yes, please highlight how you solved it...i'm facing same problem with my new Iphone 5S but udner Windows, thanks. -
Standby database,Possible network disconnect with primary database
Hello
I have a database on linux with standby configured on different server with same os and database version.When i was about clone primary database through OEM,it stuck in the middle and popup for recovery. I restored and recover whole database. Then, the alert log on the standby database shows this error.
Possible network disconnect with primary database.
I checked standby databsase,listener is up & running. But archive files are getting into standby database.
What should i do now? Please anybody can put some light on this.
Thanks
ArizIs there anything in the primary alert log? Can you tnsping the standby instance from the primary server, and the primary instance from the standby server?
-
Manual Standby Database not in sync with missing archivelogs
Hello,
OS: Solaris
DB: Oracle 11.2.0.1 EE
Not Using ASM or RAC
I have a Production database that is in archivelog mode and a Standby DR server.
Both servers (Prod, Standby) have exact same structure and db name/version.
We manually scp archive logs and recover them to a manual standby database via SQL Scripts "cron". (I.E. set autorecovery on; recover standby database;)
We recently got out of sync with our log files and have not been applying them to the standby. As part of Prod Maintenance, these log files were deleted and are not available anymore.
I've tried several ways to "rebuild" our standby database. I have tried to Shutdown prod, backup all the db files and scp them to standby, re-create standby controlfile and startup mount and recover standby.
Every time I try to apply a new archive log via recover standby, these are the errors:
ORA-00279: change 211077622 generated at 1/27/2012 12:18:42 needed for thread 1
ORA-00289: suggestion : /oradump/arch/PROD/PROD_arch_1_69486_736618850.arc
ORA-00280: change 211077622 for thread 1 is in sequence #69486
ORA-00308: cannot open archived log '/oradump/arch/PROD/PROD_arch_1_69486_736618850.arc'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ORA-10879: error signaled in parallel recovery slave
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/oradevices/PROD/oraPRODsystem1.dbf'
When I check v$log_history, the new logs have not been applied.
I've also tried the "Restore from incremental backup via SCN" method with same results.
Is there a way to re-create the standby clean and ensure that the log chain that is currently broken gets fixed or reset?
I would eventually like to get DataGuard in here, but that's not the case at the moment.
Thanks for your suggestions.
-Davif you are using the cold backup to create the standby database, Check that have you followed the following steps or not.
1. remove
all the datafiles and controlfiles from the standby database.
2. Create a new standby controlfile of the production for standby using the following cmd
'alter database create standby controlfile as 'Location';'
3. move the new controlfile to standby database server location as specified in initialization parameter file.
4. Restore all the datafiles to its appropriate loaction which was taken through cold backup.
5. startup nomount
6. alter database mount standby database;
7. recover standby database.
scp the archive log sequence that is asked by the database, from production.
You can try this steps. -
Standby not in sync with primary
Hi,
I am having oracle 9.2.0.7 on AIX and having physical standby database running on another server. Since the last 2 days it is not in sync and the required archivelog files are removed from production.
Could you please help me out to resolve the issue?
ThanxHi
Step 1 On the standby database, find the SCN which will be used for the incremental
backup at the primary database:
SQL> SELECT CURRENT_SCN FROM V$DATABASE;
Step 2 In RMAN, connect to the primary database and create an incremental backup
from the SCN derived in the previous step:
Step 3 RMAN> BACKUP INCREMENTAL FROM SCN <SCN from previous step>
DATABASE FORMAT '/tmp/ForStandby_%U' tag 'FORSTANDBY';
step 4 Transfer all backup sets created on the primary system to the standby system
SCP /tmp/ForStandby_* standby:/tmp
Step 5 Connect to the standby database as the RMAN target, and catalog all incremental
backup pieces:
RMAN> CATALOG START WITH '/tmp/ForStandby';
Step 6 Recover the standby database with the cataloged incremental backup:
RMAN> RECOVER DATABASE NOREDO;
Step 7 In RMAN, connect to the primary database and create a standby control file
backup:
RMAN> BACKUP CURRENT CONTROLFILE FOR STANDBY FORMAT '/tmp/ForStandbyCTRL.bck';
Step 8 Copy the standby control file backup to the standby system. For example:
SCP /tmp/ForStandbyCTRL.bck standby:/tmp
Step 9 Shut down the standby database and startup nomount:
RMAN> SHUTDOWN;
RMAN> STARTUP NOMOUNT;
Step 10 In RMAN, connect to standby database and restore the standby control file:
RMAN> RESTORE STANDBY CONTROLFILE FROM '/tmp/ForStandbyCTRL.bck';
Step 11 Shut down the standby database and startup mount:
RMAN> SHUTDOWN;
RMAN> STARTUP MOUNT;
Step 12 If the primary and standby database data file directories are identical, skip to step13. If the primary and standby database data file directories are different, then in
RMAN, connect to the standby database, catalog the standby data files, and switch
the standby database to use the just-cataloged data files. For example:
RMAN> CATALOG START WITH '+DATA_1/CHICAGO/DATAFILE/';
RMAN> SWITCH DATABASE TO COPY;
Step 13 If the primary and standby database redo log directories are identical, skip to step 14. Otherwise, on the standby database, use an OS utility or the asmcmd utility (if
it is an ASM-managed database) to remove all online and standby redo logs from
the standby directories and ensure that the LOG_FILE_NAME_CONVERT parameter
is properly defined to translate log directory paths. For example, LOG_FILE_
NAME_CONVERT=’/BOSTON/’,’/CHICAGO/’.
Step 14 On the standby database, clear all standby redo log groups (there may be more
than 3):
SQL> ALTER DATABASE CLEAR LOGFILE GROUP 1;
SQL> ALTER DATABASE CLEAR LOGFILE GROUP 2;
SQL> ALTER DATABASE CLEAR LOGFILE GROUP 3;
Step 15 On the standby database, restart Flashback Database:
SQL> ALTER DATABASE FLASHBACK OFF;
SQL> ALTER DATABASE FLASHBACK ON;
Step 16 On the standby database, restart MRP:
SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;
With this you can recvoer your Standby . I wish it will works for You.
Thanks
Karan -
My calendar on my ipad will sync with any information added on my android phone or on my PC but if I add information directly on my ipad it does not get added to my PC or phone.
Do you have iCloud?
As it states hereyou need it tp sync.
Allan -
Lync photos not get sync with outlook.
User have uploaded their photo's in Lync and can be viewed. However users are unable to see it. Also the attribute
called thumbnailPhoto is showing blank.
We have also enabled attribute
is replicated to the Global Catalog, by using for example the Schema Snap-In:Hi,
How do users upload the photo in Lync? What’s the Lync client version, Lync 2010 or Lync 2013?
If you are using Lync 2010, please note that Lync 2010 does not offer a direct method to import a picture to the
thumbnailPhoto attribute. For more information about it, please click
here.
If you are using Lync 2013, and want to change the photo in both Outlook 2013 and Lync 2013, we can upload the photo in the following steps:
1. Open Outlook.
2. Click File > Office Account.
3. In User Information, click Change photo to edit it.
Then update Address Book in Outlook and restart Lync to check whether the photo is changed or not. Also we can directly upload the photo by using Exchange cmdlet Set-UserPhoto:
http://technet.microsoft.com/en-us/library/jj688150.aspx
Hope it helps.
Thanks,
Winnie Liang
TechNet Community Support -
Standby database is not Sync with primary DB
Hi,
One week back I configured standby database and It was running fine.
But 2 days back(Saturday) somebody had down my standby database. Today when I mounted my database; I saw this is not sync with primary database.
Database Name :- pcs
Primary db_unique_name :- pcs
standby db_unique_name :- pcstd
Present scanerio is...
Status of Standby Database is...
SQL> startup mount;
ORA-32004: obsolete and/or deprecated parameter(s) specified
ORACLE instance started.
Total System Global Area 1073741824 bytes
Fixed Size 2063792 bytes
Variable Size 301990480 bytes
Database Buffers 763363328 bytes
Redo Buffers 6324224 bytes
Database mounted.
SQL> select GROUP# ,SEQUENCE# ,ACTIVE_AGENTS,STATUS from v$managed_standby;
GROUP# SEQUENCE# ACTIVE_AGENTS STATUS
N/A 0 0 CONNECTED
N/A 0 0 CONNECTED
SQL> recover managed standby database disconnect from session;
Media recovery complete.
SQL> select GROUP# ,SEQUENCE# ,ACTIVE_AGENTS,STATUS from v$managed_standby;
GROUP# SEQUENCE# ACTIVE_AGENTS STATUS
N/A 0 0 CONNECTED
N/A 0 0 CONNECTED
N/A 130 0 WAIT_FOR_LOG
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /backup/bkpcs/
Oldest online log sequence 121
Next log sequence to archive 0
Current log sequence 126
Status of Primary database is..
SQL> archive log list
Database log mode Archive Mode
Automatic archival Enabled
Archive destination /data/pcs10g/archive/
Oldest online log sequence 129
Next log sequence to archive 131
Current log sequence 131
SQL>
Somebody can help me to resolve the following issues
(1). Why archive log list not showing exact log sequence number on Standby Database.
(2). How can I configure automatic archive logs apply from Live to Standby again.
Regards,Problem has been resolved.
-
How can I get my notes to sync with mac in iCloud
How can I get my notes to sync with mac in iCloud ?
Hey there Willard,
Welcome to Apple Support Communities.
This article will answer your question about syncing Notes on your iPad and your Mac with iCloud.
Syncing Notes on iPhone, iPad, and iPod touch - Apple Support
Take care,
-Jason -
Hi
Just not sure about this so posting to check with you guys how to find out the standby(DR)database is in sync with the primary database.
Any suggestion is highly apprciated.
RegardsPlease run the following query on your primary and standby database
Primary:
select thread#,max(sequence#) from v$archived_log;
Standby:
select thread#,max(sequence#) from v$archived_log where applied='YES';
If the both the query give out the same sequence# then the standby is in sync with the primary database
Why so many unanswered questions ?
790072
Handle: 790072
Status Level: Newbie
Registered: Aug 23, 2010
Total Posts: 150
Total Questions: 72 (34 unresolved) Please mark the questions as answered if you have got the appropriate answers and keep the forum clean.
Edited by: srp on Jan 31, 2012 7:59 AM -
FS[3988]: Possible network disconnect with primary database
Hi All,
In the standby database alert log I'm getting the below error:
Thu Feb 10 11:09:10 2011
RFS[3971]: Possible network disconnect with primary database
Thu Feb 10 11:10:11 2011
RFS[3976]: Possible network disconnect with primary database
Thu Feb 10 11:11:12 2011
RFS[3979]: Possible network disconnect with primary database
Thu Feb 10 11:12:13 2011
RFS[3982]: Possible network disconnect with primary database
Thu Feb 10 11:13:15 2011
RFS[3985]: Possible network disconnect with primary database
There is no error in the primary database regarding this.
And after this no archive logs are being pushed to the standby database.
In V$ARCHIVE_DEST_STATUS view the column synchronizaion_status says CHECK NETWORK for dest_name LOG_ARCHIVE_DEST_2
Please advice.
Thanks.
Regards,
Ashwani N.Both messages look crystal clear to me.
Did you check the network?
If not, why not?
Your posting history here is a bit appalling
823436
Newbie
Handle: 823436
Status Level: Newbie
Registered: Dec 24, 2010
Total Posts: 28
Total Questions: 9 (7 unresolved)
Sybrand Bakker
Senior Oracle DBA -
RFS[2647]: Possible network disconnect with primary database
Hi Guys,
I am working as a L1 DBA in my project. We have a 3node RAC database 11.2.0.1.0 and the standby database was in sink with production till yesterday. Suddenly we realized that out primary and standby is not in sink.. Logs are shipped from primary but it is not applying in standby. While checking the alertlog I can see these errors.
RFS[2649]: Assigned to RFS process 23250
RFS[2649]: Identified database type as 'physical standby': Client is ARCH pid 16573
Mon Jul 23 11:55:42 2012
RFS[2647]: Possible network disconnect with primary database
I have performed a media recovery but still I am facing the above errors. I thought earlier that there might be some network issue but we can ping the service names from both the primary and standby.
Can you please suggest me the steps that I can go through and fix this issue.
Regards,
Arijit937670 wrote:
Hi Guys,
I am working as a L1 DBA in my project. We have a 3node RAC database 11.2.0.1.0 and the standby database was in sink with production till yesterday. Suddenly we realized that out primary and standby is not in sink.. Logs are shipped from primary but it is not applying in standby. While checking the alertlog I can see these errors.
RFS[2649]: Assigned to RFS process 23250
RFS[2649]: Identified database type as 'physical standby': Client is ARCH pid 16573
Mon Jul 23 11:55:42 2012
RFS[2647]: Possible network disconnect with primary database
I have performed a media recovery but still I am facing the above errors. I thought earlier that there might be some network issue but we can ping the service names from both the primary and standby.
Can you please suggest me the steps that I can go through and fix this issue.
Regards,
ArijitLops may shipping of other node, can you check it is able to receive archives from all the nodes? May be you having issue from one node.
also there would be network disconnect for some time, its usually happens, if not can you query below output from primary
SQL> select message,error_code,to_char(timestamp,'DD-MON-YYYY HH24:MI:SS') from v$dataguard_status where dest_id=2; -
Business partner creation - Not in sync with customer numbers -
Hi All
I am trying to do the BP conversion in collections management.
The customer number range for account group ZXXX is (80000 to 89999) and the external number range flag is not selected.
I have created created a number range Y2 through BUCF, with numbers from (80000 to 89999), I did not choose external flag, thinking it should be same as customer number range. I have created a BP group ZXXX and assigned this number range Y2.
Later when I did the BP conversion through MDS_LOAD_COCKPIT, I observed that the BPs are not in sync with the customer numbers.
So my question, should I have choosen external number range flag in BUCF, even though its not selected in the customer number range? Has this caused the issue?
Please help me understand this and rectify this issue.
thanks in advance.
KrishnaHi Christobal,
Thank you so much for you response.
As suggested, I have checked BP number range as external. Later when I ran MDS_LOAD_COCKPIT, I get the below messages
Grouping ZXXX has external number assignment, enter a number
Partner data processed with key PartnerGUID 4E1BD7375F080AE0E10080000A5B030E
Grouping ZXXX has external number assignment, enter a number
So is there any other setting which I might be missing?
Please advise.
Thanks
Krishna
Maybe you are looking for
-
How to display an xml file as a tree in html
Hi, JAVA/XML/XSLT/HTML gurus, I have an xml file and want to display it as a tree in html using XSLT. Is there any example for this? King regards, AG
-
Facetime on 4th gen won't work
Facetime says facetime failed, I have used it everyday then all of a sudden is won't work, can anone help
-
PL/SQL Native Compilation - not working!
I'm at my wits end here. Oracle 10.2.0.3 under Windows Server 2003 (i know, i know...) and a whole lot of procedural PL/SQL that I think could benefit from native compilation. I've done this on Linux/unix environments a few times but never imagined i
-
Hi friends I want to add new fields in me21n can anybuddy help me?
-
A migration of the Development server has happened . It has been a homogeneous migration .The hostname has changed. Due to the change in the hostname ,the system does not recognize the current system as the original system in which developments have