Re-instantiate a primary database with 10 g Release 1

How can you re-instiate the primary database with 10g Release 1. I'm studying how the failover process works and have switched successfully to a wait.

I want now to re-instantiate the primary... I know in Release 2 there is a re-instantiate DGMGRL command... but the command is not in Release 1 that I can see.

Hello

You must do it manually

Tags: Database

Similar Questions

  • update the primary database with the old system dump export received the YVERT error

    Here is the error message:
    ORA-31684: SYNONYM object type: 'SYSTEM '. "" SYSFILES "already exists
    ORA-31684: SYNONYM object type: 'SYSTEM '. "" TAB "already exists
    ORA-31684: SYNONYM object type: 'SYSTEM '. "' TABQUOTAS ' already exists
    ORA-31684: SYNONYM object type: 'SYSTEM '. "" PRODUCT_USER_PROFILE ' already exists
    DATABASE_EXPORT/SCHEMA/TYPE/TYPE_SPEC processing object type
    ORA-31684: type of the object TYPE: "SYSTEM". "" REPCAT$ _OBJECT_NULL_VECTOR ' already exists
    Treatment of type of object DATABASE_EXPORT, SYSTEM_PROCOBJACT, PRE_SYSTEM_ACTIONS, PROCACT_SYSTEM
    Cannot set a bigger than the current SNA SNA. If a configuration Capture stream was then imported the application that processes the captured messages must be deleted and re-created. See My Oracle Support 1380295.1.
    Treatment of type of object DATABASE_EXPORT/SYSTEM_PROCOBJACT/PROCOBJ
    ORA-39083: Type THAT PROCOBJ cannot be created with the object error:
    ORA-29357: SYSTEM_PLAN object already exists
    Because sql is:
    BEGIN
    dbms_resource_manager.create_plan ('SYSTEM_PLAN', 'Plan focus on system sessions', 'FOCUS', 'ACTIVE_SESS_POOL_ABSOLUTE', 'PARALLEL_DEGREE_LIMIT_ABSOLUTE', 'FIFO_TIMEOUT'); COMMIT; END;


    NEW RAC system is redhat linux 5, db version 1120301.
    old system is a database on aix, version is 11.2.01

    by export file:
    Full = directory = data_pump_dir dumpfile=exp_full_%U.dmp logfile = exp_full.log filesize = 11000 m FLASHBACK_TIME = systimestamp

    import file is:

    Full directory = y = data_pump_dir dumpfile=exp_full_%U.dmp logfile = parallel imp_full.log = 8
    ~

    This seems to be what I tried to say a few hours back.

    I probably give up at this point and take a step back and rethink this.

    Anything worth doing worth do right.

    Really. Stop, think and plan.

    Stop waiting for someone to tell you what you want to hear.

    Best regards

    mseberg

  • I used to work with Interbase and Firebird and used databases the keyword "domain". I am now switchig to Oracle as a primary database and would like to find an alternative appropriate "domain" in Oracle, as it appears he does ' t taken in charge the stand

    I used to work with Interbase and Firebird and used databases the keyword "domain".

    I am now switchig to Oracle as a primary database and would like to find a suitable

    Variant of 'area' in Oracle such that it appears he does ' t support the standard SQL syntax.

    for example:

    Create the int2 smallint field;

    create domain id2 int2 default 0 not NULL; / * for the primary key * /.

    create domain rel2 int2 default 0 not NULL; / * foreign key * /.

    I tried a couple of approaches to achieve this "area" is:

    1. create synonym - cannot be used with the basic types;

    2. create the type - type of work, but the implementation is rather clumsy

    and can be costly in terms of performance.

    Is there something else to Oracle that can emulate the feature "domain"?

    Thanks in advence, I got really approciate any help on this.

    Alex.

    Your best approximation is CREATE TYPE, but their is nothing of what is a 100% adjustment.

    For example, if you create a domain with a check constraint you need to implement than separately on each table.

  • No index on the primary database. Need help with "COUNT OFF"; option

    11 GR 2 11.2.0.3 under linux

    Hi everyone,.

    It's an honor to be with you guys.

    I have a big question here and I am unable to decide on a permanent solution.

    We have a primary database that is configured to have a logical expectation.

    The logic of the day before was not built by me. But I'm now support...

    So as the title suggests, there is NO primary index / unique + not null on a large number of tables in the database of emergency primary/logic. But the application logic guarantees uniqueness values rather than null.

    Here is where the problem starts.

    Guys request DO NOT want us to create an index on the primary database.

    According to my understanding, because the database lack of clues, the apply SQL must do a full table scan whenever it changes / remove data. It is a very expensive process and consumes a lot of time. This takes hours together to apply a minute with a value of newspapers on the logic of the eve... A huge lag is created during the hours and is not acceptable.

    So as I told you earlier, the guys request do not want an index on the tables not supported.

    They use the database pending logic exclusively for information purposes and it's like production for them...


    Let me give an overview...

    According to the document on the creation of the logic of the day before for 11.2 as below

    http://docs.Oracle.com/CD/E11882_01/server.112/e41134/create_ls.htm#SBYDB4730

    Step 1 to find tables without identifying unique logic in the primary database.

    Query the DBA_LOGSTDBY_NOT_UNIQUE view to display a list of tables SQL may not apply be able to uniquely identify. For example:

    SQL> SELECT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_NOT_UNIQUE
     2> WHERE (OWNER, TABLE_NAME) NOT IN 
    3> (SELECT DISTINCT OWNER, TABLE_NAME FROM DBA_LOGSTDBY_UNSUPPORTED) 
    4> AND BAD_COLUMN = 'Y'; 

    The above query has 1040 tables in a particular schema. All the these have no index is not null primary / unique.


    Now according to the step 2 as below, we have an option to add a disabled RELY primary key constraint.

    Step 2 Add a disabled RELY primary key constraint.

    If your application provides the rows in a table are unique, you can create a primary key disabled RELY constraint on the table. This avoids the overhead of maintaining a primary key on the primary database.

    Can someone explain what this RELY constraint is disabled and how to function and help please?


    I have a few questions about the constraint to RELY.

    (1) change current plans of optimizer on primary for the execution price?

    (2) can help to boost the performance of SQL apply without creating index on the logical standby database?

    (3) it will change current plans of optimizer logical pending for the SQLs running?

    What are the options that I need to increase the performance and table scan complete engine AVOID SQL apply on the logic of the day before?

    Thanks a ton for reading my post.


    Kind regards

    Abhishek

    In fact, I've implemented a key primary rely disabled on primary and unique index on the logic of the previous day.

    The logic of Eve runs lightning fast now

  • backup rman design database with phsical ensures

    Hello

    12 c database, after physical expectation is created, I need backup rman configuration,

    The goal is: a) backup of database b) remove archivelogs that have been backed up, free up space FRA.

    Design as below:

    1:

    in RMAN (primary and standby):
    RMAN >
    Configure controlfile autobackup on;
    set the type of backup device type disk compressed backupset;
    CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY;


    2: primary school:
    RMAN > CONFIGURE RETENTION POLICY to the 5 DAY RECOVERY WINDOW;

    3: in priamry, turn on track changes to block

    4: primary, implemented since rman level 0 (full backup) on Sunday.

    5: in the primary, the installation program rman level 1 backup from Monday to Saturday.

    6: primary, set up since rman "save archive backup delete them all obsolete" every hour;

    questions here:

    1. as in step 5, for the protection of the o and delete archivelog, the script using:

    Run {}
    allocate channel d1 type disk;
    SQL 'alter system archive log current';
    overlap archivelog all;
    backup AS COMPRESSED BACKUPSET archivelog all delete them all input;
    output channel d1;
    }

    I wonder if ' archivelog all delete all entries "will delete archivelog which was not taken on the eve of the database and broken standby database

    (hanging and out-of-sync with primary)... it is a concern, is that possible?

    2. If the primary database crashed, failover to standby mode, then restore/recovery primary, switch back to the primary, this design is just? If you have any good suggestions, please let me know.

    (to put it simply, I don't want to full/incremental backup to install standby, primary server CPU is good enough)

    Thank you very much!

    A few brief notes worth a visit:

    Based on Oracle 11 g Data Guard for the backup database and restore

    http://www.databasejournal.com/features/Oracle/article.php/3830766/leveraging-Oracle-11g-Data-Guard-for-database-backup-and-recovery.htm

    Standby database using RMAN

    http://Arup.blogspot.com/2007/07/standby-database-using-RMAN.html

    Best regards

    mseberg

  • DataGuard passage failed: impossible to failover, primary database is always "PRIM".

    Hi all


    DataGuard digital switchover is Getting failed with the below error:

    DGMGRL > passage to the "dry";

    Continue to pass, please wait...

    Error: ORA-16664: impossible to receive the result of a database

    Failed.

    Impossible to failover, primary database is always "PRIM".

    Note:it comes to node unique database with physical styandby.

    =====================================================

    In alert log file provides, I am getting below the error during the failover operation:

    Fatal OR connect 12514 error, connect to:

    (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=rac1.localdomain)(PORT=1524)))(CONNECT_DATA=(SERVICE_NAME=PRIM_DGB)(INSTANCE_NAME=PRIM)(CID=(PROGRAM=oracle)(HOST=rac2.localdomain)(USER=oracle)))

    Please suggest to solve this problem.

    Thank you.

    Problem is fixed - value StaticConnectIdentifier checked to a database of primary and standby in dgmgrl ==> primary port and standby was wrong wrt to the listening port value.

    Step 1 > error ORA-16664 and ora-12514

    ==> check StaticConnectIdentifier value for a primary database and a standby in dgmgrl ==> primary port and standby had value default IE 1521

    Primary:

    SEE THE VERBOSE "PRIM" DATABASE

    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=rac1.localdomain) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = PRIM_DGMGRL) (INSTANCE_NAME = PRIM)(SERVER=DEDICATED)))'

    Standby time:

    SEE THE DETAILED "DRY" DATABASE

    StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=rac2.localdomain) (PORT = 1521)) (CONNECT_DATA = (SERVICE_NAME = SEC_DGMGRL)(INSTANCE_NAME=SEC) (SERVER = DEDICATED)

    Step 2 > listening port for the primary and standby is 1524 and 1525, so change these manually.

    Primary:

    SQL > show parameter local_listener

    VALUE OF TYPE NAME

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

    LOCAL_LISTENER chain

    SQL > alter system set local_listener ='(ADRESSE = (PROTOCOL = TCP) (HOST = rac1.localdomain) (PORT = 1524))

    Standby time:

    ALTER system set local_listener = '(ADDRESS = (PROTOCOL = TCP) (HOST = rac2.localdomain) (PORT = 1525))';

    #edit database 'PRIM' set the property StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=rac1.localdomain) (PORT = 1524)) (CONNECT_DATA = (SERVICE_NAME = PRIM_DGMGRL) (INSTANCE_NAME = PRIM)(SERVER=DEDICATED)))'

    #edit database 'DRY' set the property StaticConnectIdentifier = ' (DESCRIPTION = (ADDRESS = (PROTOCOL = tcp)(HOST=rac2.localdomain) (PORT = 1525)) (CONNECT_DATA = (SERVICE_NAME = SEC_DGMGRL)(INSTANCE_NAME=SEC) (SERVER = DEDICATED)))'

  • logfile missing watch on the primary database

    In a 11.2.0.4 database, we have configured Data Guard, so they created pending log files, but it has been deleted in ASM + accidentally.

    Thus, research in the database primary, the newspaper observed log pending files, but is not in ASM +.

    In the alert log has not been recorded event.

    I can do the recreation of the eve logfiles?

    What role can have on the primary database?

    Our configuration:

    BECAUSE with 4 cases

    --

    logonline 5 groups for example

    each group of logonline with 2 members

    --

    6 standby of the group e.g.

    each group watches with 2 members

    Total 48 asm file missing

    Select *-Group #, Member

    v $ logfile where type = "STANDBY".

    order by group #.

    GROUP # STATUS TYPE MEMBER IS_RECOVERY_DEST_FILE

    No. 51 +DATA_EXA/prep/onlinelog/group_51.1613.804140169 EVE

    No. 51 +RECO_EXA/prep/onlinelog/group_51.2918.804140175 EVE

    No. 52 +DATA_EXA/prep/onlinelog/group_52.1614.804140479 EVE

    No. 52 +RECO_EXA/prep/onlinelog/group_52.4182.804140485 EVE

    ....

    .....

    74No. +DATA_EXA/prep/onlinelog/group_74.972.875418965 day BEFORE
    74No. +RECO_EXA/prep/onlinelog/group_74.14330.875418971 day BEFORE

    ASMCMD >

    ASMCMD > ls-l +DATA_EXA/prep/onlinelog/group_74.972.875418965

    ASMCMD-8002: entry 'group_74.972.875418965' does not exist in the directory ' + prep/DATA_EXA/onlinelog /'

    ASMCMD >

    ASMCMD >

    Redologs Eve will be active when the database is in the role of Eve, so you can drop the watch group redologfile missing for the thread and add it again.

    You have lost all the groups newspaper waiting for redo for all threads?

    On primary, you can drop all odds redolog groups because they will be unassigned State on the standby database make sure the group is unassigned status before falling

    Select Group #, THREAD #, STATUS from v$ standby_log;

  • How to recover the database with RMAN avoiding blur

    Hi gurus,


    I'm stuck in a situation and need your help.

    We check if our backups are valid or not. So it gave me a new server and backups/archives to a 2 TB database I need to restore/recovery. I followed steps below.

    (1) copied the prod parameter file to test.

    (2) make the necessary changes in the init file.

    db_file_name_convert, etc..

    (3) start db in nomount mode.

    (4) restore the backup control file

    Restore controlfile to ' / oraback/ARCH/prod/backup_controlfiles/c-250795000-20141030-01';

    (5) mount the database.

    (6) created under the rman script and executed.

    Run {}

    Catalogue start with ' / oraback/RMAN/test "noprompt.

    Catalogue start with ' / oraback/ARCH/test "noprompt.

    allocate channel C1 device type disk;

    allocate channel C2 device type disk;

    allocated channel C3 device type disk;

    allocate channel C4 device type disk;

    allocate channel C5 device type disk;

    allocate channel C6 device type disk;

    allocate channel C7 device type disk;

    allocate channel C8 device type disk;

    @rename_datafiles.lst

    @rename_logfiles.lst

    until the SNA 144390584718.

    restore the database;

    switch datafile;

    recover the database

    }

    Questions-

    -Restore completed successfully, but I found that few archives are missing.

    -I pulled from database to recover until cancel using backup controlfile; There is a below error

    ORA-01152: 1 no file has been restored from a sufficiently old backup

    ORA-01110: data file 1: ' / u02/oradata/testsystem01.dbf'

    -Then tried to restore the archive of available backup archive and few of archives have been restored.

    i.e. of sequence between 759529 and 759552.

    And then I pulled the database until cancel using backup controlfile recovery and I got errors below.

    SQL > restore database using backup controlfile until cancel;

    ORA-00279: change 144185396330 September at 26/10/2014 to 08:14:01

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759541_535023608.arc

    ORA-00280: change 144185396330 thread 1 is in sequence #759541

    Specify the log: {< RET > = suggested |} Filename | AUTO | CANCEL}

    Auto

    ORA-00279: change 144187549215 September at 26/10/2014 to 08:22:05

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759542_535023608.arc

    ORA-00280: change 144187549215 thread 1 is in sequence #759542

    ORA-00278: log file ' / oraback/ARCH/arch_1_759541_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144187559176 September at 26/10/2014 08:28:41 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759543_535023608.arc

    ORA-00280: change 144187559176 thread 1 is in sequence #759543

    ORA-00278: log file ' / oraback/ARCH/arch_1_759542_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144188388865 September at 26/10/2014 08:36:51 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759544_535023608.arc

    ORA-00280: change 144188388865 thread 1 is in sequence #759544

    ORA-00278: log file ' / oraback/ARCH/arch_1_759543_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144188399424 September at 26/10/2014 08:46:40 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759545_535023608.arc

    ORA-00280: change 144188399424 thread 1 is in sequence #759545

    ORA-00278: log file ' / oraback/ARCH/arch_1_759544_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189462436 September at 26/10/2014 08:54:04 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759546_535023608.arc

    ORA-00280: change 144189462436 thread 1 is in sequence #759546

    ORA-00278: log file ' / oraback/ARCH/arch_1_759545_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189469985 September at 26/10/2014 08:58:13 needed to

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759547_535023608.arc

    ORA-00280: change 144189469985 thread 1 is in sequence #759547

    ORA-00278: log file ' / oraback/ARCH/arch_1_759546_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189577217 September at 26/10/2014 to 09:01:38

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759548_535023608.arc

    ORA-00280: change 144189577217 thread 1 is in sequence #759548

    ORA-00278: log file ' / oraback/ARCH/arch_1_759547_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189584836 September at 26/10/2014 to 09:05:26

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759549_535023608.arc

    ORA-00280: change 144189584836 thread 1 is in sequence #759549

    ORA-00278: log file ' / oraback/ARCH/arch_1_759548_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189699671 September at 26/10/2014 to 09:09:23

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759550_535023608.arc

    ORA-00280: change 144189699671 thread 1 is in sequence #759550

    ORA-00278: log file ' / oraback/ARCH/arch_1_759549_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189708674 September at 26/10/2014 to 09:14:23

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759551_535023608.arc

    ORA-00280: change 144189708674 thread 1 is in sequence #759551

    ORA-00278: log file ' / oraback/ARCH/arch_1_759550_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189715134 September at 26/10/2014 to 09:21:51

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759552_535023608.arc

    ORA-00280: change 144189715134 thread 1 is in sequence #759552

    ORA-00278: log file ' / oraback/ARCH/arch_1_759551_535023608.arc' is no longer

    necessary for this recovery

    ORA-00279: change 144189715148 September at 26/10/2014 to 09:21:52

    thread 1

    ORA-00289: suggestion: /oraback/ARCH/arch_1_759553_535023608.arc

    ORA-00280: change 144189715148 thread 1 is in sequence #759553

    ORA-00278: log file ' / oraback/ARCH/arch_1_759552_535023608.arc' is no longer

    necessary for this recovery

    ORA-00308: cannot open archived log ' / oraback/ARCH/arch_1_759553_535023608.arc'

    ORA-27037: unable to get file status

    IBM AIX RISC System/6000 error: 2: no such file or directory

    Additional information: 3

    ORA-10879: error reported in parallel recovery slave

    ORA-01547: WARNING: RECOVER succeeded but OPEN RESETLOGS would get below error

    ORA-01194: file 6 recovery needs more match

    ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'

    -Now when I tried to open the database with resetlogs it gives below error.

    SQL > alter database open resetlogs;

    ALTER database open resetlogs

    *

    ERROR on line 1:

    ORA-01194: file 6 recovery needs more match

    ORA-01110: data file 6: ' / u01/oradata/testchgtwy_data01.dbf'

    -I found that sequence backup archives are missing 759553 to 759599. This is not present in the primary also.

    -I tried to check the blur of datafiles and achieved lower results.

    ALTER session set nls_date_format = 'DD-MON-YYYY HH24:MI:SS ";

    Set of feedback on

    topic on the value

    set pagesize 1000

    set linesize 175

    format of column checkpoint_change # 999999999999999999999

    Select the State, checkpoint_change #, fuzzy,.

    TO_CHAR (checkpoint_time, ' ' MON-DD-YYYY HH24:MI:SS) as checkpoint_time,.

    Count (*)

    v $ datafile_header

    Status group, checkpoint_change #, fuzzy, checkpoint_time

    order of the State, checkpoint_change #, fuzzy, checkpoint_time;

    STATUS CHECKPOINT_CHANGE # CHECKPOINT_TIME FUZZY COUNT (*)

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

    144189715148. ONLINE NO 26 OCTOBER 2014 09:21:52 123

    ONLINE 144375495577 YES 29 OCTOBER 2014 20:30:23 1

    ONLINE 144375495581 YES 29 OCTOBER 2014 20:30:23 1

    ONLINE 144375891732 YES 29 OCTOBER 2014 20:52 1

    ONLINE 144375891955 YES 29 OCTOBER 2014 20:52:03 1

    144376850545. ONLINE NO 29 OCTOBER 2014 21:13:10 1

    ONLINE 144376866610 YES 29 OCTOBER 2014 21:13:36 1

    ONLINE 144377230506 YES 29 OCTOBER 2014 21:31:42 1

    ONLINE 144377313738 YES 29 OCTOBER 2014 21:35:47 1

    144377571340. ONLINE NO 29 OCTOBER 2014 21:53:33 1

    ONLINE 144377625895 YES 29 OCTOBER 2014 21:57:39 1

    ONLINE 144378445278 YES 29 OCTOBER 2014 22:13:37 1

    ONLINE 144378578727 YES 29 OCTOBER 2014 22:20:43 1

    ONLINE 144378877241 YES 29 OCTOBER 2014 22:35:59 1

    ONLINE 144378912130 YES 29 OCTOBER 2014 22:42:25 1

    ONLINE 144379435791 YES 29 OCTOBER 2014 22:57:31 1

    ONLINE 144379545905 YES 29 OCTOBER 2014 23:03:17 1

    ONLINE 144379631677 YES 29 OCTOBER 2014 23:18:53 1

    ONLINE 144379637933 YES 29 OCTOBER 2014 23:24:18 1

    ONLINE 144380039550 YES 29 OCTOBER 2014 23:37:44 1

    ONLINE 144380054601 YES 29 OCTOBER 2014 23:41:40 1

    ONLINE 144380099883 YES 29 OCTOBER 2014 23:54:16 1

    ONLINE 144380114063 YES 29 OCTOBER 2014 23:59:41 1

    ONLINE 144380676881 YES 30 OCTOBER 2014 00:13:27 1

    ONLINE 144380869308 YES 30 OCTOBER 2014 00:20:33 1

    ONLINE 144381101372 YES 30 OCTOBER 2014 00:32:49 1

    ONLINE 144381124605 YES 30 OCTOBER 2014 00:40:54 1

    ONLINE 144381393417 YES 30 OCTOBER 2014 00:51:20 1

    ONLINE 144382166578 YES 30 OCTOBER 2014 01:00:46 1

    ONLINE 144382500313 YES 30 OCTOBER 2014 01:10:11 1

    ONLINE 144382666697 YES 30 OCTOBER 2014 01:18:47 1

    ONLINE 144382861398 YES 30 OCTOBER 2014 01:30:02 1

    ONLINE 144383132266 YES 30 OCTOBER 2014 01:37:38 1

    ONLINE 144383283837 YES 30 OCTOBER 2014 01:48:24 1

    ONLINE 144383580087 YES 30 OCTOBER 2014 01:55:49 1

    ONLINE 144384682269 YES 30 OCTOBER 2014 02:06:55 1

    ONLINE 144384792040 YES 30 OCTOBER 2014 02:12:50 1

    144385726601. ONLINE NO OCTOBER 30, 2014 02:24:16 1

    144385779382. ONLINE NO OCTOBER 30, 2014 02:29:51 1

    ONLINE 144385956865 YES 30 OCTOBER 2014 02:41:27 1

    ONLINE 144386015770 YES 30 OCTOBER 2014 02:46:22 1

    ONLINE 144386151651 YES 30 OCTOBER 2014 02:59:08 1

    ONLINE 144386317681 YES 30 OCTOBER 2014 03:04:13 1

    ONLINE 144386563076 YES 30 OCTOBER 2014 03:16:59 1

    ONLINE 144386565235 YES 30 OCTOBER 2014 03:18:44 1

    ONLINE 144386699656 YES 30 OCTOBER 2014 03:31:40 1

    144386801438. ONLINE NO OCTOBER 30, 2014 03:36:15 1

    144387128892. ONLINE NO OCTOBER 30, 2014 03:52:31 1

    ONLINE 144387143873 YES 30 OCTOBER 2014 03:53:56 1

    144387490033. ONLINE NO OCTOBER 30, 2014 04:09:52 1

    ONLINE 144387501235 YES 30 OCTOBER 2014 04:11:27 1

    144388180516. ONLINE NO OCTOBER 30, 2014 04:26:44 1

    ONLINE 144388433270 YES 30 OCTOBER 2014 04:31:19 1

    ONLINE 144388902410 YES 30 OCTOBER 2014 04:42:55 1

    ONLINE 144388917251 YES 30 OCTOBER 2014 04:53:11 1

    ONLINE 144389534812 YES 30 OCTOBER 2014 05:01:56 1

    ONLINE 144389556024 YES 30 OCTOBER 2014 05:08:42 1

    ONLINE 144389674922 YES 30 OCTOBER 2014 05:19:48 1

    ONLINE 144389831920 YES 30 OCTOBER 2014 05:26:13 1

    144389957543. ONLINE NO OCTOBER 30, 2014 05:42:59 1

    ONLINE 144389982414 YES 30 OCTOBER 2014 05:46:24 1

    144390137798. ONLINE NO OCTOBER 30, 2014 05:56:40 1

    ONLINE 144390460229 YES 30 OCTOBER 2014 06:12:36 1

    ONLINE 144390474106 YES 30 OCTOBER 2014 06:13:11 1

    144390582132. ONLINE NO OCTOBER 30, 2014 06:27:27 1

    144390582634. ONLINE NO OCTOBER 30, 2014 06:28:02 1

    (1) how to proceed from here.

    (2) all the changes I need to do to the RMAN script. As I need to automate the process of restoration.

    (3) I don't want to use under hidden settings

    _ALLOW_RESETLOGS_CORRUPTION = TRUE

    _CORRUPTED_ROLLBACK_SEGMENTS = (Automatic Undo segments comma-separated list)

    Thank you for the support.

    You can not ignore the archivelogs.

    If the archivelogs are not available, you need a database backup that was created after missing the last archivelog point.

    Hemant K Collette

  • Effects of the opening of a primary database in resetlogs on the standby database

    Hi all

    Operating system: Solaris

    DB: 11 gR 2

    Can anyone throw some light below the explanation is given in case of recovery through the OPEN RESETLOGS Statement oracle documentation

    If the database pending... Then... Perform these steps...
    Not asked to redo data beyond the new resetlogs SCN (after the start of the new branch of data recovery)Redo apply automatically takes the new branch of the roll forward.No manual intervention is required. The MRP automatically resynchronizes the database pending with the new branch of data recovery.

    Here is the link of the source:

    Manage a database of physical standby

    Kind regards

    Just to give a concrete example, I did a test on one of my VM boxes. The database currently shows:

    SQL > select sequence #, the journal of v status $;

    SEQUENCE # STATUS

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

    34 ACTIVE

    CURRENT 35

    ACTIVE 33

    While on the eve, I stopped the redo apply so the standby status is:

    SQL > select sequence #, used from v$ archived_log;

    SEQUENCE # APPLIED

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

    YES 30

    31 YES

    32 YES

    33 NO.

    34 NO.

    The database ensures in a few newspapers behind the primary.

    On the primary, I moved the journal a few sequences, close, the bootable media and restored and recovered 37 sequence:

    RMAN > run

    2 > {}

    3 > restore database;

    4 > up 37 sequence;

    5 > restore database;

    6 > alter database open resetlogs;

    {7 >}

    During the open resetlogs operation, I have to tail the log of alerts on the standby database and the following output shown:

    RFS [11]: identified the type of database such as 'physical' standby: customer is ARCH pid 17192

    RFS [11]: new branch archives REDO: 844006029 current: 843649185

    RFS [11]: Journal selected 102 for thread 1 1 dbid-204899919 branch of the 844006029 sequence

    RFS [11]: new Branch (resetlogs_id) of archive REDO: before 844006029: 843649185

    RFS [11]: ID of Activation of archives: current 0xf3d44942: 0xf3cf5ac3

    RFS [11]: effect of primary database OPEN RESETLOGS

    RFS [11]: entry of Incarnation added to Branch (resetlogs_id): 844006029 (ORCL11PS)

    Fri Apr 04 14:07:39 2014

    Definition of embodiment of recovery target 2

    Fri Apr 04 14:07:39 2014

    Archived journal 21 additional for each sequence 1 1 0xf3d44942 dest ID thread entry 1:

    So as you can see, the log shows the standby detects the resetlogs on the primary operation and the new branch of the roll forward and received the next archivelog with sequence 1.

    Audit on the eve, it shows the status following the archivelogs:

    SEQUENCE # APPLIED

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

    31 YES

    32 YES

    33 NO.

    34 NO.

    35 NO.

    36 NO.

    37 NO.

    38 NO.

    1 NO.

    2 NO.

    And after restart the managed recovery process, it now shows:

    SEQUENCE # APPLIED

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

    31 YES

    YES 30

    YES 19

    YES 33

    34 YES

    35 YES

    YES 36

    37 NO.

    38 NO.

    1 YES

    2 YES

    Archivelogs with sequence 37 and 38 were not implemented because of the CAMILLE on the main sequence until (but not including!) 37 and then properly applied the next archivelogs of the new branch of the roll forward, with sequence 1 and 2.

  • Creating a database with only the RMAN backup

    Hello

    I have a full backup of a database (10.2.0.1) of 10g RMAN in RHEL5 server. This backup has only the backup piece does not SP. and the control file. I want to create a new database with this backup in a new server. Is this possible? How to go further?

    Kind regards
    007

    Hello

    Refer to this that you can take a look at this http://shivanandarao.wordpress.com/2012/04/19/duplicating-primary-database-to-a-new-host-without-connecting-to-the-primary-database-in-oracle-10g11g/

    RMAN automatically backup spfile and controlfile in the backup of the data file 1 (SYSTEM datafile). So you can restore them from the backup piece which is to have the file system data.

    4.3.5 Backing Up Control Files with RMAN
    http://docs.oracle.com/cd/B19306_01/backup.102/b14192/bkup003.htm#i1009642
    

    Newbie
         
    Manage: 007
    Status level: Rookie (25)
    Join date: Oct 6, 2010
    Messages total: 272
    Total Questions: 154 (123 pending)
    Name Khanth
    Location India
    Occupation DBA Junior

    I feel unhappy when you do not close your son, if they have been answered. If you feel that the nets have been answered, then please consider closing them by providing appropriate points and marking them as answered. Please clean the forum!

    Kind regards
    Shivananda

  • LOG_ARCHIVE_DEST_2 parameter error and cannot start the primary database

    Hello
    I was getting errors in my RMAN backup script. I took a glance on the database settings. Looks like I made a mistake when I was in the LOG_ARCHIVE_DEST_2 setting in the standby database. Instead of putting on the eve I put it in the name of the primary instance. I also noticed that the LOG_ARCHIVE_DEST_2 setting has been changed in the primary database where I put it first. I guess he's changed when I changed the sleep setting. I have two questions:

    (1) can the parameter LOG_ARCHIVE_DEST_2 be changes for the correct setting now that I set it wrong. The reason why I ask is because when I tried to change by using the following ALTER SYSTEM command I got an error saying something about conflicting attributes. I guess it's because the name of the primary instance has been upgraded with the DB_UNIQUE_NAME instead of the name of the standby instance. If I could change the LOG_ARCHIVE_DEST_2 setting to sleep first then maybe I can change the primary to the correct setting? Please provide markets.

    ALTER SYSTEM SET LOG_ARCHIVE_DEST_2 ='SERVICE = < DB PRIMARY > ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = < PRIMARY_INSTANCE > '

    (2) the second question is you can start a database using a spfile? (I use ASM and Data Guard) I ask because while I was connected to the primary database I executed the following command:

    ALTER SYSTEM SET LOG_ARCHIVE_DEST_2 = 'SERVICE = < PRIMARY_INSTANCE > ASYNC VALID_FOR =(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME = < PRIMARY_INSTANCE >' scope = spfile;

    I then stop the database and try to start but it won't start because it says to conflicting attributes. I don't create a pfile from spfile file before you shut down the database. (I'm bad). How can I change the setting for the primary database to start over. (The PFILE file is different in ASM. There are sub + DATA but has only a single line indicating where is the location of the SPFILE) I need to run the following RMAN RESTORE CONTROLFILE FROM backup AUTOMATIC;

    Please help as it is a production environment that was supposed to be delivered only yesterday.

    Any help will be greatly appreciated!

    Thanks in advance.

    J

    I always use it. So my answer is Yes.

    Please consider several of the responses of CKPT marking "useful".

    He works very hard in the forum and didn't work great!

    I call it "SuperStar."

    Best regards

    mseberg

  • move the primary database files to another location

    Hi all

    I move the files of my primary database to another location on the same server, but on a different drive (from f: to G :) with rename comand but file name will be the same, after you have moved the files what step I need to perfom on standby DB will have on my database pending?)

    This doc is everything after you rename the primary file, I'm not rename all the files I need to just move file from one place to another without changing the file name.

    I hope you know how to move files from one place to the other on the primary database. It's not just copying the files from one disk to another and then to go to the top of your database.

    You rename your data files or copy it to another location, how the controlfile to know you have copied/renamed to a different location?

    I guess you 1 to ask the question of how to move files to a different location in primary education and then move on standby.

    Steps to follow:
    1 Hope you brought your primary database.
    2 copy the datafiels to one disk to another.
    3. attach the primary database.
    4 rename all data files that you moved to this control file would know the changes.
    SQL > alter rename file 'G:\oracle\user01.dbf' to 'F:\oracle\user01.dbf ';
    5. subsequently open the database.
    Refer this to move data files from one place to another http://www.orafaq.com/wiki/Move_datafile_to_different_location, http://www.adp-gmbh.ch/ora/admin/move_datafiles.html

    on autonomy in standby:
    1 cancel the MRP
    2. change the db_file_name_convert to point to «F:\»... »
    3. Mount the backup database
    4. start the MRP

    Hope that these steps are clear.

  • Migration of data from the old platform to the new primary database, need advice.

    I have physical standby facility and everything works now.

    Next weekend, we will do the actual migration of the old platform to the new environment.

    I have several issues of concern.

    Migration will go to the primary database. I'll have to remove patterns and inside expdp dmp.

    While I do all those, what data base waiting? should I disable it again apply?

    What other concerns and precautions I need to take before I have to remove all data from primary school and do a migration?

    Thank you in advance.

    Hello;

    My main concern would be the FRA (assuming you use it).

    By doing all that generates a ton of archives, you have to worry about the space on both sides.

    I would consider increasing my FRA on both sides.

    I would not disable the recovery, but I look very close and be willing to adjust my space as needed.

    As long as you don't miss space you should be fine. I had once a backup log files more than 250, and it took about 15 minutes to catch up.

    Have a little prepared scripts in advance if you can increase the space or delete archive applied and it should be fine.

    I also opened at least two terminals on the primary and Standby. Everyone look at space and the other to execute all what you need to adjust the space.

    The rest is common sense, first do the smaller drawing if you have an idea what to expect. Decaying etc. as much as possible.

    Best regards

    mseberg

    I have a shell script called 'quickcheck.sh' (use a separate but .env file it will send information vital back)

    With a little work, you can do this in something that makes it easy to keep an eye on things.

    #!/bin/bash
    ####################################################################
    #
    
    if [ "$1" ]
    then DBNAME=$1
    else
    echo "basename $0 : Syntax error : use . quickcheck  "
    exit 1
    fi
    
    #
    # Set the Environmental variable for the instance
    #
    . /u01/app/oracle/dba_tool/env/${DBNAME}.env
    #
    #
    
    $ORACLE_HOME/bin/sqlplus /nolog <
    

    and then a SQL file called quickaudit:

    SPOOL OFF
    CLEAR SCREEN
    SPOOL /tmp/quickaudit.lst
    
    --SELECT SYSDATE FROM DUAL;
    --SHOW USER
    
    PROMPT
    PROMPT -----------------------------------------------------------------------|
    PROMPT
    
    SET TERMOUT ON
    SET VERIFY OFF
    SET FEEDBACK ON
    
    PROMPT
    PROMPT Checking database name and archive mode
    PROMPT
    
    column NAME format A9
    column LOG_MODE format A12
    
    SELECT NAME,CREATED, LOG_MODE FROM V$DATABASE;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking free space in tablespaces
    PROMPT
    
    column tablespace_name format a30
    
    SELECT tablespace_name ,sum(bytes)/1024/1024 "MB Free" FROM dba_free_space WHERE
    tablespace_name <>'TEMP' GROUP BY tablespace_name;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking freespace by tablespace
    PROMPT
    
    column dummy noprint
    column  pct_used format 999.9       heading "%|Used"
    column  name    format a16      heading "Tablespace Name"
    column  bytes   format 9,999,999,999,999    heading "Total Bytes"
    column  used    format 99,999,999,999   heading "Used"
    column  free    format 999,999,999,999  heading "Free"
    break   on report
    compute sum of bytes on report
    compute sum of free on report
    compute sum of used on report
    
    set linesize 132
    set termout off
    select a.tablespace_name                                              name,
           b.tablespace_name                                              dummy,
           sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )      bytes,
           sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id ) -
           sum(a.bytes)/count( distinct b.file_id )              used,
           sum(a.bytes)/count( distinct b.file_id )                       free,
           100 * ( (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) -
                   (sum(a.bytes)/count( distinct b.file_id ) )) /
           (sum(b.bytes)/count( distinct a.file_id||'.'||a.block_id )) pct_used
    from sys.dba_free_space a, sys.dba_data_files b
    where a.tablespace_name = b.tablespace_name
    group by a.tablespace_name, b.tablespace_name;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking Size and usage in GB of Flash Recovery Area
    PROMPT
    
    SELECT
      ROUND((A.SPACE_LIMIT / 1024 / 1024 / 1024), 2) AS FLASH_IN_GB,
      ROUND((A.SPACE_USED / 1024 / 1024 / 1024), 2) AS FLASH_USED_IN_GB,
      ROUND((A.SPACE_RECLAIMABLE / 1024 / 1024 / 1024), 2) AS FLASH_RECLAIMABLE_GB,
      SUM(B.PERCENT_SPACE_USED)  AS PERCENT_OF_SPACE_USED
    FROM
      V$RECOVERY_FILE_DEST A,
      V$FLASH_RECOVERY_AREA_USAGE B
    GROUP BY
      SPACE_LIMIT,
      SPACE_USED ,
      SPACE_RECLAIMABLE ;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking free space In Flash Recovery Area
    PROMPT
    
    column FILE_TYPE format a20
    
    select * from v$flash_recovery_area_usage;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking last sequence in v$archived_log
    PROMPT
    
    clear screen
    set linesize 100
    
    column STANDBY format a20
    column applied format a10
    
    --select max(sequence#), applied from v$archived_log where applied = 'YES' group by applied;
    
    SELECT  name as STANDBY, SEQUENCE#, applied, completion_time from v$archived_log WHERE  DEST_ID = 2 AND NEXT_TIME > SYSDATE -1;
    
    prompt
    prompt----------------Last log on Primary--------------------------------------|
    prompt
    
    select max(sequence#) from v$archived_log where NEXT_TIME > sysdate -1;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    PROMPT
    PROMPT Checking switchover status
    PROMPT
    
    select switchover_status from v$database;
    
    PROMPT
    PROMPT ------------------------------------------------------------------------|
    PROMPT
    
    SPOOL OFF
    
    exit
    

    The env file looks like this: (if the file would be PRIMARY.env)

    ORACLE_BASE=/u01/app/oracle
    
    ULIMIT=unlimited
    
    ORACLE_SID=PRIMARY
    
    ORACLE_HOME=$ORACLE_BASE/product/11.2.0.2
    
    ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
    
    LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
    
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    
    LIBPATH=$LD_LIBRARY_PATH:/usr/lib
    
    TNS_ADMIN=$ORACLE_HOME/network/admin
    
    PATH=$ORACLE_HOME/bin:$ORACLE_BASE/dba_tool/bin:/bin:/usr/bin:/usr/ccs/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/lbin:/GNU/bin/make:/u01/app/oracle/dba_tool/bin:/home/oracle/utils/SCRIPTS:/usr/local/bin:.
    
    export EXP_DIR=/u01/oradata/PRIMARY_export
    
    export TERM=vt100
    
    export ORACLE_BASE ORACLE_SID ORACLE_TERM ULIMIT
    
    export ORACLE_HOME
    
    export LIBPATH LD_LIBRARY_PATH ORA_NLS33
    
    export TNS_ADMIN
    
    export PATH
    

    Published by: mseberg on December 9, 2011 18:19

  • Delete pending roll forward primary database journal

    Hi all

    I'm trying to drop the standby logfiles on the primary database (database that I am setting the DG).
    Members of the groups of newspaper pending exists on the file system.
    Someone has deleted these files. His old configuration where the files are in the file system. They are now in ASM.
    When I try to delete the logs on hold I got the following error:
    SQL> alter database clear logfile group 7;
    alter database clear logfile group 7
    *
    ERROR at line 1:
    ORA-19528: redo logs being cleared may need access to files
    SQL> select * from v$logfile order by 1;
    
        GROUP# STATUS  TYPE    MEMBER                                                                           IS_
    ---------- ------- ------- -------------------------------------------------------------------------------- ---
             1         ONLINE  +REDO1/proj/onlinelog/group_1.256.340558657                                     NO
             1         ONLINE  +REDO2/proj/onlinelog/group_1.256.340558659                                     NO
             2         ONLINE  +REDO1/proj/onlinelog/group_2.257.340558879                                     NO
             2         ONLINE  +REDO2/proj/onlinelog/group_2.259.340558879                                     NO
             3         ONLINE  +REDO1/proj/onlinelog/group_3.258.340558707                                     NO
             3         ONLINE  +REDO2/proj/onlinelog/group_3.257.340558709                                     NO
             4         ONLINE  +REDO2/proj/onlinelog/group_4.258.340558713                                     NO
             4         ONLINE  +REDO1/proj/onlinelog/group_4.259.340558711                                     NO
             5         ONLINE  +REDO2/proj/onlinelog/group_5.260.340558965                                     NO
             5         ONLINE  +REDO1/proj/onlinelog/group_5.260.340558963                                     NO
             6         ONLINE  +REDO1/proj/onlinelog/group_6.261.340558967                                     NO
             6         ONLINE  +REDO2/proj/onlinelog/group_6.261.340558967                                     NO
             7         STANDBY /oracle/proj/onlinelog2/redo_702.log                                            NO
             7         STANDBY /oracle/proj/onlinelog1/redo_701.log                                            NO
             8         STANDBY /oracle/proj/onlinelog2/redo_802.log                                            NO
             8         STANDBY /oracle/proj/onlinelog1/redo_801.log                                            NO
             9         STANDBY /oracle/proj/onlinelog2/redo_902.log                                            NO
             9         STANDBY /oracle/proj/onlinelog1/redo_901.log                                            NO
            10         STANDBY /oracle/proj/onlinelog1/redo_1001.log                                           NO
            10         STANDBY /oracle/proj/onlinelog2/redo_1002.log                                           NO
    
    20 rows selected.
    
    SQL> select * from v$standby_log order by 1;
    
        GROUP# DBID            THREAD#  SEQUENCE#      BYTES       USED ARC STATUS     FIRST_CHANGE# FIRST_TIM LAST_CHANGE# LAST_TIME
    ---------- ------------ ---------- ---------- ---------- ---------- --- ---------- ------------- --------- ------------ ---------
             7 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0
             8 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0
             9 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0
            10 UNASSIGNED            0          0  104854601        512 YES UNASSIGNED             0                      0
    What can I do to make it give up these reference?
    Any other solution instead of modify the controlfile and stop/start the database?

    Thank you!!!

    Hello;

    Think that Oracle, the files are there, but I still have a bug on metalink where the controlfile had them again, but they were not on the file system. Can you confirm that they exist?

    Meanwhile, I'm checking my notes for the Oracle number of doc.

    Bug 6128242: TRY TO drop the STANDBY LOG FAILED WITH ORA-19528

    So if you're Oracle 10, this could be the problem.

    workaround is to re-create the controlfile without the incorrect log file. (Ugh!)

    ORA-01156 when adding or deleting Redo Logs [ID 452152.1]

    Best regards

    mseberg

    Published by: mseberg on October 31, 2011 17:09

  • Problem creating a Standby physical database with RMAN

    Hi all

    I am learning oracle dataguard and as part of the learning process of creation of database on hold.

    Platform: V250-fire-Sun Sparc, Solaris 10

    Version of database - Oracle 11R2

    I create standby database on the same server, so the directory structure is different.

    By following the instructions on the site of Oracle, I managed to create a functional physical standby database. But I'm not able to create a database with RMAN backup. Here are the steps that I follow-

    1 configure all the required settings on the primary database as done in creating physical standby database manually, for example implementation force of logging, the creation of newspapers ensure etc..

    2. settings edited on the primary database file as does everything in manual creation of physical database backup. Some of these changes are –

    On the primary database:
    *. FAL_CLIENT = "orcl11020" #Primary database unique name
    *. FAL_SERVER = "stdby_11" #Standby database unique name

    db_file_name_convert ='/ < dir >/oradata/stdby_11 ',' / < dir >/oradata/orcl11020 '

    log_file_name_convert ='/ < dir >/oradata/stdby_11 ',' / < dir >/oradata/orcl11020 ',' / < dir > / oradata/stdby_11/redo_mem ',' / < dir > / oradata/orcl11020/redo_mem '
    standby_file_management = auto

    * .log_archive_config = 'DG_CONFIG = (orcl11020, stdby_11)'

    * .log_archive_dest_1 = "LOCATION = / < dir > / flash_recovery_area/ORCL11020/archivelog"

    VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'

    * .log_archive_dest_2 = "SERVICE = db_unique_name LGWR ASYNC = (ONLINE_LOGFILES, PRIMARY_ROLE) stdby_11 = stdby_11 VALID_FOR'"

    *. LOG_ARCHIVE_DEST_STATE_1 = 'ENABLE '.
    *. LOG_ARCHIVE_DEST_STATE_2 = 'ENABLE '.
    *. LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'
    *. LOG_ARCHIVE_MAX_PROCESSES = 30

    Copied same pfile standby database and set to date follows.

    "* .control_files ='/ < dir > /oradata/stdby_11/stdby_11.ctl','/ < dir > / fra_stdby/stdby_11/stdby_11.ctl".
    * .db_name = "orcl1102".
    * .db_unique_name = "stdby_11".
    *. FAL_CLIENT = "stdby_11."
    *. FAL_SERVER = "orcl11020."
    db_file_name_convert ='/ < dir >/oradata/orcl11020 ',' / < dir >/oradata/stdby_11 '
    log_file_name_convert ='/ < dir >/oradata/orcl11020 ',' / < dir >/oradata/stdby_11 ',' / < dir > / oradata/orcl11020/redo_mem ',' / < dir > / oradata/stdby_11/redo_mem '
    standby_file_management = auto
    * .log_archive_dest_1 = "LOCATION = / < dir > / fra_stdby/STDBY_11/archivelog"
    VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = stdby_11'
    * .log_archive_dest_2 = "SERVICE = orcl11020 LGWR ASYNC VALID_FOR = (ONLINE_LOGFILES, PRIMARY_ROLE)
    db_unique_name = orcl11020'

    3. Add the relevant information in tnsnames.ora and listener.ora files and restart the listener.
    3 created the file password with the same credentials as database primary.
    4.up - to-date RMAN backup primary database available.
    5. create controlfile standby with rman
    While the primary database s open (I tried with a primary database in montage mode as well).

    $> rman/paswd@rman for catalog rman target /.
    RMAN > BACKUP CURRENT CONTROLFILE TO SLEEP;

    6. open a new terminal standby base and start in nomount mode using the settings created - file
    $> ORACLE_SID = stdby_11
    $> export ORACLE_SID
    $> sqlplus / as sysdba
    SQL > STARTUP NOMOUNT pfile =' < rental/initfilename.ora '
    SQL > quit
    $> rman AUXILIARY / target sys/passwd@orcl11020 catalog rman/passwd@rman
    RMAN > duplicate TARGET DATABASE ENSURES DORECOVER;


    RMAN ends without error but the archive logs is not eliminated. Looking at the newspaper, following caught my eye.

    Logging of 1017 errors received on the eve
    ------------------------------------------------------------
    Verify that the primary and standby use a password file
    and remote_login_passwordfile shared or EXCLUSIVE.
    and the SYS password is the same password files.
    error ORA-16191
    ------------------------------------------------------------
    FAL [client, ARC2]: error 16191 connection at orcl11020 for the extraction of the gap sequence
    Errors in file /<>dir > / diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
    ORA-16191: customer main newspaper not connected waiting for shipment
    Errors in file / < dir > / diag/rdbms/stdby_11/stdby_11/trace/stdby_11_arc2_24321.trc:
    ORA-16191: customer main newspaper not connected waiting for shipment


    Thus on primary and standby I confirmed

    SQL > show parameter remote_login_passwordfile

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------
    Remote_login_passwordfile string EXCLUSIVE

    Make double sure that the password files are the same, I stop databases, delete the password and recreated with the same credentials.
    Password files are called - orapworcl11020 and orapwstdby_11

    Can someone guide me where thisngs wrong here please.

    How did you create your file of passwords on the rescue system?

    I will consider your entire post and see what jumps.

    * 3. Created the file password with the same credentials as primary database.*

    You cannot create the password on the eve of 11.1 from file. You must COPY the password from the primary to the wait for passwords to match. What I do, is copy and rename.

    E.g.

    I copy orapwPRIMARY to the standby server and rename it orapwSTANDBY

    (Your names varies)

    It could start to work if you do this with a stop and restart of recovery on the day before. Newspapers make up probably just.

    If you find this helpful please mark as well.

    Best regards

    mseberg

    Published by: mseberg on July 7, 2011 07:16

    A few things about the parameters (they can make no difference)

    This

    Log_archive_dest_1 =' LOCATION = /

    /flash_recovery_area/ORCL11020/archivelog VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'

    Would it be

    Log_archive_dest_1 =' LOCATION = USE_DB_RECOVERY_FILE_DEST VALID_FOR = (ALL_LOGFILES, ALL_ROLES) db_unique_name = orcl11020'

    Not sure that you need.

    LOG_ARCHIVE_FORMAT='%t_%s_%r.arc'

Maybe you are looking for

  • Work of Custom Itunes Playlist

    I used my iphone 5s to take a picture and add it to a playlist of music work. This was accomplished while the camera in the creation of playlist button have itself. I can't find this photo anywhere in my camera or photo stream. Where is kept this pic

  • Satellite P850 - 12 X - update Intel Dual Band Wireless-AC 7260

    Hello I'm writing this information for those who want to upgrade their wirelss adapter inside the Intel 7260AC card dual band. This card functions perfectly on my Satellite P850-12 X, but you will need to cover the pin 20 with a piece of tape so that

  • 4204 (grounding issue) measuring device

  • Windows sent me a message saying that someone else had my i p address

    Original title: I p address Windows sent me a message saying that someone else had my p i answer when I went to my provider, they said that it was impossible and did not have this problem and so I get very high internet bills even if I have unlimited

  • Canon Pixma MP610 Photo all-in-One Printer

    I just upgraded computer and operating system from XP to Windows 7, and while the printer works fine, I can scan is no longer. The scanner starts scanning but then he suddenly stops and I get an error message saying that it cannot communicate with th