关于Rman Duplicate from active databse 到一个新库中出现的问题

OS:
[oravis@prcsgidb1 dbs]$ uname -a
Linux xxxx 2.6.32-200.13.1.el5uek #1 SMP Wed Jul 27 21:02:33 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
DATABASE:单机
target: hzdbacoe 11.2.0.3
auxiliary: dbacoe 11.2.0.3
发生情景
将旧库home目录Clone到同机另一文件夹并做完所有操作后,欲进行duplicate
在新home目录中
1.新建pfile initdbacoe.ora如下
DB_NAME=dbacoe
DB_FILE_NAME_CONVERT=(/u03/apps/oracle/oradata/hzdbacoe/,/u03/app/oracle/oradata/dbacoe/)
LOG_FILE_NAME_CONVERT=(/u03/apps/oracle/oradata/hzdbacoe/,/u03/app/oracle/oradata/dbacoe/)
2.新建orapw file=orapwdbacoe.ora password=oracle
3.mkdir -p $ORACLE_BASE/oradata/dbacoe并赋好权限
4.根据该pfile起至 nomount阶段instance为dbacoe
5.在该目录的listener.ora中新建一个监听,并将dbacoe服务注册进入该监听,端口为1530
在原库所在环境变量中
修改tnsname.ora 加入dbacoe信息如下:
dbacoe =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = xxxx.xxx.xxx)(PORT = 1530))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = dbacoe)
[]rman
RMAN>connect target sys/allen1218
connected to target database: HZDBACOE (DBID=2102554453)
RMAN>connect auxiliary sys/oracle@dbacoe
connected to auxiliary database: DBACOE (not mounted)
RMAN>duplicate target database to dbacoe from active database nofilenamecheck;(ps:之前第一次有运行过一次duplicate,未加nofilenamecheck,报错后加上)
结果在复制oradata文件时报错如下
Starting backup at 20121107 18:22:54
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=178 device type=DISK
allocated channel: ORA_DISK_2
channel ORA_DISK_2: SID=190 device type=DISK
allocated channel: ORA_DISK_3
channel ORA_DISK_3: SID=201 device type=DISK
allocated channel: ORA_DISK_4
channel ORA_DISK_4: SID=2 device type=DISK
channel ORA_DISK_1: starting datafile copy
copying current control file
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/07/2012 18:22:55
RMAN-05501: aborting duplication of target database
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/07/2012 18:22:55
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
oradata文件夹属主信息如下
[oravis@prcsgidb1 oracle]$ ls -ltr
total 20
drwx------ 3 oravis dba 4096 Nov 7 14:54 product
drwxr-xr-x 2 oravis dba 4096 Nov 7 15:41 checkpoints
drwxr-x--- 3 oravis dba 4096 Nov 7 16:12 cfgtoollogs
drwx------ 3 oravis dba 4096 Nov 7 17:11 oradata
drwxrwxr-x 4 oravis dba 4096 Nov 7 17:23 diag
我知道错误非常明显,但我不知道是哪个username/password出错,这之间的过程只有建orapw 文件时才有password设置进入,之前的home也将属主均改为oravis了。

找到原因了,还是官方文档看得不仔细
2.At the RMAN prompt, run CONNECT commands for the database instances required for your duplication technique:
◦For active database duplication, you must connect to the source database as TARGET and to the auxiliary instance as AUXILIARY. You must use the same SYSDBA password for both instances and must supply the net service name to connect to the AUXILIARY instance. A recovery catalog connection is optional
唉,把大量时间花在组织提问上了,希望大家引以为戒。有时候,更该去清洗一下思路,重新着手

Similar Messages

  • ORA-01017 when RMAN duplicate from active database

    Hello, ORACLE guru's!
    I've got some trouble trying to duplicate DB via RMAN duplicate from active database.
    The script is simple:
    run
    allocate channel ch1 device type disk;
    allocate auxiliary channel aux1 device type disk;
    duplicate target database to mydb from active database;
    The problem is in this statement:
    Starting backup at 15-JAN-14
    channel ch1: starting datafile copy
    copying current control file
    Oracle instance started
    Total System Global Area   10689474560 bytes
    Fixed Size                     2237776 bytes
    Variable Size               4227861168 bytes
    Database Buffers            6442450944 bytes
    Redo Buffers                  16924672 bytes
    contents of Memory Script:
       sql clone "alter system set  db_name =
    ''mydb'' comment=
    ''Reset to original value by RMAN'' scope=spfile";
       sql clone "alter system reset  db_unique_name scope=spfile";
       shutdown clone immediate;
    executing Memory Script
    sql statement: alter system set  db_name =  ''mydb'' comment= ''Reset to original value by RMAN'' scope=spfile
    sql statement: alter system reset  db_unique_name scope=spfile
    Oracle instance shut down
    released channel: ch1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 01/15/2014 12:16:07
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-03009: failure of backup command on ch1 channel at 01/15/2014 12:15:57
    ORA-17629: Cannot connect to the remote database server
    ORA-17627: ORA-01017: invalid username/password; logon denied
    ORA-17629: Cannot connect to the remote database server
    RMAN>
    RMAN>

    change:
    export  ORACLE_SID="mydb"
    export ORACLE_HOME="/u/app/oracle/product/11.2/db_1"
    FILE1 = "/u/app/oracle/product/11.2/db_1/bin/"
    cat > $FILE1/sqlplus sys/karen as sysdba << EOF
    startup nomount; 
    exit;
    EOF
    cat > $FILE1/rman target sys/karen@mytargetdb auxiliary sys/karen@mydb << EOF
    run
    allocate channel ch1 device type disk;
    allocate auxiliary channel aux1 device type disk;
    duplicate target database to mydb from active database;
    EOF
    tell us if it works and again, from what host are you running the script?

  • RMAN duplicate from ACTIVE DATABASE

    Hi,
    I am trying to create a new 11.2.0.1 database by duplicating an existing 11.2.0.1 database using Rman with 'from active database' option.
    I have created a password file and listener is configured as well.
    The aux database is started in nomount state.
    rman
    connect target sys/pwd123@SRCDB
    connect auxiliary sys/pwd123@AUXDB
    duplicate target database to AUXDB
    FROM ACTIVE DATABASE;
    This fails saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is quite normal given that the listener is havig a handle in BLOCKED state for this AUXDB as it is in NOMOUNT state.
    Could you please help me on how to proceed?
    One option can be to create the controlfile manually and mount the instance before doing the duplicate. I hope Rman can continue from there.
    Another option is to go for backup based duplicate.
    Is there any other way to go?
    Regards,
    Aravind

    This fails saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is quite normal given that the listener is havig a handle in BLOCKED state for this AUXDB as it is in NOMOUNT state.
    Could you please help me on how to proceed?
    One option can be to create the controlfile manually and mount the instance before doing the duplicate. I hope Rman can continue from there.
    Another option is to go for backup based duplicate.
    Is there any other way to go?
    Provide static registration on AUXILIARY side for your auxiliary instance and try again.For example change listener.ora file as
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = AUXDB)
          (ORACLE_HOME = <your oracle home>)
          (SID_NAME = AUXDB)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = <auxiliary host/ip>)(PORT = 1521))
      )And restart listener on auxiliary host then try again

  • Issue with RMAN DUPLICATE FROM ACTIVE DATABASE....

    Hi All,
    Not sure if I should continue from a closed thread, so apologies, opening a new one..
    I ran the following command:
    DUPLICATE TARGET DATABASE TO ' AUX1"
    from ACTIVE DATABASE
    NOFILENAMECHECK:
    So the copy went in fine...so I am confiused now....why when doing a recover, i get the below errors from output:
    archived log for thread 1 with sequence 68346 is already on disk as file H:\ORAC
    LE_ARCHIVE_LOGS\RBS1\ARCHIVELOG\2013_12_08\O1_MF_1_68346_ARCH_D-RBS_ID-295728924
    5_S-68346_T-1_A-780292253_C1OQVOSU_.ARC
    archived log for thread 1 with sequence 68347 is already on disk as file H:\ORAC
    LE_ARCHIVE_LOGS\RBS1\ARCHIVELOG\2013_12_08\O1_MF_1_68347_ARCH_D-RBS_ID-295728924
    5_S-68347_T-1_A-780292253_C3OQVOU1_.ARC
    archived log for thread 1 with sequence 68348 is already on disk as file H:\ORAC
    LE_ARCHIVE_LOGS\RBS1\ARCHIVELOG\2013_12_08\O1_MF_1_68348_ARCH_D-RBS_ID-295728924
    5_S-68348_T-1_A-780292253_C4OQVOU6_.ARC
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/08/2013 07:36:04
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06053: unable to perform media recovery because of missing log
    RMAN-06025: no backup of archived log for thread 1 with sequence 64713 and start
    ing SCN of 12728145997 found to restore
    RMAN-06025: no backup of archived log for thread 1 with sequence 64712 and start
    ing SCN of 12728133322 found to restore
    RMAN-06025: no backup of archived log for thread 1 with sequence 64711 and start
    ing SCN of 12728121403 found to restore
    RMAN-06025: no backup of archived log for thread 1 with sequence 64709 and start
    ing SCN of 12727730726 found to restore
    RMAN-06025: no backup of archived log for thread 1 with sequence 64708 and start
    ing SCN of 12727717143 found to restore
    RMAN-06025: no backup of archived log for thread 1 with sequence 64707 and start
    ing SCN of 12727701799 found to restore
    RMAN-06025: no backup of archived log for thread 1 with sequence 64704 and start
    ing SCN of 12726617917 found to restore
    RMAN-06025: no backup of archived log for thread 1 with sequence 64703 and start
    ing SCN of 12726605080 found to restore
    RMAN-06025: no backup of archived log for thread 1 with sequence 64702 and start
    No archivelogs were purged or backed up and the current logs were retained....so im somewhat confused....i am not restoring from backup but running active duplicate...
    should I re-run the command with:
    SET UNTIL SEQUENCE 64713 THREAD 1

    This fails saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is quite normal given that the listener is havig a handle in BLOCKED state for this AUXDB as it is in NOMOUNT state.
    Could you please help me on how to proceed?
    One option can be to create the controlfile manually and mount the instance before doing the duplicate. I hope Rman can continue from there.
    Another option is to go for backup based duplicate.
    Is there any other way to go?
    Provide static registration on AUXILIARY side for your auxiliary instance and try again.For example change listener.ora file as
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = AUXDB)
          (ORACLE_HOME = <your oracle home>)
          (SID_NAME = AUXDB)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = <auxiliary host/ip>)(PORT = 1521))
      )And restart listener on auxiliary host then try again

  • Rman duplicate from active database slow

    Hi,
    I am doing a duplicate database from active database, it seems to either slow or hanging. Can someone suggest any tips or pointers to debug this issue?
    Source: 11gR2 3-node RAC (only one instance running) on Solaris 10, about 25TB
    Target: 1-node, 11gR2 on Solaris 10
    Thanks!

    source:
           SID    SERIAL#    CONTEXT      SOFAR  TOTALWORK %_complete
          1555       7013          1   43730494  142245833      30.74
          2332       8079          1   44307262  102713507      43.14
          2235      10987          1   47052222  105912610      44.43
          2622       5033          1   48406910   86329752      56.07
          2040      49651          1   49519038  111411200      44.45
          1846      20307          1   43488574  138674977      31.36
          1459      26683          1   44936702  272716852      16.48
    7 rows selected.
    Target: no rows

  • Rman duplicate on Active dataguard physical standby

    In DR site. i have to clone the database from pshysical standby database and clone db will be normal db not standby. Is it possible to do rman duplicate from active dataguard? will it support the duplicate database from active database or i have to take the rman backup of standby database and duplicate from backup piece. please advise

    Please check below link
    http://odenysenko.wordpress.com/2012/03/26/rman-duplicate-from-active-database-from-standby-ends-with-ora-01671/
    Hope this answers all your questions,
    Regards,
    http://www.oracleracexpert.com
    ORA-01031: insufficient privileges
    http://www.oracleracexpert.com/2013/02/ora-01031-insufficient-privileges.html
    Error while loading shared libraries: libdb.so.2 - After Migrating REHL4 to REHL5
    http://www.oracleracexpert.com/2013/01/error-while-loading-shared-libraries.html

  • RMAN restore from active database, ASM

    I'm attempting to refresh a stage database from a prod database using RMAN restore from active database. Both are on ASM. After working through various hurdles, I've got one issue I'm a bit stuck on. I've got a handful of data files that do NOT have OMF names (ie MSTRDATA/mstrmdpd/datafile/gsa_indx instead of MSTRDATA/mstrmdpd/datafile/gsa_indx.351.714779777) and these are failing when I do the restore. The syntax I'm using in RMAN is as follows:
    duplicate target database to dwstage
    from active database
    spfile parameter_value_convert 'dwprod','dwstage'
    SET DB_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE'
    SET LOG_FILE_NAME_CONVERT '+DWPROD','+DWSTAGE';
    The error message I'm getting is this:
    RMAN-03009: failure of backup command on ORA_DISK_1 channel at 04/21/2011 13:26:24
    ORA-17628: Oracle error 19505 returned by remote Oracle server
    continuing other job steps, job failed will not be re-run
    Normally from what I've seen/read this error can be traced back to needing to pre-create the directories for the controlfiles etc, but since 90% of the datafiles copied correctly...
    Any suggestions as to a way around this, or am I going to be forced to restore from a backupset?

    This fails saying that "ORA-12528: TNS:listener: all appropriate instances are blocking new connections" which is quite normal given that the listener is havig a handle in BLOCKED state for this AUXDB as it is in NOMOUNT state.
    Could you please help me on how to proceed?
    One option can be to create the controlfile manually and mount the instance before doing the duplicate. I hope Rman can continue from there.
    Another option is to go for backup based duplicate.
    Is there any other way to go?
    Provide static registration on AUXILIARY side for your auxiliary instance and try again.For example change listener.ora file as
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = AUXDB)
          (ORACLE_HOME = <your oracle home>)
          (SID_NAME = AUXDB)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = <auxiliary host/ip>)(PORT = 1521))
      )And restart listener on auxiliary host then try again

  • Is duplicate from active database supported in Standard Edition?

    Hi,
    I'm trying to clone a database whithout a staging area.
    After having the clone instance and the sql*net configuration set up, I'm running this
    command in the rman-commandline:
    Recovery Manager: Release 11.1.0.7.0 - Production on Tue Nov 2 15:52:31 201
    Copyright (c) 1982, 2007, Oracle. All rights reserved.
    connected to target database: LOCALDB (DBID=370732657)
    connected to auxiliary database: LOCALFB (not mounted)
    RMAN> run {
    duplicate target database to localfb from active database
    pfile=C:\Oracle\admin\ProdFB\pfile\init.ora
    db_file_name_convert=('PROD', 'ProdFB')
    logfile group 1 ('C:\OraData\ProdFB\Redo/log01A.dbf','C:\OraData\ProdFB\log01B.dbf') size 100m,
    group 2 ('C:\OraData\ProdFB\Redo/log02A.dbf','C:\OraData\ProdFB/log02B.dbf') size 100m,
    group 3 ('C:\OraData\ProdFB\Redo/log03A.dbf','C:\OraData\ProdFB/log03B.dbf') size 100m;
    Starting Duplicate Db at 02.11.10
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=594 device type=DISK
    contents of Memory Script:
    set newname for datafile 1 to
    "C:\ORADATA\PRODFB\TS\SYSTEM01.DBF";
    set newname for datafile 2 to
    "C:\ORADATA\PRODFB\TS\SYSAUX01.DBF";
    set newname for datafile 3 to
    "C:\ORADATA\PRODFB\TS\UNDO01.DBF";
    set newname for datafile 4 to
    "C:\ORADATA\PRODFB\TS\PRODFB01.DBF";
    set newname for datafile 5 to
    "C:\ORADATA\PRODFB\TS\PIMAINT01.DBF";
    set newname for datafile 6 to
    "C:\ORADATA\PRODFB\TS\INDX01.DBF";
    backup as copy reuse
    datafile 1 auxiliary format
    "C:\ORADATA\PRODFB\TS\SYSTEM01.DBF" datafile
    2 auxiliary format
    "C:\ORADATA\PRODFB\TS\SYSAUX01.DBF" datafile
    3 auxiliary format
    "C:\ORADATA\PRODFB\TS\UNDO01.DBF" datafile
    4 auxiliary format
    "C:\ORADATA\PRODFB\TS\PRODFB01.DBF" datafile
    5 auxiliary format
    "C:\ORADATA\PRODFB\TS\PIMAINT01.DBF" datafile
    6 auxiliary format
    "C:\ORADATA\PRODFB\TS\INDX01.DBF" ;
    sql 'alter system archive log current';
    executing Memory Script
    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 backup at 02.11.10
    released channel: ORA_AUX_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 11/02/2010 15:52:46
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06181: multiple channels require Enterprise Edition
    RMAN>
    As you can see, I get the error RMAN-06181.
    So my question is: is duplication from active database supported in the standard edition?
    If it is, then what do I need th do to make this work?
    Thanks for your help.

    Yes, this is it.
    I tested only three cases before:
    - not allocating any channel
    - allocating local channel only
    - allocating auxiliary channel only
    I need to allocate both channels in the run block, then it works.
    Thanks a lot for your help.
    run {
    allocate channel c1 device type disk;
    allocate auxiliary channel c2 device type disk;
    duplicate target database to localfb from active database
    pfile=C:\Oracle\admin\ProdFB\pfile\init.ora
    db_file_name_convert=('PROD', 'ProdFB')
    logfile group 1 ('C:\OraData\ProdFB\Redo/log01A.dbf','C:\OraData\ProdFB\Redo/log01B.dbf') size 100m,
    group 2 ('C:\OraData\ProdFB\Redo/log02A.dbf','C:\OraData\ProdFB\Redo/log02B.dbf') size 100m,
    group 3 ('C:\OraData\ProdFB\Redo/log03A.dbf','C:\OraData\ProdFB\Redo/log03B.dbf') size 100m;
    using target database control file instead of recovery catalog
    allocated channel: c1
    channel c1: SID=580 device type=DISK
    RMAN-06908: WARNING: operation will not run in parallel on the allocated channels
    RMAN-06909: WARNING: parallelism require Enterprise Edition
    allocated channel: c2
    channel c2: SID=591 device type=DISK
    Starting Duplicate Db at 04.11.10
    :

  • Duplicate from Active database

    Hi,
    I have RAC primary database running in 11.2.0.3 with linux 5(dc). We also have configured RAC cluster on DR site recently.Now we need to create stanby database on DR site.
    For this is have following doubts
    My database size is 6TB(from dba_segmnets) and total is 14TB(from dba_data_files)
    1) How duplicate of active database works internally? Does it copy the exact file to standby site for example copy datafile(which is of 5GB in size) and send it over to standby over network?
    2) Both primary and standby sites are in different states, so i was thinking to backup the primary database first to tapes and then courier tapes to dr site and then finally restore and recover standby.
    I have doubts in above approaches which should i implement. I think active database duplication will skip a)backup time b) courier time. Is that correct?
    However if my database size is 14TB and using 1st method, does it send files to dr worth of 14TB size?

    I am working on active database duplication and has below issue. Can any one help me on this?
    RMAN> connect target sys@Pa305
    connected to target database: PA305 (DBID=2787277616)
    RMAN> connect auxiliary sys@Pb305
    connected to auxiliary database: PB305 (not mounted)
    RMAN> DUPLICATE TARGET DATABASE
    TO 'PB305'
    FROM ACTIVE DATABASE
    2> 3> 4> ;
    Starting Duplicate Db at 31-JUL-2012 17:20:07
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: SID=2838 instance=PB3051 device type=DISK
    contents of Memory Script:
    sql clone "alter system set control_files =
    ''+DG_075_DATA01/PB305/controlfile/current.270.790104009'', ''+DG_075_FRA01/PB305/controlfile/current.286.790104009'' comment=
    ''Set by RMAN'' scope=spfile";
    sql clone "alter system set db_name =
    ''PA305'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    sql clone "alter system set db_unique_name =
    ''PB305'' comment=
    ''Modified by RMAN duplicate'' scope=spfile";
    shutdown clone immediate;
    startup clone force nomount
    backup as copy current controlfile auxiliary format '+DG_075_DATA01/PB305/controlfile/current.269.790104009';
    restore clone controlfile to '+DG_075_FRA01/PB305/controlfile/current.288.790104009' from
    '+DG_075_DATA01/PB305/controlfile/current.269.790104009';
    sql clone "alter system set control_files =
    ''+DG_075_DATA01/PB305/controlfile/current.269.790104009'', ''+DG_075_FRA01/PB305/controlfile/current.288.790104009'' comment=
    ''Set by RMAN'' scope=spfile";
    shutdown clone immediate;
    startup clone nomount;
    alter clone database mount;
    executing Memory Script
    sql statement: alter system set control_files = ''+DG_075_DATA01/PB305/controlfile/current.270.790104009'', ''+DG_075_FRA01/PB305/controlfile/current.286.790104009'' comment= ''Set by RMAN'' scope=spfile
    sql statement: alter system set db_name = ''PA305'' comment= ''Modified by RMAN duplicate'' scope=spfile
    sql statement: alter system set db_unique_name = ''PB305'' comment= ''Modified by RMAN duplicate'' scope=spfile
    Oracle instance shut down
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/31/2012 17:20:18
    RMAN-06174: not connected to auxiliary database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-04006: error from auxiliary database: ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
    RMAN>

  • RMAN duplicate from Windows Oracle10 to AIX Oracle11

    Is it possible to use RMAN duplicate to duplicate a database from Windows Oracle10 to AIX Oracle11? If not what is the reason it won't work?
    Additionally if it won't work what other options are there besides export, ftp, import or export/import over sqlnet.

    user9541720 wrote:
    Is it possible to use RMAN duplicate to duplicate a database from Windows Oracle10 to AIX Oracle11? If not what is the reason it won't work?It won't work!!!
    For each architecture Oralce build their own binaries. (i.e Processor Power have different binaries from Processor Intel)
    For some architectures, Oracle succeeded in creating compatibility between some different architectures, the Table on note 413484.1 describe it.
    Oracle has certified to use AIX (Power) with Solaris (SPARC), but because of bug (12702521) Oracle reported it's no longer certified.
    In your case (AIX) there is no compatibility with others plataform. AIX binaries is compatible only with itself. (e.g Processor Power 4 with Processor Power 7)
    You have some options Oracle Golden Gate, Oracle Streams, export/import or Transportable Tablespace.
    Additionally if it won't work what other options are there besides export, ftp, import or export/import over sqlnet.Try it:
    http://levipereira.wordpress.com/2011/01/23/how-convert-full-database-10g-linux-x86-64bit-to-aix-64bit-different-endian-format/
    Regards,
    Levi Pereira

  • Duplicate from active database failed

    I have built two RAC nodes as primary and two RAC nodes as standby. Both database versions are 1120301 and linux servers are REDHAT 5.
    I followed oracle MAA rapid deployment of 11gr2 dataguard whitepaper and started rman duplicate last night.

    I followed this link each step, and it seems did not say cluster_database need to be false?
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-11g-rac-standby-133152.pdf
    Yes, even it is not saying it should TRUE not it should be FALSE.
    But i saw another MAA document on RAC primary & RAC standby from below link, we can put that parameter.
    http://www.oracle.com/technetwork/database/features/availability/maa-wp-10g-racprimaryracphysicalsta-131940.pdf
    In this link, even it mentioned Standby parameters also, So you can change accordingly.
    Thats why i asked you to please do refer alert log file and post if any errors, i doubt on unexpected error is there any failure from other resources? If you post that would be helpful
    Again coming to errors,
    ORA-03114: not connected to ORACLESo instance is crashed ?
    ORA-03113: end-of-file on communication channelWhen remote instance is unable to communicate.
    Also check any firewalls been set?
    Is there parameter SQLNET.EXPIRE_TIME been set?
    I can see three files are backed up, Later it got disconnected/crashed.
    I guess there would be some issues with Network
    or
    SGA problems on standby?
    These information you can get from Alert log file why it standby instance is crashed ?
    Edited by: CKPT on Mar 2, 2012 10:45 PM

  • RMAN duplicate from RAC with ASM to RAC with ASM

    I'm still reading and trying to figure out how to duplicate...and I'm finding that there are some extra considerations you have to work with with doing a RAC system.
    Does anyone have any good links to articles/docs that spell out what to do in this scenario?
    I'm wanting to duplicate from tape backups, using NO connectivity to the source/target....
    My tape backups do include the spfile and control files (autobackup) from the source.
    Thank you in advance,
    cayenne

    damorgan wrote:
    Possibly you are confusing a database with a database.
    A RAC database is a just a database. What is different is the instances, the clusterware, and the storage: For example ASM.
    A backup is a backup is a backup.
    Can you be more specific about what you are trying to do, on what hardware, operating system, version, and edition.
    RMAN can not create an instance either RAC or stand-alone.Thank you for the reply.
    I have my source system, OS = RHEL5, running Oracle 11Gr2...5 node RAC cluster.
    I'm doing RMAN backups to tape...hourly arch. logs, Daily incremental lvl=1 backups and weekly incremental lvl=0
    None of the tape backups have ever been tested for restoring...and I've never restored a database myself before, total noob here.
    I have a test area I've set up. I have a 2 node RAC cluster, running 11Gr2 and OS=RHEL5.
    The tape is accessible from both systems.
    I am wanting to test the tape backups...and thought the RMAN DUPLICATE process would be the way to go.
    I am wanting to NOT connect to the source database...trying to simulate somewhat of a disaster recovery scenario. I'm only wanting to use tape backup, and the test area for the auxiliary instance.
    So far what I've seen I need to learn to do is something like:
    1. Create a password file for new aux database to be duplicated to
    2. Establish Net connectivity...
    3. Create initial parameter file for aux instance
         Due to a bug in note:334899.1, add this (because of RAC system)
         norecovery_through_resetlogs=TRUE
    4. Start aux instance NOMOUNT
    Everything I'm reading though...is basically doing this from single instance to single instance...and what little info I've seen on doing it from RAC, indicates there are some differences. The "_no_recovery_through_resetlogs=TRUE" is one thing I found...but wondering what else.
    Also, so many of the examples I'm finding...are doing the duplication connecting to the target/source...and also doing backups to disk rather than tape...
    Right now, I'm at #1...trying to figure what to put into an init pfile...I'm seeing DB_name, which will be the same as the one I'm cloning from.
    I'm not sure what else....
    I'm wondering if this is necessary..since on the tape backups from the source...I backup the SPFILE...can that not be used somehow in this?
    I'm seeing for the init file, examples show that I need to put in entries for control files and redo logs....if the source system was down and gone...how would I know where these were on the old system? This isn't documented anywhere....is there a way to do this if you didn't know.
    If not..guess I need to go through all systems and document the layouts of where everything is located.
    Also...most examples I'm finding, in addition to being single instance backup and restore/duplication...they are all using regular file systems....not much to go on with using ASM.
    Anyway, I'm trying to learn here...and am having trouble finding examples to go from that match my setup.
    Thank you in advance,
    cayenne

  • Failed RMAN Duplicate from NON-RAC to RAC-ASM

    Hi All!
    Is it possible to resume a failed RMAN Duplicate? Database is 10gR2.
    Please advice...
    Regards,
    cmadiam

    Once you fix the disk group name you can run the duplicatie, it should work fine.
    Please refer the link
    http://www.oracleracexpert.com/2009/10/migrate-database-to-asm-using-rman.html
    Hope this helps,
    Regards
    http://www.oracleracexpert.com
    Duplicate RAC DB using RMAN
    http://www.oracleracexpert.com/2009/12/duplicate-rac-database-using-rman.html

  • Rman Duplicate from a different directory

    Hi all,
    I have a production backup taken in '/u01' mount point. I need to duplicate the production db to a development environment. But what is lack is the mount point. I dont have the '/u01' mount point in my development environment. Is there a possibility to duplicate the auxillary database without the mount point , i.e., the mount point different from '/u01'.
    Please help me with this?

    On Unix / Linux, it is quite easy to create a soft-link /u01 (or /u01/backup if your backuppieces are under /u01/backup) to point to the directory where you have actually copied the backuppieces.
    Lookup the man pages for "ln" or talk to your Unix/Linux administrator.
    Hemant K Chitale
    Edited by: Hemant K Chitale on May 9, 2011 12:53 PM

  • How reliable is DUPLICATE .. FROM ACTIVE DATABASE ?

    Version : 11.2.0.3
    Platform : OEL 6
    DUPLICATE .. FOR STANDBY FROM ACTIVE DATABASE doesn't involve taking any RMAN Backup files. Right? Just transferring data across the network.
    Given that I have a good network throughput, how reliable it is to use this feature to create a standby from a 2 TeraByte Primary ? The standby DB will be created in our Data Center located 50KM away from the Primary Site.

    Kavanagh wrote:
    Version : 11.2.0.3
    Platform : OEL 6
    DUPLICATE .. FOR STANDBY FROM ACTIVE DATABASE doesn't involve taking any RMAN Backup files. Right? Just transferring data across the network.
    Given that I have a good network throughput, how reliable it is to use this feature to create a standby from a 2 TeraByte Primary ? The standby DB will be created in our Data Center located 50KM away from the Primary Site.2TB is not a small database to perform Duplicate from ACTIVE Database, Yes as you said there is no more need of backups from 11g if you use ACTIVE database.
    Do not consider of the distance, Consider the bandwidth speed between two sites and how fast data can transfer and how stable it is.
    You can test the network speed by transferring any one of the big file using SCP also, On top of that you can estimate how much time it can complete and ensure there is no network glitches/interruptions to avoid failure duplicate.

Maybe you are looking for