Data Guard with diff Oracle Versions??

Hi,
I have one query on Data Guard.
Can I config. data guard with two different Oracle versions?
i.e Primary=> 8i
stand by=> 10g
OR either way. Pls post your comments
JAI HIND
Darshan

Some of the parameters that you need to have with Physical standby database are :
*.background_dump_dest='/ford/app/oracle/admin/xchbot1/bdump'
*.compatible='9.2.0.7'
*.control_files='/home30/oradata/xchange/xchbot1/control01.ctl','/home30/oradata/xchange/xchbot1/control02.ctl','/home30/orad
ata/xchange/xchbot1/control03.ctl'
*.core_dump_dest='/ford/app/oracle/admin/xchbot1/cdump'
*.db_block_buffers=1024
*.db_block_size=8192
*.db_file_multiblock_read_count=8# SMALL
*.db_files=1000# SMALL
*.db_name='xchbot1'
*.global_names=TRUE
*.log_archive_dest_1='LOCATION=/home30/oradata/xchange/xchbot1/archivelog'
*.log_archive_dest_2='SERVICE=standby'
*.log_archive_dest_state_2='ENABLE'
*.log_archive_format='arch_%t_%s.arc'
*.log_archive_start=true
*.log_buffer=16384000# SMALL
*.log_checkpoint_interval=10000
*.max_dump_file_size='10240'# limit trace file size to 5 Meg each
*.parallel_max_servers=5
*.parallel_min_servers=1
*.processes=50# SMALL
*.rollback_segments='rbs01','rbs02','rbs03','rbs04','rbs05','rbs06','rbs07','rbs08','rbs09','rbs10'
*.shared_pool_size=67108864
*.sort_area_retained_size=2048
*.sort_area_size=10240
*.user_dump_dest='/ford/app/oracle/admin/xchbot1/udump'

Similar Messages

  • How to access Data Guard option in Oracle 10g OEM

    Hi All,
    I have Oracle 10g ENTERPRISE EDITION on Unix envoirement. I want to setup logical standby Database through Data Guard technology. But when I brows through OEM I do not find Link for DATA GUARD????
    1) How to access Data Guard option from oracle 10g OEM.
    2) Does It come with Enterprise Edition OR I have to install it separately.
    Regards,
    Darshan

    I am managing almost everything through EM Grid Control. It is easy to setup and configure.
    Anyways, if you have read the documentation on
    Oracle® Data Guard Concepts and Administration and setup your environment accordingly then you should not have any problems. Atleast I can assure you that your production database will not be affected by it.
    Just make sure that you follow each step and read thoroughly. If you have spare machines then you can test and record your configuration before performing it on your production db. This link will provide you with the information on DataGuard.
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14239/concepts.htm
    If you think that way then you will never be able to do any new stuff since you will always fear that something might go wrong. Go ahead pal, try it on test machines and you will know that it is not that difficult.
    There are real experts who help people like us in this forum and I know that they are doing a pretty good job.
    All the best.
    Rgds
    Adnan

  • RMAN in active data guard with real time apply ON without a catalog DB

    I would like to know whether I can take RMAN backups (both level 0 & incremental) in active data guard with real time apply ON without a catalog database. version is 11.2.0.3.2. Will it make difference in the control file of standby syncing with primary? Can I use these backups on primary to restore and recover the database(including control file backup)?

    Thank you very much msberg. Could you please answer the below queries as well?
    Should I cancel Real Time Apply before starting RMAN?
    Will it make difference in the control file of standby syncing with primary? Is it possible to use these backups on primary to restore and recover the database(including control file backup)? If possible, how will I do that?

  • Monitoring Data Guard with SNMP?

    I have configured Data Guard within two Oracle environments and have written a small Perl script which monitors the applied log service and sends an email if something fails to be applied.
    I am assuming this is not the most efficient way of monitoring the systems and would like to use SNMP.
    Can anyone tell me if it is possible to monitor Data Guard using SNMP (traps)? If so would you know what documents are available?
    Cheers!

    Some of the parameters that you need to have with Physical standby database are :
    *.background_dump_dest='/ford/app/oracle/admin/xchbot1/bdump'
    *.compatible='9.2.0.7'
    *.control_files='/home30/oradata/xchange/xchbot1/control01.ctl','/home30/oradata/xchange/xchbot1/control02.ctl','/home30/orad
    ata/xchange/xchbot1/control03.ctl'
    *.core_dump_dest='/ford/app/oracle/admin/xchbot1/cdump'
    *.db_block_buffers=1024
    *.db_block_size=8192
    *.db_file_multiblock_read_count=8# SMALL
    *.db_files=1000# SMALL
    *.db_name='xchbot1'
    *.global_names=TRUE
    *.log_archive_dest_1='LOCATION=/home30/oradata/xchange/xchbot1/archivelog'
    *.log_archive_dest_2='SERVICE=standby'
    *.log_archive_dest_state_2='ENABLE'
    *.log_archive_format='arch_%t_%s.arc'
    *.log_archive_start=true
    *.log_buffer=16384000# SMALL
    *.log_checkpoint_interval=10000
    *.max_dump_file_size='10240'# limit trace file size to 5 Meg each
    *.parallel_max_servers=5
    *.parallel_min_servers=1
    *.processes=50# SMALL
    *.rollback_segments='rbs01','rbs02','rbs03','rbs04','rbs05','rbs06','rbs07','rbs08','rbs09','rbs10'
    *.shared_pool_size=67108864
    *.sort_area_retained_size=2048
    *.sort_area_size=10240
    *.user_dump_dest='/ford/app/oracle/admin/xchbot1/udump'

  • Data Guard with Oracle 9i and 10g -- have you done it?

    We have an ERP system (JDEdwards, db size approx 600 GB) and we'd like to copy the data in this system to a database on another computer. We'd use the remote database for reporting, so we need it to be available. We are looking at using Data Guard running in Logical Standby mode.
    The ERP database is Oracle 9i, and we are considering having the Logical Standby database be 10g. Have you done this and if so, what was your experience?
    Here's why we want to do this. There are many tables in the ERP database that contain descending indexes. We can't change this, and it is not supported with Data Guard under Oracle 9.2. Tables with descending indexes do not copy to the logical standby database.
    We were told that this is corrected in a newer release of Oracle, and we were wondering if a 10g database would properly copy tables with descending indexes.
    Thanks in advance for any experiences you can share.
    Best Regards,
    Mike

    What you are trying to do might not be possible. Because when you create logical standby you have to create a physical standby first and convert it. Primary and standby have to be same version.
    In furture it might be possible because 10G will support rolling upgrade of logical standby.
    However even it's possible you have to go through a lot of pain to setup and maintain it because Oracle don't support the setup.
    What you could try are Stream and Replication, I will say Stream is very interesting one. Because Oracle say : "Oracle Streams and Oracle Data Guard (including Data Guard SQL Apply) are independent features based on some common underlying infrastructure and technology. "
    http://www.oracle.com/technology/deploy/availability/htdocs/DataGuardStreams.html

  • Configure data guard broker on Oracle 11.2.0.1

    Our primary is a 3 node RAC of 11.2.0.1 on Redhat 5.2. The physical standby is a single instance on redhat 5.2. After configured data guard, I am trying to configure data guard broker following docOracle® Data Guard Broker 11g Release 2 (11.2)
    E10702-01
    It says to add a entry to the listener.ora file
    LISTENER = (DESCRIPTION =
    (ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=host_name)
    (PORT=port_num))))
    SID_LIST_LISTENER=(SID_LIST=(SID_DESC=(SID_NAME=sid_name)
    (GLOBAL_DBNAME=db_unique_name_DGMGRL.db_domain)
    (ORACLE_HOME=oracle_home)))My lstener.ora under grid_home is LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER))))            # line added by Agent
    LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1))))                # line added by Agent
    ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON              # line added by AgentAfter addedLISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = cchORdb1)(PORT = 1521))
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = cchprd_DGMGRL)
          (SID_NAME = cchprd)
          (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
      )I started the listener and got errorLSNRCTL> start
    Starting /u01/app/grid/bin/tnslsnr: please wait...
    TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    System parameter file is /u01/app/grid/network/admin/listener.ora
    Log messages written to /u01/app/oracle/diag/tnslsnr/cchORdb1/listener/alert/log.xml
    Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=cchORdb1)(PORT=1521)))
    TNS-12542: TNS:address already in use
    TNS-12560: TNS:protocol adapter error
      TNS-00512: Address already in use
       Linux Error: 98: Address already in use
    Listener failed to start. See the error message(s) above..Without the Listener and SID_LIST_LISTENER entries, the grid infrastucture appear to manage a default listener and works OK. After add these, it appears to conflick with the default setting. I also tried to add a different listener name, then I got messge LISTENER is already startedHow should one handle this problem?
    Thanks.

    Shutdown the listener and check for white spaces in the file. Try to restart it. If if fails review against my example below.
    Here is my working example:
    PRIMARY
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary.myserver.com)(PORT = 1521))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (global_dbname = PRIMARY_DGMGRL.myserver.com)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (SID_NAME = PRIMARY)
    STANDBY
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby.mydomain.com)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (PROGRAM = extproc)
    (SID_DESC =
    (global_dbname = STANDBY_DGMGRL.mydomain.com)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0)
    (sid_name = STANDBY)
    ADR_BASE_LISTENER = /u01/app/oracle
    INBOUND_CONNECT_TIMEOUT_LISTENER=120
    When I first tried to setup this up several months ago I had this issue:
    ORA-12514 during SWITCHOVER
    Problem: You perform a switchover using DGMGRL. Though the switchover itself completes successful, databases don't get started up again. Instead, DGMGRL output holds an
    ORA-12514: TNS:listener does not currently know of service requested in connect
    Cause: This is a configuration issue: DGMGRL needs a special entry in the listener.ora.
    Solution: Details on this can be found in the Metalink note 308943.1. Make sure both, your primary and standby database have an explicit entry in the listener.ora like this:
    SID_LIST_LISTENER = (
    SID_LIST = (
    SID_DESC = ( GLOBAL_DBNAME = <db_unique_name>DGMGRL.<dbdomain> )
    ( SERVICE_NAME = <db_unique_name>.<db_domain> )
    ( SID_NAME = <ORACLE_SID> )
    ( ORACLE_HOME = <ORACLE_HOME> )
    Take special care, that:
    * <db_unique_name> reflects the databases unique name (SHOW PARAMETER db_unique_name)
    * <db_domain> reflects the databases domain (SHOW PARAMETER db_domain)
    * <ORACLE_SID> and <ORACLE_HOME> reflect the corresponding settings of the database
    Having adjusted your listener.ora files, restart the listener (lsnrctl stop && lsnrctl start). Give your databases a few minutes to register with the listener again, and then - just to be on the safe side - let the listener tell you its configuration: lsnrctl status && lsnrctl services. Check the output if everything matches.
    Edited by: mseberg on Dec 10, 2010 8:01 AM

  • Active Data Guard in different database versions (11.2.0.3  and 11.2.0.4)

    In case of Active Data Guard can i run different database versions (11.2.0.3  and 11.2.0.4) at Primary and DR for production environment ?  And will having RAC in environment make any difference?

    Hi,
    >>In case of Active Data Guard can i run different database versions (11.2.0.3  and 11.2.0.4) at Primary and DR for production environment ?
    As per normal Data Guard requirement, Oracle 11.2 does support flexibility where Primary and Standby may have different hard wares such as CPU architecture and OS etc. but the Oracle RDBMS software version must be the same. Having said so does not mean it will not support it. Beginning with 11.1.07, a physical standby database can be used to execute a rolling database upgrade to a new Oracle Patch Set or database release by using the transient logical rolling database upgrade process. It means you can have with different database version but for how long, you need to check above documents.. For complete information you should read this note:
    Data Guard Support for Heterogeneous Primary and Physical Standbys in Same Data Guard Configuration (Doc ID 413484.1)  &
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-transientlogicalrollingu-1-131927.pdf
    2) >> And will having RAC in environment make any difference?
    NO.   You can find answer at -  https://docs.oracle.com/cd/E11882_01/server.112/e41134/standby.htm#SBYDB4716
    **The primary database can be a single instance database or an Oracle Real Application Clusters (Oracle RAC) database. The standby databases can be single instance databases or Oracle RAC databases.
    HTH,
    Pradeep

  • Data Pump between differnt oracle versions

    This is a follow on to the posting from yesterday. We have a customer database that is at 10.2.N, which we currently do not support. So they are planning on buying a new server and installing oracle at the supported version of 10.1.0.5. We are then planning on exporting the data from the 10.2 database using the schema option and then importing back into the 10.1.05 database
    I thought I could use the data pump and specify the version parameter as 10.1.0.5 during the export, but according to the help that option/parameter is only valid for NETWORK_LINK and SQLFILE. I was not planning on using those options but just the default dmp file.
    Am I better off just using the old export/import utilites. The schema owner has tables that contain lob elements so how does that work with SQLFILE?
    Any advice is appreaciated!
    thanks!

    I don't think it is not supported:
    C:\Documents and Settings\ATorelli>expdp system/xxxxx version=*10.1.0.1* schemas=pippo
    Export: Release *10.2.0.4.0* - Production on Mercoledý, 29 Giugno, 2011 18:42:19
    Copyright (c) 2003, 2007, Oracle. All rights reserved.
    Connesso a: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    Avvio di "SYSTEM"."SYS_EXPORT_SCHEMA_01": system/******** version=10.1.0.1 schemas=pippo
    Stima in corso con il metodo BLOCKS...
    Elaborazione dell'object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    Stima totale con il metodo BLOCKS: 0 KB
    Elaborazione dell'object type SCHEMA_EXPORT/USER
    Elaborazione dell'object type SCHEMA_EXPORT/DEFAULT_ROLE
    Elaborazione dell'object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Caricamento/Scaricamento della tabella principale "SYSTEM"."SYS_EXPORT_SCHEMA_01" completato
    File di dump impostato per SYSTEM.SYS_EXPORT_SCHEMA_01 is:
    C:\ORA\ATORELLI\APP\PRODUCT\ADMIN\MRMANREP\DPDUMP\EXPDAT.DMP
    Job "SYSTEM"."SYS_EXPORT_SCHEMA_01" completato in 18:42:23
    Regards

  • Active Data guard with R12.1.X

    Hi
    One of our customers wants to configure their EBS R12 Instance with Active Data guard
    Current Architecture:
    R12.0.6 with RDBMS 10.2.0.4
    Projected Architecture:
    R12.1.3 with 11.2.0.3 RDBMS with Active Data guard.
    I have checked the MOS ID :
    Using Active Data Guard Reporting with Oracle E-Business Suite Release 12.1 and Oracle Database 11g [ID 1070491.1]
    Please share your ideas and doc id's to do this activity successfully.
    Please share the docs to upgrade R12.0.6 to R12.1.1
    Thanks
    Shaik

    One of our customers wants to configure their EBS R12 Instance with Active Data guard
    Current Architecture:
    R12.0.6 with RDBMS 10.2.0.4
    Projected Architecture:
    R12.1.3 with 11.2.0.3 RDBMS with Active Data guard.
    I have checked the MOS ID :
    Using Active Data Guard Reporting with Oracle E-Business Suite Release 12.1 and Oracle Database 11g [ID 1070491.1]
    Please share your ideas and doc id's to do this activity successfully.The document you posted covers every thing in detail.
    In details you can check
    http://appsdbastuff.blogspot.com/2009/07/configuring-standby-databasedataguard.html
    Disaster recovery for R12.1.1
    Please share the docs to upgrade R12.0.6 to R12.1.1Oracle E-Business Suite Installation and Upgrade Notes Release 12 (12.1.1) for Linux x86 [ID 761564.1]
    Oracle E-Business Suite Release 12.1.1 Maintenance Pack Installation Instructions [ID 752619.1]
    Upgrade 12.0.6 To 12.1.1 Failed On Frmxml.odf with Duplicate Keys [ID 1094034.1]
    Thanks

  • Configure about the DATA GUARD APPLICATION on ORACLE 9i platform

    I have worked on Oracle 9i (9.2.0.1) platform. I have installed Oracle 9i server edition in my machine, and created one database name ORCL.
    I want to configure DATA GUARD APPLICATION in my machine... is it possible?
    if it is then how can I do this...

    Yes, it is possible.
    Please refer to the Dataguard Concepts and Administration Manual for installation guidance.
    Please do not bother to come back to ask further doc questions, showing you are not prepared to do your own work.
    Sybrand Bakker
    Senior Oracle DBA

  • Oracle8i Data Guard with log shipping

    Is it true that :
    in Oralce8i, with the data guard, there will be zero data loss if online redologs have been mirrored in DR site and in the event of DR, the last un-finished redolog can be used to recover the database.
    What product is used to apply the redolog ?
    I know Oracle9i claim this is possible, but when will Oracle9i available to Sun platform ?

    >
    Thomas Schulz wrote:
    > Here are my questions:
    >
    > 1. Is it correct, that I have to restore the last successful restored log (if not the first) from the previous session with "recover_start", before I can restore the next log with "recover_replace" in a new session?
    Yes, that's correct. As soon as you leave the restore session, you have to provide a 'overlap' of log information so that the recovery can continue.
    > 2. Can't I mix the restoring of incremental and log backups in this way: log001, incremental data, log002, ...? In my tests I was able to restore the incremental data direct after the complete data, but not between the log backups.
    No, that's not possible. After you've recovered some log-information the incremental backup cannot be appliead as a "delta" to the data are anymore as the data area has already changed.
    > 3. Can I avoid the state change to OFFLINE after a log restore?
    Of course - don't use recover_cancel
    As soon as you stop the recovery, the database is stopped - no way around this.
    There are some 3rd party tools available for this, like LIBELLE.
    KR Lars

  • Parameters need to configure Data Guard with Data Guard Broker

    Hi gurus,
    I'm following this guide http://www.oracle.com/us/solutions/sap/wp-ora4sap-dataguard11g-303811.pdf, but it isn't clarify what parameters we need to set to get the service up.
    I noticed that we can setting up for two ways, either Oracle Enterprise Manager or Data Guard Broker. Do we need to configure the same parameters to OEM and after to activate the DGMGRL?
    Can you help me?
    Thanks,
    Denis
    Brazil

    Hi mseberg,
    Thanks for your help.
    I want to adjust my listener.ora and tnsnames.ora files to access the rman like this guide https://sites.google.com/site/universodobraga/oracle/standby-11g.
    Follow its:
    * Primary*
    listener.ora
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= TSA.WORLD)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= TSA)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru11)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SDU = 32768)
    (GLOBAL_DBNAME = primarydb_DGMGRL)
    (SERVICE_NAME = tsa)
    (SID_NAME = tsa)
    (ORACLE_HOME = /oracle/TSA/112_64)
    tnsnames.ora
    TSA_PRIMARY.WORLD=
    (DESCRIPTION =
    (SDU = 32768)
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru11)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = tsa)
    (GLOBAL_NAME = tsa.WORLD)
    (SERVICE_NAME = primarydb_DGMGRL)
    TSA_STANDBY.WORLD=
    (DESCRIPTION =
    (SDU = 32768)
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru10)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = tsa)
    (GLOBAL_NAME = tsa.WORLD)
    (SERVICE_NAME = standbydb_DGMGRL)
    - Standby
    listener.ora
    LISTENER =
    (ADDRESS_LIST =
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= TSA.WORLD)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= TSA)
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru10)
    (PORT = 1527)
    STARTUP_WAIT_TIME_LISTENER = 0
    CONNECT_TIMEOUT_LISTENER = 10
    TRACE_LEVEL_LISTENER = OFF
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SDU = 32768)
    (GLOBAL_DBNAME = standbydb_DGMGRL)
    (SERVICE_NAME = tsa)
    (SID_NAME = tsa)
    (ORACLE_HOME = /oracle/TSA/112_64)
    tnsnames.ora
    TSA_PRIMARY.WORLD=
    (DESCRIPTION =
    (SDU = 32768)
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru11)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = tsa)
    (GLOBAL_NAME = tsa.WORLD)
    (SERVICE_NAME = primarydb_DGMGRL)
    TSA_STANDBY.WORLD=
    (DESCRIPTION =
    (SDU = 32768)
    (ADDRESS_LIST =
    (ADDRESS =
    (COMMUNITY = SAP.WORLD)
    (PROTOCOL = TCP)
    (HOST = unbru10)
    (PORT = 1527)
    (CONNECT_DATA =
    (SID = tsa)
    (GLOBAL_NAME = tsa.WORLD)
    (SERVICE_NAME = standbydb_DGMGRL)
    When i tried to connect by RMAN:
    RMAN> connect target sys/manager@tns_primary.world
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    ORA-01031: insufficient privileges
    Environment
    Oracle 11.2.0.3
    Aix 6.1
    SAP Ecc
    Thanks very much,
    Denis
    Brazil

  • Steps for Data Guard with one primary and 2 standby

    Hi,
    Database :10.2.0.4, 11.2.0.1
    Os: Windows , Unix
    A ----------------> Primary database
    B ----------------> Standby Database 1
    C ----------------> Standby Database 2
    I want to configure *2 standby* databases for single primary database.
    Lets take, A ,B and C are my machines.My data guard configuration will be like,*archive logs will be moving* from A to B and A to C.
    If i do any switchover in between A and B , now B is primary and remaining A and C are standby databases.At this stage also , archive logs should move from B to A and B to C. Also, same should happen from C to A and C to B,If i do switchover in between B and C.If everything is fine , then i will do switchback to main Primary database(A).
    How do i have to mention PFILE in all machines ,the parameters like
    LOG_ARCHIVE_DEST_1=LOCATION=<PATH> -- LOCAL ARCHIVE PATH
    LOG_ARCHIVE_DEST_2=SERVICE=
    LOG_ARCHIVE_DEST_3=SERVICE=
    FAL_SERVER=
    FAL_CLIENT=
    STANDBY_FILE_MANAGEMENT=
    In my tnsnames.ora , primary,standby1 and standby2 are my service entries and these are same in all of my machines.
    Please suggest me , how do i can configure my pfiles in all machines ?.
    Thanks,
    Sunand

    Not yet, but now you have me interested.
    Please consider Flashback.
    I still have to test but here's my take:
    PRIMARY SETTINGS
    *.FAL_SERVER=STANDBY
    *.FAL_CLIENT=PRIMARY
    *.STANDBY_FILE_MANAGEMENT=AUTO
    *.DB_UNIQUE_NAME=PRIMARY
    *.LOG_FILE_NAME_CONVERT='STANDBY','PRIMARY'
    *.log_archive_dest_1='LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=PRIMARY'
    *.log_archive_dest_2='SERVICE=STANDBY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY'
    *.log_archive_dest_3='SERVICE=STANDBY2 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY2'
    *.LOG_ARCHIVE_DEST_STATE_1=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_2=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_3=ENABLE
    *.LOG_ARCHIVE_MAX_PROCESSES=30
    STANDBY 1 SETTINGS
    *.FAL_SERVER=PRIMARY
    *.FAL_CLIENT=STANDBY
    *.STANDBY_FILE_MANAGEMENT=AUTO
    *.DB_UNIQUE_NAME=STANDBY
    *.LOG_FILE_NAME_CONVERT='PRIMARY','STANDBY'
    *.log_archive_dest_1=LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY'
    *.log_archive_dest_2='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PRIMARY'
    *.log_archive_dest_3='SERVICE=STANDBY2 LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY2'
    *.LOG_ARCHIVE_DEST_STATE_1=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_2=DEFER
    *.LOG_ARCHIVE_DEST_STATE_3=DEFER
    *.LOG_ARCHIVE_MAX_PROCESSES=30
    STANDBY2 SETTINGS
    *.FAL_SERVER=PRIMARY
    *.FAL_CLIENT=STANDBY2
    *.STANDBY_FILE_MANAGEMENT=AUTO
    *.DB_UNIQUE_NAME=STANDBY2
    *.LOG_FILE_NAME_CONVERT='PRIMARY','STANDBY2'
    *.log_archive_dest_1=LOCATION=USE_DB_RECOVERY_FILE_DEST VALID_FOR=(ALL_LOGFILES,ALL_ROLES) DB_UNIQUE_NAME=STANDBY2'
    *.log_archive_dest_2='SERVICE=STANDBY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=STANDBY'
    *.log_archive_dest_3='SERVICE=PRIMARY LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=PRIMARY'
    *.LOG_ARCHIVE_DEST_STATE_1=ENABLE
    *.LOG_ARCHIVE_DEST_STATE_2=DEFER
    *.LOG_ARCHIVE_DEST_STATE_3=DEFER
    *.LOG_ARCHIVE_MAX_PROCESSES=30
    Edited by: mseberg on Nov 29, 2010 9:39 AM
    The first test slapped me. Looking at 409013.1 Cascaded Standby Databases
    Edited by: mseberg on Nov 29, 2010 12:49 PM

  • Inserting data into multiple tables(Oracle Version 9.2.0.6)

    Hi,
    we are going to receive the following XML file from one of our vendor. We need to parse the file and then save the data to multiple database tables (around 3).
    <?xml version="1.0"?>
    <datafeed xmlns:xsi="ht tp://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="DailyFeed.xsd" deliverydate="2007-02-14T00:00:00" vendorid="4">
    <items count="1">
    <item feed_id="001379" mode="MERGE">
    <content empbased="true">
    <emp>10000000</emp>
    <value>
    </value>
    <date>2006-01-16</date>
    <unit>CHF</unit>
    <links>
    <link lang="EN">
    <url>www.pqr.com</url>
    <description>pqr website</description>
    </link>
    <link lang="DE">
    <url>www.efg.com</url>
    <description>efg website</description>
    </link>
    </links>
    </content>
    <content empbased="true">
    <emp>10000001</emp>
    <value>
    </value>
    <date>2006-01-16</date>
    <unit>CHF</unit>
    <links>
    <link lang="EN">
    <url>www.abc.com</url>
    <description>abc website</description>
    </link>
    <link lang="DE">
    <url>www.xyz.com</url>
    <description>xyz website</description>
    </link>
    </links>
    </content>
    <content empbased="true">
    <emp>10000002</emp>
    <value>
    </value>
    <date>2006-01-16</date>
    <unit>CHF</unit>
    <links>
    <link lang="IT">
    <url>www.rst.com</url>
    <description>rst website</description>
    </link>
    </links>
    </content>
    </item>
    </items>
    </datafeed>
    Now the operation to be done on the table depends on the mode attribute. Further, there are some basic validations need to be done using count attribute. Here the item tag, content tag & link tag are recurring elements.
    The problem is I am not able to find the correct attributes like mode, feed_id, lang through SQL query(they are getting duplicated) though I was able to find the deliverydate & vendorid attribute as they are non-repeatitive. Here are the scripts :
    create table tbl_xml_rawdata (xml_content xmltype);
    create directory xmldir as 'c:\xml';
    --put the above xml file in this directory and name it testfile.xml
    Declare
    l_bfile BFILE;
    l_clob CLOB;
    BEGIN
    l_bfile := BFileName('XMLDIR', 'testfile.xml');
    dbms_lob.createtemporary(l_clob, cache=>FALSE);
    dbms_lob.open(l_bfile, dbms_lob.lob_readonly);
    dbms_lob.loadFromFile(dest_lob => l_clob,
    src_lob => l_bfile,
    amount => dbms_lob.getLength(l_bfile));
    dbms_lob.close(l_bfile);
    insert into test_xml_rawdata values(xmltype.createxml(l_clob));
    commit;
    end;
    My query is:
    select extractvalue(value(b),'/datafeed/@deliverydate') ddate, extractvalue(value(b),'/datafeed/@vendorid') vendorid,
    extractvalue( value( c ), '//@feed_id') feed_id,
    extractvalue( value( a ), '//@empbased') empbased,
    extractvalue( value( a ), '//emp') emp,
    extractvalue( value( a ), '//value') value,
    extractvalue( value( a ), '//unit') unit,
    extractvalue( value( a ), '//date') ddate1,
    extract( value( a ), '//links/link/url') url,
    extract( value( a ), '//links/link/description') description
    from tbl_xml_rawdata t,
    table(xmlsequence(extract(t.xml_content,'/datafeed/items/item/content'))) a,
    table(xmlsequence(extract(t.xml_content,'/'))) b ,
    table(xmlsequence(extract(t.xml_content,'/datafeed/items/item'))) c;
    If the above query is run, the feed_id is cartesian joined with other data ,which is wrong.
    How should I go with this so that I can have 1 relational record with respect to each element & sub-elements.
    Also, if this is not doable in SQL, can someone direct me to some plsql example to do this. I read that dbms_xmldom & dbms_xmlparser can be used to travel through XML doc but I don't know how to use them.
    Any help please ??

    I'm still getting the same error while installing Oracle Patch set 9.2.0.6. I downloaded the patchset 2 weeks back.
    Pls help where download the correct version ?

  • Shared Listener with different oracle versions

    Hi,
    I have configured the following shared listener for two databases running with different versions.
    I have started the O02TXN3-9i along with the shared listener and then listener was started with 9i version and then I brought up the O01TXN3 -10g.
    Please let me know whether I can connect to the 10g database O01TXN3 remotely with shared listener.
    Note: Please find listener and oratab files below.
    Your early response is much appreciated.
    Database O01TXN3 with 10g
    Database O02TXN3 with 9i
    ==== Listener.ora File ======
    TNS_DTXN03 =
    (ADDRESS_LIST =
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O01TXN3.world)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O01TXN3)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O02TXN3.world)
    (ADDRESS=
    (PROTOCOL=IPC)
    (KEY= O02TXN3)
    (ADDRESS =
    (COMMUNITY = tcpcom)
    (PROTOCOL = TCP)
    (Host = dtxn03)
    (Port = 1525)
    STARTUP_WAIT_TIME_TNS_DTXN03 = 0
    CONNECT_TIMEOUT_TNS_DTXN03 = 10
    LOG_DIRECTORY_TNS_DTXN03 =/dtxn03/txn/oracle/admin
    TRACE_LEVEL_TNS_DTXN03 = OFF
    SID_LIST_TNS_DTXN03 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = O01TXN3)
    (ORACLE_HOME = /dtxn03/txn/oracle/10.2.0-64)
    (SID_DESC =
    (SID_NAME = O02TXN3)
    (ORACLE_HOME = /dtxn03/txn/oracle/9.2.0-64)
    # Added to get rid of the "inbound connection timed out (ORA-3136)"
    INBOUND_CONNECT_TIMEOUT_TNS_DTXN03 = 180
    ==
    Oratab:
    #LISTENER:/dtxn03/txn/oracle/9.2.0-64
    O01TXN3:/dtxn03/txn/oracle/10.2.0-64:Y
    O02TXN3:/dtxn03/txn/oracle/9.2.0-64:Y

    As a general rule, only one listener is required for a machine as long as all database versions are currently supported. (In other words one listener for Oracle7 and Oracle11g will not work.)
    As a general rule, an old listener MAY not be able to handle the features of the newer database (such as transferring blobs was a limitation in Oracle8). Therefore use the newest listener to handle all the databases.
    As a general rule, listeners can be considered independent of databases in a sense similar as ASM. Therefore it's not a bad idea to have a separate ORACLE_HOME specifically to install the listener. This is especially useful if you have multiple databases with differing service level agreements,
    I'd want to see
    1) the output of lsnrctl status
    2) any console session stuff and copy/paste to be surrounded by preview tages as described in the FAQ (http://www.oracle.com/technology/forums/faq.html#q14)

Maybe you are looking for