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 warnings

I 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!

Similar Messages

  • Backup Not Starting for 'Whole database offline + redo log backup' @ DB13

    Hi Experts,
    I am not able to perform 'Whole database offline + redo log backup' by DB13.
    I have recently configured my 'init<SID>.sap'  to take 'Whole database online + redo log backup' and its working perfectly fine.
    I tried taking test backup for  'Whole database offline + redo log backup'  but it didn't even  started.
    Thus I created another profile with name init<SID>back.sap  and changed the Parameter
    from 'backup_type = online'  to 'backup_type = offline' and also tried by 'backup_type = offline_force'
    rest all parameters being same as the profile  init<SID>.sap
    Kindly Suggest as I need to take set the backup Strategy as  Mon-Fri  -> 'Whole database offline + redo log backup'  and Sat ->  'Whole database offline + redo log backup'
    One more Query : While taking the redo log backup by DB13 why is it that some times it only saves the Files and some time it
    saves and delete the files from the '/oracle/<SID>/oraarch'  location. Please throw some light over this matter also.
    Thanks,
    Jitesh

    Hi Mr Bhavik,
    Thanks for your reply..  Here are the details you have asked for.
    1.My SAP BASIS Patch Level  is :  10. ( We shall be updating it by the end of this Year)
    2. Br*tools version is :
    BRTOOLS   7.00 (11)
    kernel release    700
    patch level   11
    3. I don't have any file with name alert<dbsid>.log file (located at /oracle/<SID>/saptrace/background/) but i do have alert_<SID>.log
    I execute the command more -p G alert_JMD.log
    after my  'Whole database offline + redo log backup' again failed at DB13 but I was not able to see any specific complains while executing the above action.
    I got the Error Detailed Log in DB13 as :
    Detail log:                    beeneedv.aft
    BR0051I BRBACKUP 7.00 (20)
    BR0055I Start of database backup: beeneedv.aft 2010-11-08 13.16.43
    BR0484I BRBACKUP log file: /oracle/JMD/sapbackup/beeneedv.aft
    BR0280I BRBACKUP time stamp: 2010-11-08 13.16.43
    BR0261E BRBACKUP cancelled by signal 13
    BR0056I End of database backup: beeneedv.aft 2010-11-08 13.16.44
    BR0280I BRBACKUP time stamp: 2010-11-08 13.16.45
    BR0054I BRBACKUP terminated with errors
    4. No I have not yet Tried 'execute such Offline+REdo log backups using brback command', will Try and post it Definately
    5. Query : select grantee, granted_role from dba_role_privs;
    result :
    SQL> select grantee, granted_role from dba_role_privs;
    GRANTEE                        GRANTED_ROLE
    SYS                            SAPDBA
    SYS                            EXP_FULL_DATABASE
    SYS                            CONNECT
    IMP_FULL_DATABASE              SELECT_CATALOG_ROLE
    DBSNMP                         OEM_MONITOR
    SAPSR3                         CONNECT
    OPS$SAPSERVICEJMD              SAPDBA
    SYS                            SELECT_CATALOG_ROLE
    DBA                            DELETE_CATALOG_ROLE
    DBA                            EXECUTE_CATALOG_ROLE
    SYSTEM                         DBA
    GRANTEE                        GRANTED_ROLE
    OPS$ORAJMD                     SAPDBA
    SAPDBA                         GATHER_SYSTEM_STATISTICS
    SYS                            SCHEDULER_ADMIN
    SYS                            AQ_USER_ROLE
    SYS                            GATHER_SYSTEM_STATISTICS
    SYS                            DELETE_CATALOG_ROLE
    DBA                            GATHER_SYSTEM_STATISTICS
    DBA                            IMP_FULL_DATABASE
    EXECUTE_CATALOG_ROLE           HS_ADMIN_ROLE
    IMP_FULL_DATABASE              EXECUTE_CATALOG_ROLE
    OPS$JMDADM                     CONNECT
    GRANTEE                        GRANTED_ROLE
    SYS                            LOGSTDBY_ADMINISTRATOR
    SYS                            EXECUTE_CATALOG_ROLE
    SYS                            RESOURCE
    DBA                            SCHEDULER_ADMIN
    DBA                            SELECT_CATALOG_ROLE
    EXP_FULL_DATABASE              EXECUTE_CATALOG_ROLE
    SAPDBA                         SELECT_CATALOG_ROLE
    SYS                            SAPCONN
    SYS                            OEM_ADVISOR
    SYS                            IMP_FULL_DATABASE
    SELECT_CATALOG_ROLE            HS_ADMIN_ROLE
    GRANTEE                        GRANTED_ROLE
    OUTLN                          RESOURCE
    LOGSTDBY_ADMINISTRATOR         RESOURCE
    SAPSR3                         RESOURCE
    OPS$SAPSERVICEJMD              RESOURCE
    SYS                            RECOVERY_CATALOG_OWNER
    DBA                            EXP_FULL_DATABASE
    EXP_FULL_DATABASE              SELECT_CATALOG_ROLE
    TSMSYS                         RESOURCE
    OPS$ORAJMD                     RESOURCE
    SAPCONN                        SELECT_CATALOG_ROLE
    SYS                            OEM_MONITOR
    GRANTEE                        GRANTED_ROLE
    SYS                            AQ_ADMINISTRATOR_ROLE
    SYS                            DBA
    SYSTEM                         AQ_ADMINISTRATOR_ROLE
    OPS$ORAJMD                     CONNECT
    OPS$JMDADM                     SAPDBA
    OPS$JMDADM                     RESOURCE
    SAPSR3                         SAPCONN
    SYS                            HS_ADMIN_ROLE
    SYSTEM                         SAPDBA
    OPS$SAPSERVICEJMD              CONNECT

  • 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

  • Whole database offline + redo log backup  Scheduling failed

    Hi Experts,
             In DB13 I have the following Issue,  Whole database offline + redo log backup  Scheduling failed.
    How to solve this.

    Hi,
            Below is the Log details,
    BR0120I Control files
    File                                                Size   Id.      Device  Link    Type
    /oracle/PRD/origlogA/cntrl/cntlrPRD.dbf         13975552    0      5578783  NOLINK  FILE
    /oracle/PRD/origlogB/cntrl/cntrlPRD.dbf         13975552    0      5578784  NOLINK  FILE
    /oracle/PRD/sapdata1/cntrl/cntrlPRD.dbf         13975552    0      5578772  NOLINK  FILE
    BR0616I Tablespaces in table TSORA for SAP owner SAPSR3:
    PSAPSR3, PSAPSR3700, PSAPSR3USR
    BR0227E Not enough disk space in /test123/PRDBK for backup, missing at least 149478.274 MB
    BR0056I End of database backup: behzgxph.afd 2012-02-28 03.05.40
    BR0280I BRBACKUP time stamp: 2012-02-28 03.05.40
    BR0054I BRBACKUP terminated with errors
    BR0280I BRBACKUP time stamp: 2012-02-28 03.05.40
    BR0291I BRARCHIVE will be started with options '-U -jid ALGOF20110129030500 -d disk -c force -p initPRD.sap -sd'
    BR0280I BRBACKUP time stamp: 2012-02-28 03.06.09
    BR0292I Execution of BRARCHIVE finished with return code 0

  • 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's

    Hello 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

  • Asynch Hot Log mode does not use hot (online) redo logs

    Version 10.2
    We have just set up a test of the Asynch Hot Log replication according to Chap 16 of the Data Warehousing guide.
    We can see data put into the change table. However, it seems that data gets written to the change table ONLY after a log switch. This would suggest that the capture process is not reading the online logs, but is only reading the archived logs.
    I don't think this can be correct behavior because the docs indicate that Oracle "seamlessly switches" between the online and the archived redo logs.
    Is there a flag or something to set to cause the online logs to be available to the capture process? Or is this a bug? Has anyone else observed this behavior?
    Thanks for any insight.
    -- Chris Curzon

    According to the 10g Dataguard docs, section 2.5.1:
    "Physical standby databases do not use an online redo log, because physical standby databases are not opened for read/write I/O."yes, those are used when database is open.
    You should not perform any changes in Standby. Even if those exist online redo log files, whats the difficulty you have seen?
    These will be used whenever you performed switchover/failover. So nothing to worry on this.
    Is this a case of the STANDBY needing at least a notion of where the REDO logs will need to be should a failover occur, and if the files are already there, the standby database CONTROLFILE will hold onto them, as they are not doing any harm anyway?Then oracle functionality itself harm if you think in that way. When they not used in open then what the harm with that?
    Standby_File_management --> for example if you add any datafile, those information will be in archives/redos once they applied on standby those will be added automatically when it is set to AUTO if its manual, then it creates a unnamed file in $ORACLE_HOME/dbs location later you have to rename that file and recovery need to perform .
    check this http://docs.oracle.com/cd/B14117_01/server.101/b10755/initparams206.htm
    HTH.

  • Offline redo log history list.....??

    Im looking for a way how to determine offline redo log frequency for past days eventualy longer period of time and also the list of redo logs archived with creation time stamp. As far as Ive been able to check probably it could be mantaned by V$LOG_HISTORY or V$ARCHIVED_LOG.
    Any suggestion for best way ?
    DB: Oracle 10
    Tks

    Hi,
    Your can use following statement to check the log switching frequency. This statement i found somewhere from internet but don't remember the source, apology for that
    set lines 200
    select to_date(to_char(first_time,'DD-MM-YYYY'),'DD-MM-YYYY') day,
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'00',1,0)),'999') "00",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'01',1,0)),'999') "01",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'02',1,0)),'999') "02",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'03',1,0)),'999') "03",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'04',1,0)),'999') "04",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'05',1,0)),'999') "05",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'06',1,0)),'999') "06",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'07',1,0)),'999') "07",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'08',1,0)),'999') "08",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'09',1,0)),'999') "09",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'10',1,0)),'999') "10",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'11',1,0)),'999') "11",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'12',1,0)),'999') "12",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'13',1,0)),'999') "13",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'14',1,0)),'999') "14",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'15',1,0)),'999') "15",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'16',1,0)),'999') "16",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'17',1,0)),'999') "17",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'18',1,0)),'999') "18",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'19',1,0)),'999') "19",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'20',1,0)),'999') "20",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'21',1,0)),'999') "21",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'22',1,0)),'999') "22",
    to_char(sum(decode(substr(to_char(first_time,'HH24'),1,2),'23',1,0)),'999') "23",
    sum(1) "TOTAL_IN_DAY"
    from v$log_history
    group by to_date(to_char(first_time,'DD-MM-YYYY'),'DD-MM-YYYY')
    order by day
    /Salman

  • I do not want to generate redo log, how ?

    Hi All,
    This is on Oracle 8.1.7.
    I have a daily process, which truncates and populates some tables daily. These are reporting tables and daily get around 4 million records.
    I do not want to generate any redo log for these tables.
    I populate these tables with normal insert commands/updates. So, evenif I make that table NOLOGGING, still redo log is generated.
    Any ideas??
    Regards

    There is generally no need to supress redo logging. The truncate command eliminates the logging of the row deletes so you only have to worry about the repopulation of the report tables.
    You might be able to use direct path loads (insert append) or bulk loading to help speed this process.
    Usually when developers have compained that the database logging was the problem we have been able to find either better approaches to generating the data or to tune the queries used in generating the data.
    HTH -- Mark D Powell --

  • Question on Redo logs in RAC

    DB version:11.2
    Platform : Solaris 10
    We create RAC DBs manually. Below is a log of the DB creation from Node1 . Instance in Node2 is not yet created (only binary is installed in Node2).
    SQL> conn / as sysdba
    Connected to an idle instance.
    SQL> startup nomount pfile=/u03/oracle/11.2/db_1/dbs/initnehprd1.ora
    ORACLE instance started.
    Total System Global Area 1252643278 bytes                                      
    Fixed Size                  2219208 bytes                                      
    Variable Size             771752760 bytes                                      
    Database Buffers          469762048 bytes                                      
    Redo Buffers                8929280 bytes  
    SQL> CREATE DATABASE nehprd MAXINSTANCES 8 MAXLOGFILES 16 MAXLOGMEMBERS 4 MAXDATAFILES 1024
      2  CHARACTER SET AL32UTF8 NATIONAL CHARACTER SET AL16UTF16
      3  DATAFILE '+DG_DATA01/nehprd/nehprd_system01.dbf' SIZE 1000m EXTENT MANAGEMENT LOCAL
      4  SYSAUX DATAFILE '+DG_DATA01/nehprd/nehprd_sysaux01.dbf' SIZE 600m
      5  DEFAULT TEMPORARY TABLESPACE temp
      6  TEMPFILE '+DG_DATA01/nehprd/nehprd_temp01.dbf' SIZE 2000m EXTENT MANAGEMENT LOCAL UNIFORM SIZE 5m
      7  UNDO TABLESPACE undotbs11 DATAFILE '+DG_DATA01/nehprd/nehprd_undotbs1101.dbf' SIZE 700m
      8  LOGFILE
      9          GROUP 1 ('+DG_DATA01/nehprd/nehprd_log01.dbf') SIZE 150m,
    10          GROUP 2 ('+DG_DATA01/nehprd/nehprd_log02.dbf') SIZE 150m,
    11          GROUP 3 ('+DG_DATA01/nehprd/nehprd_log03.dbf') SIZE 150m
    12  /
    Database created.
    Elapsed: 00:00:18.95
    SQL> CREATE UNDO TABLESPACE undotbs12 DATAFILE '+DG_DATA01/nehprd/nehprd_undotbs1201.dbf' SIZE 700m;
    Tablespace created.
    Elapsed: 00:00:01.30
    SQL> ALTER DATABASE ADD LOGFILE thread 2 GROUP 4 '+DG_DATA01/nehprd/nehprd_log04.dbf' SIZE 150m;
    Database altered.
    Elapsed: 00:00:00.25
    SQL> ALTER DATABASE ADD LOGFILE thread 2 GROUP 5 '+DG_DATA01/nehprd/nehprd_log05.dbf' SIZE 150m;
    Database altered.
    Elapsed: 00:00:00.43
    SQL> ALTER DATABASE ADD LOGFILE thread 2 GROUP 6 '+DG_DATA01/nehprd/nehprd_log06.dbf' SIZE 150m;
    Database altered.But after the above activity, the following log files are created in the DB.
    6 log groups for each Instance and they all are on the same location +DG_DATA01/nehprd  !
    INST_ID     GROUP# STATUS  TYPE             MEMBER                                   IS_
             1          1         ONLINE  +DG_DATA01/nehprd/nehprd_log01.dbf             NO
             1          2         ONLINE  +DG_DATA01/nehprd/nehprd_log02.dbf             NO
             1          3         ONLINE  +DG_DATA01/nehprd/nehprd_log03.dbf             NO
             1          4         ONLINE  +DG_DATA01/nehprd/nehprd_log04.dbf             NO
             1          5         ONLINE  +DG_DATA01/nehprd/nehprd_log05.dbf             NO
             1          6         ONLINE  +DG_DATA01/nehprd/nehprd_log06.dbf             NO
             2          1         ONLINE  +DG_DATA01/nehprd/nehprd_log01.dbf             NO
             2          2         ONLINE  +DG_DATA01/nehprd/nehprd_log02.dbf             NO
             2          3         ONLINE  +DG_DATA01/nehprd/nehprd_log03.dbf             NO
             2          4         ONLINE  +DG_DATA01/nehprd/nehprd_log04.dbf             NO
             2          5         ONLINE  +DG_DATA01/nehprd/nehprd_log05.dbf             NO
             2          6         ONLINE  +DG_DATA01/nehprd/nehprd_log06.dbf             NO How was redo log group 4,5,6 created for thread 1 and how was redo log group 1,2,3 created for thread 2 ?

    Hi,
    To make things worse, when you query v$logfile , It will show 6 redo logfiles belonging to 6 redo groups for each instance.The fact that it shows all groups of redo does not mean it belongs to that instance. Try to query v$database or v$datafile, this means that database/datafiles belongs to only one instance, of course not.
    Isn't this a bit of a bug ?Of course not. It's concept.
    To understand it you need understand the difference between instance and database. An database (i.e files) can be opened by many instances.
    An Oracle database server consists of a database and at least one database instance (commonly referred to as simply an instance). Because an instance and a database are so closely connected, the term Oracle database is sometimes used to refer to both instance and database. In the strictest sense the terms have the following meanings:
    Database
    A database is a set of files, located on disk, that store data. These files can exist independently of a database instance.
    Database instance
    An instance is a set of memory structures that manage database files. The instance consists of a shared memory area, called the system global area (SGA), and a set of background processes. An instance can exist independently of database files.
    Database: (v$database)
    CONTROLFILE (v$controlfile)
    DATAFILE (v$datafile)
    ONLINELOG (v$logfile,v$log)
    ARCHIVELOG (v$archivelog)
    SPFILE
    These views above will show the same values in either instance, because if the file (database) is changed it is modified in all instances. That's means you not need use gv$ because the information are the same in all instances, also you not need get info connecting in each instance querying theses v$ because the inf are the same independent of the instance
    Instances: (v$instance)
    PARAMETERS (v$parameter)
    MEMORY STRUCTURE (e.g v$session)
    The view v$session will show information about sessions from that instance only. In RAC each instance have you own info about session so you will need query gv$session because it get information about session from others instances.
    The fact that each instance assign its own REDO/UNDO not mean they are part of the instances, REDO/UNDO are part of Database. They can be write by assigned instance and read by all instance (just it)
    It's not a bug when you query v$datafile, v$logfile, v$controlfile in all instances you will get same result, because it's the DATABASE. (An database (i.e files) can be opened by many instances).
    Levi Pereira

  • Standby not applying the online redo logs

    Hi,
    The redo apply process does not seem to apply the current logs to the standby database.
    The output from the query
    Select last_change#, sequence# from v$standby_log;
    LAST_CHANGE# GROUP# SEQUENCE#
    4 0
    10120537 5 8586
    6 0
    7 0
    gives me the current SCN as that of the primary.
    But the CURRENT_SCN from v$database on the standby lags from that of the output above.
    Select CURRENT_SCN from v$database;
    CURRENT_SCN
    10119641
    The STATUS and PROCESS information from the v$managed_standby show the following:
    PROCESS STATUS SEQUENCE#
    ARCH CONNECTED 0
    ARCH CONNECTED 0
    ARCH CONNECTED 0
    ARCH CONNECTED 0
    RFS IDLE 0
    RFS IDLE 0
    RFS IDLE 8586
    RFS IDLE 0
    RFS IDLE 0
    RFS IDLE 0
    RFS IDLE 0
    PROCESS STATUS SEQUENCE#
    MRP0 APPLYING_LOG 8586
    Any thoughts on why the standby has not applied the recived logs from the primary?
    I am currently using version Oracle 11.2.0.2 for Active dataguard setup. I currently have a primary server and one standy server.
    Thanks

    I had sent the output of the queries in the earlier post. Here it is again
    The output for the query
    select thread#, max(sequence#) from v$archived_log group by thread#; (on primary)
    THREAD# MAX(SEQUENCE#)
    1 8585
    The output for
    select thread#, max(sequence#) from v$archived_log where applied = 'YES' group by thread#; (on standby)
    THREAD# MAX(SEQUENCE#)
    1 8585
    Also the query
    select LAST_CHANGE#, STATUS from V$STANDBY_LOG;
    gives me the current scn generated at the primary.
    LAST_CHANGE# STATUS
    10149990 ACTIVE
    10146538 ACTIVE
    10150844 ACTIVE
    But the current_scn from v$database is lagging.
    select current_scn from v$database;
    CURRENT_SCN
    10146535
    Also the query
    select  THREAD#, LOW_SEQUENCE#, HIGH_SEQUENCE# from v$archive_gap;
    returns no rows. So there are no archive logs missing on the standby either.
    So I beleive that the RFS has recieved the logs from the primary but the logs have not been applied at the standby.
    Thanks

  • BRARCHIVE fails with BR0017E error message: "off line redo log not found"

    After upgrade, archive format was changed to introduce resetlogs id in archive log file name
    Archive destination            /oracle/GDD/oraarch/GDDarch
    Archive format                 %t_%s_%r.dbf
    NOTE: %s log sequence number, %t thread number, %r resetlogs ID that ensures unique names are constructed for the archived log files across multiple incarnations of the database
    We did have problems with this upgrade so database was recovered once and started with resetlogs (new incarnation created).
    Now when we run brarchive it is trying to archive archive_log_file
    BR0017E Offline redo log file '/oracle/GDD/oraarch/GDDarch1_853_544272161.dbf' not found
    while on archive_log_dest we have files like "/oracle/GDD/oraarch/GDDarch1_853_618656359.dbf"
    Can you please help me to find out from where brarchive is picking parameter for log_archive_format and why it is not picking up current one causing missmatch between archvie_redo_log_file create and one BRARCHIVE is trying to back up.

    I already tried it (renamed archGDD.log to andrija.archGDD.log) and rerun
    brarchive -c -u / -r initGDD.utl.nbkp.bdhp4320 -cs
    it gave me output:
    brarchive -c -u / -r initGDD.utl.nbkp.bdhp4320 -cs
    BR0002I BRARCHIVE 7.00 (14)
    BR0006I Start of offline redo log processing: advfexyn.cps 2007-05-08 08.33.13
    BR0477I Oracle pfile /oracle/GDD/102_64/dbs/initGDD.ora created from spfile /oracle/GDD/102_64/dbs/spfileGDD.ora
    BR0013W No offline redo log files found for processing
    BR0007I End of offline redo log processing: advfexyn.cps 2007-05-08 08.33.15
    BR0280I BRARCHIVE time stamp: 2007-05-08 08.33.15
    BR0004I BRARCHIVE completed successfully with warnings
    and in archGDD.log that is created there is againreference to 0544272161 which seems to be still reference to old resetlog ID:
    bdhp4320:ac8558 41> vi archGDD.log
    "archGDD.log" 4 lines, 322 characters
    GDD  util_file  advfexyn cps  2007-05-08 08.33.13  2007-05-08 08.33.15  9  ...........         0        0        0
         0  -
    7.00 (14)  @0544272161
    GDD  util_file  advfexyn cps  2007-05-08 08.33.13  2007-05-08 08.33.15  1  ...........         0        0        0
         0  -
    7.00 (14)  @0544272161
    and in /oracle/GDD/saparch/advfexyn.cps file there is output like:
    Name                           Value
    oracle_sid                     GDD
    oracle_home                    /oracle/GDD/102_64
    oracle_profile                 /oracle/GDD/102_64/dbs/initGDD.ora
    sapdata_home                   /oracle/GDD
    sap_profile                    /oracle/GDD/102_64/dbs/initGDD.sap
    backup_dev_type                util_file
    util_par_file                  /oracle/GDD/102_64/dbs/initGDD.utl.nbkp.bdhp4320
    system_info                    oragdd/oragdd bdhp4320 HP-UX B.11.11 U 9000/800
    oracle_info                    GDD 10.2.0.2.0 8192 862 2969171885
    sap_info                       640 SAPGDD GDD W1381514715 R3_ORA 0020195637
    make_info                      hp_64 OCI_101 May 27 2006
    command_line                   brarchive -c -u / -r initGDD.utl.nbkp.bdhp4320 -cs
    BR0013W No offline redo log files found for processing
    BR0007I End of offline redo log processing: advfexyn.cps 2007-05-08 08.33.15
    BR0280I BRARCHIVE time stamp: 2007-05-08 08.33.15
    BR0004I BRARCHIVE completed successfully with warnings

  • LOB changes not wirtten in redo logs?

    Hi there,
    im just evaluating a one replikation software for syncronizing Oracle Databases. We use a 9.2 Database Standard Edition one.
    I was told by a consultant, that LOB tables cannot be syncronized, because the changes are not written into the redologs. Is this true?
    Thanks, Sven

    Sven,
    I belive there is no such restriction in Oracle.
    consider the test case (Oracle 9.2.0.6 Ent.Edition, Windows 2003):
    SQL&gt; ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;
    Database altered.
    SQL&gt; create table test_lob(lob clob) ;
    Table created.
    SQL&gt; alter system switch logfile;
    System altered.
    SQL&gt; declare
    2 l_lob CLOB ;
    3 begin
    4 insert into test_lob values (empty_clob()) returning lob into l_lob ;
    5 dbms_lob.writeappend(l_lob, 4, 'test') ;
    6 end ;
    7 /
    PL/SQL procedure successfully completed.
    SQL&gt; alter system switch logfile;
    System altered.
    SQL&gt; EXECUTE DBMS_LOGMNR.ADD_LOGFILE( LOGFILENAME =&gt;'j:\orant\archive_logs\Arc1_731.arc', OPTIONS =&gt; DBMS_LOGMNR.NEW);
    PL/SQL procedure successfully completed.
    SQL&gt;
    SQL&gt; EXECUTE DBMS_LOGMNR.START_LOGMNR(OPTIONS =&gt; DBMS_LOGMNR.DICT_FROM_ONLINE_CATALOG);
    PL/SQL procedure successfully completed.
    SQL&gt; select scn, sql_redo from V$LOGMNR_CONTENTS;
    returns
    1101810606178,set transaction read write;
    1101810606178,insert into "OBIDEM00"."TEST_LOB"("LOB") values (EMPTY_CLOB());
    1101810606178,update "OBIDEM00"."TEST_LOB" set "LOB" = 'test' where "LOB" = EMPTY_CLOB() and ROWID = 'AAAV7JAABAAAacJAAA';
    as you can see the LOB related statements are in the archived log, means they were written in redo log.
    The question is how the LOB gets created in your case? If it is loaded through the direct-path load or you are using NOLOGGING option then it is possible that the LOB data would not appear in the redo log. In this case it is not the Oracle restriction, but the peculiarity of your application
    Mike

  • Redo log backup to disk is failed

    Hi,
    My Archive log backup to disk is failed
    BR0002I BRARCHIVE 7.00 (13)                                                                               
    BR0006I Start of offline redo log processing: aeamsbyx.svd 2009-05-04 15.15.07                                                   
    BR0477I Oracle pfile E:\oracle\DV1\102\database\initDV1.ora created from spfile E:\oracle\DV1\102\database\spfileDV1.ora         
    BR0101I Parameters                                                                               
    Name                           Value                                                                               
    oracle_sid                     DV1                                                                               
    oracle_home                    E:\oracle\DV1\102                                                                               
    oracle_profile                 E:\oracle\DV1\102\database\initDV1.ora                                                            
    sapdata_home                   E:\oracle\DV1                                                                               
    sap_profile                    E:\oracle\DV1\102\database\initDV1.sap                                                            
    backup_dev_type                disk                                                                               
    archive_copy_dir               W:\oracle\DV1\sapbackup                                                                           
    compress                       no                                                                               
    disk_copy_cmd                  copy                                                                               
    cpio_disk_flags                -pdcu                                                                               
    archive_dupl_del               only                                                                               
    system_info                    SAPServiceDV1 SAP2DQSRV Windows 5.2 Build 3790 Service Pack 1 Intel                               
    oracle_info                    DV1 10.2.0.2.0 8192 21092 71120290                                                                
    sap_info                       46C SAPR3 DV1 W1372789206 R3_ORA 0020109603                                                       
    make_info                      NTintel OCI_10103_SHARE Apr  5 2006                                                               
    command_line                   brarchive -u / -c force -p initDV1.sap -sd                                                        
    BR0013W No offline redo log files found for processing                                                                           
    BR0007I End of offline redo log processing: aeamsbyx.svd 2009-05-04 15.15.11                                                     
    BR0280I BRARCHIVE time stamp: 2009-05-04 15.15.11                                                                               
    BR0004I BRARCHIVE completed successfully with warnings                                                                               
    I have checked the target directory nothing is backed up and gone through few SAP notes 10170, 17163, 132551, 490976 and 646681 but nothing is helped.
    And anohter question is in DB13 Calander --> Schedule an action pattern maximum I can backup only 1 month redo logs. But I have 3 months redo log files are there. How can I back up those files.
    Our environment is SAP R/3 4.6C, windows 2003 and Oracle 10.2.0.2.0
    Please some one help me on this.
    Thanks and Regards
    Satya

    Update your BRTools. They are very old.
    Check that your DB is in archive-log-mode. If no enable it.
    testing backup
    - run a online backup
    - run "sqlplus / as sysdba"
    - SQL> alter system switch logfile; ... this switches the current online log... a new log will written to oraarch.
    - run a archivelog backup
    ... now you should have complete db-backup with minimum 1!!! archive log.
    Now you can delete old redologs from oraarch.
    If this doesn't work and your database is in archive-log-mode:
    - shutdown sap and oracle
    - MOVE all redologs from oraarch to a other location manually... no more files should be on oraarch
    - run a offline backup
    If the offline backup was running successfully you can delete the prior moved redologs. The backup is consistent and the redologs will no more required.
    - start oracle and sap
    Oracle should now write new redologs to oraarch. Test online backup!
    Edited by: Thomas Rudolph on May 6, 2009 10:16 PM
    Edited by: Thomas Rudolph on May 6, 2009 10:17 PM

  • Redo log backup failing with BR253E errno 2:

    Hi all,
    I am able to take online as well as offline backup through sapdba , but unfortunately from last 7 days my redo log backup is failing after online backup is complete with below mentioned error. I also tried to start redo log backup seperately but failed as below...
    BR002I BRARCHIVE 6.20 (18)
    BR006I Start of offline redo log processing: adwpawsw.sve 2007-11-13 21.33.22
    BR280I Time stamp 2007-11-13 21.33.25
    BR008I Offline redo log processing for database instance: PRD
    BR009I BRARCHIVE action ID: adwpawsw
    BR010I BRARCHIVE function ID: sve
    BR048I Archive function: save
    BR011I 195 offline redo log files found for processing, total size 9469.831 MB
    BR112I Files will not be compressed
    BR130I Backup device type: disk
    BR106I Files will be saved on disk in directory: F:\oracle\PRD\sapbackup
    BR126I Unattended mode active - no operator confirmation required
    BR202I Saving init_ora
    BR203I to F:\oracle\PRD\sapbackup\PRD ...
    BR202I Saving o:\orcle\prd\920\DATABASE\initPRD.sap
    BR203I to F:\oracle\PRD\sapbackup\PRD ...
    BR280I Time stamp 2007-11-13 21.33.26
    BR198I Profiles saved successfully
    BR252E Function fopen() failed for 'F:\oracle\PRD\sapbackup\.PRD/oraarch/PRDarch
    ARC10479.001' at location arch_process-4
    BR253E errno 2: No such file or directory
    BR121E Processing log file F:\oracle\PRD\sapbackup\.PRD/oraarch/PRDarchARC10479.
    001 failed
    BR016I 0 offline redo log files processed, total size 0.000 MB
    BR007I End of offline redo log processing: adwpawsw.sve 2007-11-13 21.33.26
    BR280I Time stamp 2007-11-13 21.33.26
    BR005I BRARCHIVE terminated with errors
    End of output from program 'BRARCHIVE' -
    SAPDBA: Execution of BRARCHIVE failed.
            (2007-11-13 21.33.27)
    Press <return> to continue ...
    SAPDBA: Last line from BRARCHIVE summary log:
            '#* PRD  disk  adwpawsw sve  2007-11-13 21.33.22  2007-11-13 21.33.26
            5  ...........  -
    c 6.20 (18)'
    Press <return> to continue ...
    Appreciate your quick replies.
    Best Regards,
    AjitR

    Unfortunately backlogs point to directory
    <b>'F:\oracle\PRD\sapbackup\.PRD</b>
    But i have my logfiles getting archived at D:\oracle\PRD\oraarch
    and they are supposed to be backed up at F:\oracle\PRD\sapbackup
    Below is my init.sap file for your ref, i cant find where this <b>.PRD</b> folder came from
    backup mode [all | all_data | full | incr | sap_dir | ora_dir
    | <tablespace_name> | <file_id> | <file_id1>-<file_id2>
    | <generic_path> | (<object_list>)]
    default: all
    backup_mode = all
    restore mode [all | all_data | full | incr | incr_only | incr_full
    | <tablespace_name> | <file_id> | <file_id1>-<file_id2>
    | <generic_path> | (<object_list>)]
    redirection with '=' is not supported here - use option '-m' instead
    default: all
    restore_mode = all
    backup type [offline | offline_force | offline_standby | offline_split
    | offline_stop | online | online_cons | online_split]
    default: offline
    backup_type = offline
    backup device type
    [tape | tape_auto | tape_box | pipe | pipe_auto | pipe_box | disk
    | disk_copy | disk_standby | stage | stage_copy | stage_standby
    | util_file | util_file_online | rman_util | rman_disk | rman_stage
    | rman_prep]
    default: tape
    #backup_dev_type = tape
    backup_dev_type = disk
    backup root directory [<path_name> | (<path_name_list>)]
    default: %SAPDATA_HOME%\sapbackup
    #backup_root_dir = D:\oracle\PRD\sapbackup
    backup_root_dir = F:\oracle\PRD\sapbackup
    stage root directory [<path_name> | (<path_name_list>)]
    default: value of the backup_root_dir parameter
    #stage_root_dir = D:\oracle\PRD/sapbackup
    stage_root_dir = F:\oracle\PRD\sapbackup
    compression flag [yes | no | hardware | only]
    default: no
    compress = no
    compress command
    first $-character is replaced by the source file name
    second $-character is replaced by the target file name
    <target_file_name> = <source_file_name>.Z
    for compress command the -c option must be set
    recommended setting for brbackup -k only run:
    "%SAPEXE%\mkszip -l 0 -c $ > $"
    no default
    compress_cmd = "@SAPEXE@\mkszip -c $ > $"
    uncompress command
    first $-character is replaced by the source file name
    second $-character is replaced by the target file name
    <source_file_name> = <target_file_name>.Z
    for uncompress command the -c option must be set
    no default
    uncompress_cmd = "@SAPEXE@\uncompress -c $ > $"
    directory for compression [<path_name> | (<path_name_list>)]
    default: value of the backup_root_dir parameter
    #compress_dir = D:\oracle\PRD/sapreorg
    compress_dir = F:\oracle\PRD\sapreorg
    brarchive function [save | second_copy | double_save | save_delete
    | second_copy_delete | double_save_delete | copy_save
    | copy_delete_save | delete_saved | delete_copied]
    default: save
    archive_function = save
    directory for archive log copies to disk
    default: first value of the backup_root_dir parameter
    #archive_copy_dir = D:\oracle\PRD/sapbackup
    archive_copy_dir = F:\oracle\PRD\sapbackup
    directory for archive log copies to stage
    should contain <SID> subdirectory
    default: first value of the stage_root_dir parameter
    #archive_stage_dir = D:\oracle\PRD/sapbackup
    archive_stage_dir = f:\oracle\PRD\sapbackup
    new database home directory for disk_copy | disk_standby
    no default
    new_db_home = X:\oracle\C11
    stage database home directory for stage_copy | stage_standby
    default: value Cof the new_db_home parameter
    stage_db_home = /oracle/C11
    original database home directory for split mirror disk backup
    no default
    orig_db_home = /oracle/C11

  • Redo log backup through DB13

    hello,
    if i try to use DB13 for relo log backup it gives error as
    Job started                                                                  
    Step 001 started (program RSDBAJOB, variant &0000000000286, user name BASIS) 
    Execute logical command BRARCHIVE On host dmrctst                            
    Parameters: -u / -c force -p initQAS.sap -cds -v QAS_TUE2_00                 
    BR002I BRARCHIVE 6.10 (76)                                                   
    BR157E Value 'QAS_TUE2_00' for option '-v' longerthan 10 characters          
    BR007I End of offline redo log processing: adxynlbm.log 2008-05-19 18.39.22  
    BR280I Time stamp 2008-05-19 18.39.22                                        
    BR005I BRARCHIVE terminated with errors                                      
    External program terminated with exit code 3                                 
    BRARCHIVE returned error status E                                            
    Job finished                                                                 
    how should i take backup of redo logs,we are using 4.6C version?
    -saurabh

    "BR157E Value 'QAS_TUE2_00' for option '-v' longerthan 10 characters"
    This is the pertinent bit.  Your naming convention for your media does not comply with the limitations ..... i.e, change your tape name to be 10 or less characters.

Maybe you are looking for

  • I have a new iPod Touch, so how can I deauthorise my "old" iPod Touch before giving it to my brother or husband?

    I have a new iPod Touch, so how can I deauthorise my "old" iPod Touch, before giving it to my brother or husband? Thank you.

  • IPad video poster frames white box with grey tv, looking for fix

    I have searched the forums and can not find a working solution. I have mpeg4 Apple TV/ iPad videos that I have added to my iPad through iTunes.  When they came in, all the poster frames were black, as that's the first frame of video.  I manually went

  • Older iMac not recognizing AirPort card

    I manually installed an AirPort Extreme card in my G4 iMac. I followed the instructions exactly. However, it's not showing up anywhere in the Network Preferences. It's like I never installed it. I think I did everything right, I even went back and di

  • Process chain - How to  correct?

    Hi friends, i have a process chain which failed at process LOAD INFOPACKAGE . subsequent to this process is  UPDATE FROM PSA. . we loaded the infopackage manually  and tried to repeat the Update from PSA , but it got failed.   I have done any mistake

  • How to add budget cost centre wise ?

    Hi Experts, I have created 5 dimentions and various cost centres with in each dimentions. dimenstions are as follows. 1.Product 2.Employee 3.Department 4.Zone 5.Branch Now I want to enter budget by profit/cost centres defined within this dimentions a