Creating a "checkpoint" using RMAN

I've got to do a significant upgrade to an application schema over the weekend. I would like to set an easy way to restore the database to the point it was in right before I started the upgrade, in case I decide I need to start over. What's the simplest way to do this using RMAN?
Thanks,
Harry

Yes, it's set:
SQL> show parameter DB_RECOVERY_FILE_DEST_SIZE
NAME                                 TYPE        VALUE
db_recovery_file_dest_size           big integer 2G
SQL> show parameter DB_RECOVERY_FILE_DEST
NAME                                 TYPE        VALUE
db_recovery_file_dest                string      /backup/restore_points
db_recovery_file_dest_size           big integer 2G
SQL>
But still no joy:
SQL> startup mount;
ORACLE instance started.
Total System Global Area  536870912 bytes
Fixed Size                  2022144 bytes
Variable Size             134219008 bytes
Database Buffers          398458880 bytes
Redo Buffers                2170880 bytes
Database mounted.
SQL> alter database flashback on;
alter database flashback on
ERROR at line 1:
ORA-00439: feature not enabled: Flashback Database

Similar Messages

  • Problem While Creating Physical Standby Using RMAN

    Hi Guru's
    May be this incidence you all face while creating physical standby DB. I try to create Physical standby database Using RMAN Duplicate Command from one server
    (pri machine) to Standby Machine.
    The steps i followed to create the above are as follows:
    Step 1:- Enable Forced Logging
    SQL> ALTER DATABASE FORCE LOGGING;
    Step 2:- Configure a Standby Redo Log
    SQL> ALTER DATABASE ADD STANDBY LOGFILE GROUP 10
      2> ('/oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500M;
    Step 3:- Set Primary Database Initialization Parameters
    SQL> create pfile='?/dbs/pfileorcl.ora' from spfile;
    Edit the pfile to add the standby parameters, here shown:
    db_unique_name='orcl'
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(orcl,orcldr)'
    LOG_ARCHIVE_DEST_2='SERVICE=orcldr LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=orcldr'
    *.fal_server=orcldr
    *.fal_client=orcl
    *.standby_file_management=auto
    Step 4:- Enable Archiving
    SQL> SHUTDOWN IMMEDIATE;
    SQL> STARTUP MOUNT;
    SQL> ALTER DATABASE ARCHIVELOG;
    SQL> ALTER DATABASE OPEN;
    Step 5:- Setup tnsnames for standby database
    This should be done on primary database by altering tnsnames.ora or using NetCA command, and create it by the name orcldr
    orcldr =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = standby-svr)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcldr)
    Step 6:- Backup database and copy it to standby
    This backup script should be run on primary and copied to standby on the same mount point, running this scripts using RMAN, all files under /rman_backup should be copied to /rman_backup on standby server.
    $rman target /
    RMAN> run
    allocate channel c1 type disk;
    allocate channel c2 type disk;
    backup database format '/rman_backup/%U';
    backup archivelog all format '/rman_backup /%U';
    backup current controlfile for standby format '/rman_backup/%U';
    Step 7:- Standby Database Steps
    Installing Oracle Software
    This should be same release and patchset with exactly same ORACLE_HOME mount point.
    Setting Up listener
    Create and start a listener on standby database using NetCA, or creating listener.ora in $ORACLE_HOME/network/admin
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = standby-svr)(PORT = 1521))
    Step 8:- Set Standby Database Initialization Parameters
    Copying the pfile created in primary database and renames it to initorcldr.ora, and changes these parameters:
    db_unique_name='orcldr'
    LOG_ARCHIVE_CONFIG='DG_CONFIG=(orcldr,orcl)'
    LOG_ARCHIVE_DEST_2='SERVICE=orcl LGWR ASYNC VALID_FOR=(ONLINE_LOGFILES,PRIMARY_ROLE) DB_UNIQUE_NAME=orcl'
    *.fal_server=orcl
    *.fal_client=orcldr
    *.LOG_ARCHIVE_DEST_STATE_2='ENABLE'
    Step 9:- Setup tnsnames for primary database
    This should be done on standby database by altering tnsnames.ora or using NetCA command, and create it by the name orcl
    orcl =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = primary-svr)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = orcl)
    Step 10:- Copy a Password File
    A password file must be created on the Primary and copied over to the Standby site. The sys password must be identical on both sites. Copy orapworcl to $ORACLE_HOME/dbs and rename file to orapworcldr
    Step 11:- Create mount points for Oracle
    Mount point should be created on standby server with the same convention used in primary, this includes the location for controlfiles, redo logs, datafiles, archive log destination and alert logs.
    $ mkdir -p /u01/app/oracle/oradata/orcl/
    $ mkdir -p /u01/app/oracle/flash_recovery_area/
    $ mkdir -p /u01/app/oracle/admin/orcl/adump
    $ mkdir -p /u01/app/oracle/admin/orcl/bdump
    $ mkdir -p /u01/app/oracle/admin/orcl/cdump
    $ mkdir -p /u01/app/oracle/admin/orcl/udump
    Step 12:- Use RMAN to restore backup and setup standby
    Connect to RMAN and execute the following command to create standby database, this should be performed on standby server after copying backup and setting tnsnames.
    $ export ORACLE_SID=orcldr
    $ rman target sys/tiger@orcl auxiliary sys/tiger@orcldr
    RMAN> duplicate target database for standby dorecover;
    Here i am getting problem as :
    While trying to connect to traget database and auxiliary database i notice that when RMAN is connect to both databases it shows
    orcl ( DBID xyz)
    orcl (not mounted)
    Here in my view the second database must be standby database name or auxiiary db name is standby db name which in my case is orcldr
    after this issue i am facing the second issues as :
    in command
    duplicate target database for standby dorecover;
    After modifying the command to
    RMAN> duplicate target database to "standby";
    rman-05520 database name mismatch
    Can u please let me know where i am mistaking

    ok for pri:
    db_name=orcl
    db_unique_name=orcl
    for standby:
    db_name=orcl 
    db_unique_name=sbyorcl ( i change orcldr to sbyorcl later)for new testing
    but now what i am getting on
      Verify connectivity
    On Primary Server:
    C:\> lsnrctl stop LISTENERI (working fine)
    C:\> lsnrctl start LISTENER (working fine)
    C:\> tnsping orcl (working fine)
    C:\> tnsping sbyorcl (working fine)
    C:\> sqlplus sys/xxxxx@orcl (working fine)
    C:\> sqlplus sys/xxxxx@sbyorcl (not working fine)
    ERROR:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    On Standby Server:
    C:\>lsnrctl stop LISTENER
    C:\> lsnrctl start LISTENER
    C:\> tnsping orcl
    C:\> tnsping sbyorcl
    C:\> sqlplus sys/xxxxx@orcl
    C:\> sqlplus sys/xxxxx@sbyorcl
    My listner file for pri :-
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
          (SID_NAME = ORCL)
    LISTENER =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.129)(PORT = 1521))
    tnsnames.ora file on pri is:
    sbyorcl =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.128)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = sbyorcl)
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.129)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
    and listener file on standby :
    SID_LIST_LISTENER =
      (SID_LIST =
        (SID_DESC =
          (SID_NAME = PLSExtProc)
          (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
          (PROGRAM = extproc)
        (SID_DESC =
          (GLOBAL_DBNAME = orcl)
          (ORACLE_HOME = C:\oracle\product\10.2.0\db_1)
          (SID_NAME = orcl)
    LISTENER =
      (DESCRIPTION_LIST =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.128)(PORT = 1521))
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    and tnsnames.ora file on standby:
    ORCL =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.128)(PORT = 1521))
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
    sbyorcl =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.202.129)(PORT = 1521))
    (CONNECT_DATA =
           SERVICE_NAME = sbyorcl)
    EXTPROC_CONNECTION_DATA =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
        (CONNECT_DATA =
          (SID = PLSExtProc)
          (PRESENTATION = RO)
    Kinldy guide me where i am mistaking it's urgent

  • Create standby DB using RMAN in Oracle10.2 standard ediction

    I am tring to create a standby DB in different host with different directory using RMAN. when I issued the command <duplicate target database for standby>, RMAN gave the error msg as follow:
    Starting restore at 02-MAY-06
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=78 devtype=DISK
    creating datafile fno=1 name=/export/database/oracle/HTS1/system01.dbf
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/02/2006 11:24:28
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06136: ORACLE error from auxiliary database: ORA-01180: can not create datafile 1
    ORA-01110: data file 1: '/export/database/oracle/HTS1/system01.dbf'
    Path '/export/database/oracle/HTS1' exists in the standby host and permission are granted, some initial parameter for standby DB was set to:
    db_file_name_convert='/export/home/oracle/oradata/HTS1','/export/database/oracle/HTS1'
    log_file_name_convert='/export/home/oracle/oradata/HTS1','/export/database/oracle/HTS1'
    db_create_file_dest='/export/database/oracle/HTS1'
    Can anyone shed some light on the cause of this error? Thanks
    Jackson

    I found the reason. it was because of the the backup set not available.
    But after I prepare the backup set at hte primary host, rman still gave err msg:
    RMAN> duplicate target database for standby;
    Starting Duplicate Db at 02-MAY-06
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: sid=78 devtype=DISK
    contents of Memory Script:
    restore clone standby controlfile;
    sql clone 'alter database mount standby database';
    executing Memory Script
    Starting restore at 02-MAY-06
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece /export/home/oracle/flash_recovery_area/HTS1/backupset/2006_05_02/o1_mf_ncnnf_TAG20060502T131953_25ftztpo_.bkp
    ORA-19870: error reading backup piece /export/home/oracle/flash_recovery_area/HTS1/backupset/2006_05_02/o1_mf_ncnnf_TAG20060502T131953_25ftztpo_.bkp
    ORA-19505: failed to identify file "/export/home/oracle/flash_recovery_area/HTS1/backupset/2006_05_02/o1_mf_ncnnf_TAG20060502T131953_25ftztpo_.bkp"
    ORA-27037: unable to obtain file status
    SVR4 Error: 2: No such file or directory
    Additional information: 3
    failover to previous backup

  • Create new database using rman cold backup

    It oracle 10g database version 10.2.0.4
    I took the cold backup of the database using rman ( Database name TEST)
    1.RMAN> startup mount;
    2.RMAN> backup database include current controlfile;
    3.RMAN> alter database open;
    I aim to create the new database called DEMO using this backup
    Please let know the setps for creating new database
    Edited by: prajeevan on Jan 19, 2011 9:09 PM

    I took the cold backup of the database using rman ( Database name TEST)
    1.RMAN> startup mount;
    2.RMAN> backup database include current controlfile;
    3.RMAN> alter database open;
    I aim to create the new database called DEMO using this backup
    Please let know the setps for creating new databaseIf it is in archivelog mode you can use duplicate to refresh database DEMO from TEST..
    or after cold backup, go to mount ,
    create trace file of controlfile becuase you are chaning database name
    recreate the controlfile
    open database in resetlogs;
    check also http://blogs.oracle.com/AlejandroVargas/gems/RMANDUPDBPRACTICE.pdf

  • Creating standby database using RMAN

    When I'm creating standby database with RMAN command
    'duplicate for standby' backups for creating standby database
    have to be accessible from host where standby database
    is created. I can copy the backups to standby host, or use
    NFS to share the disk with backups to standby host.
    But when I have backups in ASM diskgroup how can
    I achieve it would be accessible from standby host?
    Thanks a lot for advice,
    M.

    OK, thanks,
    I will create standby using Grid, but I have the following problem:
    database instance is running on the host where I want
    to create standby database. The running instance is for
    testing purposes and has the same db_name, db_unique_name, db_domain
    parameters as in primary database.
    I will change db_unique_name to be distinct from primary database one,
    should I also change instance SID not to be the same in
    testing database and standby on the same host, or when creating standby
    database I can specify distinct one for standby database?

  • Creating physical standby using rman fails with ORA-19558: error de-allocat

    Dear All,
    We are creating physical stadnby database from 2 node RAC ( 2 node RAC to standalone physical standby).
    While in the rman duplicate process we are getting below error, we were not able to sorted out..
    No third party storage has been used ....
    DB version : 11gR2 and the OS is RHEL5
    Appreciate if any one hepl us to resolve this issue ...
    Thanks in advance ...
    RMAN-03009: failure of backup command on prmy1 channel at 10/05/2011 17:59:26
    ORA-19558: error de-allocating device
    ORA-19557: device error, device type: DISK, device name:
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-17627: ORA-01041: internal error. hostdef extension doesn't exist
    ORA-03113: end-of-file on communication channel
    Edited by: 889828 on 2011/10/06 2:17 AM

    The problem is well decribed in your alert log.....you are using Oracle Managed File names which means you will not be able to duplicate the database as RMAN won't be able to automatically generate new names for the files using the DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT initialization parameters.
    Youll have to use the SET NEWNAME command to specify the names of the database files. Done this a few times , and I don't recommend using OMF specifically beacuse of this hassle.
    WARNING: OMF is enabled on this database. Creating a physical standby controlfile, when OMF is enabled on the primary database, requires manual RMAN intervention to resolve OMF
    datafile pathnames.
    NOTE: Please refer to the RMAN documentation for procedures describing how to manually resolve OMF datafile pathnames.
    Problem handling is described in
    Oracle® Database Backup and Recovery Reference
    10g Release 2 (10.2)
    Part Number B14194-03

  • Create Standby Database using RMAN changing backuppiece location ID753902.1

    [https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=753902.1] I am trying to create standby using above document however when I do recover database I get below error
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/06/2011 13:50:40
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1899 and starting SCN of 25926696
    logsequence 1899 is very very old sequence and doesnt exist on primary.this sequence is not needed because backu pwas taken after this sequence so I dont undrestand why rman is asking for a sequence that doesnt exists?
    my db is 11.2 and in archivelog mode , i have all the archivelogs from the date backup was taken until now...
    thanks
    Edited by: user9198889 on Jul 6, 2011 8:29 AM

    CKPT wrote:
    user9198889 wrote:
    [https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWTO&id=753902.1] I am trying to create standby using above document however when I do recover database I get below error
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of recover command at 07/06/2011 13:50:40
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 1899 and starting SCN of 25926696
    logsequence 1899 is very very old sequence and doesnt exist on primary.this sequence is not needed because backu pwas taken after this sequence so I dont undrestand why rman is asking for a sequence that doesnt exists?
    my db is 11.2 and in archivelog mode , i have all the archivelogs from the date backup was taken until now...
    thanks
    Edited by: user9198889 on Jul 6, 2011 8:29 AMHave you restored from the recent backup?
    validate the backup compeltion_time and then retry the operation, Are you restoring from tapes?yes its recent backup(last and only backup infact ) , the backup took couple of days to run..
    the backup was executing using this command BACKUP INCREMENTAL LEVEL 1 AS COMPRESSED BACKUPSET DATABASE TAG 'LEV1_BCKP_2011-06-27_11_54' PLUS ARCHIVELOG DELETE INPUT
    there was no full backup so oracle must have taken full one and not incremental correct?
    first logseq that was back's up is : 35818
    primary uses local disk for its db and backup
    standby that i am trying to create is on asm. i have copied backup to FRA and restored to +data its recovery that is failing now                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem creating standby database using RMAN

    I am preparing standby database on Windows environment. For the same..
    1. I have taken full database,archivelog and standby control file backup on primary database.
    2.Backup pieces have been moved to standby server.
    3.TNS configured on both the servers.
    4.connected to target as well as auxiliary database and trying to create the standby database using the below command...
    duplicate target database for standby;
    But I am getting the below error........
    channel ORA_AUX_DISK_1: starting datafile backupset restore
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: reading from backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19870: error reading backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19504: failed to create file "E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM\CONTROL01.CTL"
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    failover to previous backup
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 07/01/2009 10:35:48
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06024: no backup or copy of the control file found to restore
    Please provide me the solution for the same...
    Thanks in Advance.....
    Sukanta

    channel ORA_AUX_DISK_1: reading from backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19870: error reading backup piece E:\BACKUP\STNDBY_CF_AIRPRIM_T690931864_S25_P1
    ORA-19504: failed to create file "E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM\CONTROL01.CTL"
    ORA-27040: file create error, unable to create file
    OSD-04002: unable to open file
    O/S-Error: (OS 3) The system cannot find the path specified.
    failover to previous backup
    Can you please confirm if the directory E:\ORACLE\PRODUCT\10.2.0\ORADATA\AIRPRIM is existing on standby box and rman can write to that location (free space & permissions)
    If the issue is still present provide us the control_files parameter from standby..
    - Ravi.M

  • How to refresh the database from target to clone system using RMAN ?

    I created the database using RMAN from target (Node A) to clone (Node B)
    I want to refresh the data what are all the changes happened in (Not complete database only chages) target to clone system using RMAN ? or any other way?

    I want to refresh the data what are all the changes
    happened in (Not complete database only chages)
    target to clone system using RMAN ? or any other way?Incremental changes can't apply, once database is open using RMAN or any other B&R method.STREAMS can be use to capture and apply changes.
    Cheer,
    Virag

  • Standby database using rman backup

    I'm using oracle11g on my work place and now i wont to create duplicate database using rman backup.
    at the time i installed only oracle 11g software.
    Pls guide me to overcome the problem. i'm newcomer to oracle.
    Pls give the steps.
    Edited by: user10444101 on Apr 30, 2010 2:17 AM

    user10444101 wrote:
    I'm using oracle11g on my work place and now i wont to create duplicate database using rman backup.
    at the time i installed only oracle 11g software.
    Pls guide me to overcome the problem. i'm newcomer to oracle.
    Pls give the steps.
    Edited by: user10444101 on Apr 30, 2010 2:17 AMSee the following link
    http://download.oracle.com/docs/cd/B28359_01/backup.111/b28270/rcmdupdb.htm#i1008564

  • Standby database using RMAN.

    Hi All,
    Please provide me complete steps to create standby database using RMAN.
    Regards.

    http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rcmbackp.htm#i636377

  • Issue in creating the standby database from Active database using RMAN

    Hi All,
    I am facing issue in creating the standby database from Active database using RMAN and getting the below issue after i executed the duplicate command.
    Version of Database:11g(11.2.0.1.0)
    Operating System:Linux 5
    Error:
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/21/2012 17:26:52
    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
    Primary Database Entries:
    Tnsentry:
    SONYPRD =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprd.localdomain)(UR=A)
    SONYPRDSTBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprdstby)(UR=A)
    Listner Entry:
    SID_LIST_SONYPRD =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtproc)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = SONYPRD)
    (GLOBAL_DBNAME = SONYPRD)
    Auxiliary Details:
    Tns Entry:
    SONYPRD =
    (DESCRIPTION =
    # (ADDRESS = (PROTOCOL = TCP)(HOST = oracle11g.localdomain)(PORT = 1521))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprd.localdomain)
    SONYPRDSTBY =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = sonyprdstby)(UR=A)
    Listener Entry in auxiliary:
    SID_LIST_SONYPRDSTBY =
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = SONYPRDSTBY)
    (ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1)
    (SID_NAME = SONYPRDSTBY)
    TNSPING from Primary DB:
    [oracle@oracle11g ~]$ tnsping sonyprdstby
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:39:28
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.132)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprdstby)(UR=A)))
    OK (0 msec)
    TNSPING from Auxuliary server
    [oracle@oracle11gstby ~]$ tnsping sonyprd
    TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 17:40:19
    Copyright (c) 1997, 2009, Oracle. All rights reserved.
    Used parameter files:
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.20.131)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = sonyprd.localdomain)))
    OK (10 msec)
    Script Used for duplicate:
    run {
    allocate channel prmy1 type disk;
    allocate channel prmy2 type disk;
    allocate channel prmy3 type disk;
    allocate channel prmy4 type disk;
    allocate auxiliary channel stby type disk;
    duplicate target database for standby from active database
    spfile
    parameter_value_convert 'sonyprd','sonyprdstby'
    set db_unique_name='sonyprdstby'
    set db_file_name_convert='/sonyprd/','/sonyprdstby/'
    set log_file_name_convert='/sonyprd/','/sonyprdstby/'
    set control_files='/u01/app/oracle/oradata/control01.ctl'
    set log_archive_max_processes='5'
    set fal_client='sonyprdstby'
    set fal_server='sonyprd'
    set standby_file_management='AUTO'
    set log_archive_config='dg_config=(sonyprd,sonyprdstby)'
    set log_archive_dest_2='service=sonyprd ASYNC valid_for=(ONLINE_LOGFILE,PRIMARY_ROLE) db_unique_name=sonyprd'
    Tried the script from both Primary and auxiliary but no luck
    [oracle@oracle11gstby admin]$ rman target sys/welcome@sonyprd auxiliary sys/*****@sonyprdstby
    Recovery Manager: Release 11.2.0.1.0 - Production on Fri Dec 21 17:26:24 2012
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    connected to target database: SONYPRD (DBID=3131093559)
    connected to auxiliary database: SONYPRD (not mounted)
    Listener Status from primary:
    [oracle@oracle11g ~]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:08:56
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 20-DEC-2012 17:42:17
    Uptime 1 days 0 hr. 26 min. 41 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/localhost/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost.localdomain)(PORT=1521)))
    Services Summary...
    Service "sonyprd.localdomain" has 1 instance(s).
    Instance "sonyprd", status READY, has 1 handler(s) for this service...
    Service "sonyprdXDB.localdomain" has 1 instance(s).
    Instance "sonyprd", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Listener Status from Standby when database bring to Nomount state:
    [oracle@oracle11gstby admin]$ lsnrctl status
    LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 21-DEC-2012 18:11:54
    Copyright (c) 1991, 2009, Oracle. All rights reserved.
    Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
    Start Date 21-DEC-2012 16:13:47
    Uptime 0 days 1 hr. 58 min. 6 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/diag/tnslsnr/oracle11gstby/listener/alert/log.xml
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11gstby)(PORT=1521)))
    Services Summary...
    Service "sonyprdstby" has 1 instance(s).
    Instance "sonyprdstby", status BLOCKED, has 1 handler(s) for this service...
    The command completed successfully
    Please provide any work arounds to proceed further in creating the standby database.
    Thanks,
    Ram.

    Pl do not post duplicates - Issue in configuring Standby Database from Active database in 11g by RMAN

  • Issue Creating Duplicate Database on Different host using RMAN Backup

    HI friends..
    I m trying to create a duplicate db on different host ....... 27
    i have live production db on ............. 15
    its up 24*7.
    i know how to create dup db using cold backup..but dont know how to create it using RMAN Backup..
    I have googled..but getting issues..
    Steps Taken till now
    Note- I dont have catalog created on live db..
    I already have set the tnsnames.ora on both servers
    1) Took full backup plus archivelog plus control file on 15
    2) moved it to another host..ie 27
    3) now on live db..
    I conected to rman target /
    so i m now connected to prod db
    than i try to conect to rman auxiliary sys/sys@dubpd..
    But it gives me insufficient privilages error..
    Can you tell me what to do next..Coz unless i get into mount phase on sever 27( new server)..i cannot use the control file from backup).my dupdb is up in nomount phase..but what enxt i can do..to restore the control file and than restore the backup after cataloging them to right path..
    Thanks in advance frieds...

    sai121 wrote:
    Nope ..on live db..
    @comand prompt when i type sqlplus sys/sys@dupdb..
    its says 0ra-12518...Listener cannot hand off client connection..
    My tns name for live server is..*primary* on live server .. whose ip is 15..(lIVE SERVER).
    i also have another entery with tns names- standby .on live server .. whose ip is 27..(other server for duplicated db).
    now @command prompt..@live server.. i did sqlplus sys/sys@standby
    It gives me ORA-12518
    Am i missing something..1- It could be a network problem. You may enable tracing on listener (and examine the logs).
    2- Add "DIRECT_HANDOFF_TTC_LISTENER=OFF" to listener.ora, then reload the listener
    3- You may want to increase "large_pool_size"

  • Using RMAN for creating a Dataguard Standby db.

    Hello,
    I have two 11.2.0.1.0 oracle instances running on two cloned Red Hat Enterprise Linux (rhel98 and rhel99). Linux version:
    Linux rhel99 2.6.32-100.34.1.el6uek.x86_64 #1 SMP Wed May 25 17:46:45 EDT 2011 x86_64 x86_64 x86_64 GNU/LinuxI am trying to perform a "duplicate target database for standby" as part of the list of steps to get a Physical Standby located at the rhel99 server with DB_UNIQUE_NAME ORCL99. But I am missing something because it keeps failing with this error:
    RMAN-05556: not all datafiles have backups that can be recovered to SCN 2818790
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restoreI double checked the directory structure on primary (rhel98) and standby (rhel99), and it's the same. As control file is restored during the duplicate process I cannot perform the catalog start with, so the backups were placed on the same locations at rhel98 and 99.
    According to that error message it is not finding any of the datafile backups.
    [oracle@rhel98 ~]$ rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed May 29 01:36:06 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: ORCL98 (DBID=2386038834)
    RMAN> connect auxiliary sys/*****@ORCL99
    connected to auxiliary database: ORCL98 (not mounted)
    RMAN> run
    2> {    
    3> set until sequence=6 thread=1;
    4> duplicate target database for standby
    5> dorecover;                          
    6> }                                   
    executing command: SET until clause
    Starting Duplicate Db at 29-MAY-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1                            
    channel ORA_AUX_DISK_1: SID=20 device type=DISK              
    contents of Memory Script:
       set until scn  2818790;
       restore clone standby controlfile;
    executing Memory Script             
    executing command: SET until clause
    Starting restore at 29-MAY-13
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: starting datafile backup set restore
    channel ORA_AUX_DISK_1: restoring control file             
    channel ORA_AUX_DISK_1: reading from backup piece /oracle/app/oracle/rman_bkp/orcl/0aoa2pd2_1_1
    channel ORA_AUX_DISK_1: piece handle=/oracle/app/oracle/rman_bkp/orcl/0aoa2pd2_1_1 tag=TAG20130520T022122
    channel ORA_AUX_DISK_1: restored backup piece 1                                                         
    channel ORA_AUX_DISK_1: restore complete, elapsed time: 00:00:03                                        
    output file name=/oracle/app/oracle/oradata/standby/control01.ctl                                       
    Finished restore at 29-MAY-13                                                                           
    contents of Memory Script:
       sql clone 'alter database mount standby database';
    executing Memory Script                             
    sql statement: alter database mount standby database
    contents of Memory Script:
       set until scn  2818790;
       set newname for tempfile  1 to
    "/oracle/app/oracle/oradata/standby/temp01.dbf";
       switch clone tempfile all;                   
       set newname for datafile  1 to               
    "/oracle/app/oracle/oradata/standby/system01.dbf";
       set newname for datafile  2 to                 
    "/oracle/app/oracle/oradata/standby/sysaux01.dbf";
       set newname for datafile  3 to                 
    "/oracle/app/oracle/oradata/standby/undotbs01.dbf";
       set newname for datafile  4 to                  
    "/oracle/app/oracle/oradata/standby/users01.dbf"; 
       set newname for datafile  5 to                  
    "/oracle/app/oracle/oradata/standby/example01.dbf";
       set newname for datafile  6 to                  
    "/oracle/app/oracle/oradata/standby/ws_app_data01.dbf";
       set newname for datafile  7 to                      
    "/oracle/app/oracle/oradata/standby/ws_app_idx01.dbf";
       restore                                             
       clone database                                      
    executing Memory Script                                
    executing command: SET until clause
    executing command: SET NEWNAME
    renamed tempfile 1 to /oracle/app/oracle/oradata/standby/temp01.dbf in control file
    executing command: SET NEWNAME
    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 29-MAY-13
    using channel ORA_AUX_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/29/2013 01:40:33
    RMAN-05556: not all datafiles have backups that can be recovered to SCN 2818790
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06023: no backup or copy of datafile 5 found to restore
    RMAN-06023: no backup or copy of datafile 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore
    RMAN>And the backup pieces are located at (where oracle has rw privs and also owns the dirs):
    [oracle@rhel98 orcl]$ ls -ldhtr /oracle/app/oracle/rman_bkp/orcl/
    drwxr-xr-x. 2 oracle oinstall 4.0K May 29 01:16 /oracle/app/oracle/rman_bkp/orcl/
    [oracle@rhel99 orcl]$ ls -ldhtr /oracle/app/oracle/rman_bkp/orcl/
    drwxr-xr-x. 2 oracle oinstall 4.0K May 29 01:57 /oracle/app/oracle/rman_bkp/orcl/Backup was taken using RMAN, by executing a "backup database plus archivelogs" and it was completed with no errors. As you can see backup were taken yesterday and are available.
    [oracle@rhel98 ~]$ rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed May 29 03:20:54 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: ORCL98 (DBID=2386038834)
    RMAN> list backup summary;
    using target database control file instead of recovery catalog
    List of Backups
    ===============
    Key     TY LV S Device Type Completion Time #Pieces #Copies Compressed Tag
    2       B  F  A DISK        20-MAY-13       1       1       NO         TAG20130520T022122
    3       B  F  A DISK        21-MAY-13       1       1       NO         TAG20130521T025112
    4       B  A  A DISK        29-MAY-13       1       1       NO         TAG20130529T010612
    5       B  F  A DISK        29-MAY-13       1       1       NO         TAG20130529T010902
    6       B  F  A DISK        29-MAY-13       1       1       NO         TAG20130529T010902
    7       B  A  A DISK        29-MAY-13       1       1       NO         TAG20130529T011634
    RMAN> list backup completed after '29-MAY-13';
    List of Backup Sets
    ===================
    BS Key  Size       Device Type Elapsed Time Completion Time
    4       669.15M    DISK        00:02:37     29-MAY-13     
            BP Key: 4   Status: AVAILABLE  Compressed: NO  Tag: TAG20130529T010612
            Piece Name: /oracle/app/oracle/rman_bkp/orcl/ORCL98_DB_0coaqcc4_12_1 
      List of Archived Logs in backup set 4
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    1       2785395    19-MAY-13 2800632    19-MAY-13
      1    2       2800632    19-MAY-13 2814507    20-MAY-13
      1    3       2814507    20-MAY-13 2817219    20-MAY-13
      1    4       2817219    20-MAY-13 2817222    20-MAY-13
      1    5       2817222    20-MAY-13 2818790    20-MAY-13
      1    6       2818790    20-MAY-13 2818794    20-MAY-13
      1    7       2818794    20-MAY-13 2853065    20-MAY-13
      1    8       2853065    20-MAY-13 2885773    25-MAY-13
      1    9       2885773    25-MAY-13 2903820    25-MAY-13
      1    10      2903820    25-MAY-13 2925244    25-MAY-13
      1    11      2925244    25-MAY-13 2934284    25-MAY-13
      1    12      2934284    25-MAY-13 2935793    25-MAY-13
      1    13      2935793    25-MAY-13 2937653    25-MAY-13
      1    14      2937653    25-MAY-13 2939617    25-MAY-13
      1    15      2939617    25-MAY-13 2960715    25-MAY-13
      1    16      2960715    25-MAY-13 2975590    26-MAY-13
      1    17      2975590    26-MAY-13 3013551    27-MAY-13
      1    18      3013551    27-MAY-13 3029786    28-MAY-13
      1    19      3029786    28-MAY-13 3050776    28-MAY-13
      1    20      3050776    28-MAY-13 3088118    28-MAY-13
      1    21      3088118    28-MAY-13 3099950    29-MAY-13
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    5       Full    1.09G      DISK        00:06:53     29-MAY-13     
            BP Key: 5   Status: AVAILABLE  Compressed: NO  Tag: TAG20130529T010902
            Piece Name: /oracle/app/oracle/rman_bkp/orcl/ORCL98_DB_0doaqche_13_1 
      List of Datafiles in backup set 5                                          
      File LV Type Ckp SCN    Ckp Time  Name                                     
      1       Full 3100062    29-MAY-13 /oracle/app/oracle/oradata/orcl/system01.dbf
      2       Full 3100062    29-MAY-13 /oracle/app/oracle/oradata/orcl/sysaux01.dbf
      3       Full 3100062    29-MAY-13 /oracle/app/oracle/oradata/orcl/undotbs01.dbf
      4       Full 3100062    29-MAY-13 /oracle/app/oracle/oradata/orcl/users01.dbf 
      5       Full 3100062    29-MAY-13 /oracle/app/oracle/oradata/orcl/example01.dbf
      6       Full 3100062    29-MAY-13 /oracle/app/oracle/oradata/orcl/ws_app_data01.dbf
      7       Full 3100062    29-MAY-13 /oracle/app/oracle/oradata/orcl/ws_app_idx01.dbf
    BS Key  Type LV Size       Device Type Elapsed Time Completion Time
    6       Full    9.36M      DISK        00:00:09     29-MAY-13
            BP Key: 6   Status: AVAILABLE  Compressed: NO  Tag: TAG20130529T010902
            Piece Name: /oracle/app/oracle/rman_bkp/orcl/ORCL98_DB_0eoaqcue_14_1
      SPFILE Included: Modification time: 29-MAY-13
      SPFILE db_unique_name: ORCL98
      Control File Included: Ckp SCN: 3101140      Ckp time: 29-MAY-13
    BS Key  Size       Device Type Elapsed Time Completion Time
    7       23.06M     DISK        00:00:11     29-MAY-13
            BP Key: 7   Status: AVAILABLE  Compressed: NO  Tag: TAG20130529T011634
            Piece Name: /oracle/app/oracle/rman_bkp/orcl/ORCL98_DB_0foaqcvi_15_1
      List of Archived Logs in backup set 7
      Thrd Seq     Low SCN    Low Time  Next SCN   Next Time
      1    22      3099950    29-MAY-13 3101157    29-MAY-13
    RMAN>db_recovery_file_dest is the same for both ORCL98 and ORCL99:
    *.db_recovery_file_dest='/oracle/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=4070572032If needed I can upload the complete initORCL98.ora and initORCL99.ora files.
    Any suggestion/comments?
    Thanks in advance.
    Edited by: martin.morono on May 29, 2013 8:56 PM

    Thanks Hemant but the issue is the same with sequence 6 or 22. I posted the RMAN log from an old duplicate I ran yesterday using sequence 6, but as you can see below the error is not changing with setting "until sequence 22"
    Hemant K Chitale wrote:
    Your database datafile backups are as of Checkpoint SCN 3100062 which is higher than the archivelogs (and certainly higher than SEQ#6).
    Possibly SEQUENCE#22 will cover the database checkpoint SCN. Therefore, the minimum UNTIL SEQUENCE would be 23 or higher.
    Hemant K Chitale
    [oracle@rhel98 ~]$ rman target /
    Recovery Manager: Release 11.2.0.1.0 - Production on Wed May 29 02:37:51 2013
    Copyright (c) 1982, 2009, Oracle and/or its affiliates.  All rights reserved.
    connected to target database: ORCL98 (DBID=2386038834)
    RMAN> connect auxiliary sys/manager@ORCL99
    connected to auxiliary database: ORCL98 (not mounted)
    RMAN> run
    2> {    
    3> set until sequence=22 thread=1;
    4> duplicate target database for standby
    5> backup location '/oracle/app/oracle/rman_bkp/orcl/'
    6> dorecover;                                        
    7> }                                                 
    executing command: SET until clause
    Starting Duplicate Db at 29-MAY-13
    using target database control file instead of recovery catalog
    allocated channel: ORA_AUX_DISK_1                            
    channel ORA_AUX_DISK_1: SID=20 device type=DISK              
    contents of Memory Script:
       set until scn  3099950;
       restore clone standby controlfile;
    executing Memory Script             
    executing command: SET until clause
    Starting restore at 29-MAY-13
    using channel ORA_AUX_DISK_1
    channel ORA_AUX_DISK_1: restoring control file
    channel ORA_AUX_DISK_1: copied control file copy
    input file name=/oracle/app/oracle/oradata/orcl/control_standby01.ctl
    output file name=/oracle/app/oracle/oradata/standby/control01.ctl   
    Finished restore at 29-MAY-13                                       
    contents of Memory Script:
       sql clone 'alter database mount standby database';
    executing Memory Script                             
    sql statement: alter database mount standby database
    contents of Memory Script:
       set until scn  3099950;
       set newname for tempfile  1 to
    "/oracle/app/oracle/oradata/standby/temp01.dbf";
       switch clone tempfile all;                   
       set newname for datafile  1 to               
    "/oracle/app/oracle/oradata/standby/system01.dbf";
       set newname for datafile  2 to                 
    "/oracle/app/oracle/oradata/standby/sysaux01.dbf";
       set newname for datafile  3 to                 
    "/oracle/app/oracle/oradata/standby/undotbs01.dbf";
       set newname for datafile  4 to                  
    "/oracle/app/oracle/oradata/standby/users01.dbf"; 
       set newname for datafile  5 to                  
    "/oracle/app/oracle/oradata/standby/example01.dbf";
       set newname for datafile  6 to                  
    "/oracle/app/oracle/oradata/standby/ws_app_data01.dbf";
       set newname for datafile  7 to                      
    "/oracle/app/oracle/oradata/standby/ws_app_idx01.dbf";
       restore                                             
       clone database                                      
    executing Memory Script                                
    executing command: SET until clause
    executing command: SET NEWNAME
    renamed tempfile 1 to /oracle/app/oracle/oradata/standby/temp01.dbf in control file
    executing command: SET NEWNAME
    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 29-MAY-13
    using channel ORA_AUX_DISK_1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/29/2013 02:40:00    
    RMAN-05556: not all datafiles have backups that can be recovered to SCN 3099950
    RMAN-03015: error occurred in stored script Memory Script                     
    RMAN-06026: some targets not found - aborting restore                         
    RMAN-06023: no backup or copy of datafile 5 found to restore                  
    RMAN-06023: no backup or copy of datafile 4 found to restore                  
    RMAN-06023: no backup or copy of datafile 3 found to restore                  
    RMAN-06023: no backup or copy of datafile 2 found to restore                  
    RMAN-06023: no backup or copy of datafile 1 found to restore                   just in case, the initORCL.ora files:
    initORCL98.ora
    orcl.__db_cache_size=150994944
    ORCL98.__db_cache_size=209715200
    orcl.__java_pool_size=4194304
    ORCL98.__java_pool_size=4194304
    orcl.__large_pool_size=4194304
    ORCL98.__large_pool_size=4194304
    orcl.__oracle_base='/oracle/app/oracle'#ORACLE_BASE set from environment
    ORCL98.__oracle_base='/oracle/app/oracle','/oracle/app/oracle'#ORACLE_BASE set from environment
    orcl.__pga_aggregate_target=226492416
    ORCL98.__pga_aggregate_target=226492416
    orcl.__sga_target=402653184
    ORCL98.__sga_target=402653184
    orcl.__shared_io_pool_size=0
    ORCL98.__shared_io_pool_size=0
    orcl.__shared_pool_size=234881024
    ORCL98.__shared_pool_size=176160768
    orcl.__streams_pool_size=0
    ORCL98.__streams_pool_size=0
    *.audit_file_dest='/oracle/app/oracle/admin/orcl/adump'
    *.audit_trail='DB'
    *.compatible='11.2.0.0.0'
    *.control_files='/oracle/app/oracle/oradata/orcl/control01.ctl','/oracle/app/oracle/flash_recovery_area/orcl/control02.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='ORCL98'
    *.db_recovery_file_dest='/oracle/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=4070572032
    *.diagnostic_dest='/oracle/app/oracle'
    *.dispatchers='(protocol=TCP)'
    *.fal_client='ORCL98'
    *.fal_server='ORCL99'
    *.job_queue_processes=1000
    *.log_archive_config='DG_CONFIG=(ORCL98,ORCL99)'
    *.log_archive_dest_1='location=/oracle/app/oracle/archivelog/orcl/ valid_for=(all_logfiles,all_roles) db_unique_name=ORCL98'
    *.log_archive_dest_2='SERVICE=ORCL99 valid_for=(online_logfiles,primary_role) db_unique_name=ORCL99'
    *.log_archive_dest_state_1='ENABLE'
    *.log_archive_dest_state_2='DEFER'
    *.log_archive_format='orcl_%R_%T_%S_%d.arc'
    *.memory_target=629145600
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_max_size=402653184
    *.shared_servers=1
    *.standby_file_management='AUTO'
    *.undo_tablespace='UNDOTBS1'initORCL99.ora
    orcl.__db_cache_size=150994944
    orcl98.__db_cache_size=163577856
    orcl99.__db_cache_size=243269632
    ORCL99.__db_cache_size=218103808
    orcl.__java_pool_size=4194304
    orcl98.__java_pool_size=4194304
    orcl99.__java_pool_size=4194304
    ORCL99.__java_pool_size=4194304
    orcl.__large_pool_size=4194304
    orcl98.__large_pool_size=4194304
    orcl99.__large_pool_size=4194304
    ORCL99.__large_pool_size=4194304
    orcl.__oracle_base='/oracle/app/oracle'#ORACLE_BASE set from environment
    orcl98.__oracle_base='/oracle/app/oracle'#ORACLE_BASE set from environment
    orcl99.__oracle_base='/oracle/app/oracle'#ORACLE_BASE set from environment
    ORCL99.__oracle_base='/oracle/app/oracle'#ORACLE_BASE set from environment
    orcl.__pga_aggregate_target=226492416
    orcl98.__pga_aggregate_target=226492416
    orcl99.__pga_aggregate_target=251658240
    ORCL99.__pga_aggregate_target=251658240
    orcl.__sga_target=402653184
    orcl98.__sga_target=402653184
    orcl99.__sga_target=377487360
    ORCL99.__sga_target=377487360
    orcl.__shared_io_pool_size=0
    orcl98.__shared_io_pool_size=0
    orcl99.__shared_io_pool_size=0
    ORCL99.__shared_io_pool_size=0
    orcl.__shared_pool_size=234881024
    orcl98.__shared_pool_size=222298112
    orcl99.__shared_pool_size=117440512
    ORCL99.__shared_pool_size=142606336
    orcl.__streams_pool_size=0a
    orcl98.__streams_pool_size=0
    orcl99.__streams_pool_size=0
    ORCL99.__streams_pool_size=0
    *.audit_file_dest='/oracle/app/oracle/admin/orcl/adump'
    *.audit_trail='DB'
    *.compatible='11.2.0.0.0'
    *.control_files='/oracle/app/oracle/oradata/standby/control01.ctl'
    #*.control_files='/oracle/app/oracle/oradata/orcl/control_standby01.ctl'
    *.db_block_size=8192
    *.db_domain=''
    *.db_name='ORCL98'
    *.db_unique_name='ORCL99'
    *.db_recovery_file_dest='/oracle/app/oracle/flash_recovery_area'
    *.db_recovery_file_dest_size=4070572032
    *.diagnostic_dest='/oracle/app/oracle'
    *.dispatchers='(protocol=TCP)'
    *.job_queue_processes=1000
    *.log_archive_dest_1='location=/oracle/app/oracle/archivelog/orcl'
    *.log_archive_format='orcl_%R_%T_%S_%d.arc'
    *.memory_target=629145600
    *.open_cursors=300
    *.processes=150
    *.remote_login_passwordfile='EXCLUSIVE'
    *.sga_max_size=402653184
    *.shared_servers=1
    *.undo_tablespace='UNDOTBS1'
    *.db_file_name_convert=('/oracle/app/oracle/oradata/orcl/','/oracle/app/oracle/oradata/standby/')
    *.log_file_name_convert=('/oracle/app/oracle/oradata/orcl/','/oracle/app/oracle/oradata/standby/')Once again, many thanks for your prompt response.
    Thanks in advance.
    Martin

  • Creating Standby for RAC ASM database using RMAN

    We are having a Primary Site of 3-Node RAC ASM and we takes daily RMAN backup with the following script
    run
    allocate channel c1 device type disk format 'g:\rmanbackup\%U';
    backup database;
    backup archivelog from time 'trunc(sysdate-1)' until time 'sysdate';
    We have configured 3-Node RAC Cluster in Standby site. We have copied the rman backup folder to one of the Nodes in the Standby site.
    Request your help to restore the RMAN backup. The backup size is around 200GB. We do not know how to use DUPLICATE DUPICATE option in RMAN as if it is restoring from the Primary Location, then transferring 200GB over the network will not be possible.
    We need a solution to restore it directly from the Backup folder available in the DR Server. We are not using catalog.
    OS : Windows IA 64-bit
    RDBMS : Oracle 10.2.0.4
    Storage : ASM
    DB Nodes at Primary Site, Node1, Node2, Node3
    DB instances at primary site : ORCL1, ORCL2, ORCL3
    DB Nodes at Standby Site, Node101, Node102, Node103
    DB instances at Standby site : ORCL1, ORCL2, ORCL3
    DB Name : ORCL on both the sites.

    When you create the standby, you can use catalogued backups, stored somewhere local to your standby servers.
    For that, they need to be copied to the standby server, or taken from production there, and after restoring the standby controlfile on the standby server, use rman to catalogue the backups to be used. Then, you can use DUPLICATE... and it will be reading your local backup files.
    The directory g:\rmanbackup of your rman script is local to standby servers ?
    The docs for this have a lot of details: http://download.oracle.com/docs/cd/B19306_01/server.102/b14239/rcmbackp.htm
    Regards.

Maybe you are looking for

  • Can't get album view in genius mixes to work right

    Hi - I'm not sure what is going on but I can't see the list or cover view while in Genius mixes. Also, some of the album covers are showing up and some not. But - I can't see what the mix is as the list won't show up and that makes the Genius mix not

  • ORA-29275: partial multibyte character with 11.1.0.7

    Connected to: Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production SQL> create table test_char(c1 varchar2(100)); Table created. SQL> insert into test_char values (chr(200)); 1 row created. SQL> select from test_char;* ERROR:

  • Looping assistance (counting number of characters in a variable)

    Good morning, all! I was wondering if anybody could take a look at this small, easy project I was working on today. I've searched the net for an answer and while it was useful and I learned a few things, nothing is really working. The code is pretty

  • Accounting document split error

    hi all, my user created one debit memo done the billing and accounting. at the time of accounting its generate the accounting entry generally... EX.. customer(xyz)....DR 10000 To sales(300000) 10000 but my problem is its generating entry is EX.. cust

  • Is Disribution group in use?

    Exchange 2013. On-Premise. Is there a place to find if someone is sending to a distribution group? I am looking to remove older groups. I sent to one group; Went to "Delivery Reports"; Selected a mailbox of one of the members; Selected "Search for me