Standby Oracle

Good morning Gurus,
We want to implement the Standby on our Oracle Database 10g production.
We have steps about this procedure. Its like this:
1- Implement and update Oracle 10g using the OPatch, before we start the Standby configuration.
2- Create a virtual enviromment for tests before implement directly in enviromment production.
3- In a date, shutdown the Primary, restore in Standby, configure both init.ora, startup two instances.
Do you agree with us? Help us with yours comments.
Thanks for your time and patience.
Oracle 10g
Aix 6.1
SAP Ecc
Denis
Brazil

If I understand the question correctly the answer is no.
That said, if I'm doing Data Guard I probably would upgrade the database in advance to save trouble down the line.
A comment on Opatch since I just did the CPU patch on 11 Data Guard systems.
On the standby server all you do the in run opatch apply. Skip the SQL part as this moves from the primary database.
Also there's a separate Data Guard area here :
Data Guard
The Oracle product manager for Data Guard is on there almost every day and he's the best in the business.
Does this help?
mseberg

Similar Messages

  • Manual standby Oracle 11.1 standard edition

    I have set up a standby DB for Oracle 11.1 standard edition.
    Everything is done manually by using batchfiles and scripts.
    Logiles are copied from the primary server to the standby server but when I try to register those I get an error ORA-00439: featue not enabled : managed standby
    Do I need enterprise edition for this ? I thoguht it was possible to set up a physical standby if you do the logshipping yourself without using data guard.

    Yes I know data guard is only available in Enterprise edition.
    Hence I scripted the whole process and copy the archive logs myself.
    So this means that doing this manually also won't work since it won't let me register the logfiles. I have done this in Oracle 10 standard edition. Guess my customer will need Enterprise version as from V11 then...

  • Switchover to 1 of 3 Physical Standby (oracle 10g R2)

    Hi all,
    Previously I already had done switchover primary to standby (only 1 Physical standby was in the configuration)
    now i have some additional physical standbys (3 Physical standbys)
    stby1
    stby2
    stby3
    i want to switch to stby1 ,what needs to be done at stby2,stby3 to make them capable of identifying stby1 as their new primary.
    Kindly suggest!
    Best Regards,
    Muhammad Shakeel Azeem

    921542 wrote:
    Hi all,
    Previously I already had done switchover primary to standby (only 1 Physical standby was in the configuration)
    now i have some additional physical standbys (3 Physical standbys)
    stby1
    stby2
    stby3
    i want to switch to stby1 ,what needs to be done at stby2,stby3 to make them capable of identifying stby1 as their new primary.
    Kindly suggest!
    Best Regards,
    Muhammad Shakeel AzeemAzeem,
    Welcome to OTN,
    Once you performed switchover, You need to perform changes with some parameters from standby FAL_SERVER
    Earlier this parameter points to old primary, Now after switchover you have to put service name of new primary database service.
    Also Make changes with remote destinations log_archive_dest_n with correct service names.
    Refer this manual to work with multiple standby databases.
    http://www.oracle.com/technetwork/database/features/availability/maa10gr2multiplestandbybp-1-131937.pdf

  • Primary and  standby oracle server versions

    Hi
    Can I have a dataguard config in which the primary database and standby database are having different Oracle versions but the compatible paramerter is set to less than the lowest version
    Eg:
    primary 10.2.0.1
    Standby 10.2.0.4
    compatible 9.2.0.0.0
    Is this possible
    Similarly is it possible to have primnary and standby in 10g and 11g with 10.2.0.1 compatible parameter

    Can I have a dataguard config in which the primary database and standby database are having different Oracle versions but the compatible paramerter is set to less than the lowest version
    primary 10.2.0.1
    Standby 10.2.0.4
    compatible 9.2.0.0.0
    Is this possible
    Similarly is it possible to have primnary and standby in 10g and 11g with 10.2.0.1 compatible parameterNo it is not possible. I read one of blog, We can configure logical standby it might 11g

  • Fwd: Standby Oracle 11g database on standalone computer

    I have only rman backup that are taken from the target data base, i wont to create new database using that rman backup without disturbing to the target database.
    is it possible to create new standby database using backed up rman copy.
    now i have installed oracle11g on standalone computer and i wont to create standby database on that computer.
    Sangeeth

    this may help you
    http://repettas.wordpress.com/2008/10/24/duplicating-a-database-using-oracle-11g-rman/
    Regards,
    Pavan
    http://pavandba.wordpress.com

  • Standby oracle 9i

    hello
    I have a problem with data gaurd manager wizard in oracle9i.
    I have two database that one of them is primary and another is standby.
    In wizard we want to create a standby database.and at finish it failed because listener.ora cant opened.
    would you please tell me about standby wizard in oracle 9i and tell me what do we do before running wizard.
    With best regards;

    Thanks ebrain
    I m really very much greatful to you......
    I did according to your instruction............
    SQL> startup nomount;
    ORACLE instance started.
    Total System Global Area 1688804128 bytes
    Fixed Size 453408 bytes
    Variable Size 1308622848 bytes
    Database Buffers 369098752 bytes
    Redo Buffers 10629120 bytes
    SQL> alter database mount standby database;
    Database altered.
    SQL> alter database open read only;
    alter database open read only
    ERROR at line 1:
    ORA-16004: backup database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/opt/oracle/oradata/mghgroup/system01.dbf'
    What to do boss.........

  • Standby Oracle 8.1.6

    Hi,
    We have Oracle 8.1.6 as a production database and Oracle 8.1.6 as a standby one on a second server. Secondary database doesn’t work from 2004. I can not connect to the standby database. Moreover, we do not have any username and password for it.
    I would like to start up secondary database.
    I’ll appreciate any suggestions or links.
    Thank you,
    Konstantin
    [email protected]

    If the standby hasn't work for years, it's not quite possible to sync it with primary. Of course if you have all the archive logs in these years, you could but it's not as efficient and fast as rebuilding it.
    Follow the Oracle doc to build a new standby.
    http://download-west.oracle.com/docs/cd/A87860_01/doc/server.817/a76995/toc.htm
    btw, it's time to plan upgrade your server.

  • Lost datafile on Standby Oracle 10g

    Hi all.
    i have lost one datafile on my standby ,how to recover it ,this file is created when primary database is in noarchive mode (before i set up the data guard) ,so i can't use alter database create datafile statement bocz i dont have all the archive log to recover it ,
    plz help me out to solve this ..

    969752 wrote:
    Hi all.
    i have lost one datafile on my standby ,how to recover it ,this file is created when primary database is in noarchive mode (before i set up the data guard) ,so i can't use alter database create datafile statement bocz i dont have all the archive log to recover it ,
    plz help me out to solve this ..What is the version you are using?
    Even though your primary database is in noarchive log mode before configuring data guard, still its not a problem. Follow high level steps as below
    1) Take missing datafile on primary using RMAN (or) you can use tablespace backup with traditional method
    2) copy that datafile from primary to standby system
    3) Ensure you have properly set for DB_FILE_NAME_CONVERT(bounce required), and set standby_file_management to manual
    4) take the dummy file and rename with the new file(step 2) by using alter database create command
    5) later change standby_file_managment to auto & start MRP

  • Oracle diagnostics on standby

    Hi All,
    My physical standby - Oracle 11gr2 on RHEL5.6
    I want to run RDA on the physical standby, should I run in open read-only mode ?

    Sunny kichloo wrote:
    Have you gone through this
    Metalink Note:314422.1 – Remote Diagnostic Agent (RDA) 4 – Getting Started
    Yes
    It can be run in open modeDo you mean OPEN READ-ONLY or OPEN ?

  • Oracle Standby DB with SAP - BRARCHIVE and BRBACKUP

    Hi experts,
    I was requested to configure and standby Oracle scenario for with SAP. After reviewing many different documentation regarding this, I would like to confirm the following with youu2026How do the BRARCHIVE and BRBACKUP tools should be integrated in this standby/data guard configuration? Actually data guard configuration has been already completed and redo logs are being shipping and applying successfully from primary db to the standby db. Please note that no settings for BRACRHIVE or BRBACKUP have been done so far.
    From doc. u201COracle White Paperu2014Setting up Oracle 11g Data Guard for SAP customersu201D, it says that u201CThere is no change to BRARCHIVE configuration necessary. It can work like with any other standolane databaseu201D. What changes or considerations would be required on the current data guard configuration to implement these BRTOOLS? For exampleu2026If I start using BRARCHIVE to copy the offline redo log files from the production database to the standby database, its necessary to disable anything from the current configuration?
    Hope I was clear enoughu2026thanks for your help.
    Regards

    Hi Orkun,
    If the use of BRARCHIVE is not required or at least is not mandatory to configure an standby db for SAP environments...I've started thinking If I've followed the right process to complete this?
    As mentioned if my post the following documentation was used "Oracle White Paperu2014Setting up Oracle 11g Data Guard for SAP customers". Did I follwed the right process or is there any different set of steps to configure Oracle standby DB for SAP using BRARCHIVE and BRBACKUP?
    As you can see I'm confused about the Standby DB configuration process for SAP environments.
    Any clarification you can provide me regarding this would be highly appreciated.
    Regards

  • RA-12514: TNS:listener does not  in 11g Standby and Primary

    Hi,
    We are under process of creating active database in Linux,when i am trying to connect to auxiliary database from primary , i am hitting below error, any ideas.
    rman target sys/oracle@adg auxiliary sys/oracle@adg1
    I am able to do tnsping from both servers.
    from standby
    [oracle@adg1 admin]$ tnsping adg
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 18-AUG-2011 18:49:15
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = adg.xxxx.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = adg.xxxx.com) (UR=A)))
    OK (0 msec)
    [oracle@adg1 admin]$ tnsping adg1
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 18-AUG-2011 18:49:15
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxxxcom)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = adg1.xxxx.com) (UR=A)))
    OK (0 msec)
    [oracle@adg1 admin]$
    From Primary:
    ========
    [oracle@adg admin]$ tnsping adg
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 19-AUG-2011 10:06:29
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = adg.xxx.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = adg.xxxx.com)(UR=A)))
    OK (10 msec)
    [oracle@adg admin]$ tnsping adg1
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 19-AUG-2011 10:06:29
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxx.com)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = adg1.xxx.com) (UR=A)))
    OK (0 msec)
    [oracle@adg admin]$
    ================================
    standby listener.ora
    [oracle@adg1 admin]$ cat listener.ora
    # listener.ora Network Configuration File: /u01/app/11.2.0/grid/network/admin/listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxx.com)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = ADG)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/db_1)
    (SID_NAME = ADG1)
    standby tnsnames.ora
    [oracle@adg1 admin]$ cat tnsnames.ora
    # tnsnames.ora Network Configuration File: /u01/app/11.2.0/grid/network/admin/tnsnames.ora
    # Generated by Oracle configuration tools.
    ADG1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = adg1.xxx.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = adg1.xxx.com) (UR=A)
    ADG =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = adg.xx.com)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = adg.xxx.com) (UR=A)
    [oracle@adg1 admin]$

    I am trying to create active database from standby, how ever its failing with below error, any ideas..?
    Here is RMAN error log.
    ADG: Primary
    ADG1:Standby
    ==============
    Recovery Manager: Release 11.2.0.1.0 - Production on Tue Sep 6 03:26:09 2011
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN> connect target *
    2> connect auxiliary *
    3> run {
    4> allocate channel prmy1 type disk;
    5> allocate channel prmy2 type disk;
    6> allocate channel prmy3 type disk;
    7> allocate channel prmy4 type disk;
    8> allocate channel prmy5 type disk;
    9> allocate auxiliary channel stby1 type disk;
    10> duplicate target database for standby from active database
    11> spfile parameter_value_convert 'adg','adg1'
    12> set db_unique_name='adg1'
    13> set standby_file_management='AUTO'
    14> set db_create_file_dest='+DATA'
    15> set db_recovery_file_dest='+DATA'
    16> set DB_RECOVERY_FILE_DEST_SIZE='8G'
    17> set control_files='+DATA/ADG1/controlfile/control01.ctl'
    18> set log_archive_max_processes='5'
    19> set fal_client='adg1'
    20> set fal_server='adg'
    21> set log_archive_config='dg_config=(adg1,adg)'
    22> nofilenamecheck
    23> ;
    24> }
    25>
    connected to target database: ADG (DBID=1317755151)
    connected to auxiliary database: ADG1 (not mounted)
    using target database control file instead of recovery catalog
    allocated channel: prmy1
    channel prmy1: SID=29 device type=DISK
    allocated channel: prmy2
    channel prmy2: SID=22 device type=DISK
    allocated channel: prmy3
    channel prmy3: SID=156 device type=DISK
    allocated channel: prmy4
    channel prmy4: SID=152 device type=DISK
    allocated channel: prmy5
    channel prmy5: SID=148 device type=DISK
    allocated channel: stby1
    channel stby1: SID=96 device type=DISK
    Starting Duplicate Db at 06-SEP-11
    contents of Memory Script:
    backup as copy reuse
    targetfile '/u01/app/oracle/product/11.2.0/db_1/dbs/orapwadg' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/orapwadg1' targetfile
    '+DATA/adg/spfileadg.ora' auxiliary format
    '/u01/app/oracle/product/11.2.0/db_1/dbs/spfileadg1.ora' ;
    sql clone "alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileadg1.ora''";
    executing Memory Script
    Starting backup at 06-SEP-11
    Finished backup at 06-SEP-11
    sql statement: alter system set spfile= ''/u01/app/oracle/product/11.2.0/db_1/dbs/spfileadg1.ora''
    contents of Memory Script:
    sql clone "alter system set audit_file_dest =
    ''/u01/app/oracle/admin/adg1/adump'' comment=
    '''' scope=spfile";
    sql clone "alter system set dispatchers =
    ''(PROTOCOL=TCP) (SERVICE=adg1XDB)'' comment=
    '''' scope=spfile";
    sql clone "alter system set log_archive_dest_1 =
    ''Location=/u01/archvie VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=adg1'' comment=
    '''' scope=spfile";
    sql clone "alter system set log_archive_dest_2 =
    ''SERVICE=adg11 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=adg1'' comment=
    '''' scope=spfile";
    sql clone "alter system set db_unique_name =
    ''adg1'' comment=
    '''' scope=spfile";
    sql clone "alter system set standby_file_management =
    ''AUTO'' comment=
    '''' scope=spfile";
    sql clone "alter system set db_create_file_dest =
    ''+DATA'' comment=
    '''' scope=spfile";
    sql clone "alter system set db_recovery_file_dest =
    ''+DATA'' comment=
    '''' scope=spfile";
    sql clone "alter system set DB_RECOVERY_FILE_DEST_SIZE =
    8G comment=
    '''' scope=spfile";
    sql clone "alter system set control_files =
    ''+DATA/ADG1/controlfile/control01.ctl'' comment=
    '''' scope=spfile";
    sql clone "alter system set log_archive_max_processes =
    5 comment=
    '''' scope=spfile";
    sql clone "alter system set fal_client =
    ''adg1'' comment=
    '''' scope=spfile";
    sql clone "alter system set fal_server =
    ''adg'' comment=
    '''' scope=spfile";
    sql clone "alter system set log_archive_config =
    ''dg_config=(adg1,adg)'' comment=
    '''' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    executing Memory Script
    sql statement: alter system set audit_file_dest = ''/u01/app/oracle/admin/adg1/adump'' comment= '''' scope=spfile
    sql statement: alter system set dispatchers = ''(PROTOCOL=TCP) (SERVICE=adg1XDB)'' comment= '''' scope=spfile
    sql statement: alter system set log_archive_dest_1 = ''Location=/u01/archvie VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=adg1'' comment= '''' scope=spfile
    sql statement: alter system set log_archive_dest_2 = ''SERVICE=adg11 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=adg1'' comment= '''' scope=spfile
    sql statement: alter system set db_unique_name = ''adg1'' comment= '''' scope=spfile
    sql statement: alter system set standby_file_management = ''AUTO'' comment= '''' scope=spfile
    sql statement: alter system set db_create_file_dest = ''+DATA'' comment= '''' scope=spfile
    sql statement: alter system set db_recovery_file_dest = ''+DATA'' comment= '''' scope=spfile
    sql statement: alter system set DB_RECOVERY_FILE_DEST_SIZE = 8G comment= '''' scope=spfile
    sql statement: alter system set control_files = ''+DATA/ADG1/controlfile/control01.ctl'' comment= '''' scope=spfile
    sql statement: alter system set log_archive_max_processes = 5 comment= '''' scope=spfile
    sql statement: alter system set fal_client = ''adg1'' comment= '''' scope=spfile
    sql statement: alter system set fal_server = ''adg'' comment= '''' scope=spfile
    sql statement: alter system set log_archive_config = ''dg_config=(adg1,adg)'' comment= '''' scope=spfile
    Oracle instance shut down
    released channel: prmy1
    released channel: prmy2
    released channel: prmy3
    released channel: prmy4
    released channel: prmy5
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 09/06/2011 03:26:19
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04006: error from auxiliary database: ORA-01031: insufficient privileges
    Recovery Manager complete.
    Here is alert.log error.
    =============
    *** 2011-09-06 03:20:24.156
    Redo shipping client performing standby login
    *** 2011-09-06 03:20:24.200 4539 krsu.c
    Logged on to standby successfully
    Client logon and security negotiation successful!
    Error 16058 attaching RFS server to standby instance at host 'adg1'
    Error 16058 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'adg1'
    ORA-16058: standby database instance is not mounted
    *** 2011-09-06 03:20:24.205 4132 krsh.c
    PING[ARC3]: Heartbeat failed to connect to standby 'adg1'. Error is 16058.
    *** 2011-09-06 03:20:24.205 2747 krsi.c
    krsi_dst_fail: dest:2 err:16058 force:0 blast:1
    Redo shipping client performing standby login
    OCISessionBegin failed -1
    .. Detailed OCI error val is 1034 and errmsg is 'ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1034 and errmsg is 'ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    OCISessionBegin failed. Error -1
    .. Detailed OCI error val is 1034 and errmsg is 'ORA-01034: ORACLE not available
    ORA-27101: shared memory realm does not exist
    Linux Error: 2: No such file or directory
    *** 2011-09-06 03:26:24.324 4132 krsh.c
    Error 1034 received logging on to the standby
    *** 2011-09-06 03:26:24.325 869 krsu.c
    Error 1034 connecting to destination LOG_ARCHIVE_DEST_2 standby host 'adg1'
    Error 1034 attaching to destination LOG_ARCHIVE_DEST_2 standby host 'adg1'
    ORA-01034: ORACLE not available
    *** 2011-09-06 03:26:24.325 4132 krsh.c
    PING[ARC3]: Heartbeat failed to connect to standby 'adg1'. Error is 1034.
    *** 2011-09-06 03:26:24.325 2747 krsi.c
    krsi_dst_fail: dest:2 err:1034 force:0 blast:1

  • ORA-01033: ORACLE initialization or shutdown in progress at client side

    This is my client TNS entry
    myApp =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primhost)(PORT = 1944))
    (ADDRESS = (PROTOCOL = TCP)(HOST = dghost)(PORT = 1946))
    (CONNECT_DATA =
    (SERVICE_NAME = dbname)
    I have 2 listeners configured on the Primary, running at 1944 and second one at 2873 which is for shipping the redo to standby
    I have 2 listeners configured on standby one running at 1946 and second one at 2873 which is for shipping redo back to primary during switchover
    So i tried client TNS entry with PORT 2873 as well, still i get the same error. Even tried with FAILOVER=yes, still i got the same error.
    Any help is aprreciated

    Hello;
    Odd setup ( No offense ).
    This error is not a listener issue generally. In fact if the Standby is in Mount it could be normal.
    Error ORA-1033 is expected for connections when they attempt to connect to standby instance, because it is mounted and not open.
    Can you try to connect as sys from the Primary to the Standby and then the other way. The Primary to Standby connect should error.
    Example from Standby
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> connect sys/<sys_password>@primary as sysdba
    Connected.
    SQL> Best Regards
    mseberg
    h2. Comment
    There was a large debate about having multiple listeners in the General forum a while back which I stayed away from. I try very hard not to tell people strong opinions, sometimes its very hard.
    But in this case I would consider ditching the multiple listener setup. I believe it gives you nothing, and just makes things more complex.
    Here's that thread :
    How to configure multiple listeners
    Edited by: mseberg on Jul 19, 2012 3:05 PM

  • Delete standby redo log from primary database

    Hi all,
    I'm trying to drop standby logfiles on primary database (other database that I'm configuring the DG).
    The members of the standby log groups don't exists on file system.
    Somebody have deleted these files. Its old configuration where the files were in file system. Now they are in ASM.
    When I try to drop the standby logfiles I got the following error:
    SQL> alter database clear logfile group 7;
    alter database clear logfile group 7
    ERROR at line 1:
    ORA-19528: redo logs being cleared may need access to files
    SQL> select * from v$logfile order by 1;
        GROUP# STATUS  TYPE    MEMBER                                                                           IS_
             1         ONLINE  +REDO1/proj/onlinelog/group_1.256.340558657                                     NO
             1         ONLINE  +REDO2/proj/onlinelog/group_1.256.340558659                                     NO
             2         ONLINE  +REDO1/proj/onlinelog/group_2.257.340558879                                     NO
             2         ONLINE  +REDO2/proj/onlinelog/group_2.259.340558879                                     NO
             3         ONLINE  +REDO1/proj/onlinelog/group_3.258.340558707                                     NO
             3         ONLINE  +REDO2/proj/onlinelog/group_3.257.340558709                                     NO
             4         ONLINE  +REDO2/proj/onlinelog/group_4.258.340558713                                     NO
             4         ONLINE  +REDO1/proj/onlinelog/group_4.259.340558711                                     NO
             5         ONLINE  +REDO2/proj/onlinelog/group_5.260.340558965                                     NO
             5         ONLINE  +REDO1/proj/onlinelog/group_5.260.340558963                                     NO
             6         ONLINE  +REDO1/proj/onlinelog/group_6.261.340558967                                     NO
             6         ONLINE  +REDO2/proj/onlinelog/group_6.261.340558967                                     NO
             7         STANDBY /oracle/proj/onlinelog2/redo_702.log                                            NO
             7         STANDBY /oracle/proj/onlinelog1/redo_701.log                                            NO
             8         STANDBY /oracle/proj/onlinelog2/redo_802.log                                            NO
             8         STANDBY /oracle/proj/onlinelog1/redo_801.log                                            NO
             9         STANDBY /oracle/proj/onlinelog2/redo_902.log                                            NO
             9         STANDBY /oracle/proj/onlinelog1/redo_901.log                                            NO
            10         STANDBY /oracle/proj/onlinelog1/redo_1001.log                                           NO
            10         STANDBY /oracle/proj/onlinelog2/redo_1002.log                                           NO
    20 rows selected.
    SQL> select * from v$standby_log order by 1;
        GROUP# DBID            THREAD#  SEQUENCE#      BYTES       USED ARC STATUS     FIRST_CHANGE# FIRST_TIM LAST_CHANGE# LAST_TIME
             7 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0
             8 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0
             9 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0
            10 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0What can I do to drop these reference?
    Any other solution instead of edit the controlfile and stop/start tghe database?
    thank you!!!!

    Hello;
    Well Oracle thinks the files are there, but I remember a bug on metalink where the controlfile still had them, but they were not on the file system. Can you confirm they exist?
    Meanwhile I check my notes for the Oracle doc nunber.
    Bug 6128242: TRYING TO DROP STANDBY LOG FAILS WITH ORA-19528
    So if you are Oracle 10 this might be the issue.
    workaround is to re-create the controlfile without the incorrect logfile. ( Yuk!! )
    ORA-01156 When Adding Or Dropping Redo Logs [ID 452152.1]
    Best Regards
    mseberg
    Edited by: mseberg on Oct 31, 2011 5:09 PM

  • Oracle post failover transaction commit error

    I have a problem on trasaction after database failover.
    Solaris 8, WLS 6.1 sp3, Oracle 8.1.7 (2 Oracle instances, one is primary and
    another is standby), JDK 1.3.1
    We found this problem in Oracle (Net 8 connection time) failover test.
    Here is what we did.
    During the load, we shut down the primary Oracle server (box).
    All in-flight transactions were wrong, this is ok.
    When new requests came in, WebLogic begin to refresh the connections.
    Because the primary Oracle server was down, it took about 70 seconds to
    refresh a connection (due to the socket timeout value) and redirect to the
    standby Oracle. This is fine.
    After a while, all connections were refreshed and all connected to the
    standby serever.
    When I opened WebLogic console to monitor the in-flight transaction, I found
    some transactions are doing committing and never finished.
    At this time most of the transaction can go through but few of them through
    an exception (attached at the end). This error could never gone although the
    frequency was not high. The strange thing is I checked the database, the
    data was committed.
    I've tried Oracle OCI driver and thin driver, both had this problem. Is
    there anyone can help me on that?
    Thanks,
    Wenji
    <Jan 28, 2003 1:49:57 PM EST> <Error> <EJB> <Exception during commit of
    transaction Name=[EJB
    com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchSessio
    nBean.processDataPacket(com.bankframe.bo.DataPacket)],Xid=28502:685f84a9ba5b
    1ed8(192232),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,sec
    onds since begin=122,seconds
    left=60,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=ended,assign
    ed=prod-srv2),SCInfo[prod+prod-srv2]=(state=pre-prepared),properties=({weblo
    gic.transaction.name=[EJB
    com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchSessio
    nBean.processDataPacket(com.bankframe.bo.DataPacket)],
    weblogic.jdbc=t3://10.161.46.31:7101}),OwnerTransactionManager=ServerTM[Serv
    erCoordinatorDescriptor=(CoordinatorURL=prod-srv2+10.161.46.31:7101+prod+, R
    esources={})],CoordinatorURL=prod-srv2+10.161.46.31:7101+prod+):
    javax.transaction.SystemException: Timeout during commit processing
    at
    weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
    nsactionImpl.java:243)
    at
    weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
    Impl.java:189)
    at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:272)
    at

    Wenji Tong wrote:
    Thanks, Joe!
    Things could be more complicate. I did some tests to find the details of the
    problem. Here are the results.Hi,
    This is developing into a bigger problem than I can solve informally in newsgroups,
    so I suggest that you open an official support case with this information.
    Joe
    >
    >
    1. I've done a test. In this test, I shut down the Oracle and also stop the
    load. After all threads and connection returned to the pool and all
    transactions done (roll back or abandoned), I started load again. I still
    could find this error. That means this error is not related to any in-flight
    transactions.
    2. After all connectioin failed over, this error was still not gone. The
    frequency was not high, but it was always there.
    3. In WebLogic console, monitor in-flight transaction, I saw some
    transactions were doing committing, but never finished if there was no load.
    When I saw an error printed in log, one of the committing transaction gone
    but there came out another transaction doing the commit and can't be
    finished. I'm not sure if it was related to WebLogic console's bug.
    4. Increase the transaction timeout can fix this problem. Unfortunately, we
    can't increase the transaction timeout anymore due to our business
    requirements.
    I hope those information will be helpful.
    Thanks,
    Wenji
    "Joseph Weinstein" <[email protected]> wrote in message
    news:[email protected]...
    Wenji Tong wrote:
    I have a problem on trasaction after database failover.
    Solaris 8, WLS 6.1 sp3, Oracle 8.1.7 (2 Oracle instances, one is primary
    and
    another is standby), JDK 1.3.1
    We found this problem in Oracle (Net 8 connection time) failover test.
    Here is what we did.
    During the load, we shut down the primary Oracle server (box).
    All in-flight transactions were wrong, this is ok.
    When new requests came in, WebLogic begin to refresh the connections.
    Because the primary Oracle server was down, it took about 70 seconds to
    refresh a connection (due to the socket timeout value) and redirect tothe
    standby Oracle. This is fine.
    After a while, all connections were refreshed and all connected to the
    standby serever.
    When I opened WebLogic console to monitor the in-flight transaction, Ifound
    some transactions are doing committing and never finished.
    At this time most of the transaction can go through but few of themthrough
    an exception (attached at the end). This error could never gone althoughthe
    frequency was not high. The strange thing is I checked the database, the
    data was committed.
    I've tried Oracle OCI driver and thin driver, both had this problem. Is
    there anyone can help me on that?
    Thanks,
    WenjiHi. It seems that Oracle failover is not perfect. Our transactioncoordinator
    is supposed to have control of the transaction. If a failover occurs while
    a transaction is pending, the coordinator should still have the ability toroll
    back the tx. Apparently there are cases where the failover causes an open
    transaction to be committed, in such a way that even if the coordinatorhas
    decided to roll it back, it can't. These may be when the failover occurswhile
    we are waiting for the commit call to return. We either get an exceptionor
    we get no return from the commit() call so we try to roll back and fail.The
    actual commit succeeded, but we never knew.
    Joe
    <Jan 28, 2003 1:49:57 PM EST> <Error> <EJB> <Exception during commit of
    transaction Name=[EJB
    com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchSessio
    >nBean.processDataPacket(com.bankframe.bo.DataPacket)],Xid=28502:685f84a9ba5b
    >1ed8(192232),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,sec
    onds since begin=122,seconds
    left=60,ServerResourceInfo[weblogic.jdbc.jts.Connection]=(state=ended,assign
    >ed=prod-srv2),SCInfo[prod+prod-srv2]=(state=pre-prepared),properties=({weblo
    gic.transaction.name=[EJB
    com.bankframe.bp.retail.solutionset.impl.customersearch.CustomerSearchSessio
    nBean.processDataPacket(com.bankframe.bo.DataPacket)],
    weblogic.jdbc=t3://10.161.46.31:7101}),OwnerTransactionManager=ServerTM[Serv
    >erCoordinatorDescriptor=(CoordinatorURL=prod-srv2+10.161.46.31:7101+prod+, R
    esources={})],CoordinatorURL=prod-srv2+10.161.46.31:7101+prod+):
    javax.transaction.SystemException: Timeout during commit processing
    at
    weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTra
    nsactionImpl.java:243)
    at
    weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransaction
    Impl.java:189)
    atweblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:272)
    at

  • Standby Database in Veritas Cluster

    Can anyone point me to documentation on the standard/recommended
    procedure/configuration to maintain a redundant standby Oracle
    database in a Veritas cluster?
    Thanks.
    Ajay Rajani

    We are in the process of establishing the same but still working on how the file systems will have to be arranged for failover

Maybe you are looking for

  • Quick Time Pro in Windows 7

    I have quick time pro 7 but use it in Windows not Mac.  I can't find a way to play a .wma file in quick time pro.  All I can see online is codec software to allow wma files to play in quick time if you have a mac.  This doesn't help if you are trying

  • How to correct XML Output in Cross Tab Template for sum function?

    I have designed a Cross Tab Template to summarize R12 Account Analysis data by Period by Party_name. The template is doing what I want it to do with the exception of amount. I have a function in the sum(accounted_net) field and it will only display 0

  • Not playing correct song

    I put my songs in a-z order on my iPhone 5 and the songs that start with numbers play when I try to play a song that starts with an A!

  • ACH file IL Child support Garnishment

    Hi, I working on to activate the Third party remittance (US Payroll) functionality for garnishment. Every thing is working fine, but I am not able to produce correct format ACH file for IL Child support. Should be <705DEDCSCSIL02101507400.00> coming

  • Deleting storage locations feom WM.

    Hi experts. I need remove some storage locations from WM. In SPRO Logistics Execution > Warehouse Management > Master Data path. In the DEFINE STORAGE TYPES , I tried deleted a line item I got the message : Deletion not possible because there is stil