Standby without DataGuard

Hi,
I've successfully created a standby for a single node Primary Database in 10g on Redhat Enterprise Linux 4.0 Update 4.0. I'm planning to add one more standby site to the same primary database. Now, my question is...
1. Is it possible to setup more than one standby without the help of DataGuard.
2. If possible, please guide me how to do it(step-by-step).
Thanks in advance...
Mahesh

If you've already configured one Standby without DataGuard, you'd use the same method for the second standby.
Since we do not know your scripts and how you are propagating archive logs and putting the standby in recovery mode -- all of which would be "custom" methods in the absence of DataGuard -- we can't really advice you . Because it is difficult to advice on extensions to a customisation without looking at a customisation.
Many sites have implemented a scripted Standby without DataGuard using methods available since Oracle7. However, the frequency and method of archivelog propagation and how and when the standby database "wakes up" to apply the archivelogs etc are all site specific.
Let's say that you DO use the ARCH process on the primary database to propagate archivelogs to the Standby destination site. Since Oracle 10g allows multiple log_archive_dest_n sites, you can just add one more site and have the archivelogs propagate to the additonal site. However, there are other parameters (eg MANDATORY/OPTIONAL, REOPEN, DELAY etc) that you would set based on your requirements.
The two standby instances would be independent {unaware} of each other -- you can script delays between the archivelogs so that the two standby aren't always at the same level (this allows "fallback" to an "older version of the database" when necessary). You could have one standby stop recovery and open read only for some time.
Short Answer : Yes, it is possible to have multiple "standby"s without DataGuard.
Correct Answer : How you do it depends on how you want to extend your current implementation.
Hemant K Chitale
http://hemantoracledba.blogspot.com

Similar Messages

  • Physical standby without dataguard

    Naive question.
    I am going thru metalink note (374069.1) on how to create a physical standby. In that note, they didn't mention data guard stuff. Am I to assume that physical standby without dataguard can be created?
    Thanks.

    It might appears to be easy to create psuedo standy but you will have hardtime to simulate the automatic archive log apply and gap resolve.
    Plus the level of data availability provided by self-managed standby can't come close to Data Guard can offer.
    With Data Guard you can almost get zero data loss between Primary and Standy, depends on your redo logfile size there could be many data in online redo logs.

  • 9i Standby without dataguard

    Hi all.
    Oracle 9i ( SE )
    I'm trying to figure out how to create a standby database without dataguard. I've read that its possible, but I can't find any documentation on exactly how to do it. From what I've gathered I should be able to
    Create a duplicate database from primary backups
    Put standby database into "some recovery mode" - this is the bit I'm stumped at
    Copy archive logs from primary to standby, where they will magically be applied?
    I need to migration lots of datafiles to new disks, and cannot afford the downtime to just move them, so I'm thinking the best way to do it is to create a standby and keep it as close to synced to the primary as possible, then shutdown primary, apply file logs, point primary to the new datafile location..
    Can anyone either point me to a good article on doing standby with dataguard, or if there is a better way to move large ( move procedure will take about 4-5 hours) tablespaces/databases with minimum downtime.
    Thanks.

    Hrmm, maybe? so is "Data Guard" by itself available for SE?
    When I startup the database it reports
    "Oracle Data Guard is not available in this edition of Oracle."
    I'll go poke around that document too.
    btw. the document I read which suggests this is possible is, http://www.dba-oracle.com/oracle_tips_failover.htm
    Thanks
    Message was edited by:
    nib000

  • How to create physical standby database without dataguard

    Hi,
    Can anyone please help me how to create Physical Standby Database without dataguard. As i am using Oracle 10.2.0.1 Standard Edition for production databases.
    Please find the specifications of my server :
    Database : Oracle 10.2.0.1(Standard Edition)
    Server : Linux 4.0(32 bit machine)
    As we know that Dataguard cannot be created in Standard Edition as we dont have that option in this edition. So please help me how to create the physical standby database.
    Thanks in advance.
    Regards,
    Farooq

    Hello,
    I hope this link helps you out...
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rcmbackp.htm
    http://www.dbasupport.com/oracle/ora10g/manual_standby.shtml
    Thanks & Regards
    Pratik Lakhpatwala
    Jr Oracle DBA
    Edited by: Pratik.L on Dec 31, 2009 12:03 PM

  • Standby and Dataguard

    I'm new to DBA tasks.....and i supposed to setup Datagurad on oracle 9i
    Bit confused with standby and dataguard, Could any one please expalin what is standby and what is dataguard, and the difference between two

    http://download.oracle.com/docs/cd/B10501_01/server.920/a96653/concepts.htm#1027493

  • Create stand by database without dataguard

    HI ALL,
    I m using oracle 10g as live database, in another machine i m having test database but i want to make it as standby datbase. what steps i need to follow for this requirement without the use of dataguard?
    Early reply will be awaited.
    Thnx & regards
    Surendra

    Hi,
    See this.
    http://www.databasejournal.com/features/oracle/article.php/3682421/Manual-Standby-Database-under-Oracle-Standard-Edition.htm
    Regards!

  • 10g standard edition, create a manual standby without ORA-279 and ORA-308.

    Hi,
    I have a 10 g database 10g r2 on linux rhel 5.2. I've create a standby database from an rman backup on another server (same name, same path....).
    every 10 minutes , i switch log on primary database and rsync them to the stanby path on stanby server.
    every 10 minutes, i apply the new received archive to the standby database with this script :
    sqlplus /nolog
    connect / as sysdba
    recover database until cancel using backup controlfile;
    AUTO
    recover database until cancel using backup controlfile;
    CANCEL
    exit
    this script gives some ORA errors like this :
    2010/03/31 Wed 11:30:03 Media Recovery Log /v4/db/oradata/LFEX/archives/1_61705_640182036.dbf
    2010/03/31 Wed 11:30:03 ORA-308 signalled during: ALTER DATABASE RECOVER CONTINUE DEFAULT ...
    2010/03/31 Wed 11:30:04 ORA-279 signalled during: ALTER DATABASE RECOVER database until cancel using backup controlfile ...
    2010/03/31 Wed 11:40:01 ORA-279 signalled during: ALTER DATABASE RECOVER database until cancel using backup controlfile ...
    I understand this error, the script is searching the next archive, which doesn't exist at this time, that's OK.
    To avoid to have this error, i believe that i can do something like that:
    sqlplus /nolog
    connect / as sysdba
    recover database until time 'sysdate-1/(24*4)' using backup controlfile;
    AUTO
    exit
    i'm searching to replay the archive and stop 15 minutes before sysdate, Is it possible?
    when i try this, i have this message :
    SQL> recover database until time 'sysdate-1/(24*4)' using backup controlfile;
    ORA-01841: L'année (complète) doit être comprise entre -4713 et +9999 et être
    différente de 0.
    I'm trying to change nls_date_format, nls_lang without any success.
    thx.
    Antoine.

    i found a script to do an automatic recover script like this :
    recover database until time '2010-04-01:16:49:05' using backup controlfile;
    ORA-00279: changement 2456430208 généré à 04/01/2010 16:31:01 requis pour thread 1
    ORA-00289: suggestion : /v4/db/oradata/LFEX/archives/1_61853_640182036.dbf
    ORA-00280: le changement 2456430208 pour le thread 1 se trouve au no de séquence 61853
    ORA-00279: changement 2456432030 généré à 04/01/2010 16:39:01 requis pour thread 1
    ORA-00289: suggestion : /v4/db/oradata/LFEX/archives/1_61854_640182036.dbf
    ORA-00280: le changement 2456432030 pour le thread 1 se trouve au no de séquence 61854
    ORA-00278: le fichier journal
    '/v4/db/oradata/LFEX/archives/1_61853_640182036.dbf' n'est plus nécessaire pour cette récupération
    So i continue to have some error like ORA-278.... but no more ORA-308 error, it's better, because ORA-278 279 and 280 are only information messages, so i can ignore it in alert.log files.
    Only ORA-308 in this case interresting me, to see if an archive is really missing.
    thx.
    PS : the script standby_recover generate the recover.sql script :
    [dblegu@dbback SQL]$ cat $PGLEGU/SQL/standby_recover.sql
    connect sys/password as sysdba
    set trimspool on linesize 200 head off feedback off sqlprompt "--" verify off
    spool &1/SQL/recover.sql
    select 'connect sys/password as sysdba'||chr(10)||
    'set autorecovery on'||chr(10)||
    'recover database until time '''||
    to_char(sysdate - 1/(24*4),'YYYY-MM-DD:HH24:MI:SS')||''' using backup controlfile;'||chr(10)||
    'exit;' from dual;
    spool off
    exit
    the resul in recover.sql is :
    connect sys/password as sysdba
    set autorecovery on
    recover database until time '2010-04-01:16:49:05' using backup controlfile;
    exit;
    i found this on site : http://erkanorclog.blogspot.com/2007/08/batch-scripts-to-set-up-asyncronous.html.
    Edited by: fleuron on 1 avr. 2010 09:04

  • Standby redologfile -Dataguard environment

    Hi,
    I have had a small confusion regarding an oracle Dataguard environment(standby database).
    If i add a redo log group in my production db say "PRODDB",is the same log file will be replicate to the standby db say "STDBYDB"?
    If so, based on which parameter settings/functions the redo log group switches may happen?
    Kindly suggest
    Regards,
    mafaiz

    Hello;
    No , it wont create.
    If you want to add Standby Redo you have to use a different method.
    1. On primary defer log shipping (dynamic change)
    alter system set log_archive_dest_state_2 = defer
    2. On standby database cancel managed recovery
    alter database recover managed standby database cancel;
    3 Create the new Standby logs
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 4 '/u01/app/oracle/oradata/PRIMARY/redo04.log' SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 5 '/u01/app/oracle/oradata/PRIMARY/redo05.log' SIZE 50M;
    ALTER DATABASE ADD STANDBY LOGFILE GROUP 6 '/u01/app/oracle/oradata/PRIMARY/redo06.log' SIZE 50M;
    4. Enable log shipping on the Primary database
    alter system set log_archive_dest_state_2 = enable scope = memory;
    5. Enable managed recovery on standby database
    alter database recover managed standby database using current logfile disconnect;
    Test of ONLINE addition
    set linesize 200
    select type,member from v$logfile;
    ONLINE /u01/app/oracle/oradata/PRIMARY/redo01.log
    ONLINE /u01/app/oracle/oradata/PRIMARY/redo02.log
    ONLINE /u01/app/oracle/oradata/PRIMARY/redo03.log
    STANDBY /u01/app/oracle/oradata/PRIMARY/redo04.log
    STANDBY /u01/app/oracle/oradata/PRIMARY/redo05.log
    STANDBY /u01/app/oracle/oradata/PRIMARY/redo06.log
    -- add ONLINE group 7
    /u01/app/oracle/oradata/PRIMARY/redo07.log
    alter system switch logfile;
    Check of Standby system, no group 7 exists
    Summary
    So neither ONLINE or STANDBY logs gets added despite STANDBY_FILE_MANAGEMENT=AUTO on both systems.
    Best Regards
    mseberg

  • STARTING STANDBY IN DATAGUARD CONFIGURATION

    Hi,
    IN DATAGUARD CONFIGURATION, should we start STANDBY database by :
    1-STARTUP MOUNT
    or
    2-STARTUP
    or
    3-STARTUP MOUNT
    ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT;
    Many thanks before.

    Thank you sybrandb.
    Please always include your version (four digits) and the O/SPROD 10.2.0. on WIN 2003 SERVER
    STANDBY 10.2.0. on WIN XP PRO.
    The correct procedure is (documented)Thank to give the name or number or URL of document. I have already seen :
    Oracle® Data Guard
    Concepts and Administration
    10g Release 2 (10.2)
    B14239-04
    note 374069.1
    note 248382.1
    Regards

  • Physical standby without ALTER DATABASE FORCE LOGGING

    Hi,
    Is it possible to use physical standby database without executing ALTER DATABASE FORCE LOGGING on primary side?
    Can I use alter tablespace force logginng instead?
    I want to have one tablespace with nologging option turned on to reduce redo traffic for some operations.
    I can not check this because I don`t have enough servers to build standby configuration.

    YuriAP wrote:
    Hi,
    Is it possible to use physical standby database without executing ALTER DATABASE FORCE LOGGING on primary side?
    YES
    Can I use alter tablespace force logginng instead?
    YES
    ALTER TABLESPACE <tablespace name> FORCE LOGGING;
    I want to have one tablespace with nologging option turned on to reduce redo traffic for some operations.
    I can not check this because I don`t have enough servers to build standby configuration.http://download.oracle.com/docs/cd/B10500_01/server.920/a96521/create.htm#1022863

  • I can't put my windows xp to standby without loosing the connection...

    So I can't put the windows xp machine in standby mode without loosing the internet connection. According to my LAC icon I still have a connection and if I "repair" it, it says it can but still no joy. It will work just fine after I restart the comp but that kind of destroys the whole idea of standby mode (having a saved session and all). This never happened before I installed the airport.

    So, I think I've solved all my issues with the airport and my xp machine.
    I did some other research and found that there might have been a issue with my zone alarm firewall and the airport. I turned it off and everything has been working good all day. I turned it on and I was back to my comp not recognizing the airport and no connectivity when I went to sleep mode and came back.
    If you're running zone alarm and are having these kinds of issues.
    Try and turn off ZA, if that solves the issue, turn ZA back on and go to:
    Zone Alarm > Firewall (on the left side) > Zones tab (top right)> ADD (bottom right) > Host Site (top of popup menu).
    When the dialog comes up, make sure the "zone" is "trusted, type in the name of your aiport (ie; house, my airport, what ever you named it when you set it up, if unsure, start the aiport from the start menu and see what it says), under "description I just put "airport router".
    Then the "lookup" button comes into focus and you press it. It will find the ip address press "ok" and that is it!
    BTW- My XP firewall is off.
    So far so good for me. Maybe this weekend I'll see if I can get the external HD to work....(crosses fingers and knocks on wood).

  • RAC physical standby in dataguard

    Hi All
    How many nodes need to be on the mount state in the RAC physical standby ? for example if we have RAC of 4 nodes in the physical standby . do I startup all of them in mount state or only one and what about the other they should be open or we shut them down ?
    Thanks

    Hi,
    -- assuming version 10.2
    If your primary database is a rac all the instances will send the redo information but even if the standby database is also a rac only one will receive/apply the redo information.
    How many nodes need to be on the mount state in the RAC physical standby ? for example if we have RAC of 4 nodes in the physical standby . do I startup all of them in mount state or only one and what about the other they should be open or we shut them down ?
    The instances will be mounted, if the working instance fails another one will be able to do the job.
    Best regards
    Phil
    Edited by: Philippe Florent on Sep 15, 2010 12:05 AM -- completing the answer

  • Create test database from standby without some data

    Hi. I want to create test database from my standby database using rman.
    But i have some some tables and where information is too large i dont want backup all data from this tables. because i dont have enough space on my test server.
    Have u any idea for solution this problem.
    Thanks

    But have suggestion.
    You can create duplicate database on based your target database (to new host) and skip undesired tablespaces...
    bash# rman target /
    RMAN> ....
    your code should be like :
    run {
    allocate auxiliary channel 'dev_0' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    allocate auxiliary channel 'dev_1' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    allocate auxiliary channel 'dev_2' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    allocate auxiliary channel 'dev_3' type 'sbt_tape'
    parms 'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8,OB2APPNAME=my,OB2BARLIST=MY DAILY)';
    SET UNTIL SCN 7769764681915;
    DUPLICATE TARGET DATABASE TO MYTS SKIP TABLESPACE TOOLS_IDX,TOOLS,ARCHIVE,IDX;
    Edited by: Ulfet Tanriverdiyev on Dec 21, 2010 3:42 AM

  • Log gap detection WITHOUT Dataguard

    Heys,
    I am looking for a solution to keep my standby database up2date.
    I set up the enviroment according to http://www.oracle.com/technology/deploy/availability/pdf/MAA_WP_10g_RACPrimaryRACPhysicalStandby.pdf
    The RedoLog Apply works fine.
    But how can I ensure that log are re-transfered so that no gaps come up.
    Is there a way to manually configure this ?
    Thx for your help
    Christian

    Check this script
    SELECT LOCAL.THREAD#, LOCAL.SEQUENCE# FROM (SELECT THREAD#, SEQUENCE# FROM V$ARCHIVED_LOG WHERE DEST_ID=1) LOCAL WHERE LOCAL.SEQUENCE# NOT IN (SELECT SEQUENCE# FROM V$ARCHIVED_LOG WHERE DEST_ID=2 AND THREAD# = LOCAL.THREAD#);
    Go for real time apply

  • Creating Standby database with Oracle 10gR2 SE (no dataguard). Procedure

    Hello,
    I have problems in creating a standby database without Dataguard (Oracle Standard Edition)
    -Oracle 10gR2 SE (No DataGuard !!!!)
    - SUSE Enterprise 10.
    Both primary and standby databases are running in Virtual machines (lab).
    I will describe the exact steps I followed :
    1.---------------------------------------------------
    Both primary and standby databases have exactly the same file / folder structure
    2.---------------------------------------------------
    I enabled archive log mode with a new destination : /opt/oracle/oradata/orcl/archive_logs.
    Also : SQL> alter database force logging;
    3.---------------------------------------------------
    I shut down the primary database (shutdown immediate)
    4.---------------------------------------------------
    I created a standby controlfile on the primary database:
    SQL> startup mount
    SQL> alter database create standby controlfile as '/tmp/standby.ctl'
    SQL> shutdown immediate
    5.---------------------------------------------------
    I did a cold backup from the primary db to the standby db
    (I copied all the db files, control files, redo log)
    6.---------------------------------------------------
    I copied from the primary db to the standby db the standby control file
    (from primary /tmp/standby.ctl)
    7.---------------------------------------------------
    I copied from the primary db to the standby db the standby control file
    (from primary /tmp/standby.ctl)
    8.---------------------------------------------------
    I created on the standby database a pfile from the spfile :
    SQL> create pfile from spfile;
    9.---------------------------------------------------
    I edited the pfile and changed the controlfile location (with the standby controlfile created in step 4)
    >>>>> *.control_files='/opt/oracle/oradata/orcl/standby.ctl'
    10.--------------------------------------------------
    I started the standby db
    SQL> startup mount pfile='/opt/oracle/product/10.2/db_1/dbs/initorcl.ora'
    SQL> alter database recover managed standby database disconnect from session;
    SQL> quit
    11.--------------------------------------------------
    I made some changes on the primary db on user scott
    SQL> update table set .......
    12.--------------------------------------------------
    I switched logfile on the primary db
    SQL> alter system switch logfile;
    13.--------------------------------------------------
    I manually copied the new archivelog to the standby db
    And then nothing !!!
    The db changes are not applied.
    Please help me fix the procedure !!!
    Thanks

    Hi
    Ref to your Oracle SE Standby issue, we were in similar situation couple of years ago to build an Automated Standby for our disaster recovery on Oracle SE. We finally got a solution provider Anbul Technologies , they have a one of their solutions based on Oracle SE which provided fully automated Standby in Oracle SE.
    We are successfully running that solution in our prod env for many years. You can visit their site www.anbultechnologies.co.uk or contact them for further details. They are Uk based but provides support and services all over Europe.
    Cheers

Maybe you are looking for

  • Can't Install Snow Leopard on new drive

    I'm having a relatively serious problem with upgrading my hardware. I have a Mac Pro tower with an empty HD slot into which I installed a new drive which mounts properly. My plan was to simply move everything from the old hard drive to the new one, u

  • Debit note creation

    Hi,    I want to know the confg for the below scenarion.   i had created one billing doc for x product and 50 quantity.later i had situation of charging debit note for 30 units,so i went to VA01 and with ref to billing doc i had completed the process

  • Search Help for Standard fieldBSEG-ZUONR

    Hi Guys, I am working on the standard transaction FB60 for vendor invoice posting.In this transaction item level we have the field Assignment Number BSEG-ZUONR. I need to provide the search help for this field.In SAP we don't have search help for thi

  • My i phone5 s not opening even after putting passcode

    My ipone 5s not opening pass code lock Before this what happened was is suddenly voice help got activated automattically. It didnt go ;so i switched off the phone. When i switched on it told type pass code. I hv typed it. But it is not accepting Plz

  • Can I use OIM as a basic EAI tool ?

    Hello, I am in OIM product evaluation phase. I have a very basic question. OIM is an User Provisioning tool. However, can I also provision other LDAP objects. To clarify further, say I have a custom object called "Entitlement" which stores entitlemen