Doubts on the eve of the database

Hi all

I have some doubts in Oracle Standby database configuration and redo and log transfer apply.

I read the document below.
Oracle® data protection Concepts and Administration

Now my doubts are *(in Physical standby database with Maximum performance mode) *.

1. when the configuration of the standby database we create redologs pending in the database primary, is Eve redologs are used only when the role transition is happening or for any other purpose?

2. archivelogs are shipped from primary to standby and the archivelogs are applied to the standby database by performing the normal resumption of media. Now, how and when the data is written to the standby database redologfiles, so that when we allow real time apply it using the redologfile waiting for database to apply the data without delay?

3. (if the latter is true) in the standby database it will generate the Archivelogfiles to redo applied, apart from the primary archivelogs transferred?

Please advice...

TIA,

Right, so the day before DB is updated, i.e. There is no space archive.

Kind regards
S.K.

Tags: Database

Similar Questions

  • doubts in the database using backup controlfile recovery.

    Hi gurus,

    I have a doubt in database recovery using backup controlfile.

    I do not speak of "ORA-01207: file is newer than the control file - old control file.

    Here, any of our files archive / redo log have been lost and the problem of lack of update in the control file.

    So why open the database in resetlogs option, after recovering the database by using a backup controlfile. ?

    Thanks in advance

    Mahi

    In order to maintain the consistency of the data, the RCS should be the same in all the files of the controlfile & file REDO data current.

    By definition when you use 'backup controlfile' there a SNA expired in it.

    RESETLOG requires the RCS to 1 in order to get consistency across all files in the database.

    CREATE CONTROLFILE fills this new file with the most recent SNA that exist in the data files.

    It's just the way Oracle has been implemented.

  • a doubt on the database link

    Hi all

    I use 10.2.0.1.0 oracle.

    I had 2 databases named ( ora1, ora2 ).
    in fact, I have to connect to ora1 and to use tables, procedures exist in ora2.

    So, I've created database ora2 as database link:

    CREATE DATABASE LINK ora2_test
    CONNECT to ora1_user
    IDENTIFIED BY ora1_password
    Using of "ora1";

    Here is ora2_test name of the database link.

    Am I wrong?

    I am connected to ora1 as
    connect ora1_user/ora1_password@ora1;
    Select * from redg@ora2_test;

    but I get the error message.

    Any help please.
    Thank you

    Please post the answer as correct/useful.

    Asif kabir

  • Want to migrate the database (4node RAC) size of 4 TB of 10.2.0.5 at 11.2.0.4 on the new servers where the new type servers Primary (4 nodes) and Eve (4 nodes).

    Want to migrate the database (4node RAC) 4 TB size of 10.2.0.5(8 rompt = 4 prim/4 veille) to 11.2.0.4 on the new servers where the new type servers Primary (4 nodes) and Eve (4 nodes).  So with minimum downtime I have restore and recover again on 11.2.0.4 server must then clone that to create the day before.   Here, my question is can I take 0 backupp level before hand and restore on target (new) then primary at the time to leave the downtime take backup of level 1 of 10g and then retrieve it on 11g (new server) after successful recovery I'll perform clone to form eve of database on the new server. does this strategy work? If it works, can someone suggest me steps how can I need recover with backup after restoring the backup of level 0 on 11g. Like should I upgrade before you retrieve it with level 1 backup or I can update and then recover with the level 1 backup from the old server to the new server.

    Here is former servers of RHEL 5 version and new servers are RHEL 6 release.

    Post edited by: Umair_ali

    1 backup L0

    2 restore L0

    3. L1 and ArchiveLogs database backup

    4. copy BackupPieces L1 and ArchiveLog BackupPieces on new server

    5 CATALOGUE START WITH... to catalog the BackupPieces

    6. TOGETHER until lastavailable SNA / Archivelog + 1

    7 RECOVER DATABASE (should automatically identify the L1s and to apply ArchiveLogs)

    8 STOP

    9 START UPGRADE

    10. run catupgrd.sql

    You should also take care on the locations of the data file, dump, instance settings destinations, all link database from the database, connectivity application etc.

    Hemant K Collette

  • em12cr3 showing on the eve of the database problems

    Oracle Enterprise Manager 12.1.0.3

    Oracle RDBMS 11.2.0.4

    I recently installed this very with a CMS and database repository on a server.

    I added a cluster that has the database open as well as a database of pending which is in Mount that we do not use Active Data Guard.

    To use EM with a vigil in the mount, the connection must be an account with SYSDBA.   On the eve of one indicates the Type

    Cluster - physical Standby database.  It appears, however, with a Collection error metric for its database system, and I don't see why.

    I moved add another cluster that also has opened with two STANDBYS in mount databases.

    These guys, shows to monitor the credentials as dbsnmp and won't let me change it to SYS - this column is grayed out.

    It did not work in 12.1.0.2 without problem, I'm just limited on the standby located in Mont - I agree with that.

    I tried to drop and add because sometimes works with EM.

    I tried emcli, as follows:

    emcli get_targets | grep tecmop

    0 oracle_database tecmop_tecmop1

    0 oracle_database tecmop_tecmop2

    2 tecmop_sys of metric oracle_dbsys collective

    2 metric rac_database tecmop community

    $ emcli set_monitoring_credential-target_name = "tecmop'-'rac_database' = target_type - set_name ="DBCreds"- cred_type ="DBCreds"- attributes = 'DBUserName:sys; DBRole:sysdba; DBPassword:mypswd ".

    Follow-up of the credential set successfully.

    This no longer works.

    I opened a SR but have not had a response yet (it was a few hours).  Maybe someone here has an idea to try?

    After all this...  Here is the ANSWER.

    When standby is added to the EM, its composition is moved under the primary database system and database backup system is put in blackout.

    The backup of database system is not necessary and must be deleted manually.  The GUI returns an error, then emcli:

    emcli delete_target-name = "trptwp_sys" - type = "oracle_dbsys".

    should be used to remove it.

    It is a "expected behavior", although I'm not sure that it should! Not me because this happened to 12.1.0.2.

    In any case, I hope that manually delete the backup of database systems are in agreement and they are not necessary for what.

  • Temporarily disable sending on the eve of the database of newspapers

    All,

    I have 3 node RAC primary database and RAC 3 node backup database.
    Oracle version is 10.2.0.4.0 on Sun Solaris.
    We use pending through LGWR log shipping, database and auto is in maximum performance mode.

    We plan to run critical processes of a lot which is strongly oriented as CPU consumption of resources and memory consumption. It runs for 10 hours with set of stored procedures.

    To provide resources to this process of batch processing, front-end applications will be stop (completely time to users).

    Question 1_

    It is recommended to stop log shipping on the eve of the database during batch processing. Once the batch is finished, activate standby mode.

    I'm new to this environment before. I went through the documentation and I've identified the steps below to perform the above task.

    "" 1) before the batch, run the following command in primary education - alter system set log_archive_dest_state_2 = reporter scope = the two sid = ' * '; This will temporarily stop log shipping on the eve of the database.
    (2) run the lots for 10 hours. Depending on the size of FRA available are the rates of production of the journal, we have enough space to resist the newspapers for 3 days.
    "" (3) when the batch is finished, I will exercise the command at primary level - below alter system set log_archive_dest_state_2 = enable scope = both sid = ' * ';

    After step 3, I guess that all arrears of logs in the meantime to primaries will be transferred automatically at startup of the database and applied.

    My above assumption is correct and did, I missed milestones.

    Question 2_

    Before the batch, we'll take hot full backup with RMAN.
    If something goes wrong with a batch, we plan to restore and reset the logs. Here, no recovery is necessary. This approach is very good. any other better solution.

    My questions can be very basic, since I don't have custody of data set up in sleep mode, I'm not able to test it. I need your help when reviewing above steps and suggestions / corrections.

    Hey Buddy,

    Question 1

    It is recommended to stop log shipping on the eve of the database during batch processing. Once the batch > process is finished, activate it in standby mode.

    I'm new to this environment before. I went through the documentation and I've identified the steps below to perform the above task.

    "" 1) before the batch, run the following command in primary education - alter system set log_archive_dest_state_2 = reporter > scope = the two sid = ' * '; This will temporarily stop log shipping on the eve of the database.
    (2) run the lots for 10 hours. Depending on the size of FRA available are the rates of production of the journal, we have enough space > to withstand the newspapers for 3 days.
    "" (3) when the batch is finished, I will exercise the command at primary level - below alter system set log_archive_dest_state_2 = enable scope = both sid = ' * ';

    After step 3, I guess that all arrears of logs in the meantime to primaries will be transferred automatically at startup of the database and applied.

    My above assumption is correct and did, I missed milestones.

    I guess it's safer if you also include a step 1.1, which continues the redo apply processes. "alter database recover managed standby database cancel;

    If all archive logs are on the primary server, as soon as you raise the environment (activate the log_archive_dest and start posting), your stand will ask for the records it needs.

    After a long period without applying redo, you also have the option to use a backup incremental rman to 'transfer' the day before [RMAN incremental backup to roll forward using a Physical Standby Database | http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/scenarios.htm#CIHIAADC]

    Question 2

    Before the batch, we'll take hot full backup with RMAN.
    If something goes wrong with a batch, we plan to restore and reset the logs. Here, no recovery is necessary. > This approach very well. any other better solution.

    My questions can be very basic, since I don't have custody of data set up in sleep mode, I'm not able to test it. I need your help when reviewing above steps and suggestions / corrections.

    If I were you, in the event of an error, I'd just use database flashback instead of open primary with resetlogs. Have a look here [Using Flashback Database after the issuance of a statement Open of Resetlogs | http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/scenarios.htm#i1049616] to get an idea about this process and also read notes metalink 728374.1 and 824213.1.

    It will be useful,
    Cerreia

  • Backup of the database of the eve

    I backup my primary database (11.2.0.3) every night with RMAN - no problem. I also have a database of pending. Should I be back up the standby database too?

    If I should be back up, it causes a problem, save the database in the RMAN catalog? Even if the db_unique_name is different, it always has the same DBID.

    Thank you

    Hello

    the backup database is an identical copy of the primary database block.
    Therefore, simply to save one of the two (you can choose to only save the day before, however, if you want to load on the primary leigthen). But if you are uncomfortable with the primary backup, it is not necessary for the safeguarding of the day before. (Since you can recreate the primary backup before).

    The only important part, is that you use the RMAN catalog. Then only known RMAN, the two are identical and can use the same backup.

    So:
    a.) primary backup is enough
    (b) If you save both, there will be no problem in the RMAN catalog, because RMAN knows that it is the same database.

    Concerning
    Sebastian

  • difference between the eve of the database and primary database

    can someone tell me the difference between the database and the database of relief in simple layman's language...

    Thanks in advance

    The primary database is the active production database.
    STANDBY database is a database backup (or read-only).
    Basically, the database pending is in power of the primary database (mechanism depends on the type of sleep) where users are connected to.

    Nicolas.

  • Not able to put on the eve of the database

    Hello

    I have a prod database configured with the physics of the standby database.

    Due to the restart of the server, database is down and then came to read only mode.

    I can connect to standby from the Production Server by following the path

    Conn sys/password@portalstby as sysdba

    After I made the database down when I start the datbase to mount the stage, it gives the following error.

    SQL > shutdown immediate;
    The database is closed.
    The database is dismounted.
    ORACLE instance stops.
    SQL > startup nomount
    ORA-28547: connection to the server has failed, probable Oracle Net admin error
    SQL > startup mount
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist

    Please advice

    Arun Kumar

    Check that out and see if it helps. He was making the same mistake with you.
    Unable to connect to Oracle using the OS authentication (sqlplus / as sysdba)

    He put the path to the main Oracle_Home\bin road

  • What is better to use the database or persistence.

    Hello friends,

    I have a doubt in relation to the use of the database and persistence.

    I'm working on an application based on OS_v5.0, I use a database to store my data or persistence.

    While it will be better to use as prospect of memory and speed.

    Thank you

    There is no right answer here.  Include critical factors

    (a) the data structure - is that he opposes or ranks

    (b) the size of the data,

    (c) how the data should be used

    (d) what coding effort, you are willing to put in.

    You must weigh all these factors before making a decision.

    Maybe you can give some pointers in each of these areas and we can suggest how we were?

  • Physical movement of the databases using Data Guard

    Hi all

    We need to move our equipment to a new physical location.

    Our production database (11.2.0.4) is replicated to another computer using dataguard (MaxAvailability mode)

    The plan was to move the machine SRD first Monday, then the database of production during the next weekend.

    Do you have an idea how to do a 'pause' the replication when the move will take place for two servers?

    We do not want to do a failover because the production should not be available over the weekend.

    Thanks in advance,

    Renaud

    Do you have an idea how to do a 'pause' the replication when the move will take place for two servers?

    There is no such method of the break, but you could defer the primary log shipping to wait.

    ALTER system set log_archive_dest_state_2 = reporter; #assuming that log_archive_dest_2 on the primary it again waiting for ships

    But, you must make sure that the archives on the primary are not lost or deleted after reporter such as these are not available on standby.

    Once you 'enable' the destination deferred, Eve should automatically catch up with the primary.

    -Jonathan Rolland

  • Waiting for redo log file missing when restore main database using RMAN backup that was taken on the database physical standby

    Here's my question after tons of research and test without have the right solutions.

    Target:

    (1) I have a 12.1.0.2 database unique main enterprise 'testdb' as database instance running on the server "node1".

    (2) I created physical standby database "stbydb" on the server "node2".

    (3) DataGuard running on the mode of MaxAvailability (SYNC) with roll forward in real time 12 default c apply.

    (4) primary database has 3 groups of one-man redo. (/oraredo/testdb/redo01.log redo02.log redo03.log)

    (5) I've created 4 standby redo logfiles (/oraredo/testdb/stby01.log stby02.log stby03.log stby04.log)

    (6) I do RMAN backup (database and archivelog) on the site of relief only.

    (7) I want to use this backup for full restore of the database on the primary database.

    He is a DR test to simulate the scenario that has lost every primary & Eve total servers.

    Here is how to save, on the database pending:

    (1) performance 'alter database recover managed standby database Cancel' to ensure that compatible data files

    (2) RMAN > backup database;

    (3) RMAN > backup archivelog all;

    I got elements of backup and copied to primary db Server something like:

    /Home/Oracle/backupset/o1_mf_nnndf_TAG20151002T133329_c0xq099p_.BKP (data files)

    /Home/Oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.BKP (spfile & controlfile)

    /Home/Oracle/backupset/o1_mf_annnn_TAG20151002T133357_c0xq15xf_.BKP (archivelogs)

    So here's how to restore, on the main site:

    I clean all the files (data files, controlfiles oder all gone).

    (1) restore spfile from pfile

    RMAN > startup nomount

    RMAN > restore spfile from pfile ' / home/oracle/pfile.txt' to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    (2) modify pfile to convert to db primary content. pFile shows below

    *.audit_file_dest='/opt/Oracle/DB/admin/testdb/adump '

    * .audit_trail = "db".

    * full = '12.1.0.2.0'

    *.control_files='/oradata/testdb/control01.ctl','/orafra/testdb/control02.ctl'

    * .db_block_size = 8192

    * .db_domain = "

    *.db_file_name_convert='/testdb/','/testdb /'

    * .db_name = "testdb".

    * .db_recovery_file_dest ='/ orafra'

    * .db_recovery_file_dest_size = 10737418240

    * .db_unique_name = "testdb".

    *.diagnostic_dest='/opt/Oracle/DB '

    * .fal_server = "stbydb".

    * .log_archive_config = 'dg_config = (testdb, stbydb)'

    * .log_archive_dest_2 = "service = stbydb SYNC valid_for = (ONLINE_LOGFILE, PRIMARY_ROLE) db_unique_name = stbydb'"

    * .log_archive_dest_state_2 = 'ENABLE '.

    *.log_file_name_convert='/testdb/','/testdb /'

    * .memory_target = 1800 m

    * .open_cursors = 300

    * runoff = 300

    * .remote_login_passwordfile = "EXCLUSIVE."

    * .standby_file_management = "AUTO".

    * .undo_tablespace = "UNDOTBS1.

    (3) restart db with updated file pfile

    SQLPLUS > create spfile from pfile='/home/oracle/pfile.txt'

    SQLPLUS > the judgment

    SQLPLUS > startup nomount

    (4) restore controlfile

    RMAN > restore primary controlfile to ' / home/oracle/backupset/o1_mf_ncsnf_TAG20151002T133329_c0xq0sgz_.bkp';

    RMAN > change the editing of the database

    (5) all elements of backup catalog

    RMAN > catalog starts by ' / home/oracle/backupset / '.

    (6) restore and recover the database

    RMAN > restore database;

    RMAN > recover database until the SNA XXXXXX; (this YVERT is the maximum in archivelog backups that extends beyond the scn of the backup of the data file)

    (7) open resetlogs

    RMAN > alter database open resetlogs;

    Everything seems perfect, except one of the file log roll forward pending is not generated

    SQL > select * from v$ standby_log;

    ERROR:

    ORA-00308: cannot open archived log ' / oraredo/testdb/stby01.log'

    ORA-27037: unable to get file status

    Linux-x86_64 error: 2: no such file or directory

    Additional information: 3

    no selected line

    I intended to use the same backup to restore primary basic & helps record traffic and the downtime between them in the world of real output.

    So I have exactly the same steps (except STANDBY restore CONTROLFILE and not recover after database restore) to restore the database pending.

    And I got the same missing log file.

    The problem is:

    (1) complete alert.log filled with this error, not the concern here

    (2) now repeat it in real time apply won't work since the Party shall LGWR shows always "WAITING_FOR_LOG."

    (3) I can't delete and re-create this log file

    Then I tried several and found:

    The missing standby logfile was still 'ACTIVE' at present RMAN backup was made.

    For example, on db standby, under Group #4 (stby01.log) would be lost after the restoration.

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 19 ACTIVE 133632

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    So until I take the backup, I tried on the primary database:

    SQL > alter system set log_archive_dest_state_2 = delay;

    This was the Group of standby_log side Eve #4 was released:

    SQL > select GROUP #, SEQUENCE #, USE (s), the STATUS from v$ standby_log;

    GROUP # SEQUENCE # USED STATUS

    ---------- ---------- ---------- ----------

    4 0 0 UNASSIGNED

    5 0 0 UNASSIGNED

    6 0 0 not ASSIGNED

    7 0 0 UNASSIGNED

    Then, the backup has been restored correctly without missing standby logfile.

    However, to change this primary database means break DataGuard protection when you perform the backup. It's not accept on the production environment.

    Finally, my real questions come:

    (1) what I do may not do on parameter change?

    (2) I know I can re-create the control file to redo before delete and then recreate after. Is there any simple/fast to avoid the standby logfile lost or recreate the lost one?

    I understand that there are a number of ways to circumvent this. Something to keep a copy of the log file waiting restoration progress and copy up one missing, etc, etc...

    And yes I always have done no real-time applies "to the aid of archived logfile" but is also not accept mode of protection of production.

    I just want proof that the design (which is displayed in a few oracle doc Doc ID 602299.1 is one of those) that backs up data backup works effectively and can be used to restore the two site. And it may be without spending more time to resume backups or put the load on the primary database to create the database before.

    Your idea is very much appreciated.

    Thank you!

    Hello

    1--> when I take via RMAN backup, RMAN does not redo log (ORL or SRL) file, so we cannot expect ORLs or SRL would be restored.

    2nd--> when we opened the ORL database should be deleted and created

    3rd--> Expecting, SRL should not be an issue.we should be able to do away with the fall.

    DR sys@cdb01 SQL > select THREAD #, SEQUENCE #, GROUP #, STATUS from v$ standby_log;

    THREAD # SEQUENCE # GROUP # STATUS

    ---------- ---------- ---------- ----------

    1 233 4 ACTIVE

    1 238 5 ACTIVE

    DR sys@cdb01 SQL > select * from v$ logfile;

    GROUP # STATUS TYPE MEMBER IS_ CON_ID

    ---------- ------- ------- ------------------------------ --- ----------

    3 /u03/cdb01/cdb01/redo03.log no. 0 online

    /U03/cdb01/cdb01/redo02.log no. 0 2 online

    1 /u03/cdb01/cdb01/redo01.log no. 0 online

    4 /u03/cdb01/cdb01/stdredo01.log WATCH No. 0

    /U03/cdb01/cdb01/stdredo02.log EVE 5 No. 0

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    method: cannot access the /u03/cdb01/cdb01/stdredo01.log: no such file or directory

    DR sys@cdb01 SQL >! ls - ltr /u03/cdb01/cdb01/stdredo02.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:32 /u03/cdb01/cdb01/stdredo02.log

    DR sys@cdb01 SQL > alter database force claire logfile 4;

    change the database group claire logfile 4

    *

    ERROR on line 1:

    ORA-01156: recovery or current flashback may need access to files

    DR sys@cdb01 SQL > alter database recover managed standby database cancel;

    Database altered.

    DR sys@cdb01 SQL > change the database group claire logfile 4;

    Database altered.

    DR sys@cdb01 SQL > ! ls - ltr /u03/cdb01/cdb01/stdredo01.log

    -rw - r-. 1 oracle oinstall 52429312 17 Oct 15:33 /u03/cdb01/cdb01/stdredo01.log

    DR sys@cdb01 SQL >

    If you do, you can recreate the controlfile without waiting for redo log entry...

    If you still think it's something is not acceptable, you must have SR with support to analyze why he does not abandon SRL when controlfile_type is "underway".

    Thank you

  • How to get down the database since the failure of the upgrade in case of physical standby

    Hi people,

    Can you please tell me how to get down the has no upgrade in case of physical standby database?

    Kind regards

    Taoqir

    The generic steps to upgrade db at the dg environment

    1. stop the database pending the application of recovery logs

    2. stop the recovery of his expedition logs

    3. upgrade the primary database server executable files

    4 level database server executable files shall ensure that

    5. switch to the main database using DBUA or upgrade scripts

    6 mount the backup database

    7 reactivate shipping again Eve elementary school

    8 restart the recovery process run on the standby database again progress apply

  • change ip address of the database servers primary and standby

    Hello.

    I have an oracle server primary and backup (version 11.2.0.4) on windows 8 profesional.

    They work well until today.

    Today, I had to change my ip address on both servers.

    After that I changed the ip address of the OS, I changed the ip address in tnsnames.ora and listener.ora files only.

    A moment that everything worked well. But now the archivelog files not copy to the standby server.

    Is there a place where I have to change ip or the settings on the database?

    Please, I hope you can help me.

    Best regards

    Hello

    After that I changed the ip address of the OS, I changed the ip address in tnsnames.ora and listener.ora files only.

    A moment that everything worked well. But now the archivelog files not copy to the standby server.

    1. If it worked for a while after the change of ip address

    3. make sure your journal alerts, what it says? information about the error?

    2. first thing ipadress sequenced in tnsnames.ora and listener.ora on primary and standby

    3. check ping to the host-level work and tnpsing is reached or not. If both are working check listeners are up or not and they are able to identify the services of db, registered or not.

    4. now, connect as sysdba password on the servers file

    5 check v$ achive_Dest_status for valid or relevant destination which is assistance for the transfer of the archives of primary Eve (the error column)

    -Not especially to knew what the problem is, you should get the controls.

    -Pavan Kumar N

  • Restore the database to the fallback location

    Hi all

    9i

    RHEL5

    I'm doing to restore the database to the startup location.

    Copy the components of backup on the remote server (same directory).

    RMAN target / auxiliary sys/change_on_install@STANDBY


    Release of Recovery Manager: 9.0.1.1.0 - 64 bit Production

    (c) Copyright 2001 Oracle Corporation. All rights reserved.

    connected to target database: PROD (DBID = 3261937922)

    connected to the auxiliary database: PROD (not mounted)

    Run this command on the side of PROD or side Server backup server?

    He also mentioned @STANDBY, but it has not mentioned in the steps of the process to add the name of WATCH service in TNSNAMES.ora?

    Thank you very much

    JC

    Hello Jenna_c

    I suppose that you created a controlfile to standby to primary (SQL > alter database create standby controlfile as ' / tmp/stby.ctl '; in primary, then copy it to sleep)

    and you have been used for the standby instance nomount (with the settings standby.ora... file) and restore it from the last backup, if you have a backup tape of stb you can restore backup site, if you have a backup to disk, it must be accessible on the same path to the backup site. (NO RECOVERY)...

    Then you have an instance of State nomount standby:

    SQL > alter database base_de_donnees eve of Mount;

    Here, you can create the redologs Eve... it is not mandatory...

    SQL > alter database add standby logfile group 11 ('/ u01/apps/oracle/oradata/STANDBY_redo_11a.dbf',)

    u02/apps/Oracle/oradata/STANDBY_redo_11b.dbf') size 100 M;

    SQL > alter database add standby logfile Group 12 ('/ u01/apps/oracle/oradata/STANDBY_redo_12a.dbf',)

    u02/apps/Oracle/oradata/STANDBY_redo_12b.dbf') size 100 M;

    SQL > alter database add standby logfile Group 13 ('/ u01/apps/oracle/oradata/STANDBY_redo_13a.dbf',)

    u02/apps/Oracle/oradata/STANDBY_redo_13b.dbf') size 100 M;

    SQL > alter system set standby_file_management = auto; (throwing in the primary and standby)

    then, we put an instance ensures in recovery mode:

    SQL > change database recovery managed standby database disconnect from the session.

    in the primary, we check status of dest archive remotely.

    Select * from v$ archive_dest_status;

    sleep mode check us status of recovery:

    SQL > select process, status from v$ managed_standby;

    Kind regards.

Maybe you are looking for