Manual Standby on Standard Edition

Hey, I try to setup a manual standby on standard edition 10gR2.
Source is a RAC database (standard edition on sles10 sp3)
I created a node and created a oracle instance on this node. This node is using the filesystem for the oracle files.
I did a hotbackup of the source database and copied all files over to the other host.
Which parameters needs to be change in the init.ora and how can I recover my database ?
Articles like
http://www.databasejournal.com/features/oracle/article.php/3682421/Manual-Standby-Database-under-Oracle-Standard-Edition.htm
or
Alternative for standby database in standard edition [ID 333749.1]
does not really help me.
Thanks for your patience... :-)

./rman target / cmdfile=/opt/oracle/rman.sh
rman.sh
run{
change archivelog all crosscheck;
allocate channel ch1 type disk;
backup incremental level 0 database format
'/opt/oracle/backup/backupnew/bk_inc0_%s_%p' include current
controlfile for standby ;
sql "alter system archive log current";
backup archivelog all format '/opt/oracle/backup/backupnew/al_%s_%p';
release channel ch1;
copy files from '/opt/oracle/backup/backupnew' to standbyhost:'/opt/oracle/backup/backupnew'
./rman cmdfile=/opt/oracle/duplicate.rman
duplicate.rman
connect auxiliary sys/oracle@standby
connect target /
run {
allocate auxiliary channel ch1 type disk;
duplicate target database for standby dorecover nofilenamecheck;
release channel ch1;
Now I get this:
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 09/15/2010 15:20:35
RMAN-03015: error occurred in stored script Memory Script
RMAN-06026: some targets not found - aborting restore
RMAN-06024: no backup or copy of the control file found to restore
When do have I to issue the
ALTER DATABASE CREATE STANDBY CONTROLFILE AS '/opt//oracle/stbycf.ctl';
command. And where to copy ?

Similar Messages

  • Manual Standby on Standard Edition 10g for Linux (Scripts)

    Hello,
    I would like to know if someone has the SCRIPTS for a manual configuration of standby on standard Edition 10g for Linux Red Hat 3.0.
    Or some documentation on how can I implement it.
    Thank you very much
    Best Regards
    Gissel

    This link is for 9i but I think it can be helpful for you:
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:725414295789388455::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,216212.1,1,1,1,helvetica#anchor3
    Best Regards
    Krystian Zieja / mob

  • Logical Standby on Standard Edition

    Hey,
    I have to setup an enviroment with 10gR2 on Linux.
    I can only use standard edition.
    I will have a manual physical standby in place.
    Now I get a new requirement: I need to have an additional db for read only access.
    Now logical standby is not possible with standard edition.
    I found shareplex for oracle (quest) - would that be an alternative ?
    Do you have other ideas how to realize an standby database which can be read by an application -- the database should be sync with the primary as possible
    thx

    It is possible to setup a schedule for your standby database to switch between READ ONLY mode and recovery mode.
    For example, from 8am till 12pm, you can have your physical standby database be in read only mode, so that users can run reports. The standby database will not be updated during this time.
    From 12pm till 2pm, the standby is switched to normal recovery mode and all the latest changes are applied.
    At 2pm the standby is switched back into read only mode for reporting purposes.
    At 6pm the standby database is put back into recovery mode until 8am the next morning to ensure the standby database is fully up to date for the next reporting day.
    For this to work well, and to make sure you are also covered for DR at all times, it is important that your primary database keeps sending the archive redo logs to the standby server.
    The archive redo logs are then queued up and ready to be applied on the standby server. So if you do suffer a major outage and have to activate the standby database, all the archive logs are available on the standby server.
    This is how http://www.dbvisit.com works to enable physical standby for Standard Edition (SE).
    Regards,
    Edited by: Arjen Visser on 07-Sep-2010 09:08
    Edited by: Arjen Visser on 07-Sep-2010 09:20

  • Basic Standby Database(Manually Managed) in Standard edition

    Hello,
    We are using oracle SE where dataguard feature is not available. So we cloned the database and applied archived logs for recovery followed a metalink doc. Everything is good. Now I need to keep my standby in synch with primary, for this i need to manually transfer all the archived logs from primary to standby arch dest location. So any idea as this is a manual process which we cant scp daily...so do we have any script that we can set up in cron to scp the archive logs once during a particular time and then delete them after applying at standby? or else please tell any better idea if you have. Appreciate any help.
    Thanks
    kumar

    Hello;
    It might be simpler to use 'rsync'
    rsync -e ssh -Pazv /ora/oracle/arch/ oracle@remote:/export/home/oracle/arch/
    There's an example here :
    http://www.databasejournal.com/features/oracle/article.php/3682421/Manual-Standby-Database-under-Oracle-Standard-Edition.htm
    I use rsync for similar things like when I want to move a group of files without listing them.
    Best Regards
    mseberg

  • Sector size problem when create a "Standby" in Standard Edition

    Hi,
    I've a primary database 11.2.0.4 Standard Edition with Grid Infrastructure with ASM.
    DiskGroup in ASM uses sector size ok 4k.
    I've also a "Standby" the uses filesystem with logical and physical sector size of 512.
    When duplicate from primary I get this warning:
    ORACLE error from auxiliary database: ORA-01378: The logical block size (4096) of file /u03/oradata/ORCL/onlinelog/group_1.268.874153703 is not compatible with the disk sector size (media sector size is 512 and host sector size is 512)
    RMAN-05535: WARNING: All redo log files were not defined properly.
    ORACLE error from auxiliary database: ORA-01378: The logical block size (4096) of file /u03/oradata/ORCL/onlinelog/group_2.265.874153719 is not compatible with the disk sector size (media sector size is 512 and host sector size is 512)
    RMAN-05535: WARNING: All redo log files were not defined properly.
    ORACLE error from auxiliary database: ORA-01378: The logical block size (4096) of file /u03/oradata/ORCL/onlinelog/group_3.263.874153759 is not compatible with the disk sector size (media sector size is 512 and host sector size is 512)
    RMAN-05535: WARNING: All redo log files were not defined properly.
    ORACLE error from auxiliary database: ORA-01378: The logical block size (4096) of file /u03/oradata/ORCL/onlinelog/group_4.261.874153735 is not compatible with the disk sector size (media sector size is 512 and host sector size is 512)
    RMAN-05535: WARNING: All redo log files were not defined properly.
    Finished Duplicate Db at 2015-04-21 23:37:10
    released channel: CH1
    I can recreate 3 redologs with correct sector size, but I unable to drop current log file:
    ERROR at line 1:
    ORA-01623: log 4 is current log for instance ORCL (thread 1) - cannot drop
    ORA-00312: online log 4 thread 1:
    '/u03/oradata/ORCL/onlinelog/group_4.261.874153735'
    So how can I solve this problem?

    yasinyazici wrote:
    Hi
    Oracle Data Guard is available only as a feature of Oracle Database Enterprise Edition. It is not available with Oracle Database Standard Edition.
    Please look  2.3.2 Oracle Software Requirements section  of the  following document
    http://docs.oracle.com/cd/E11882_01/server.112/e41134/standby.htm#SBYDB4716
    Yasin
    It's possible:
    Data Guard and Oracle Standard Edition (Doc ID 305360.1)
    Alternative for standby database in standard edition (Doc ID 333749.1)

  • ORACLE 8I: STANDBY DATABASE는 STANDARD와 ENTERPRISE EDITION에서 사용이 가능한가?

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-31
    ORACLE 8I: STANDBY DATABASE는 STANDARD와 ENTERPRISE EDITION에서 사용이 가능한가?
    =====================================================================
    Problem Description
    원격의 Standby 데이터베이스 구성을 고려하지만, standby 사이트로
    고려하는 장비에는 Oracle8i Standard Edition이 동작을 하고 있는 반면
    primary 사이트에는 Oracle8i Enterprise Edition이 동작을 하고 있다.
    이러한 경우 다음의 질문을 하게 된다:
    Primary 사이트에서는 Oracle8i Enterprise Edition을 standby 사이트에서는
    Oracle8i Standard Edition을 사용하는 것은 가능한가?
    Oracle8i Standard Edition database가 Standby 모드로 동작을 하면서
    Oracle8i Enterprise Edition database의 log들을 유효하게 받아들일 수
    있는가?
    Solution Description:
    Basic Standby 데이터베이스 기능은 Oracle7,Release 7.3.x, Oracle8, 그리고
    Oracle8i Standard Edition에서 사용이 가능하다.
    Enterprise Edition과 Standard Edition 모두 Standby 데이터베이스 기능을
    사용하기 위하여 구성할 수 있다. 그렇지만, Non-managed Standby 환경에서
    Stabdby 데이터베이스에 적용하여 복구를 하기 위한 추가적인 작업이 필요하다.
    a) Standby 데이터베이스 상에서 수동 또는 스크립트에 의한 복구가 필요하다.
    b) 저장되어진 Redo Log들을 Standby 사이트로 옮기기 위한 방법이 필요하다.
    Explanation:
    ===========
    Standard edition에서 사용할 수 없는 Standby 데이터베이스 특징의 유일한 점은
    Log의 원격 이동 능력이다. 다시말하면, Oracle8i의 Log 원격 이동 기능은
    Enterprise Edition에만 있는 특징중의 하나이다. 이 이외의 Standby 데이터베이스
    특징들은 Oracle8i Standard Edition이나 Oracle8i Enterprise Editio 모두
    동일하다.
    자동 Log 이동은 Managed Standby 환경으로 Standby 데이터베이스를 운영하기
    위해서 필요하다.
    Reference Ducumment
    <Note:111678.1> Oracle8i: Is Standby Database Available For Standard And
    Enterprise Edition?

  • 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...

  • Oracle manually standby database with standard edition

    Hi, I want to have a plan for disaster. I'm triying with two virtual machines with oracle database 10g on suse linux. I follow these URLs
    http://www.dbasupport.com/oracle/ora10g/manual_standby.shtml
    http://oramdq.blogspot.com/2009/05/como-configurar-un-sistema-de-alta.html
    and it look that work all right.
    I know that with manually standby database we applied archived logs, and so, we don't propagate any physical changes to secondary database (standby), for example, if I create a new tablespace, or adding a new datafile to an existing tablespace, it don't work in the secondary database.
    Anyone does know how is the better way to apply the physical changes??
    Anyone have any scripts to do that?
    Thanks in advance.

    HI,
    Add the STANDBY_FILE_MANAGEMENT = AUTO to the primary parameter file, it will solve it.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/initparams209.htm]
    Reagds,
    Vijayaraghavan K
    Edited by: Vijayaraghavan Krishnan on Feb 24, 2010 7:19 PM

  • Creating standby database from ASM production database in standard edition

    Hi,
    I am using oracle 10g release 2 standard edition. I recently created a database instance and wanted to create a standby database instance. After sorting out how to achieve this without managed standby and data guard I finally got it working and the shipped archive logs are applied and working well on the standby database.
    Now I am thinking of re-creating my production database and using ASM for storage managment. By doing this can a standby database still be created from a primary database using ASM? I want to be sure I can before I commit to using ASM for the production instance and manually creating a standby database from that instance.
    Note: I am using standard edition not enterprise edition.

    Hi
    For Oracle SE standby, you can visit www.anbultechnologies.co.uk , they have a brilliant product name DRMC which is Automatic disaster recovery solution with automatic failover in case primary goes down due to any reason.
    We are using this product for more than 2 years and it works like a dream using Oracle Standard Edition. We have depolyed more databases and Standby solution within the prices of 2 EE edition licenses.
    You can give ma try as well.
    website address is www.anbultechnologies.co.uk

  • Standby Database with Standard Edition

    Hi All,
    I'm attempting to setup a Standby database with Oracle 10g Standard Edition. I must manually copy over the archive logs to my Standby database server because i'm using Standard Edition.
    Once my primary database archive logs have been copied over to the standby location shouldn't the database automatically apply those archive logs? I have issued the "alter database recover managed standby database disconnect from session" so my understanding is that it is in recovery mode and shoudl be finding the archive logs to apply. Can anyone confirm that this configuration should work with Standard Edition and perhaps point me in the right direction, which parameters in the init file to check, to get my standby database to apply these archive logs automatically.
    Thanks,

    To quickly determine the level of synchronization for the standby database, issue the following query on the physical standby database:
    SQL> SELECT ARCHIVED_THREAD#, ARCHIVED_SEQ#, APPLIED_THREAD#, APPLIED_SEQ#
    2> FROM V$ARCHIVE_DEST_STATUS;
    ARCHIVED_THREAD# ARCHIVED_SEQ# APPLIED_THREAD# APPLIED_SEQ#
    1 947 1 945

  • ASM Direct file access (for creating standby database in Standard Edition)

    Hi all,
    Just really looking for any opinions, experience etc. that people may have about this.
    My company are looking to set up a RAC system. They have also asked me to think about creating a standby database for disaster recovery. The first problem they give me here is that they only pay for Standard Edition of Oracle, therefore Dataguard is not an option.
    I know that one can setup "manual" standby databases with Standard Edition, automating the shipping of archive logs with hand-written scripts etc. However, as the primary here is RAC, and will be using ASM on the shared storage, I'm not sure that this would be possible (and I'm even less sure that it would be desirable!). I say this because I don't know of a way to access (using only the O/S and/or Oracle) the database files stored in ASM, and even if there was a way, I can't imagine it being a good idea..
    Anybody know of a way to tackle it, or care to contribute anything to this? As I say, my opinion is that even if it is possible to get to those files within ASM and hence manipulate them, I'd be worried that it wouldn't be such a good idea. But I'm willing to bet I'm not the first to have thought about it...
    Regards,
    Ados
    Edit 1:
    Sorry, I should state that in principal, the basic environment is:
    Windows 2003 Server
    Oracle 10g R2
    I didn't state that originally though, as I'd be keen to hear from anyone who may have attempted this on any O/S and Oracle version.
    Edited by: Ados on 16-sep-2009 9:32
    Edit 2:
    I also realise we could put the archive logs on the local nodes.. but to reinforce the point, I'm talking about having them on the shared storage where - in theory - the management is easier and more effective.
    Edited by: Ados on 16-sep-2009 9:35

    For anyone interested..
    I guess it would be done using RMAN (in fact, I'm sure of it...) in which case, I feel a lot more comfortable doing it!!
    For example:
    backup as copy archivelog ALL to destination 'c:\temp\';
    This way, it shouldn't matter if the arch logs are stored using ASM, we can now get them and "see" them.. and hence "manipulate" them (pass them on to a standby DB, for example).
    I'm just waiting to get my hands on a Standard Edition installation where I can test all this.. To try it all out (with 2-node RAC, and a standby server) I don't think I'll get a chance, so still interested in opinions, or if anyone's actually done this.
    Regards,
    Ados

  • Create standby database on 11gR2 standard edition one

    Hi experts,
    i want to create standby database on 11gR2 standard edition one on both environment linux to linux and window to window. i have invested my 4-5 days on that but i didn't able to create, due to standard edition. plz provide me step by step creation. it wil bel great help.....
    Thanks and Regards
    Sanchit Gupta

    SANCHIT GUPTA  wrote:
    Hi experts,
    i want to create standby database on 11gR2 standard edition one on both environment linux to linux and window to window. i have invested my 4-5 days on that but i didn't able to create, due to standard edition. plz provide me step by step creation. it wil bel great help.....
    Did you have a look at the dataguard docs,
    http://docs.oracle.com/cd/E11882_01/server.112/e10700/standby.htm#i72073
    Which has this mentioned quite clearly,
    >
    Oracle Data Guard is available only as a feature of Oracle Database Enterprise Edition. It is not available with Oracle Database Standard Edition.
    Note:
    It is possible to simulate a standby database environment with databases running Oracle Database Standard Edition. You can do this by manually transferring archived redo log files using an operating system copy utility or using custom scripts that periodically send archived redo log files from one database to the other. The consequence is that this configuration does not provide the ease-of-use, manageability, performance, and disaster-recovery capabilities available with Data Guard>
    So if you want to have data guard, use Enterprise Edition.
    Aman....

  • Archive apply issue for standby database in Standard Edition.

    We have setup standby database in Oracle standard edition. the archive log cannot be send by oracle automatically. So we manually send the archive over. But do not see the database apply the archive log file. What could be wrong and where should we check on it?
    We also used following when finishing the standby DB after running "recover standby database;" for a few archive log file:
    alter database recover managed standby database disconnect from session;
    ======================================================================================
    This is the status:
    SQL> select OPEN_MODE, SWITCHOVER# ,REMOTE_ARCHIVE ,ARCHIVELOG_CHANGE#,SWITCHOVER_STATUS, DATABASE_ROLE from v$database;
    OPEN_MODE SWITCHOVER# REMOTE_A ARCHIVELOG_CHANGE# SWITCHOVER_STATUS DATABASE_ROLE
    MOUNTED 495550636 ENABLED 1.2201E+13 SESSIONS ACTIVE PHYSICAL STANDBY

    The DB version is 10.2.0.5
    I can do this to apply at standby DB:
    SQL> set autorecovery on
    SQL> recover standby database;
    Then I tried to run this to leave the session:
    alter database recover managed standby database disconnect from session;
    Do not seen any apply.
    =============================
    Here is the last lines of alert log:
    Errors in file /oracle/admin/cntus/bdump/cntus_mrp0_12389.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/cntus/redolog/redo01b.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 1 thread 1: '/u02/cntus/redolog/redo01a.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Thu Sep 06 15:08:34 EDT 2012
    Errors in file /oracle/admin/cntus/bdump/cntus_mrp0_12389.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/cntus/redolog/redo01b.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 1 thread 1: '/u02/cntus/redolog/redo01a.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Clearing online redo logfile 1 /u02/cntus/redolog/redo01a.log
    Clearing online log 1 of thread 1 sequence number 10158
    Thu Sep 06 15:08:34 EDT 2012
    Errors in file /oracle/admin/cntus/bdump/cntus_mrp0_12389.trc:
    ORA-00313: open failed for members of log group 1 of thread 1
    ORA-00312: online log 1 thread 1: '/u03/cntus/redolog/redo01b.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    ORA-00312: online log 1 thread 1: '/u02/cntus/redolog/redo01a.log'
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    Thu Sep 06 15:08:34 EDT 2012
    Errors in file /oracle/admin/cntus/bdump/cntus_mrp0_12389.trc:
    ORA-19527: physical standby redo log must be renamed
    ORA-00312: online log 1 thread 1: '/u02/cntus/redolog/redo01a.log'
    Clearing online redo logfile 1 complete
    Media Recovery Waiting for thread 1 sequence 10166
    Thu Sep 06 15:08:35 EDT 2012
    Completed: alter database recover managed standby database disconnect from session
    ======
    We have the directory /u02/cntus/redolog and /u03/cntus/redolog. But nothing in there. Should we create redo for it? Is this a separate issue?
    Thanks!

  • Physical standby database in Standard Edition.

    Hi, we have Standard Edition and want to implement a stand by environment. Is it true that with this edition archive logs are not transported automatically to the stand by server using LOG_ARCHIVE_DEST = my_stdby_service ?
    Also, let's suposse I managed to transport archive logs, do they get applied by stand by database automatically or with Standard Edition the only way we have is applying them manually?
    Thanks and regards.

    Hi
    Ref to your SE Standby database, if you are still looking for an Automated Solution you can visit www.anbultechnologies.co.uk . In solutions you can find a product which provides fully automated Standby solution with Automatic failover. We have been using that solution for couple of years without any problems.
    This solution is based on Oracle Standard Edition and provide functionaility similar to EE data guard.
    Cheers
    Harry

  • Standby synchronization in 11g Standard Edition.

    I have the following environment: one primary DB and one standby DB (both 11g Standard).
    I have to synchronize standby with primary but in Standard edition I can not use automatic mechanism.
    I don’t want to use commercial staff like Pervasync.
    How can I achieve this? May I e.g. generate archive and/or control files, next “manually” send and put these to standby?
    Reg,
    Jarek

    Refer to metalink:
    Alternative for standby/dataguard in standard edition
    Doc ID: 333749.1
    Werner

Maybe you are looking for