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
Similar Messages
-
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:35For 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 -
Regrading standby database in standard edition
hi gurus
i m facing problem in configuring standby database in standard edition windows 2008 .
os-windows 2008 standard
oracle 11gr2
i have copied files from primary n copied it to same location on standby...at that time database was in noarchivelog mode
then i made it archive n create standby controlfile...also i have created same service name thru oradim with mentioning pfile and same password as on primary
so it created pfile and password file...
i opened the database in nomount with pfile
then mount with standby controlfile it got mounted n the mode is automatically archivelog mode but as i didn't taken the same pfile of primary it didnt take the destinations as such n made archive in flash recovery area
now i m a bit confused how to apply archive..i copied some archive and placed it in flash rec area
i tried all options managed recovery.recover standby database,recover database until cancel
but all give error
please tell how i proceed..what shud b the right process in standby standard edition
if possible send me a good link for standby database creation in windows 2008 standard with how to ftp files with mget mput..
anyone if kindly provide a good link...wud b of great help
thanks allon your standby database you can use:
set logsource path_to_archives
This will let Oracle know where the archive files are on the standby database.
Then you can apply the archives with:
recover standby database
Another option is to use Dbvisit Standby to automate the whole standby database (including creation) for you when you have Oracle Standard One or Oracle Standard Edition One. -
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 -
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 STANDBYThe 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! -
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 Database not in sync with missing archivelogs
Hello,
OS: Solaris
DB: Oracle 11.2.0.1 EE
Not Using ASM or RAC
I have a Production database that is in archivelog mode and a Standby DR server.
Both servers (Prod, Standby) have exact same structure and db name/version.
We manually scp archive logs and recover them to a manual standby database via SQL Scripts "cron". (I.E. set autorecovery on; recover standby database;)
We recently got out of sync with our log files and have not been applying them to the standby. As part of Prod Maintenance, these log files were deleted and are not available anymore.
I've tried several ways to "rebuild" our standby database. I have tried to Shutdown prod, backup all the db files and scp them to standby, re-create standby controlfile and startup mount and recover standby.
Every time I try to apply a new archive log via recover standby, these are the errors:
ORA-00279: change 211077622 generated at 1/27/2012 12:18:42 needed for thread 1
ORA-00289: suggestion : /oradump/arch/PROD/PROD_arch_1_69486_736618850.arc
ORA-00280: change 211077622 for thread 1 is in sequence #69486
ORA-00308: cannot open archived log '/oradump/arch/PROD/PROD_arch_1_69486_736618850.arc'
ORA-27037: unable to obtain file status
SVR4 Error: 2: No such file or directory
Additional information: 3
ORA-10879: error signaled in parallel recovery slave
ORA-01547: warning: RECOVER succeeded but OPEN RESETLOGS would get error below
ORA-01152: file 1 was not restored from a sufficiently old backup
ORA-01110: data file 1: '/oradevices/PROD/oraPRODsystem1.dbf'
When I check v$log_history, the new logs have not been applied.
I've also tried the "Restore from incremental backup via SCN" method with same results.
Is there a way to re-create the standby clean and ensure that the log chain that is currently broken gets fixed or reset?
I would eventually like to get DataGuard in here, but that's not the case at the moment.
Thanks for your suggestions.
-Davif you are using the cold backup to create the standby database, Check that have you followed the following steps or not.
1. remove
all the datafiles and controlfiles from the standby database.
2. Create a new standby controlfile of the production for standby using the following cmd
'alter database create standby controlfile as 'Location';'
3. move the new controlfile to standby database server location as specified in initialization parameter file.
4. Restore all the datafiles to its appropriate loaction which was taken through cold backup.
5. startup nomount
6. alter database mount standby database;
7. recover standby database.
scp the archive log sequence that is asked by the database, from production.
You can try this steps. -
To find SCN number in standby database with Oracle 9i.
Hi all,
1.how to find SCN number in standby database with Oracle 9i.
note:
1.it is in mount stage.
2.oracle 9i.
regards,
Jayaprakash.Hello;
I have no Data Guard 9 to review. However I might try this :
select * from "_DBA_APPLY_PROGRESS";
OR
select time_mp,time_dp, scn_wrp, scn_bas, scn from smon_scn_time;Also found this: ( almost certainly NOT a physical Standby )
SELECT APPLIED_SCN, NEWEST_SCN FROM DBA_LOGSTDBY_PROGRESS;Best Regards
mseberg
Not worth another post but I think v$database on Oracle 9 has these columns only :
v$database on Oracle 9
DBID
NAME
CREATED
RESETLOGS_CHANGE#
RESETLOGS_TIME
PRIOR_RESETLOGS_CHANGE#
PRIOR_RESETLOGS_TIME
LOG_MODE
CHECKPOINT_CHANGE#
ARCHIVE_CHANGE#
CONTROLFILE_TYPE
CONTROLFILE_CREATED
CONTROLFILE_SEQUENCE#
CONTROLFILE_CHANGE#
CONTROLFILE_TIME
OPEN_RESETLOGS
VERSION_TIME
OPEN_MODE
PROTECTION_MODE
PROTECTION_LEVEL
REMOTE_ARCHIVE
ACTIVATION#
DATABASE_ROLE
ARCHIVELOG_CHANGE#
SWITCHOVER_STATUS
DATAGUARD_BROKER
GUARD_STATUS
SUPPLEMENTAL_LOG_DATA_MIN
SUPPLEMENTAL_LOG_DATA_PK
SUPPLEMENTAL_LOG_DATA_UI
FORCE_LOGGING ."_DBA_REGISTERED_ARCHIVED_LOG" has a "NEXT_SCN"
Edited by: mseberg on Dec 19, 2011 10:03 AM
Edited by: mseberg on Dec 19, 2011 10:29 AM
Much later
Also found this :
select dbms_flashback.get_system_change_number scn from dual;
Edited by: mseberg on Dec 19, 2011 11:06 AM -
Oracle Database 10g Standard Edition
Oracle Database 10g Standard Edition Suitable for medium sized organization. Actually it supports how many no of concurrent connection, workload??
Yes, it is suitable for, and is used in many medium sized organizations. It supports as many concurrent connections as possible until the operating system starts paging or swapping. At which time it slows down. I personally have seen it handle 125 concurrent connections.
You question is like asking 'will a Pentium 4 CPU handle Microsoft Powerpoint?'. And the answer is 'yes, of course'. But what about when you want to run video clips in Powerpoint?
There is no accurate way of answering your question without understanding the exact workload you plan on generating. -
Hi,
I have ORACLE 10.2.0.3.0 64 bit SE1 running on a RHEL4 server. I have a backup server on which I need to create a manual standby database for a (poor man's) high availability environment. We have explored RAC, Dataguard etc and given them up for cost considerations. We understand the potential of up to 15 minutes data loss. I know the general steps necessary to set up the manual standby server. For example, I know I need a cold (or hot) backup of the primary to reset my standby database. Then I need to create the standby control file. I need to write deamon processes to ship the archive logs to the standby server and apply those logs to the database. I am new to ORACLE and would appreciate some specific advice.
(1) Should I use DBCA to create the database on the standby server first? My impression is that using DBCA will set up the enterprise manager, isqlplus and the relevevant entries in oratab etc on the standby server. If I simply install ORACLE 10g on the standby and copy the backup files from the primary server, I will not have access to the database tools that come with ORACLE 10g.
(2) Can someone please share the scripts you may have written? or point me to some skeleton scripts?
(3) What are the failure points for manual standby databases? What do I need to pro-actively monitor? For example, if the logs are not being applied properly to the standby database for a prolonged period, I would like to know about it.
(4) What are the procedures for recovering from a failed master database?
(5) Where can I learn more about the subject? I will need specific commands to setup the standby. Are these procedures documented somewhere?
Thanks!
- RajeshTry this one Manual Standby Database under Oracle Standard Edition
Or search the subject on google, many results.
No, you will not create "standby" using DBCA, you need to use primary's backup to restore on standby server and constantly recover. -
Query on Oracle Manual Standby management
Hi All,
There is requirement for upgrade of Oracle 10g Standard Edition to Oracle 11g Standard Edition. The environment has a manual standby database configured for production.
The standby management is currently being done via scripts for archive log shipping and recovery of standby.
As part of our recommendations we are looking out for tools to automate the standby management. Data Guard is not an options since that needs an Enterprise Edition license plus extra cost for Data Guard option.
We would like to know of any such tools. Could you please share the details in terms of features and cost of licensing, etc.
Thanks for your time!
Best Regards,
Udithttp://www.oracle-base.com/articles/misc/dbvisit-standby.php
http://www.dbvisit.com/
never tried it though, and it seems it does exactly the same than the custom archivelog shipping scripts, with some GUI on top of it -
Switchover of a manual standby database (no data guard)
Hi all,
I have a standby database .
I am using Oracle Standard Edition 10.2.0.4 / 10.2.0.5 so I have build a manual standby .
I am able to do a failover in the case something goes wrong; I was thinking if it is possible to do a manual switchover . and failback.
Do you thick that mounting the primary database and applying ALL archivelogs and online redolog to the standby database is enough ?
Do you think this is a supported operation?
How can I check the current scn of a mounted database? (v$database.current_scn shows 0 until the database is opened )
thnk you for every answer
Andreahelter_skelter wrote:
hi,
You can see current_scn of standby database in v$database.current_scn. It is null only on primary database if it's in mount state.that's the problem: I am unable to mount both database and to check they have the same current_scn
not all changes are written to ARL so you can't recover standby database to exact the same SCN as primaryI thinks this is because the last changes are only recorder in online redolog, so I was thinking that a possible way to simulate a clean switchover could be as follow:
1 - shutdown immediate the primary database on server prod1
2 - shutdown abort the (manual) standby database on server dr2
3 - copy archivelog, controlfiles, tempfiles, onlinelogs from primary to the standby database
3 - copy controlfiles from standby database to primary database
4 - open the database on server dr2. It should open "read write" cleanly (mount + recover from archivelog + recover from onlinelog + open noresetlogs )
5 - mount the database on server prod1. It should mount as a physical standby database.
What do you think about it?
thanks,
andrea -
Manual Standby Database from EE to SE1
Can I do a Manual Standby Database from Oracle Enterprise edition (EE) to Oracle Standard Edition One (SE1)?
Hi,
You can created a manual standby for EE, But you need to purchase a seperate licence for standby database also.
See oracle licencing manul in oracle documentation.
Thanks and Regards,
Satish.G.S -
How to shift Manual Standby Database to Primary Database
Hi all,
My Database edition is Oracle 10G standard Edition and runing 24X7 and configure Manual Stand by Database. if I were changing some iniliazation parameter and datafiles.
What can I do ?
i) How to swift the Manual Stand by Database to Primary Database.
ii) What is the procedure by step by step information need.
Regards.....If you're using a Manual Standby Database I assume you are using a pfile to apply the archived logs transported from the primary database created while creating the Manual Standard. at that time you should have kept the spfile in place too.
If you have done this, then you can simply open an SQL*Plus session connect as sysdba and issue a simple STARTUP command.
This will use the SPFILE by default and your database will be opened normally.
But if you don't have an SPFILE you can always create one, just specify the necessary control files (not the standby control file) in your pfile, remove unwanted parameters and create the spfile, and use the same step as above and issue a STARTUP.
But once you open your standby database normally you will not be able to switch back to standby mode, you have to recreate it again from a cold backup and create a new standby control file.
Regards,
Tony
Maybe you are looking for
-
Problem importing keywords from bridge
I have a .mrw image that I use Bridge CS3 to add four keywords a,b,c,d. When I view them in Bridge it shows the four keywords checked. I looked at the XMP file with wordpad and see them there as well. When I import the xmp file under Lightroom only k
-
Hi, Am trying to invoke BPEL1 from BPEL2 which are lying in different projects in the same application. When I try to invoke the webservice on the partnerlink side am getting the following error: <messages> <input> <Invoke1_process_InputVariable> <pa
-
Canon IP1700 network connection to a windows pc how to?
I have a windows pc with an IP1700 connected to it, I want to allow my macbook to network print to the printer, The macbook can see the ip1700 just fine, however, I does not have a driver for it. I downloaded the diver for osx from canon, its not a d
-
I keep loosing calendar history, what am I doing wrong
I got my iPad and iPhone around February and have noticed a few times that the calendar history vanishes. At the moment I only have the last two months. Where has the rest gone? Do I need to change something in my settings? Can I get it back? Help ap
-
Finding FM/BAPI/RFC for Create Inbound Delivery(vl31n).
Hi all, i need for a FM/BAPI/RFC for Create Inbound Delivery(vl31n) or ASN where in import Parameter i have to pass - *vendor no* *PO no* *External ID no* *Delivery date* *TransPlanngDate* *BillOfLad* *GR/GI Slip* in Export i need ASN no and in table