Duplication duplicate a database with RMAN, different host database different withou

Hello

I want to duplicate a database with RMAN, different host, a different database without RMAN Duplicate Technic.

I HOST1 with a database DB1 and
HOST2 with a DB2 database

I have a complete backup of the DB1 in host HOST2. How can I use this backup to clone the database?

Thank you

see the links: -.
http://kamranagayev.WordPress.com/2010/03/29/RMAN-video-tutorial-series-performing-disaster-recovery-with-RMAN/ (Video Tutorial)
http://oracleinstance.blogspot.com/2010/08/disaster-recovery-using-RMAN-demo.html
http://gavinsoorma.com/recovery-scenarios/

Tags: Database

Similar Questions

  • The file check failed error during duplication of database with RMAN

    I am using oracle 10 g R2 database and try to make a clone of the orcl database source on the same machine but with the structure of different directory with the name of test.

    When I run the command duplicate to create the test database, then the following error message is generted:
    D:\>rman target sys@orcl nocatalog auxiliary /
    
    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Nov 11 12:13:26 2011
    
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    
    target database Password:
    connected to target database: ORCL (DBID=1264668332)
    using target database control file instead of recovery catalog
    connected to auxiliary database: TEST (not mounted)
    
    RMAN> @script.txt
    
    RMAN> Run {
    2> Allocate channel C1 type disk;
    3> allocate auxiliary channel 'adisk_0' type DISK;
    4> duplicate target database to "test";
    5> #BACKUP INCREMENTAL LEVEL 1 DATABASE;
    6> #BACKUP INCREMENTAL LEVEL 1 CUMULATIVE DATABASE;
    7> #BACKUP INCREMENTAL LEVEL 0 DATABASE;
    8> #delete obsolete;
    9> }
    allocated channel: C1
    channel C1: sid=140 devtype=DISK
    
    allocated channel: adisk_0
    channel adisk_0: sid=157 devtype=DISK
    
    Starting Duplicate Db at 11-NOV-11
    
    contents of Memory Script:
    {
       set until scn  12926250;
       set newname for datafile  1 to
     "D:\TEST\ORADATA\SYSTEM01.DBF";
       set newname for datafile  2 to
     "D:\TEST\ORADATA\UNDOTBS01.DBF";
       set newname for datafile  3 to
     "D:\TEST\ORADATA\SYSAUX01.DBF";
       set newname for datafile  4 to
     "D:\TEST\ORADATA\USERS01.DBF";
       set newname for datafile  5 to
     "D:\TEST\ORADATA\EXAMPLE01.DBF";
       set newname for datafile  6 to
     "D:\TEST\ORADATA\GL.DBF";
       restore
       check readonly
       clone database
       ;
    }
    executing Memory Script
    
    executing command: SET until clause
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    executing command: SET NEWNAME
    
    Starting restore at 11-NOV-11
    
    channel adisk_0: starting datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    restoring datafile 00001 to D:\TEST\ORADATA\SYSTEM01.DBF
    restoring datafile 00002 to D:\TEST\ORADATA\UNDOTBS01.DBF
    restoring datafile 00003 to D:\TEST\ORADATA\SYSAUX01.DBF
    restoring datafile 00004 to D:\TEST\ORADATA\USERS01.DBF
    restoring datafile 00005 to D:\TEST\ORADATA\EXAMPLE01.DBF
    restoring datafile 00006 to D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_07\O1_MF_NNND0_TAG20111107T220822_7CJ44MH4_.BKP tag=TAG20111107T220
    channel adisk_0: restore complete, elapsed time: 00:01:46
    Finished restore at 11-NOV-11
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
     LOGFILE
      GROUP  1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M  REUSE,
      GROUP  2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M  REUSE,
      GROUP  3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M  REUSE
     DATAFILE
      'D:\TEST\ORADATA\SYSTEM01.DBF'
     CHARACTER SET WE8MSWIN1252
    
    
    contents of Memory Script:
    {
       switch clone datafile all;
    }
    executing Memory Script
    
    datafile 2 switched to datafile copy
    input datafile copy recid=1 stamp=766930525 filename=D:\TEST\ORADATA\UNDOTBS01.DBF
    datafile 3 switched to datafile copy
    input datafile copy recid=2 stamp=766930525 filename=D:\TEST\ORADATA\SYSAUX01.DBF
    datafile 4 switched to datafile copy
    input datafile copy recid=3 stamp=766930526 filename=D:\TEST\ORADATA\USERS01.DBF
    datafile 5 switched to datafile copy
    input datafile copy recid=4 stamp=766930526 filename=D:\TEST\ORADATA\EXAMPLE01.DBF
    datafile 6 switched to datafile copy
    input datafile copy recid=5 stamp=766930526 filename=D:\TEST\ORADATA\GL.DBF
    
    contents of Memory Script:
    {
       set until scn  12926250;
       recover
       clone database
        delete archivelog
       ;
    }
    executing Memory Script
    
    executing command: SET until clause
    
    Starting recover at 11-NOV-11
    channel adisk_0: starting incremental datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
    destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
    destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
    destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
    destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
    destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7CO
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_09\O1_MF_NNND1_TAG20111109T223628_7COGJZVT_.BKP tag=TAG20111109T223
    channel adisk_0: restore complete, elapsed time: 00:00:07
    channel adisk_0: starting incremental datafile backupset restore
    channel adisk_0: specifying datafile(s) to restore from backup set
    destination for restore of datafile 00001: D:\TEST\ORADATA\SYSTEM01.DBF
    destination for restore of datafile 00002: D:\TEST\ORADATA\UNDOTBS01.DBF
    destination for restore of datafile 00003: D:\TEST\ORADATA\SYSAUX01.DBF
    destination for restore of datafile 00004: D:\TEST\ORADATA\USERS01.DBF
    destination for restore of datafile 00005: D:\TEST\ORADATA\EXAMPLE01.DBF
    destination for restore of datafile 00006: D:\TEST\ORADATA\GL.DBF
    channel adisk_0: reading from backup piece D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR
    P
    channel adisk_0: restored backup piece 1
    piece handle=D:\FLASH_RECOVERY_AREA\ORCL\BACKUPSET\2011_11_10\O1_MF_NNND1_TAG20111110T221428_7CR1MQFO_.BKP tag=TAG20111110T221
    channel adisk_0: restore complete, elapsed time: 00:00:16
    
    starting media recovery
    
    archive log thread 1 sequence 524 is already on disk as file D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CS
    C
    archive log filename=D:\FLASH_RECOVERY_AREA\ORCL\ARCHIVELOG\2011_11_11\O1_MF_1_524_7CSG2HVT_.ARC thread=1 sequence=524
    media recovery complete, elapsed time: 00:00:14
    Finished recover at 11-NOV-11
    
    contents of Memory Script:
    {
       shutdown clone;
       startup clone nomount ;
    }
    executing Memory Script
    
    database dismounted
    Oracle instance shut down
    
    connected to auxiliary database (not started)
    Oracle instance started
    
    Total System Global Area     230686720 bytes
    
    Fixed Size                     1248236 bytes
    Variable Size                 67109908 bytes
    Database Buffers             155189248 bytes
    Redo Buffers                   7139328 bytes
    sql statement: CREATE CONTROLFILE REUSE SET DATABASE "TEST" RESETLOGS ARCHIVELOG
      MAXLOGFILES     16
      MAXLOGMEMBERS      3
      MAXDATAFILES      100
      MAXINSTANCES     8
      MAXLOGHISTORY      292
     LOGFILE
      GROUP  1 ( 'D:\TEST\ORADATA\REDO01.LOG' ) SIZE 50 M  REUSE,
      GROUP  2 ( 'D:\TEST\ORADATA\REDO02.LOG' ) SIZE 50 M  REUSE,
      GROUP  3 ( 'D:\TEST\ORADATA\REDO03.LOG' ) SIZE 50 M  REUSE
     DATAFILE
      'D:\TEST\ORADATA\SYSTEM01.DBF'
     CHARACTER SET WE8MSWIN1252
    
    released channel: C1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 11/11/2011 12:16:21
    RMAN-06136: ORACLE error from auxiliary database: ORA-01503: CREATE CONTROLFILE failed
    ORA-01504: database name 'TEST' does not match parameter db_name 'orcl'
    
    RMAN> **end-of-file**
    
    RMAN>
    Script.txt
    Run {
    Allocate channel C1 type disk;
    allocate auxiliary channel 'adisk_0' type DISK;
    duplicate target database to "test";
    }
    Kindly help?

    Published by: Moazzam November 11, 2011 12:22

    Your definition of the Windows service uses a different inittest.ora or spfiletest.ora - not the one that you have edited.

    Hemant K Collette

  • ORA-25408: can not read the appeal during a duplicate backup with rman catalog database safely

    Hello

    I did a database duplicate backup with rman catalog connection and got the ORA-25408: cannot read error call safely.

    The catalog database is running in a Data Guard environment.

    During the double process database failover occurred because of a server restart.

    The restore of the data files was successful:

    RMAN-08023: channel t1: restored the backup part 1

    RMAN-08180: channel t1: restoration complete, duration: 00:01:15

    RMAN-03091: finished the restoration at 27.08.2014 09:27:10

    During execution of script memory:

    RMAN-08161: content of the Script from memory:

    {

    switch from clone datafile;

    }

    RMAN-08162: execution of Script memory

    I got this error:

    RMAN-08162: execution of Script memory

    RMAN-08031: output channel: t1

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of Db in dual at 27/08/2014 09:27:10

    RMAN-05501: abandonment of duplicate target database

    RMAN-03015: an error has occurred in the script stored memory Script

    RMAN-06004: ORACLE recovery catalog database error: ORA-25408: cannot read safely call

    Dual boot time: 16:00

    Failover time: 18:00

    Error time: 09:00 the next day

    DB version: 11.2.0.4.0, not the RAC environment, single instances

    That's happened? My My db catalog rman session did not survive? Why the error happened at 09:00 (and not 17:00)? Why the session called the catalog rman during switching of the data files?

    Can someone explain it to me?

    Thank you!

    Hello

    The connection of the RMAN catalog remains inactive during the backup/restore process, once rman completes the task and try to activate the connection it gets error.

    What is expected as you said the rebooted server. If this happens because of the expiration time, we went with the parameter net expire_time to maintain the connection.

    Thank you

    Bigot

  • Issue all try to perform the active database duplication with RMAN

    Hi all

    I would like to duplicate the database CURRENTLY to DATABASEB and must be performed in the same server. I tried to bounce the instance listener & databaseb several times, but no luck.

    Please help me solve this problem and why its happening.


    Step 1: The instance of DATABASEB is phase Nomount

    Step 2:


    == > tnsping DATABASEB

    AMT Ping utility for Linux: Version 11.2.0.2.0 - Production on 2012-SEP-11 07:36:54

    Copyright (c) 1997, 2010, Oracle. All rights reserved.

    Use settings files:


    TNSNAMES adapter used to resolve the alias
    Try to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = client) (PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = DATABASEB)(UR=A)))
    OK (10 ms)


    Step 3:

    == > rman target sys/***@DATABASEA auxiliary sys/***@DATABASEB

    Recovery Manager: release 11.2.0.2.0 - Production kills Sep 11 07:37:50 2012

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    connected to target database: CURRENTLY (DBID = 1723462779)
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of the package manager internal collection failed
    RMAN-04006: auxiliary database error: ORA-12514: TNS:listener is not currently of service requested in connect descriptor


    Thank you

    Hello;

    You need a static entry for this: (SID_LIST_LISTENER is the static entry)

    Example of

    DCLONE =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = server.myhost.com)(PORT = 1521))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = DCLONE.myhost.com)
        )
      )
    
    SID_LIST_LISTENER =
       (SID_LIST =
           (SID_DESC =
           (SID_NAME = PLSExtProc)
           (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
           (PROGRAM = extproc)
         )
           (SID_DESC =
           (global_dbname = STEST.myhost.com)
           (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
           (sid_name = STEST)
       )
      (SID_DESC =
           (global_dbname = DCLONE.myhost.com)
           (ORACLE_HOME = /u01/app/oracle/product/11.2.0.2)
           (sid_name = DCLONE)
       )
    )
    

    Make sure you stop and restart the receiver.

    The needs of the auxiliary Instance be started NOMOUNT on a file INIT.

    Given that its on the same server, you must DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT in the INIT

    I have always copy and rename the password too.

    And the RMAN to connect as

    Target of $ORACLE_HOME/bin/rman = sys /auxiliary @source = sys /@clone

    connected to target database: SOURCE (DBID = 2236120765)
    connected to the auxiliary database: CLONE (unassembled)

    DUPLICATE THE TARGET DATABASE TO THE ACTIVE DATABASE NOFILENAMECHECK IPMTEST;

    H2. Another method

    http://www.Visi.com/~mseberg/create_a_duplicate_database_on_the_same_host.html

    Best regards

    mseberg

  • Database with RMAN duplicate; Please help me

    Hi all
    My Production database named PROD_1 of Oracle Database 10 g Enterprise Edition Release 10.2.0.1.0 on Linux server.
    I want to duplicate my database of production to a production base of second one PROD_2 with the same database
    and same version of system OS and two DB servers have the identifical directory structure.

    I'm with RMAN to duplicate the database:

    So I'm on PROD_2 Server I have:

    -Shutdown my PROD_2 database
    -J' I start with my PROD_2 database NOMOUNT

    Then I connect to PROD_2 with the user sys:

    + [oracle@PROD_2 oradata] $ $ORACLE_HOME/bin/rman target sys +.

    Recovery Manager: Release 10.2.0.1.0 - Production on Fri Aug 29 14:04:53 2008

    Copyright (c) 1982, 2005, Oracle.  All rights reserved.

    target password database:
    connected to target database: PROD_2 (unassembled)

    RMAN > ALTER DATABASE MOUNT;

    using the control file of the target instead of recovery catalog database
    mounted database

    RMAN > CONNECT SYS/joker@PROD_1.ww.egwn.lan AUXILIARY

    connected to the auxiliary database: PROD_1 (DBID = 1431425681)

    RMAN > RUN
    + 2 > {+
    + 3 > PROD_1 duplicate TARGET DATABASE; +
    {+ 4 >} +.

    From Db in double to 29 August 08+.
    allocated channel: ORA_AUX_DISK_1+.
    channel ORA_AUX_DISK_1: sid = 139 devtype = DISK+.
    RMAN-00571: ===========================================================+
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =+.
    RMAN-00571: ===========================================================+
    RMAN-03002: failure of the command duplicate Db at 2008-08-29 14:06:07+.
    RMAN and 05500: the auxiliary database must be mounted not on the issue of a duplicate order+.

    RMAN >

    then, when PROD_1 is not mounted, I can't connect to PROD_1 of PROD_2 server, beacause the database is not open!

    Could you help me please, I simply try to replicate my database PROD_1.

    Thank you very much

    Published by: OracleJavaLinux on August 29, 2008 14:23

    Hey,.

    you simply set ORACLE_SID on you prod_2 (not 1). Otherwise, you're good.

    Connect to prod_1 with rman target / catalog rman@prod_1.

    HTH.

  • Cloning of Oracle database with RMAN

    Hello dear colleagues,

    I intend to clone my PROD database to create a database of emergency with RMAN, the situation in the present case, it is that I want to use the same db_name so create spfile scp to the target server, run a level 0 backup dB, create the same file structure as well, but I'm confused because when I connect to RMAN to perform cloning as you can see...

    RMAN> connect auxiliary /
    connected to auxiliary database: prod1 (not mounted)
    
    RMAN> connect target sys/passprod1@prod1_ORI
    connected to target database: PROD1 (DBID=somenumber)
    

    RMAN> run {
    allocate auxiliary channel c1 device type disk;
    allocate channel c2 device type disk;
    duplicate target database to 'prod1';
    }
    

    -Is it possible that crushes my source PROD1 database

    -C' is ok, if I run the clone with the database of the source open with few users working? Even he will operate a backup, this will obviously have a performance impact but also the integrity of the data? I'm not sure what other files of this procedure will be used in clonning.

    -Should I enter into channel c2 backup full path to the source server?

    I enjoy any help and thanks in advance.

    Documentation:

    http://docs.Oracle.com/CD/E11882_01/backup.112/e10642/rcmdupdb.htm#i1008564

    Backup the basic replication does not require the same password (file)

    If duplication to a host remote and demanding that the same file names and paths created, then integrate the NOFILENAMECHECK.

    Hemant K Collette

  • RMAN-05501: abandonment of duplicate target database

    Hello

    I have a little problem with my duplication of the previous day.
    The stupif thing is that I created the day before with this script, first time and after that I decided to recreate it in a different folder
    and since then, I get this error at the end of the process.


    starting media recovery

    Journal archived for thread 1 with sequence 13143 is already on the disc in the file /archives/CMOVP/archivelogs/1_13143_810397891.arc
    Journal archived for thread 1 with sequence 13144 is already on the disc in the file /archives/CMOVP/archivelogs/1_13144_810397891.arc
    Journal archived for thread 1 with sequence 13145 is already on the disc in the file /archives/CMOVP/archivelogs/1_13145_810397891.arc
    Journal archived for thread 1 with sequence 13146 is already on the disc in the file /archives/CMOVP/archivelogs/1_13146_810397891.arc
    Archive log file name=/archives/CMOVP/archivelogs/1_13143_810397891.arc thread = 1 sequence = 13143
    output channel: prm1
    output channel: stby1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the command duplicate Db at 01/05/2013 23:39:32
    RMAN-05501: abandonment of duplicate target database
    RMAN-03015: an error has occurred in the script stored memory Script
    ORA-00283: cool cancelled due to errors
    RMAN-11003: failure in parsing / execution of the SQL statement: alter database recover logfile ' / archives/CMOVP/archivelogs/1_13143_810397891.arc'
    ORA-00283: cool cancelled due to errors
    ORA-00354: corrupted redo log block header
    ORA-00353: journal corruption near block 2048 change 1524092704 time 01/05/2013 22:18:20
    ORA-00334: archived log: ' / archives/CMOVP/archivelogs/1_13143_810397891.arc'


    I followed all the steps to create the instance of relief, as I said, I've created a first time

    What has changed the second time is that I have insert the following parameters in my init.ora

    db_file_name_convert = "/ oradata/oradata/cmovelprodco/cmovelprodco ', ' / oradata/oradata/cmovelproddr/cmovelproddr.
    LOG_FILE_NAME_CONVERT = "/ oradata/oradata/cmovelprodco/cmovelprodco ', ' / oradata/oradata/cmovelproddr/redolog".


    I run the script to duplicate the db:

    run
    {
    allocate channel prm1 type disk;
    allocate auxiliary channel stby1 type disk;
    DUPLICATE TARGET DATABASE
    FOR STANDBY
    ACTIVE DATABASE
    DORECOVER
    NOFILENAMECHECK;
    }

    But every time I had this type of corruption archivelog
    But when I validate the archives (archivelog Validate all) they are [OK]

    Clues?
    Thxs for your help

    okKarol wrote:
    To the main Site

    SQL > select GROUP #, TYPE, substr (MEMBER, 1, 40) from v$ logfile;

    GROUP # TYPE SUBSTR (MEMBER, 1, 40)
    ---------- ------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    3 /data1/oracle/CMOVP/redo01g3.rdo online
    3 /data2/oracle/CMOVP/redo02g3.rdo online
    2 /data2/oracle/CMOVP/redo02g2.rdo online
    2 /data1/oracle/CMOVP/redo01g2.rdo online
    1 /data1/oracle/CMOVP/redo01g1.rdo online
    1 /data2/oracle/CMOVP/redo02g1.rdo online
    4 /data1/oracle/CMOVP/Stbyredo01g4.rdo EVE
    5 /data2/oracle/CMOVP/Stbyredo01g5.rdo EVE
    6 /data1/oracle/CMOVP/Stbyredo01g6.rdo EVE
    7 /data2/oracle/CMOVP/Stbyredo01g7.rdo EVE

    In secondary Site

    1 * select GROUP #, TYPE, substr (MEMBER, 1, 40) in v$ logfile

    GROUP # TYPE SUBSTR (MEMBER, 1, 40)
    ---------- ------- ----------------------------------------------------------------------------------------------------------------------------------------------------------------
    /Mcelnetapp/Data1/Oracle/CMOVP/redo01g3.RDO in LINE 3 > I have rename manually
    3 /mcelnetapp/data2/oracle/CMOVP/redo02g3.rdo online > renames manually
    2 /data2/oracle/CMOVP/redo02g2.rdo online
    2 /data1/oracle/CMOVP/redo01g2.rdo online
    1 /mcelnetapp/data1/oracle/CMOVP/redo01g1.rdo online > rename manually
    1 /mcelnetapp/data2/oracle/CMOVP/redo02g1.rdo online > renames manually
    4 /data1/oracle/CMOVP/Stbyredo01g4.rdo EVE
    5 /data2/oracle/CMOVP/Stbyredo01g5.rdo EVE
    6 /data1/oracle/CMOVP/Stbyredo01g6.rdo EVE
    7 /data2/oracle/CMOVP/Stbyredo01g7.rdo EVE

    Then

    SQL> SHUTDOWN IMMEDIATE
    

    Move files:
    MV /data1/oracle/CMOVP/redo01g2.rdo /mcelnetapp/data1/oracle/CMOVP/redo01g2.rdo
    MV /data2/oracle/CMOVP/redo02g2.rdo /mcelnetapp/data2/oracle/CMOVP/redo02g2.rdo

    SQL> STARTUP MOUNT
    SQL> ALTER DATABASE RENAME FILE '/data1/oracle/CMOVP/redo01g2.rdo' to '/mcelnetapp/data1/oracle/CMOVP/redo01g2.rdo';
    SQL> ALTER DATABASE RENAME FILE '/data2/oracle/CMOVP/redo02g2.rdo' to '/mcelnetapp/data2/oracle/CMOVP/redo02g2.rdo';
    SQL> ALTER DATABASE RECOVER MANAGED STANDBY DATABASE DISCONNECT FROM SESSION;
    

    Concerning
    Mr. Mahir Quluzade

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

  • HOW to clone the DATABASE with RMAN

    Hello gurus,
    I have a problem with RMAN, I'm trying to 'Cloning' an Oracle Instance with RMAN database and I have several errors, but I checkk all Forums and documentation
    I have 2 servers in 10.2.1 in Solaris and other in 10.2.4 on Linux
    And I'm running in my 1Mode of the server as follows:
    RMAN
    target connection.
    connection Assistant sys/manager@TESTDB10_SITE2.world
    run
    {
    allocate auxiliary channels ch1 type disk;
    the value of newname for datafile 1 to ' / u02/oradata/EVTM/system/system01.dbf';
    the value of newname for datafile 2 to ' / u02/oradata/EVTM/system/undotbs01.dbf';
    the value of newname for datafile 3 to ' / u02/oradata/EVTM/system/sysaux01.dbf';
    the value of newname for datafile 4 to ' / u01/oradata/EVTM/data/users01.dbf';
    the value of newname for datafile 5 to ' / u01/oradata/EVTM/data/tbs_tpaper_data_01.dbf';
    the value of newname for datafile 6 to ' / u03/oradata/EVTM/index/tbs_tpaper_idx.dbf';
    the value of newname for datafile 8 to ' / u01/oradata/EVTM/data/users02.dbf';
    the value of newname for datafile 7 to ' / u01/oradata/EVTM/data/perfstat_01.dbf';
    the value of newname for datafile 9 to ' / u01/oradata/EVTM/data/tbs_evtm_quest01.dbf';
    the value of newname for tempfile 1 to ' / u02/oradata/EVTM/system/temp01.dbf';
    duplicate target database to EVTM PFILE = ' / u01/app/oracle/product/10.2/dbs/initEVTM.ora' nofilenamecheck
    LOGFILE
    Group 1 ('/ u01/oradata/EVTM/rdo/redo1m1.log',)
    ' / u01/oradata/EVTM/rdo/redo1m2.log',
    U01/oradata/EVTM/RDO/redo1m3.log') SIZE the 51200 K,.
    Group 2 ('/ u01/oradata/EVTM/rdo/redo2m1.log',)
    ' / u01/oradata/EVTM/rdo/redo2m2.log',
    U01/oradata/EVTM/RDO/redo2m3.log') SIZE the 51200 K,.
    Group 3 ('/ u01/oradata/EVTM/rdo/redo3m1.log',)
    ' / u01/oradata/EVTM/rdo/redo3m2.log',
    U01/oradata/EVTM/RDO/redo3m3.log') SIZE the 51200 K;
    }

    and I get the error:

    channel ch1: reading of the backup/backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1 element
    ORA-19870: error reading backup total/backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1
    ORA-19505: impossible to identify the file ' / backup/ORA_BACKUP_EVTM/EVTM_291020091029_full_3aksvk4q_1_1.
    ORA-27037: unable to get file status
    Linux-x86_64 error: 2: no such file or directory
    Additional information: 3
    switch to the previous backup

    output channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Db in dual at 2009-10-29 16:08:29
    RMAN-03015: an error has occurred in the script stored memory Script
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of file 9 found to restore
    RMAN-06023: no backup or copy of datafile 8 found to restore
    RMAN-06023: no backup or copy of 7 found to restore


    Question?
    Is it possible to duplicate/clone of Soalris in Linux? :-)))))

    Is it possible to duplicate/clone of Soalris in Linux? :-)))))

    You can not use the command DUPLICATE between platforms (see duplicate restrictions in the documentation). It is possible to perform a cross-platform via RMAN transport. This process is also explained in the documentation.

    Werner

    You have an additional complication, patch levels are different. Perhaps datapump here is a better solution - depending on the size of the database.

    And I hope that Solaris on x 86-64 (no SPARC), otherwise the next complication.

    Edited by: oradba October 29, 2009 16:53

    Edited by: oradba October 29, 2009 16:55

  • database clone with RMAN

    We use the Oracle 10 g R2 on Linux.

    We have a database of development which is mode without archival value. Can clone us this database without stopping it with RMAN.

    No, you can't take any form of online backup without in archivelog mode. BackupSets would be blurred as data files are backed up to the different SNA.

  • How to take a column of duplicate names and fill a different column with the same names, excluding duplicates?

    How to take a column of duplicate names and fill a different column with the same names, excluding duplicates?

    I find easier to use this copy separate Automator Service (download Dropbox).

    To install in your numbers > Services, double-click menu just the package downloaded .workflow and if necessary give permissions in system preferences > security & privacy.

    To use, just:

    1. Select the cells in the column with duplicate names.
    2. Choose separate copy in numbers > Services menu.
    3. Click once in the upper cell where you want the deduplicated values appear.
    4. Command-v to paste.

    SG

  • Try to clone RAC database with RMAN database RAC but becomes lower than ORA-01503

    I'm trying to clone a RAC database of RMAN target database is also CARS, so for every thing wen fine but getting "ORA-01503.

    Please find below, please help me solve this problem.

    connect sys/p0ck3t@pcard1 target;

    auxiliary connection;

    Connect the rmancat/rmanamex@rmandb catalog;

    Run {}

    SQL "alter session set optimizer_mode = RULE ';"

    until ' to_date (' may 1, 2015 06:30 ',' Lun ' DD YYYY HH24:MI:SS);

    allocate auxiliary channel t1 type disk;

    allocate auxiliary channel t2 type disk;

    allocate auxiliary channel t3 type disk;

    the value of newname for datafile 4 to "+ DATA/pcardtst/datafile/users.304.723229675";

    the value of newname for datafile 3 to "+ DATA/pcardtst/datafile/sysaux.395.723228961";

    the value of newname for datafile 2 to "+ DATA/pcardtst/datafile/undotbs1_1.dbf";

    the value of newname for datafile 1 to "+ DATA/pcardtst/datafile/system.328.723229027";

    the value of newname for datafile 5 to "+ DATA/pcardtst/datafile/undotbs2.409.723228957";

    the value of newname for datafile 6 to "+ DATA/pcardtst/datafile/pwrcrd_usr01.dbf";

    the value of newname for datafile 7 to "+ DATA/pcardtst/datafile/pwrcrd_undotbs01.dbf";

    the value of newname for datafile 8 to "+ DATA/pcardtst/datafile/pwrcrd_undotbs02.dbf";

    the value of newname for datafile 9 to "+ DATA/pcardtst/datafile/pwrcrd_data_par01.dbf";

    the value of newname for datafile 10 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_par01.dbf";

    the value of newname for datafile 11 in "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_01.dbf";

    the value of newname for datafile 12 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_02.dbf";

    the value of newname for datafile 13 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_03.dbf";

    the value of newname for datafile 14 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part01_04.dbf";

    the value of newname for datafile 15 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part01_01.dbf";

    the value of newname for datafile 16 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part01_02.dbf";

    the value of newname for datafile 17 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_01.dbf";

    the value of newname for datafile 18 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_02.dbf";

    the value of newname for datafile 19 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_03.dbf";

    the value of newname for datafile 20 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part02_04.dbf";

    the value of newname for datafile 21 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part02_01.dbf";

    the value of newname for datafile 22 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part02_02.dbf";

    the value of newname for datafile 23 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part03_01.dbf";

    the value of newname for datafile 24 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part03_02.dbf";

    the value of newname for datafile 25 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part03_03.dbf";

    the value of newname for datafile 26 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part03_01.dbf";

    the value of newname for datafile 27 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part03_02.dbf";

    the value of newname for datafile 28 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part04_01.dbf";

    the value of newname for datafile 29 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part04_02.dbf";

    the value of newname for datafile 30 to "+ DATA/pcardtst/datafile/pwrcrd_data_bo_part04_03.dbf";

    the value of newname for datafile 31 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part04_01.dbf";

    the value of newname for datafile 32 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_bo_part04_02.dbf";

    the value of newname for datafile 33 to '+ DATA/pcardtst/datafile/pwrcrd_data_fe_part01_01.dbf;

    the value of newname for datafile 34 at "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part01_02.dbf";

    the value of newname for datafile 35 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part01_03.dbf";

    the value of newname for datafile 36 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part01_01.dbf";

    the value of newname for datafile 37 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part01_02.dbf";

    the value of newname for datafile 38 at "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part02_01.dbf";

    the value of newname for datafile 39 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part02_02.dbf";

    the value of newname for datafile 40 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part02_03.dbf";

    the value of newname for datafile 41 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part02_01.dbf";

    the value of newname for datafile 42 at "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part02_02.dbf";

    the value of newname for datafile 43 at "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part03_01.dbf";

    the value of newname for datafile 44 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part03_02.dbf";

    the value of newname for datafile 45 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part03_01.dbf";

    the value of newname for datafile 46 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part03_02.dbf";

    the value of newname for datafile 47 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part04_01.dbf";

    the value of newname for datafile 48 to "+ DATA/pcardtst/datafile/pwrcrd_data_fe_part04_02.dbf";

    the value of newname for datafile 49 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part04_01.dbf";

    the value of newname for datafile 50 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_fe_part04_02.dbf";

    the value of newname for datafile 51 to "+ DATA/pcardtst/datafile/pwrcrd_data_batch01.dbf";

    the value of newname for datafile 52 at "+ DATA/pcardtst/datafile/pwrcrd_data_batch02.dbf";

    the value of newname for datafile 53 to '+ DATA/pcardtst/datafile/pwrcrd_data_batch03.dbf;

    the value of newname for datafile 54 to "+ DATA/pcardtst/datafile/pwrcrd_data_batch04.dbf";

    the value of newname for datafile 55 to "+ DATA/pcardtst/datafile/pwrcrd_data_batch05.dbf";

    the value of newname for datafile 56 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_batch01.dbf";

    the value of newname for datafile 57 to "+ DATA/pcardtst/datafile/pwrcrd_ndx_batch02.dbf";

    the value of newname for datafile 58 at "+ DATA/pcardtst/datafile/pwrcrd_ndx_batch03.dbf";

    the value of newname for datafile 59 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part01_01.dbf";

    the value of newname for datafile 60 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part01_01.dbf";

    the value of newname for datafile 61 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part02_01.dbf";

    the value of newname for datafile 62 at "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part02_01.dbf";

    the value of newname for datafile 63 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part03_01.dbf";

    the value of newname for datafile 64 at "+ DATA/pcardtst/datafile/pwrcrd_data_index_part03_01.dbf";

    the value of newname for datafile 65 at "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part04_01.dbf";

    the value of newname for datafile 66 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part04_01.dbf";

    the value of newname for datafile 67 to '+ DATA/pcardtst/datafile/pwrcrd_data_hist_part05_01.dbf;

    the value of newname for datafile 68 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part05_01.dbf";

    the value of newname for datafile 69 at "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part06_01.dbf";

    the value of newname for datafile 70 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part06_01.dbf";

    the value of newname for datafile 71 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part07_01.dbf";

    the value of newname for datafile 72 at "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part07_01.dbf";

    the value of newname for datafile 73 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part08_01.dbf";

    the value of newname for datafile 74 at "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part08_01.dbf";

    the value of newname for datafile 75 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part09_01.dbf";

    the value of newname for datafile 76 to '+ DATA/pcardtst/datafile/pwrcrd_index_hist_part09_01.dbf;

    the value of newname for datafile 77 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part10_01.dbf";

    the value of newname for datafile 78 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part10_01.dbf";

    the value of newname for datafile 79 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part11_01.dbf";

    the value of newname for datafile 80 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part11_01.dbf";

    the value of newname for datafile 81 to '+ DATA/pcardtst/datafile/pwrcrd_data_hist_part12_01.dbf;

    the value of newname for datafile 82 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part12_01.dbf";

    the value of newname for datafile 83 at "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part13_01.dbf";

    the value of newname for datafile 84 to "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part13_01.dbf";

    the value of newname for datafile 85 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part14_01.dbf";

    the value of newname for datafile 86 to '+ DATA/pcardtst/datafile/pwrcrd_index_hist_part14_01.dbf;

    the value of newname for datafile 87 to "+ DATA/pcardtst/datafile/powercard_users.375.723228963";

    the value of newname for datafile 88 to "+ DATA/pcardtst/datafile/powercard_users.396.723228959";

    the value of newname for datafile 89 to "+ DATA/pcardtst/datafile/powercard_users.399.723228959";

    the value of newname for datafile 90 to "+ DATA/pcardtst/datafile/powercard_users.393.723228961";

    the value of newname for datafile 91 to '+ DATA/pcardtst/datafile/mig_pc_delivery.309.723228955;

    the value of newname for datafile 92 to "+ DATA/pcardtst/datafile/powercard_index_par.403.723228961";

    the value of newname for datafile 93 to "+ DATA/pcardtst/datafile/powercard_users.381.723228963";

    the value of newname for datafile 94 to "+ DATA/pcardtst/datafile/powercard_index_hist_part01.275.723229411";

    the value of newname for datafile 95 at "+ DATA/pcardtst/datafile/powercard_data_fe_part01.364.723229607";

    the value of newname for datafile 96 to "+ DATA/pcardtst/datafile/powercard_data_hist_part05.380.723228963";

    the value of newname for datafile 97 to '+ DATA/pcardtst/datafile/powercard_data_hist_part10.310.723228959;

    the value of newname for datafile 98 in "+ DATA/pcardtst/datafile/powercard_data_hist_part14.268.723229465";

    the value of newname for datafile 99 to "+ DATA/pcardtst/datafile/powercard_index_hist_part08.367.723229607";

    the value of newname for datafile 100 to "+ DATA/pcardtst/datafile/powercard_index_hist_part09.385.723229087";

    the value of newname for datafile 101 to "+ DATA/pcardtst/datafile/powercard_index_hist_part11.286.723229559";

    the value of newname for datafile 102 to "+ DATA/pcardtst/datafile/powercard_index_hist_part13.355.723229615";

    the value of newname for datafile 103 to "+ DATA/pcardtst/datafile/powercard_data_batch.330.723228961";

    the value of newname for datafile 104 to "+ DATA/pcardtst/datafile/powercard_data_hist_part13.335.723229485";

    the value of newname for datafile 105 to "+ DATA/pcardtst/datafile/powercard_index_bo_part03.285.723229567";

    the value of newname for datafile 106 to "+ DATA/pcardtst/datafile/powercard_index_bo_part01.351.723229617";

    the value of newname for datafile 107 to "+ DATA/pcardtst/datafile/powercard_index_fe_part04.261.723229627";

    the value of newname for datafile 108 to "+ DATA/pcardtst/datafile/powercard_index_hist_part02.264.723229465";

    the value of newname for datafile 109 to "+ DATA/pcardtst/datafile/powercard_data_bo_part01.284.723229573";

    the value of newname for datafile 110 to "+ DATA/pcardtst/datafile/powercard_data_hist_part01.406.723229497";

    the value of newname for datafile 111 to "+ DATA/pcardtst/datafile/powercard_data_hist_part07.291.723229557";

    the value of newname for datafile 112 to "+ DATA/pcardtst/datafile/powercard_data_hist_part08.371.723229615";

    the value of newname for datafile 113 to "+ DATA/pcardtst/datafile/powercard_data_hist_part09.346.723228973";

    the value of newname for datafile 114 to "+ DATA/pcardtst/datafile/powercard_data_hist_part12.401.723229447";

    the value of newname for datafile 115 to "+ DATA/pcardtst/datafile/powercard_index_fe_part02.262.723229625";

    the value of newname for datafile 116 to "+ DATA/pcardtst/datafile/powercard_data_fe_part04.374.723229627";

    the value of newname for datafile 117 to "+ DATA/pcardtst/datafile/powercard_data_bo_part03.276.723229585";

    the value of newname for datafile 118 to "+ DATA/pcardtst/datafile/powercard_data_bo_part04.350.723229633";

    the value of newname for datafile 119 to "+ DATA/pcardtst/datafile/powercard_index_bo_part04.317.723229633";

    the value of newname for datafile 120 to "+ DATA/pcardtst/datafile/powercard_data_hist_part03.400.723229511";

    the value of newname for datafile 121 in '+ DATA/pcardtst/datafile/powercard_index_hist_part12.369.723229605;

    the value of newname for datafile 122 to "+ DATA/pcardtst/datafile/powercard_index_hist_part05.373.723229641";

    the value of newname for datafile 123 to "+ DATA/pcardtst/datafile/powercard_data_par.319.723229635";

    the value of newname for datafile 124 to "+ DATA/pcardtst/datafile/powercard_users.402.723228957";

    the value of newname for datafile 125 to "+ DATA/pcardtst/datafile/powercard_index_batch.356.723229609";

    the value of newname for datafile 126 to "+ DATA/pcardtst/datafile/powercard_index_bo_part02.256.723229647";

    the value of newname for datafile 127 to "+ DATA/pcardtst/datafile/powercard_index_hist_part07.320.723229641";

    the value of newname for datafile 128 to "+ DATA/pcardtst/datafile/powercard_index_hist_part04.258.723229615";

    the value of newname for datafile 129 to "+ DATA/pcardtst/datafile/powercard_data_bo_part02.366.723229651";

    the value of newname for datafile 130 to "+ DATA/pcardtst/datafile/powercard_data_hist_part06.348.723228965";

    the value of newname for datafile 131 to "+ DATA/pcardtst/datafile/powercard_data_hist_part02.307.723229525";

    the value of newname for datafile 132 to "+ DATA/pcardtst/datafile/powercard_index_fe_part01.370.723229647";

    the value of newname for datafile 133 to "+ DATA/pcardtst/datafile/powercard_index_fe_part03.352.723229619";

    the value of newname for datafile 134 to "+ DATA/pcardtst/datafile/powercard_index_hist_part06.266.723229659";

    the value of newname for datafile 135 to "+ DATA/pcardtst/datafile/powercard_index_hist_part10.329.723229027";

    the value of newname for datafile 136 to "+ DATA/pcardtst/datafile/powercard_index_hist_part03.337.723229651";

    the value of newname for datafile 137 to "+ DATA/pcardtst/datafile/powercard_index_hist_part14.263.723229627";

    the value of newname for datafile 138 to "+ DATA/pcardtst/datafile/stpmw_data01.dbf";

    the value of newname for datafile 139 to "+ DATA/pcardtst/datafile/undotbs1_2.dbf";

    the value of newname for datafile 140 to "+ DATA/pcardtst/datafile/undotbs1_3.dbf";

    the value of newname for datafile 141 to "+ DATA/pcardtst/datafile/undotbs1_4.dbf";

    the value of newname for datafile 142 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part05_03.dbf";

    the value of newname for datafile 143 to "+ DATA/pcardtst/datafile/powercard_data_hist_part05.426.851242407";

    the value of newname for datafile 144 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part11_02.dbf";

    the value of newname for datafile 145 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part12_02.dbf";

    the value of newname for datafile 146 to "+ DATA/pcardtst/datafile/pwrcrd_data_hist_part05_04.dbf";

    the value of newname for datafile 147 in "+ DATA/pcardtst/datafile/pwrcrd_index_hist_part05_02.dbf";

    the value of newname for tempfile 1 to "+ DATA/pcardtst/tempfile/temp1.dbf";

    the value of newname for tempfile 2 to "+ DATA/pcardtst/tempfile/temp2.dbf";

    the value of newname for tempfile 3 to "+ DATA/pcardtst/tempfile/temp3.dbf";

    the value of newname for tempfile 4 to "+ DATA/pcardtst/tempfile/pwrcard_temp01.dbf";

    the value of newname for tempfile 5 to "+ DATA/pcardtst/tempfile/pwrcard_temp02.dbf";

    the value of newname for tempfile 6 to "+ DATA/pcardtst/tempfile/pwrcard_temp03.dbf";

    the value of newname for tempfile 7 to "+ DATA/pcardtst/tempfile/pwrcard_temp04.dbf";

    duplicate target database in the pcardtst log file

    GROUP 10 ('+ DATA/pcardtst/onlinelog/group_10_01') size 512 M,

    GROUP 10 ('+ DATA/pcardtst/onlinelog/group_10_02') size 512 M,

    GROUP 11 ('+ DATA/pcardtst/onlinelog/group_11_01') size 512 M,

    GROUP 11 ('+ DATA/pcardtst/onlinelog/group_11_02') size 512 M,

    GROUP 12 ('+ DATA/pcardtst/onlinelog/group_12_01') size 512 M,

    GROUP 12 ('+ DATA/pcardtst/onlinelog/group_12_02') size 512 M,

    GROUP 13 ('+ DATA/pcardtst/onlinelog/group_13_01') size 512 M,

    GROUP 13 ('+ DATA/pcardtst/onlinelog/group_13_02') size 512 M,

    GROUP 14 ('+ DATA/pcardtst/onlinelog/group_14_01') size 512 M,

    GROUP 14 ('+ DATA/pcardtst/onlinelog/group_14_02') size 512 M,

    GROUP 7 ('+ DATA/pcardtst/onlinelog/group_7_01') size 512 M,

    GROUP 7 ('+ DATA/pcardtst/onlinelog/group_7_02') size 512 M,

    GROUP 8 ('+ DATA/pcardtst/onlinelog/group_8_01') size 512 M,

    GROUP 8 ('+ DATA/pcardtst/onlinelog/group_8_02') size 512 M,

    GROUP 9 ('+ DATA/pcardtst/onlinelog/group_9_01') size 512 M,

    GROUP 9 ('+ DATA/pcardtst/onlinelog/group_9_02') size 512 M;

    output channel t1;

    output channel t2;

    output channel t3;

    }

    But gettting error below

    DATA FILE

    "+ DATA/pcardtst/datafile/system.635.878984933".

    CHARACTER SET WE8ISO8859P1

    output channel: t1

    output channel: t2

    output channel: t3

    RMAN-00571: ===========================================================

    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.

    RMAN-00571: ===========================================================

    RMAN-03002: failure of Db in dual at 06/05/2015 14:26:01

    RMAN-06136: the auxiliary database ORACLE error: ORA-01503: CREATE CONTROLFILE failed

    ORA-01167: two files are the same file/group number or the same file

    ORA-01517: Member of journal: '+ DATA/pcardtst/onlinelog/group_10_02.

    ORA-01517: Member of journal: '+ DATA/pcardtst/onlinelog/group_10_01.

    Complete recovery manager.

    Kind regards.

    Younus

    Hi Eric,.

    Let's not your syntax for log files. Check out the docs:

    http://docs.Oracle.com/CD/B28359_01/backup.111/b28270/rcmdupdb.htm#BRADV89956

    You need only name the Group once followed a list separated by commas of the logfile members.

    Concerning

    Thomas

  • Refresh the production database to test the database with RMAN

    Hi experts,

    I want to refresh the production database to test the database with RMAN. You can help me please how to do this.

    I saw a lot of blog on the internet but not got a satisfactory answer.

    Reg,

    Thomas verrma

    Thomas

    Follow these steps

    1. on the server target

    a. Add entry in oratab

    b. create init.ora for target db copy of source

    c. If you use catalog

    connect to the RMAN catalog, you can use the double option to clone run below

    one.

    RMAN > Connect target sys /@trgt

    RMAN > Connect Catalog rman /@catalog

    b. check that the backup connects to the source and to collect information on the elements of backup that contains the backup controlfile

    c. restore the controlfile

    RMAN > set DBID = xxxxxxxx (DBID of the source db)

    RMAN > run

    {

    allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =, NB_ORA_SERV =)';

    Restore controlfile from "/ c-DBID-xxxxxxxx-00';

    }

    Once the controlfile is restored, you can mount the db

    change the editing of the database;

    run

    {

    until ' TO_DATE (2014-SEPT-10 10:00 ', MY - DD - YYYY HH24 ') ";

    allocate channels ch1 type parms 'SBT_TAPE' = 'ENV = (NB_ORA_CLIENT =, NB_ORA_SERV =)';

    restore the database;

    recover the database;

    }

    ALTER database open resetlogs;

    stop immediately;

    bootable media;

    nest target = / = dbname

    change the system db_name set = scope = spfile;

    stop immediately;

    Startup mount

    ALTER database open resetlogs;

  • Best way to migrate virtual machines to new ESXi hosts with a different configuration of networking.

    We currently have a cluster of 6 Dell machines that move VM 120 or so on ESXi 5.5. Networking consists of a dVswitch with 6 uplinks that map to 6 x 1gig physical NETWORK adapters on each host ESXi... These are grouped into 3 trunks / gal, so we have 2 GB by SHIFTING of the bandwidth and failover. The LAGS are configured as follows:

    LAG1

    Traffic to our (NFS) shared data store and management of ESXi. (vmk0)

    LAG2

    Access to the network of the VM - groups of different ports on different VLANS

    LAG3

    vMotion (vmk1)

    We just bought 6 new Dell machines that have connections fiber 2 x 10gig each. The idea is to bring together in a 20Ggig LAG by machine that will handle all of the traffic, so traffic NFS data store, network traffic from the VM, vMotion and traffic management ESXi.


    What is the best way to migrate the virtual machine in the cluster existing to the new machines? Many of the virtual machine are essential, so we cannot stop time.


    Can I create the new DELAY on existing dVswitch and put it as an auxiliary card? I'll be able to do it for all 3 of the above both above LAGS?


    Thanks for the info Alistar, it's almost here. The bit that was me stumping was that after establishing a new dVswitch I received messages that the new dvSwitch was not reachable on the old host, when I tried to migrate the virtual computer.

    The solution (with the permission of VMware Support) was that I need to add the two dVswitches to one of the old hosts, then assign a physical alternative on this host uplink to a temporary 3 uplink on the new dVswitch. I then tag all the relevant VLAN that uplink.

    This way I can first migrate the virtual machine to the new dVswitch networking so I can move the computer to the new cluster.

    Obviously I can only migrate from old to new cluster with a single host. each virtual machine must be a double for the host with 2 switches, and then to the new cluster. I also had to have the two dVswitches to the same version.

    Fortunately, I had a physical rising spare on the hosts of the old, otherwise I would have had to break one of the trunks and re-use of one of these uplinks.

    Oh and be aware, impossible to use the same names for groups of ports 2 DV switches, they must be unique!

    Nick

  • Copy of complete site. I have a Web site. I would copy the entire site (complete with images) to another directory with a different name. Then, transfer to another hosting server. All ideas

    Copy of complete site. I have a Web site. I would copy the entire site (complete with images) to another directory with a different name. Then, transfer to another hosting server. Any ideas?

    Not sure that you need a different directory.

    If you are working on a local computer, create a new site with all the same settings for local files and change the remote server settings to match the second server.

    This ensures you that there is no difference between the two websites.

Maybe you are looking for

  • Re: Satellite A665-3DV: reformatting + Drivers

    Hi, I just got my new laptop Satellite A665-3DV of Frys. I also bought an upgrade to Windows 7 Ultimate to format and install windows again. I do that because that usually computers laptops that are shipped are filled with things I don't not needed/w

  • WiFi Tethering and the new 'Verizon Plan'

    I recently changed in the new "The Verizon Plan" which is, in many cases, cheaper and more versatile than previous offers (thank you TMobile and project Fi). I was able to engage the service of "hot spot" WiFi on the Pure X even if I do not have a su

  • where the parameters to set at random is play

    My Windows 10 iTunes plays my music by album, rather than a song randomly.  I saw an answer telling to go in the settings, but I can't locate the "settings" in iTunes.  Is - that other place?

  • BIOS update HP Support Assistant

    Hi guys, I am experiensing a problem while trying to update the Bios with HP Support Assistant. The update downloads very well but the instalation fails. I looked in the page to download manually, but this update doesen't show up http://h10025.www1.h

  • loss of the contents of the 'sent items' folder in windows mail

    Somehow all my emails sent in the 'sent items' folder of windows mail have been dumped. It's the second time that this has happened almost two years, I've been using vista. I checked to make sure that "show all messages" is accused in the "current vi