BRARCHIVE backup for high volume offline redo log files on Standby Database
Hi All,
We are through with all of Standby database activity, also started applying the offline redo log files on the Standby site.
The throughput is not utilizing the actual available bandwith.
So we are not able to copy the offline redo files on time, as the offline redo files are piling up on the Production side.
My query is how we can parallely copy the offline redo log files on the DR site (ie. 4-5 redo files at a time).
Kindly guide for the same.
Regards,
Shaibaz
hi,
I have one doubt.
On other server (r3qas) the Umask settings are as followed
User UMASK value
<sid>adm 077
ora<SID> 077
root 077
Running SAP System : SAP R3 4.6C
Running DBMS : Oracle 9.0
Operating System :- HP_UX
On this system The new offline redo log files are created with 600 permissions. There is not a problem here, while taking the backup. I checked last "r3qas-archive" backups. There, i have not found any single error related to permissions, or any others (something like, Cannot open /oracle/RQ1/../.........dbf).
If everything is working fine, with this umask setting on this server, then, what's going wrong with the BW Quality server, which have the same umask settings (also others) for all the concerned users, as mentioned above.
Regards,
Bhavik Shroff
Similar Messages
-
Best RAID configuration for storing Datafiles and Redo log files
Database version:10gR2
OS version: Solaris
Whis is the best RAID level for storing Datafiles and Redo log files?Oracle recommends SAME - Stripe And Mirror Everything.
In the RAC Starter Kit documentation, they specifically recommend not using RAID5 for things like voting disk and so on.
SAN vendors otoh claims that their RAID5 implementations are as fast as RAID10. They do have these massive memory caches...
But I would rather err on the safer side. I usually insist on RAID10 - and for those databases that I do not have a vested interest in (other than as a DBA), and owners, developers and management accept RAID5, I put the lead pipe away and do not insist on having it my way. :-) -
Increase current redo log size in standby database in mount stage
We have oracle 10g standby database. The standby database is always running in mount stage while apply logs manually not data guard is used.
We have increase size or online redo log in primary . Now want to inrease in standby database also.
how to increase the size of current online redo log in standby database while it in mount stage .
in mount stage we cant run alter system switch logfileuser11965804 wrote:
We have oracle 10g standby database. The standby database is always running in mount stage while apply logs manually not data guard is used.
We have increase size or online redo log in primary . Now want to inrease in standby database also.
how to increase the size of current online redo log in standby database while it in mount stage .
in mount stage we cant run alter system switch logfilein 10g Standby will be always in Mount status when MRP is running.
When you increase size of online redo log files in primary, You should increase in standby also..
Standby redo log file size should be equal or higher than primary. You no need to switch log files on Standby.
You will have only standby redo log files in standby not ORL(online redo log files)
You can use this below script to add standby redo log files.
http://www.pythian.com/news/581/oracle-standby-redo-logs/ -
Use of standby redo log files in primary database
Hi All,
What is the exact use of setting up standby redo log files in the primary database on a data guard setup?
any good documents?A standby redo log is required for the maximum protection and maximum availability modes and the LGWR ASYNC transport mode is recommended for all databases. Data Guard can recover and apply more redo data from a standby redo log than from archived redo log files alone.
You should plan the standby redo log configuration and create all required log groups and group members when you create the standby database. For increased availability, consider multiplexing the standby redo log files, similar to the way that online redo log files are multiplexed.
refer the link,and Perform the following steps to configure the standby redo log.:-
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/create_ps.htm#i1225703
If the real-time apply feature is enabled, log apply services can apply redo data as it is received, without waiting for the current standby redo log file to be archived. This results in faster switchover and failover times because the standby redo log files have been applied already to the standby database by the time the failover or switchover begins.
refer the link
http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/log_apply.htm#i1023371 -
Dropping log file in standby database
Please,
I need a help for the following issue:
I'm making a technical documentation on various event that occur on dataguard configuraation, right now I drop a redo log group file on primary database, and when I try to drop the equivalent log group file on standby database I got the following error:
SQL> alter database drop logfile group 3;
alter database drop logfile group 3
ERROR at line 1:
ORA-01156: recovery in progress may need access to files
this is the current state of the redolog file on standby database.
SQL> select group#,members,status from v$log;
GROUP# MEMBERS STATUS
1 3 CLEARING_CURRENT
3 3 CLEARING
2 3 CLEARING
Eventhough I do the following command on standby I also get an error.
SQL> ALTER DATABASE CLEAR LOGFILE GROUP 3;
ALTER DATABASE CLEAR LOGFILE GROUP 3
ERROR at line 1:
ORA-01156: recovery in progress may need access to files
Can someone tell me how to drop on dataguard configuration the redolog file on primary database and their corresponding on standby database
I'm working on 10 release 2, on Windows
Thanks youOracle Dataguard Concept and administration release 2,ref b14239: is my source but it doesn't work when trying to drop stanby group or logile member.
For example, if the primary database has 10 online redo log files and the standby
database has 2, and then you switch over to the standby database so that it functions
as the new primary database, the new primary database is forced to archive more
frequently than the original primary database.
Consequently, when you add or drop an online redo log file at the primary site, it is
important that you synchronize the changes in the standby database by following
these steps:
1. If Redo Apply is running, you must cancel Redo Apply before you can change the
log files.
2. If the STANDBY_FILE_MANAGEMENT initialization parameter is set to AUTO,
change the value to MANUAL.
3. Add or drop an online redo log file:
■ To add an online redo log file, use a SQL statement such as this:
SQL> ALTER DATABASE ADD LOGFILE '/disk1/oracle/oradata/payroll/prmy3.log'
SIZE 100M;
■ To drop an online redo log file, use a SQL statement such as this:
SQL> ALTER DATABASE DROP LOGFILE '/disk1/oracle/oradata/payroll/prmy3.log';
4. Repeat the statement you used in Step 3 on each standby database.
5. Restore the STANDBY_FILE_MANAGEMENT initialization parameter and the Redo Apply options to their original states.
Thank -
Dataguard Solution for standby redo log file groups
Respected Experts,
My database version is 10.2.0.1.0 and Red Hat 5 os.I want to create a standby database using RMAN.
Can any one help me with the full steps.And i'm also confuse about number of standby redo log file members
need to be created.
Thanks and Regards
Monoj DasMy database version is 10.2.0.1.0 and Red Hat 5 os.I want to create a standby database using RMAN.To configure standby either you can use duplicate target database for standby
or
1) restore standby controlfile
2) mount standby database
3) restore database
and configure standby paraemter then start MRP, will do.
http://docs.oracle.com/cd/B19306_01/server.102/b14239/create_ps.htm
Can any one help me with the full steps.And i'm also confuse about number of standby redo log file members
need to be created.It depends which parameter you want to use, if you mention log_archive_dest_2='service ARCH ' then no need to create any standby redo log file groups,
If you use log_archive_dest_2='service LGWR ' here transport will be in terms of redo and you need standby redo log files on standby database. Which is realtime.
When you use LGWR, data lost will be less if in case of any online redo log file lost. which is recommended.
HTH. -
Brarchive not backing up offline redo log on RAC
Hi all Oracle and SAP experts,
After running brarchive on my newly setup RAC system, the program reports that there are 'No offline redo log files found for processing'. Hence, non of the archive log files are being backup.
Tons of archive log files are generated in the archive log directory. I do not understand why brarchive is unable to locate these files.
There are 2 Windows RAC nodes. I used the command 'brarchive -u / -c force -p initTST.sap -sd' to trigger brarchive. It is using rman to backup to a windows shared folder. And the brbackup runs successfully.
The output from brarchive is below:
BR0002I BRARCHIVE 7.00 (16)
BR0006I Start of offline redo log processing: aebbxosu.svd 2009-07-24 14.07.36
BR0477I Oracle pfile F:\oracle\TST\102\database\initTST1.ora created from spfile F:\oracle\TST\102\database\spfile.ora
BR0101I Parameters
Name Value
oracle_sid TST1
oracle_home F:\oracle\TST\102
oracle_profile F:\oracle\TST\102\database\initTST1.ora
sapdata_home F:\oracle\TST
sap_profile F:\oracle\TST\102\database\initTST.sap
backup_dev_type disk
archive_copy_dir
10.11.0.101\backup\RAC_test
compress no
disk_copy_cmd rman
cpio_disk_flags -pdcu
rman_compress no
archive_dupl_del only
parallel_instances TST2:F:\oracle\TST\102@TST2
system_info tstadm RACNODE1 Windows 5.2 Build 3790 Service Pack 2 AMD64
oracle_info TST 10.2.0.4.0 8192 1492 10504542 RACNODE1 UTF8 UTF8
sap_info 620 SAPTST TST D1583565402 R3_ORA 0020087949
make_info NTAMD64 OCI_10201_SHARE Aug 22 2006
command_line brarchive -u / -c force -p initTST.sap -sd
BR0013W No offline redo log files found for processing
BR0007I End of offline redo log processing: aebbxosu.svd 2009-07-24 14.07.54
BR0280I BRARCHIVE time stamp: 2009-07-24 14.07.55
BR0004I BRARCHIVE completed successfully with warningsI had set BR_TRACE to 15 and receive the following in my trace file:
BR0249I BR_TRACE: level 3, function BrCurrRedoGet exit with 0
BR0249I BR_TRACE: level 2, function BrInstCheck exit with -10
BR0248I BR_TRACE: level 2, function BrDiskStatGet entry with '
10.11.0.101\backup\RAC_test'
BR0250I BR_TRACE: level 2, function BrDiskStatGet exit with '19999863332864 9780518486016 9780518486016 9770967198432'
BR0248I BR_TRACE: level 2, function arch_last_get entry with 'F:\oracle\TST\saparch\archTST1.log'
BR0249I BR_TRACE: level 2, function arch_last_get exit with 0
BR0248I BR_TRACE: level 2, function BrArchNameGet entry with '0 TST1'
BR0250I BR_TRACE: level 2, function BrArchNameGet exit with 'G:\oracle\TST\oraarch\681026106_1_0.dbf'
BR0248I BR_TRACE: level 2, function BrNameBuild entry with '41 G:\oracle\TST\oraarch\681026106_1_0.dbf NULL'
BR0250I BR_TRACE: level 2, function BrNameBuild exit with 'G:\oracle\TST\oraarch'
BR0248I BR_TRACE: level 2, function BrFileStatGet entry with 'G:\oracle\TST\oraarch'
BR0250I BR_TRACE: level 2, function BrFileStatGet exit with '39171616256 0'
BR0248I BR_TRACE: level 2, function BrArchExist entry with 'TST1'
BR0248I BR_TRACE: level 3, function BrArchNameGet entry with '987656789 TST1'
BR0250I BR_TRACE: level 3, function BrArchNameGet exit with 'G:\oracle\TST\oraarch\1_1_987656789.dbf'
BR0249I BR_TRACE: level 2, function BrArchExist exit with -3
BR0248I BR_TRACE: level 2, function BrDiskStatGet entry with '
10.11.0.101\backup\RAC_test'
BR0248I BR_TRACE: level 2, function BrDbDisconnect entry with 'void'
BR0280I BRARCHIVE time stamp: 2009-07-27 09.41.42
BR0644I BR_TRACE: location BrDbDisconnect-1, SQL statement:
'COMMIT RELEASE'
BR0300I BR_TRACE: SQL code: 0, number of processed rows: 0
BR0248I BR_TRACE: level 3, function BrZombieKill entry with 'void'
BR0250I BR_TRACE: level 3, function BrZombieKill exit with 'void'
BR0249I BR_TRACE: level 2, function BrDbDisconnect exit with 0
BR0013W No offline redo log files found for processing
My current database incarnation is 681026106 but brarchive is searching for archivelog from incarnation 987656789 (1_1_987656789.dbf). As a workaround, I created dummy files (eg. 1_1_987656789.dbf') for each node and managed to trick brarchive into believing these are the real files. Subsequent backup works fine. Thanks Michael! -
No offline redo logs found for processing
Hi!
I have very simple question/problem.
I have installed two Oracle systems on the same host on Windows.
I have installed the oracle software only once
If I try to execute a full online backup + redo logs, only the online redo logs will be back up. After this I get the error <b>BR0017E Offline redo log file 'C:\oracle\DEV\102\RDBMS\ARC01435_0627659303.001' not found</b>.
If I try only to back up redo logs I receive the warning "no offline redo logs found for processing".
I tried to implement some helpful SAP notes such as 490976.
E.g. I have changed the file arch<sid>.log, but I have still the same warning.
The environment seems to be ok.
It would be great, if some one have experience dealing with this problem...
Thank'sHello Eric!
Many thanks for your response.
Here the ENV-comando from SM49:
ClusterLog=C:\WINDOWS\Cluster\cluster.log
ComSpec=C:\WINDOWS\system32\cmd.exe
CPIC_MAX_CONV=10
DBMS_TYPE=ora
dbs_ora_schema=SAPSR3
dbs_ora_tnsname=DEV
FP_NO_HOST_CHECK=NO
JAVA_HOME=C:\j2sdk1.4.2_15-x64
NLS_LANG=AMERICAN_AMERICA.UTF8
NUMBER_OF_PROCESSORS=8
ORACLE_HOME=C:\oracle\SSM\102
ORACLE_SID=DEV
OS=Windows_NT
Path=C:\oracle\SSM\102\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Intel\DMIX;C:\j2sdk1.4.2_15-
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PERL5LIB=C:\oracle\SSM\102\perl\5.8.3\lib\MSWin32-X64-multi-thread;C:\oracle\SSM\102\perl\5.8.3\lib;C:\oracle\SSM\102\perl\5.8.3
PPID=1952
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=EM64T Family 6 Model 15 Stepping 7, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0f07
PROMPT=$P$G
SAPDATA_HOME=H:\oracle\DEV SAPEXE=F:\usr\sap\DEV\SYS\exe\uc\NTAMD64 SAPLOCALHOST=sapdev
SAPSYSTEMNAME=DEV
SIDE_INFO=F:\usr\sap\DEV\DVEBMGS02\data\sideinfo.DAT
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\WINDOWS\TEMP
TMP=C:\WINDOWS\TEMP
TNS_ADMIN=F:\usr\sap\DEV\SYS\profile\oracle
windir=C:\WINDOWS
kind regards
Thom -
Db restore non archive mode lost redo log file..restore from controlfile tr
i have a db 11g I had taken non archive backup but failed to take redo log files backup...
so while i restored the db ... after formatting the machine ..the oracle instance wont start.
I create a controlfile trace but when i run it i get errors.
since i dont have the older log files.. how do i get around with this issue
Thanks
Following is the sample of control file trace ..Note i cannot create the redo log file
since db wont be mounted at most it shall be in nonmount mode
and below is my created controlfile ....
CREATE CONTROLFILE REUSE DATABASE "XE" NORESETLOGS NOARCHIVELOG
MAXLOGFILES 16
MAXLOGMEMBERS 3
MAXDATAFILES 100
MAXINSTANCES 8
MAXLOGHISTORY 292
LOGFILE
GROUP 1
'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_80L7C259_.LOG'
SIZE 50M BLOCKSIZE 512,
GROUP 2
'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_80L7C375_.LOG'
SIZE 50M BLOCKSIZE 512
-- STANDBY LOGFILE
DATAFILE
'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSTEM.DBF',
'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\UNDOTBS1.DBF',
'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\SYSAUX.DBF',
'C:\ORACLEXE\APP\ORACLE\ORADATA\XE\USERS.DBF'
CHARACTER SET AL32UTF8
I dont have these 2 files ..what do i do to get around this situation
'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_80L7C259_.LOG'
SIZE 50M BLOCKSIZE 512,
GROUP 2
'C:\ORACLEXE\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_2_80L7C375_.LOG'
SIZE 50M BLOCKSIZE 512
-- STANDBY LOGFILE
DATAFILE
Edited by: zycoz100 on Feb 27, 2013 10:57 PMIf you have a cold backup (database shutdown properly) without the redo logs, change this :
CREATE CONTROLFILE REUSE DATABASE "XE" NORESETLOGS NOARCHIVELOGto
CREATE CONTROLFILE REUSE DATABASE "XE" RESETLOGS NOARCHIVELOGYou have to change the NORESETLOGS to RESETLOGS for Oracle to recreate the online redo logs.
Hemant K Chitale -
Oracle DataGuard - Standy Redo log on physical Standby db
Hello Guys,
A quick question on my 10.2.0.2 db with Windows 2003 x64 OSs.
I have 2 machines - One for primary & the other for physical standby
I have successfully setup DG with Real Time Apply and also tested switchover & failover scenarios and they work well and as expected...
But I have a query which popped up when I was trying to set this up at home.
I create the physical standby db by shutting the primary db and copying all the datafiles, tempfiles,online redo logs and then creating a standby control file which will be used for the physical standby db to start off with.
After mounting the standby db, I tried to create standby redo logs files starting with Group 4 but I got error that standby group 4 already exists.
Upon querying v$logfile view, I noticed that the standby redo logs that I created on primary are also showing up on the standby db which I understand is from the standby control file.
So here is my quesiton: What is correct method of creating these standby redo logs on the standby database?
I know that I could drop those 4 standby redo logs from the standby db and recreate them but all the DG docs online and the documents that I have referred say that I should create the standby redo logs on the standby as I did on the primary but how can this duplication be avoided i.e. from the standby control file?
I know that I could use another method to create a hot backup such as RMAN etc...but I wanted to follow this way of shutting down the primary and copy the relevant database files.
Any help appreciated...and thanks in advance guys!
-Bharathso with the setup that I used, i.e. create a standby control file which contains info about the standby redo logs at the primary site, should I also copy over the standby redo logs from the primary to standby as I only copied the datafiles, tempfile(s) & online redo logs? But then the filenames of the standby redo logs will be the exact same as that of the primary. Will that cause any issue during a switchover/failover?
I don't remember exactly how I did it when I got the whole thing working but I have a vague remembrance that I drop the std. redo log files entries from the std database and then recreate new ones with different filenames (as compared to primary).
Thanks -
Question on redo log files at the standby
Oracle version: 10.2.0.5
Platform : AIX
We have 2 node RAC primary with 2 node RAC standby
Primary Instance1 named as cmapcp1
Primary Instance2 named as cmapcp2
Standby Instance1 named as cmapcp3
Standby Instance2 named as cmapcp4At standby side
SQL> show parameter log_file_name_convert
NAME TYPE VALUE
log_file_name_conver string cmapcp1, cmapcp3, cmapcp2, cmapcp4
Despite the value set for log_file_name_convert, I don't see any change in names of Online and Standby redo logs at the Standby site.
-- From primary
SQL> select member,type from v$logfile;
MEMBER TYPE
+CMAPCP_DATA01/cmapcp/cmapcp_log01.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log02.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log03.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log04.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log05.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log06.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log11.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log12.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log13.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log14.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log15.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log16.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log17.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log18.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log19.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log20.dbf STANDBY
16 rows selected.-- From standby
SQL> select member,type from v$logfile;
MEMBER TYPE
+CMAPCP_DATA01/cmapcp/cmapcp_log01.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log02.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log03.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log04.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log05.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log06.dbf ONLINE
+CMAPCP_DATA01/cmapcp/cmapcp_log11.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log12.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log13.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log14.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log15.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log16.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log17.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log18.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log19.dbf STANDBY
+CMAPCP_DATA01/cmapcp/cmapcp_log20.dbf STANDBY
16 rows selected.--- Another thing I noticed, v$log doesn't list Standby Redo Logs. This is expected behaviour , I guess
Below is the output from Primary and Standby (it is the same)
set linesize 200
set pagesize 50
col member for a50
break on INST SKIP PAGE on GROUP# SKIP 1
select l.thread# inst, l.group#,lf.member, lf.type
from v$log l , v$logfile lf
where l.group# = lf.group#
order by 1,2 ;
INST GROUP# MEMBER TYPE
1 1 +CMAPCP_DATA01/cmapcp/cmapcp_log01.dbf ONLINE
2 +CMAPCP_DATA01/cmapcp/cmapcp_log02.dbf ONLINE
3 +CMAPCP_DATA01/cmapcp/cmapcp_log03.dbf ONLINE
INST GROUP# MEMBER TYPE
2 4 +CMAPCP_DATA01/cmapcp/cmapcp_log04.dbf ONLINE
5 +CMAPCP_DATA01/cmapcp/cmapcp_log05.dbf ONLINE
6 +CMAPCP_DATA01/cmapcp/cmapcp_log06.dbf ONLINEJohn_75 wrote:
Thank you ckpt, mseberg.
I think log_file_name_convert is set wrongly as you've mentioned. But If I don't want to any change to name of Online or standby redo log files in standby, I don't have to set log_file_name_convert at all. Right ?From Same link
If you specify an odd number of strings (the last string has no corresponding replacement string), an error is signalled during startup. If the filename being converted matches more than one pattern in the pattern/replace string list, the first matched pattern takes effect. There is no limit on the number of pairs that you can specify in this parameter (other than the hard limit of the maximum length of multivalue parameters). -
Physical Standby Online Redo log files,
Hi,
I'm trying to create a physical standby database (10.2.0.3). I'm a little confused about the requirement for online redo logs on the standby.
in my standby alert log I get the following when I issue:
SQL> alter database recover managed standby database disconnect from session
"ORA-00313: open failed for members of log group 1 of thread 1
ORA-00312: online log 1 thread 1: '/appl/oradata/prod/prod_1_redo_01_02.log'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3"
/appl/oradata/prod/prod_1_redo_01_02.log is the path to the location of the online redo logs on the production system. This file does not exist on the standby filesystem so the error is correct.
I assume that it gets this information from the standby control file I created on the production system and copied over to the standby.
Do I need to copy the online redo logs from the primary over to the standby site or do I need to create online redo logs on the standby?
Does the standby need to have redo log files?
I'm not talking about 'standby log files' of the type created using 'alter database add standby log file'. I've not got that far yet.
I just need to establish if a physical standby requires online redo log files?
Thanks in advance,
user234564I wanted to update this thread since I've been dealing with the exact same errors. The basic question is: "does a physical standby need the online redo logs?"
Answer: Not really, until one wants to switchover or failover (and become a primary database). Furthermore, whenever the MRP process is started, Oracle prepares for a possible switchover/failover by "clearing" the online redo logs (MetaLink note# 352879.1). It is not a big deal, since Oracle will build the actual redo files when the "alter database open resetlogs" is accomplished during a "role transition."
In our situation, we have decided to use our standby for nightly exports. We stop MRP, open the database read-only, then restart MRP. We built these standby DBs with RMAN. The RMAN duplicate process will not build the online redo log files until the database is opened for read/write (with resetlogs). However, we haven't had a need for read/write (i.e. a switchover).
Thus, every morning we have been getting the same errors that "user234564" posted above. At first the errors seemed scary, then we realized they were just a nusiance. In order to clean things up, all I did was just "cp" our stanby redo logs (SRL) into our online redo directories ensuring the names matched what was in v$logfile. When I restarted MRP, the alert log clearly showed Oracle clearing these "newly found" online redo logs. -
Dataguard lost both Primary redo log and standby redo log files
Hi,
I am new to data guard, i came acorss a scenario where we loose both primary redo log file and standby redo log files.
Can someone please help me understand how to recover from this situation.
Thanks!>loose both primary redo log file and standby redo log files
We have to be very clear.
There are (set A) online redo log files and (set B) standby redo log files at (location 1) Primary and (location 2) Standby.
The standby redo log files, depending on the configuration, aren't strictly mandatory. The standby can be applying redo without online redo log files present as well, depending on how it was setup.
So, the question is : Did you lose online redo log files at the primary ? Didn't the primary shutdown itself then ? If so, you have to do an incomplete recovery at the primary OR switch over to the standby (which may or may not have received the last transaction, depending on how it was configured and operating) OR restore from the standby (again, with possible loss of transactions) to the primary.
Hemant K Chitale -
How do i find the location of the redo log files in the database.
you can do it too if you use Oracle Enterprise Maneger.
Joel P�rez -
How do look if i have Standby Redo Log files
How do look if i have Standby Redo Log files
example of creating them..To check existence of Standby Redo Log Files:
SQL> v$standby_log
Name Null? Type
----------------------------------------- -------- ---------------------------- GROUP# NUMBER
DBID VARCHAR2(40)
THREAD# NUMBER
SEQUENCE# NUMBER
BYTES NUMBER
USED NUMBER
ARCHIVED VARCHAR2(3)
STATUS VARCHAR2(10)
FIRST_CHANGE# NUMBER
FIRST_TIME DATE
LAST_CHANGE# NUMBER
LAST_TIME DATE
SQL> select * from v$standby_log;
no rows selected
SQL>To Create a Standby Redo Log file:
SQL> alter database add standby logfile group 11 ('/u01/app/test.log') size 5m;
Database altered.
SQL> set line 10000
SQL> select * from v$standby_log;
GROUP# DBID THREAD# SEQUENCE# BYTES USED ARC STATUS FIRST_CHANGE# FIRST_TIM LAST_CHANGE# LAST_TIME
11 UNASSIGNED 0 0 5242880 512 YES UNASSIGNED 0 0
SQL>and this is how you drop:
SQL> alter database drop standby logfile group 11;
Database altered.
SQL> ! rm /u01/app/test.log
SQL>Asif Momen
http://momendba.blogspot.com
Edited by: Asif Momen on Mar 16, 2010 1:32 PM
Included DROP example
Maybe you are looking for
-
Error while executing operation mapping
Hi All, I am getting the below the error , while executing the Operation mapping, whereas the same payload working fine with message mapping. Please suggest.
-
Image looks quite different when imported from camera to Lightroom
Hi there, I am hoping that there is someone out there that might be able to help me with a problem I have. I took a number of photos yesterday and I uploaded them to lightroom. The photos looked properly exposed with a nice color on the camera LCD sc
-
Converted CP3 projects will not publish correctly in CP4
We recently started using CP4 and have no problems with projects created in CP4. However, we are experiencing problems with CP3 Projects which are converted to CP4. When we publish to SCORM 1.2, we do not get a zip file though it is selected. We ge
-
Hello, I was just sent a Droid Charge and has only had it for about a week and half now in replacement of the Thunderbolt which I had at least 5 replacements of due to problems. I'm very ****** right now because I was sent the Droid Charge where I ha
-
I have a source message below structure Purchaseorder *ProduletLineItem If suppose 2 product line items occur the target message should occur 2 times Purchaseorder ProductLineItem Purchaseorder ProductLineiItem i have to see 2 messages in SXMB_MONI.