Standby creation in oracle11g

Hi,
Please help me in getting solved this problem.
My primary database is in oracle 10g and I have created a standby in oracle 11g. But the archives in the primary are not shipping to standby.
when I checked for error in v$archive_dest it shows insufficient prievelages.
The same standby setup when done in oracle 10g it is working properly. Is there any parameters which should be set in oracle 11g.
thanks in advance.
satyanag

You cannot apply the archives logs of one database to the other database even on the same version.
How can you apply the archive logs between databases at different versions?

Similar Messages

  • Logical Standby Creation Problems "Create STatus Unknown"

    We are using Grid Control 10.2.0.3 on Oracle 10.2..0.3 databases, Windows 2003 sp2 machines.
    We have a primary and fsfo physical standby working properly. We went to create a logical standby on a separate server and had problems. it turned out that the listener on the server was not discovered on the target. we fixed that problem and finished the creation of the logical standby and it seems to be functioning properly now.
    However, the status on the data guard page for the logical standby shows Create Status Unknown and we are unable to proceed on to create an additional standby database for other purposes. We have tried removing the logical standby target and re-discovering it but status still shows Create Status Unknown.
    Is there any way to clear this status without having to drop the logical standby and completely recreate it.

    The status on the agent shows it uploading successfully.
    We resolved the issue by removing the logical standby from the configuration and selecting to retain the log apply. We then re-added the standby selecting to manage an existing standby database and the status went to normal.

  • Manual Standby creation

    Hi all,
    I have created a manual standby,in which I am pushing the archives from primary server to secondary server and then the second script at secondary server which applies the archives over there.
    Now the problem is each time the the first batch file is run it copies the entire archives from primary server to secondary server.
    e.g. xcopy [primary location] [secondary server]
    has anybody script which copies only newly generated archives.Since copying all the archives from one location to another location is time and resourse consuming.
    Thanx in advance,
    Santosh Kumar

    Not sure if you missed anything, but it seems like you are doing this the hard way. That said the things that jump as questionable are:
    4. Disable the manual apply job on standby once the standby database is in sync with Primary .
    Why not use perform a switchover at this point? (And keep the new primary in defer mode)
    Change the INIT file on the new Primary restart and you are done.
    INIT settings I would review
    FAL_SERVER
    FAL_CLIENT
    STANDBY_FILE_MANAGEMENT
    DB_UNIQUE_NAME
    DB_FILE_NAME_CONVERT
    LOG_FILE_NAME_CONVERT
    LOG_ARCHIVE_DEST_1
    LOG_ARCHIVE_DEST_2
    LOG_ARCHIVE_DEST_STATE_1
    LOG_ARCHIVE_DEST_STATE_2
    LOG_ARCHIVE_MAX_PROCESSES
    If you do the above you can skip step 5
    6. Creating Temporary tablespace for the new Primary & making it default.
    This seems odd to me. Does you current Primary not have a TEMP tablespace? If you switchover it should be there.
    7. Configration of Network settings i.e. creation of Listenser.ora and Tnsnames.ora
    These should already exist.
    I would strongly consider not using this plan. Shut down your current Primary and changes its INIT file so it not using Data Guard and then move it to the new server using either SCP or RMAN duplicate.

  • Standby creation with BCV copy

    Hi,
    I have a requirenment to create a standby database from a BCV copy.
    1. I will be getting 1st database which is copy from the BCV on 1st machine.
    2. I will be getting 2nd database which is also a same copy from BCV backup on 2nd machine.
    3. My task is to create a standby database i.e. 2nd database(2nd machine) from 1st database(1st machine)
    4. I dont have BCV copies but to create such kind of standby database I need any proper document.
    If someone having such kind of document, stpes then please provide me.
    Thanks a lot in advance

    Hi,
    Refer this blog
    http://community.dbapool.com/articlelist.php?articles=043005
    Thanks,
    Ajay More
    http://moreajays.blogspot.com

  • Standby creation with rac

    My system is solaris 10, Oracle database v. 10g.
    I'm creating a physical standby database on a remote host.
    As there is 2 different sequence number for the 2 thread in the RAC,
    select max(sequence#) from gv$archived_log;
    thread1 = 76
    thread2 = 433
    what is the sequence number I have to user for the recover operation.
    Thanks for your help
    Fabrice

    Better than the sequence numbers are the SCNs, check first_change# and next_change# (also in v$archived_log).
    Werner

  • Standalone Standby Creation for RAC database

    Hi,
    I am in process of configuring standalone standby for my RAC database. The database version is 11.2.0.3. RAC is using SCAN listeners. I have got MOS for configuring standalone standby for RAC 387339.1. But specific steps I need to perform in case of SCAN listeners.
    Any document or link is appreciated.
    Regards,

    Hello;
    The white paper "Rapid Oracle RAC Standby Deployment: Oracle Database 11g Release 2" has a section on this.
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-rac-standby-133152.pdf
    This may also help :
    http://www.oracle.com/technetwork/database/availability/maa-wp-11g-racone-standby-501088.pdf
    And these :
    Configuring and Administering Oracle Net Listener
    http://docs.oracle.com/cd/E11882_01/network.112/e10836/listenercfg.htm
    srvctl relocate scan
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/srvctladmin.htm#RACAD7499
    srvctl relocate scan_listener
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16795/srvctladmin.htm#CDDIDDCF
    Troubleshooting Oracle Clusterware
    http://download.oracle.com/docs/cd/E11882_01/rac.112/e16794/troubleshoot.htm#CHDFJIEG
    From Oracle support :
    How to Setup SCAN Listener and Client for TAF and Load Balancing [Video] [ID 1188736.1]
    Best Regards
    mseberg

  • 12c Physical Standby Creation

    EM 12c on Windows 2008
    Primary server - OE Linux 5.8 64bit
    Standby server - OE Linux 5.8 64 bit
    Database - 11.2.0.3
    Basically I am trying to setup a physical standby but when i select the standby server I get the following error
    The Grid Control database plug-in must be deployed on the Agent monitoring the selected host.
    The agent is correctly installed on the standby server as a managed host so not sure what the issue is. Is there something else I need to install?

    user464376 wrote:
    EM 12c on Windows 2008
    Primary server - OE Linux 5.8 64bit
    Standby server - OE Linux 5.8 64 bit
    Database - 11.2.0.3
    Basically I am trying to setup a physical standby but when i select the standby server I get the following error
    The Grid Control database plug-in must be deployed on the Agent monitoring the selected host.
    The agent is correctly installed on the standby server as a managed host so not sure what the issue is. Is there something else I need to install?Something new with 12c, Then google mus help you. and he is your first and best friend. :)
    Check http://www.youtube.com/watch?v=0Yxbsr9IJZE
    http://blogs.griddba.com/2012/03/oracle-enterprise-manager-12c-cloud.html

  • Standby Creation

    I am trying to create the standby databse using rman backups. I am using oracle10g. I run the following command on standby server
    rman>run
    duplicate target database for standby nofilenacheck;
    This command fails after creating the controfile and gives the following error message
    Starting Duplicate Db at 14-JAN-09
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=324 devtype=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    sql clone 'alter database mount standby database';
    executing Memory Script
    Starting restore at 14-JAN-09
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: copied control file copy
    input filename=/home/oracle/control01.ctl
    output filename=/u02/oradata/ora20/control01.ctl
    output filename=/u03/control/ora20/control02.ctl
    output filename=/u04/redo/ora20/control03.ctl
    Finished restore at 14-JAN-09
    sql statement: alter database mount standby database
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/14/2009 08:27:24
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of sql command on clone_default channel at 01/14/2009 08:27:24
    RMAN-11003: failure during parse/execution of SQL statement: alter database mount standby database
    ORA-01102: cannot mount database in EXCLUSIVE mode
    I tried this command to verify the backups files on standby machine
    rman>crosscheck backup of database;
    this commands shows that backup is on its right path.

    Hi friend ...
    its possible to apply missing archive logs to standby database. no need to re-create it.
    follow the document to solve your problem. it will solve your problem.
    if you rectify it, please reply.
    i tested in test database. it works fine.
    http://oracleinstance.blogspot.com/2009/12/recovering-standby-database-from.html
    please copy and paste the link in new window, if the link not works.
    in my testing physical and standby database archivelog information...
    on primary database
    SQL> archive log list;
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /u01/app/oracle/oradata/archive
    Oldest online log sequence 16
    Next log sequence to archive 18
    Current log sequence 18
    on standby database
    Database log mode Archive Mode
    Automatic archival Enabled
    Archive destination /u01/app/oracle/oradata/archive
    Oldest online log sequence 13
    Next log sequence to archive 0
    Current log sequence 18
    please reply me to update myself...
    regards,
    rajeshkumar govindarajan,
    [email protected] , [email protected]

  • Physical standby creation

    Hi All,
    Environment - Production and Disaster Recovery Centre have a active passive cluster on solaris 10. Oracle version - Oracle 11gR2.
    Want to Set up Physical Standby and configure a DG Broker to manually manage the DG.
    I have gone through the steps as per MOS 1075908.1. Is it similar OR what additional steps needed.
    Please advise

    >
    Want to Set up Physical Standby and configure a DG Broker to manually manage the DG.
    I have gone through the steps as per MOS 1075908.1. Is it similar OR what additional steps needed.I assume you mean "automatically", not "manually"? The extra steps are to enable the Broker! Start the DMON processes, create your configuration, add your databases, enable the configuration, sit back and relax.
    Have a go, it is pretty straightforward.

  • Data Guard phys. standby creation failing in 10g EM?

    All,
    I'm working on setting up Oracle Data Guard in a test environment at my company. It was suggested to me to go through the GUI to set up a physical standby database and automate the management of my DG setup.
    However, the several attempts that I have made result in the process failing during the "Create Standby Database" and the process fails with the following errors:
    dgcreate.recoverStby: ALTER DATABASE RECOVER CANCEL
    dgcreate.recoverStby: ALTER DATABASE OPEN READ ONLY
    SQL Error: ORA-16004: backup database requires recovery
    ORA-01152: file 1 was not restored from a sufficiently old backup
    ORA-01110: data file 1: '/u01/app/oracle/product/10.2.0/db_1/oradata/oratstdg/system01.dbf' (DBD ERROR: OCIStmtExecute)
    Can anyone pass along any ideas as to where the issue might be? I would really appreciate it - I need this up and going ASAP. Thanks!
    Matt Gordon

    Ugonic,
    I actually did create a new Physical Standby Database. I did not have an existing database configured as a standby database. In fact, the standby server that I used only had the Oracle binaries installed on it - there was no database on that system.
    Additionally, I did not have a saved configuration to use, so I generated completely new files and a new configuration.
    I left the screen alone for over an hour before checking the status and seeing these errors in the log - I am wondering if anybody else has encountered this same issue.
    On a side note, I've stumbled my way further into this process and now have a functional DG configuration. However, I can only switchover from SQL*Plus - the GUI way fails. When I click on Verify in the GUI I get the following log:
    Initializing.
    Connected to instance fcoracle1.cdps.cdp:oratest1
    Starting alert log monitor...
    Updating Data Guard link on database homepage...
    WARNING: Database oratest2.cdps.cdp is not discovered.
    Data Protection Settings:
    Protection mode : Maximum Performance
    Log Transport Mode settings:
    oratest1.cdps.cdp: ASYNC
    oratest2.cdps.cdp: ASYNC
    Checking standby redo logs.....OK
    Checking Data Guard status
    oratest1.cdps.cdp : Normal
    oratest2.cdps.cdp : Normal
    Checking Inconsistent Properties
    Checking agent status
    oratest1.cdps.cdp ... WARNING: Undefined subroutine &main::executeSQLPlusSYSDBA called at - line 5.
    WARNING: Switchover or failover may not succeed as a result.
    oratest2.cdps.cdp ... WARNING: Undefined subroutine &main::executeSQLPlusSYSDBA called at - line 5.
    WARNING: Switchover or failover may not succeed as a result.
    Switching log file 235.Done
    Checking applied log on oratest2.cdps.cdp....OK
    Processing completed.
    Have you experienced this problem and/or do you have any suggestions to resolve it?
    Matt

  • ASM_PRIMARY_to_ASM PHYSICAL STANDBY

    HI All,
       Can any one please share Some good documents for creating - ASM primary to ASM standby creation .
    any links...
    PRIMARY AND STANDBY:
    in ASM : Datafiles in +DATA01 archive in +FRA01
    DB - 11gR2
    OS - Linux-64 bit.
    using +FRA01 for archive dest.
    Thanks,

    Hello;
    http://askdba.org/weblog/oracle11g/dataguard/11gr2-rac-dataguard-setup-using-asm/
    Data Guard – ASM primary to filesystem physical standby – using RMAN duplicate | 老庞闲话
    Dataguard DB/LOG FILE NAME CONVERT has been set but files are created in a different directory (Doc ID 1348512.1)
    Clarification on Data Guard Broker Config Files in ASM (Doc ID 1508241.1)
    Creating a physical standby from ASM primary (Doc ID 787793.1)
    Best Regards
    mseberg

  • ORA-01033: ORACLE initialization or shutdown in progress (standby error)

    Hi all,
    OS : SunOS 5.10 Generic_144488-02 sun4u sparc SUNW,Sun-Fire-880
    Database : 10.2.0.4
    I made physical standby database from primary to stanby using RMAN as
    rman target / nocatalog sys/password@standby
    RMAN>run {
    allocate auxiliary channel ch1 device type disk;
    duplicate target database for standby;
    standby creation finished sucessfully , but when i performed log switch and forcely archive the current log the arhive was not trasferring.
    while trying to connect from primary to standby as :
    conn sys/password@standby (the below error displaying)
    ORA-01033: ORACLE initialization or shutdown in progress
    On stanby also the same error coming while connecting to sys/password@standby
    but while setting export ORACLE_SID=standby and ORACLE _HOME i can be able to connect to sqlplus and managed standby database in recovery mode.
    I am not confused why sys/password@standby is not being connecting ..
    Please help !
    Thanks

    Standby alert log :
    alter database recover managed standby database disconnect from session
    Fri Dec 10 14:59:17 2010
    Attempt to start background Managed Standby Recovery process (pstdby)
    MRP0 started with pid=16, OS id=11517
    Fri Dec 10 14:59:17 2010
    MRP0: Background Managed Standby Recovery process started (pstdby)
    Managed Standby Recovery not using Real Time Apply
    parallel recovery started with 3 processes
    Fri Dec 10 14:59:23 2010
    Waiting for all non-current ORLs to be archived...
    Media Recovery Waiting for thread 1 sequence 84
    Fri Dec 10 14:59:23 2010
    Completed: alter database recover managed standby database disconnect from session
    primary alert log :
    Errors in file /software/oracle/admin/stdby/bdump/stdby_arc1_24121.trc:
    ORA-12545: Connect failed because target host or object does not exist
    PING[ARC1]: Heartbeat failed to connect to standby '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pstdby_XPT)(INSTANCE_NAME=standby)(SERVER=dedicated)))'. Error is 12545.
    Sat Dec 11 02:18:33 2010
    Error 12545 received logging on to the standby
    Sat Dec 11 02:18:33 2010
    Errors in file /software/oracle/admin/stdby/bdump/stdby_arc1_24121.trc:
    ORA-12545: Connect failed because target host or object does not exist
    PING[ARC1]: Heartbeat failed to connect to standby '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=pstdby_XPT)(INSTANCE_NAME=standby)(SERVER=dedicated)))'. Error is 12545.
    Edited by: VipinK on Dec 10, 2010 1:39 AM

  • Data Guard - Grid Control - Standby database

    Heys,
    now I have to RAC Clusters. The next step would be to setup a standby database to prepare a graceful switchover.
    But what are the next steps ?
    I am currently installing GridControl on a seperate host with the option: Enterprise Manager10g Grid Control Using an Existing Database
    The installation is still running....
    What are the steps ? Any documentation ? Any tutorials ?
    Do I need to install agents on each client in the cluster ?
    What about the name resolution ?
    Any listener configuration necessary ?
    Is the configuration done via data guard command line ?
    Christian

    Bear in mind that the standby creation wizard in Grid Control will only create a non-RAC standby. Once you get to Grid Control 10.2.0.5 and your databases are in 11g you will be able to use the Grid Control convert to RAC wizard on your standby. Prior to that you will have to convert the standby to RAC manually or follow the above mentioned paper and create the standby by hand and then import it into Grid Control.
    Larry

  • Your experience about Standby Database (Logical).

    Hi,
    As expressed in the subject of the thread, I'd like to get some feedback about Logical Standby.
    One of the databases (A) here has a setup with a Physical Standby (B). In order to lighten the workload on A, i want to "upgrade" B to a Logical Standby. The procedure is already defined, tested and functionnal. But as I never managed a Logical Standby, it would be great if you could share your experience about:
    1/ A's workload: Will there be a big overhead due to log treatments (and supplemental log data)?
    2/ LAS: Will it take longer to apply an archived redo log to Logical B than it takes on the Physical B?
    3/ I can't set the hardware on B's host to the same level as it's on A's host.
    A has (6cpu, 20GiB RAM, half for SGA)
    Physical B has (2cp, 9GiB RAM, 5GiB for SGA)
    Logical B will have (3cpu, 12GiB RAM, xxxGiB SGA)
    The load on B will be very very less than it is on A. Knowing A perfs is O.K., will B perf on reporting be O.K.?
    4/ my target for backup is now B. When the "upgrade" will be finished, would you advise to continue the backup on the Logical Standby, or to switch to a backup via (RMAN/HotBackup/...) ?
    5/ Any other advice you could give :-)
    Thanks,
    Yoann.

    Hi Yoann,
    Some time ago I created a logical database for Oracle 9.2.0.4 db on RH Linux then on 9.2.0.6 ver (same OS). It was very tempting to decrease loading on primary database through using logical standby, but It was not moved to production. I stuck with some problems when transactions stopped because of some inconsistency (I used transaction consistency set to NONE because of performance) and there were a couple of them between a hundred of tables. After that I tried to create a database link upon the primary database, but it was not apt to use with the same procedures to execute.
    Regarding questions:
    1. I did not find the big overhead, but a lot of additional actions should be done due to maintenance tables w/o PK on LGSTBY
    2. Difficult to say ...
    3. I had LGSTBY half of power of primary
    4. I will not you advise to backup LGSTBY because of some possible problems with transactions, maintenance etc. better to use RMAN on primary or physical standby
    5. Try to test 10g logical standby (I have read that there is no need to freeze the primary database during logical standby creation)
    Hope this helps,
    Andrey

  • Yet another standby question...

    Hi gurus,
    Please help to resolve the quiz. I have completed manual physical standby installation. It is up and running. I then decided to install Grid Control and to use Data Guard for the standby creation. I've successfully installed GC, deployed all agents, I can see my previous standbys, life is good in short. Now, when I am trying to create the second standby for my production database using the Data Guard I stuck on a logical question:
    On the step 3 of Data Guard standby creation, there is a note, saying:
    The instance name (also referred to as the SID) must be unique on the standby host.
    Yeah, fair enough. But i can't understand what should I do next? I have:
    db_name YELLOW - primary prod
    db_name YELLOW - standby prod 1st
    and i need db_name YELLOW - standby 2nd
    But I can't create it on the same server where the first standby resides.. What options do I have? Do I need to create the second standby on another server? Do I need to kill 1st standby? Is there any way to avoid this conflict? I am confused. I have no equipment for TWO standby servers... I thought I can install there up to 9 standbys.. But it seems to be a problem.. And definitely, I cannot give my second standby other name than YELLOW as all my applications are strongly tied on db_name...
    Friends, please clarify this if you can. I am kinda lost in here..
    Thanks as usual,
    Maria

    well, that's a good question! :)
    because I don't have spare server for the standby. the question is not about: 'should I or should not put more than one standbys in one server' , but more about: 'is there any way to put two standbys with the identical db_names in one server'. I know that I probably sound unprofessional, but I just wanna know.. If the answer is 'no way', I will kill the first standby then and recreate the second one using DG with the correct name.
    Thanks for writing to me,
    M.

Maybe you are looking for