Apps cloning with RMAN

Hello

I do applications 11i cloning with rapidclone.

I cloned the database with RMAN.

According to the metalink notes 230672.1 I have to run after the script on node DB.

Perl adcfgclone.pl dbconfig < context target file >

However I do not have the file of context for the new instance.

Do I have to copy the file from the source instance context (for DB), rename it and use it?

If I run the adcfgclone.pl using the context file of source (present in the db target node) instance, it throws

Error connection to the base.

Platform - Oracle Ebusiness Suite 11.5.10 on Oracle enterprise Linux 4 and Oracle 9i database.

Pls advice.

Thank you
Rane

However I do not have the file of context for the new instance.

Have you run 'perl adcfgclone.pl dbTechStack' before issuing 'perl adcfgclone.pl dbconfig '? This should create the file of context for you.

Do I have to copy the file from the source instance context (for DB), rename it and use it?

N °

If I run the adcfgclone.pl using the context file of source (present in the db target node) instance, it throws
Error connection to the base.

This is an expected behavior given the context of the source node file cannot be used on the target node.

Tags: Oracle Applications

Similar Questions

  • How to restore the tablespaces only 4 while cloning with RMAN?

    Hello
    How to restore the tablespaces only 4 not all areas of storage in one database to the new database of cloned all cloning with RMAN?

    I don't think it's possible to restore only 4 storage space for the database 'auxiliary '. Instead, you can use the "SKIP TABLESPACE" cloning while clause.

    You can exclude the tablespaces that you don't want the database duplicate with the SKIP TABLESPACE clause. You can exclude any tablespace except the SYSTEM tablespace or tablespaces containing rollback or undo segments.

    Refer to this http://docs.oracle.com/cd/B14117_01/server.101/b10770/rcmsynta28.htm

  • Cloning with RMAN on two different OS

    DB version: 10 gr 2

    Can I clone DB on AIX 5.3 with RMAN and re-create it in a Solaris machine (5.9)?

    Using transportable tablespaces.

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/tspaces.htm#i1007169

    Read the link.

    Concerning
    Asif Kabir

  • Cloning with RMAN; Which method is easy?

    DB version: 10.2.0.4
    OS: Sun OS 5.10

    We need to clone a DB in a new server of SunOS.

    Which of the following method is fast and easy?

    1. take an rman backup backup items and copy to the new database server, restore and recover.

    or

    2 using the command in RMAN duplicate (as shown here http://www.akadia.com/services/ora_duplicate_database_rman.html)

    Method 2 is 'easier '. However, method 1 is something you need to know and practice: it will be useful for situations like "I want to restore the database from 36 days ago on another server to check some data.

    Hemant K Collette

  • Cloning of RMAN database

    (1) while cloning with RMAN, when we say "target database testdb duplicaicate" will be RMAN apply archives that are not archived (uning "backup database archivelog all") or not.

    (2) why do we need to connect to the target (rman auxiliary target=prod@toprod = / catalog=cat@tocat (IE source db... this db we are cloning form).)

    We backup the backup in a Word with NFS must and we have information about the back of the catalog?

    Hello;

    Version of Dan is important because Oracle 11 has many additional options of duplication.

    That is to say that if you copy archive on the remote server, it will use them in Oracle 10 and 11.

    Here is my Oracle 11 - duplicating a database on a remote host with the same Directory Structure summary notes:

    http://www.Visi.com/~mseberg/RMAN/active_database_duplicating.html

    and with the structure of different directories:

    http://www.Visi.com/~mseberg/RMAN/diff_database_duplicating.html

    Best regards

    mseberg

  • Cloning by rman on a different server with the directory structure different and different DBNAME in EBS 11i using quick Clone

    Hello

    We want only DB (not apps) cloning through PROD rman, step TEST EBS 11i using quick Clone without taking downtime of PROD (i.e. No. BKP COLD).

    Source and target are on different servers, different file structure and the different database name.

    Kindly let me know the detailed procedure?

    Kind regards

    RR


    You can use this simple method that I am.


    Take backup of production with rman:

    {

    overlap archivelog all;

    backup format compressed backupset database tag PROD_FULLBKP ' / u10/PROD1_L0_BKUP_20131125/PROD_DB_set%s_piece%p_%T_%U' filesperset 15;

    SQL 'alter database backup controlfile to trace. "

    SQL 'alter system switch logfile;

    SQL 'alter system switch logfile;

    SQL 'alter system switch logfile;

    overlap archivelog all;

    backup as compressed backupset archivelog all delete input PROD_ARCHBKP format tag ' / u10//PROD1_L0_BKUP_20131125/ARCH_PROD_set%s_piece%p_%T_%U' filesperset 20;

    backup format ' / u10/PROD1_L0_BKUP_20131125/PROD_ctl_%T_%U' current controlfile;

    }


    Move the backup on the test server:

    SCP /ftp

    Modify the pfile to the test server:

    Parameters such as:

    db_name

    control_files

    modify the pfile to match the location of the test server

    Add this parameter

    db_file_name_convert = ' / PROD_datafile_location/datafile ', ' / test_datafile_location / data ', ' / PROD_datafile_location/tempfile ', ' / test_datafile_location / data.

    log_file_name_convert = ' / PROD_redofile_location/ONLINELOG ', ' / test_redofile_location / data ".

    Start the DB:

    Start the db in nomount:

    startup nomount.

    Connecting to rman and start to restore:

    Auxiliary RMAN.

    RMAN > run

    {

    allocate auxiliary channel a1 device type disk;

    allocate auxiliary channels a2 device type disk;

    allocate auxiliary channel a3 device type disk;

    allocate auxiliary channel a4 device type disk;

    data duplicated in the PREPRODUCTION backup location ' / u10/PREPRODUCTION/oraR12/clone_backup/PROD1_L0_BKUP_20131125 ";

    }

    OR

    If you specify time/perform a recovery of time based, like below:

    RMAN > run

    {

    allocate auxiliary channel a1 device type disk;

    allocate auxiliary channels a2 device type disk;

    allocate auxiliary channel a3 device type disk;

    allocate auxiliary channel a4 device type disk;

    data duplicated in PREPRODUCTION backup location 'LOCATION_OF_BACKUP', until ' TO_DATE (7 July 2012 09:45 ',' DD/MM/YYYY HH24:MI:SS') ";

    }

    Concerning

    Karim

  • Cloning of Oracle database with RMAN

    Hello dear colleagues,

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

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

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

    -Is it possible that crushes my source PROD1 database

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

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

    I enjoy any help and thanks in advance.

    Documentation:

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

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

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

    Hemant K Collette

  • Cloning of a database from 3.5 to with RMAN

    RDBMS version: 10gRel2

    We have active 3.5 to database on solaris. We need to clone this DB to another machine. We can not stop the primary DB. Thus, the cold backup is out of the question.

    We believe from a full backup of RMAN overnight. 05:00 early morning it will be done.
    I reach Office only at 09:30. So, I need all the changes (logs archived) generated after 05:00 to apply on the DB newly created.

    How you guys do this with RMAN, because backup control file in the full backup does not know about the Archives of logs generated after 05:00?

    Take the simple path: take a backup costs the controlfile (and all new ArchiveLogs) at 05:00 and copy the backup to the new server. Use this new backup controlfile.

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • HOW to clone the DATABASE with RMAN

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

    and I get the error:

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

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


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

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

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

    Werner

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

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

    Edited by: oradba October 29, 2009 16:53

    Edited by: oradba October 29, 2009 16:55

  • Problem creating physical standby with RMAN

    Hi guru

    Perhaps this impact that all face you when creating physical standby DB. I'm trying to create a physical standby database Using RMAN double order a server

    (pri machine) machine on standby.

    Here are the steps I followed to create the above:

    Step 1:-activate forced logging

    SQL > ALTER DATABASE FORCE LOGGING;

    Step 2:-set up a standby Redo Log

    SQL > ALTER DATABASE ADD STANDBY LOGFILE GROUP 10

    2 > ('/ oracle/dbs/log1c.rdo','/oracle/dbs/log2c.rdo') SIZE 500 M;

    Step 3:-set the parameters of primary database initialization

    SQL > create pfile='?/dbs/pfileorcl.ora' of spfile;

    Edit the pfile to add the sleep settings, shown here:

    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:-activate archiving

    SQL > SHUTDOWN IMMEDIATE;

    SQL > STARTUP MOUNT;

    SQL > ALTER DATABASE ARCHIVELOG;

    SQL > ALTER DATABASE OPEN;

    Step 5:-tnsnames for eve of the configuration database

    This should be done on the primary database to edit tnsnames.ora or using the command NetCA and create by the name orcldr

    orcldr =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))

    (CONNECT_DATA =

    (SERVER = DEDICATED)

    (SERVICE_NAME = orcldr)

    )

    )

    Step 6:-backup of database and copy it to standby mode

    This backup script must be run on primary and copied to sleep on the same mount point, run these scripts with RMAN, all files in /rman_backup need to be copied in /rman_backup on the standby server.

    $rman target.

    RMAN > run

    {

    allocate channel c1 type disk;

    allocate channel c2 type disk;

    backup of database format ' / rman_backup/%U';

    ARCHIVELOG backup all the format ' / rman_backup %U ';

    backup current controlfile to Eve format ' / rman_backup/%U';

    }

    Step 7:-availability of measures database

    Installation of Oracle software

    This should be the same version and patch group with exactly same ORACLE_HOME mount point.

    Commissioning of the listener

    Create and start a listener on the database of sleep by using NetCA, or create listener.ora in $ORACLE_HOME/network/admin

    LISTENER =

    (DESCRIPTION =

    (ADDRESS = (PROTOCOL = TCP) (HOST = Eve-svr)(PORT = 1521))

    )

    Step 8:-set of backup database initialization parameters

    Copy the pfile file created in the database primary it renames in initorcldr.ora and change these settings:

    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:-installation tnsnames for the primary database

    This should be done on the pending change tnsnames.ora or using the command NetCA database and create it in 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 to the standby site. The sys password must be the same on both sites. Copy orapworcl in $ORACLE_HOME/dbs and rename the file in orapworcldr

    Step 11:-create for Oracle mount points

    Mount point must be created on the standby server with the same convention used in primary education, which includes the location for controlfiles, redo logs, data files, destination of the newspaper Archives and alert logs.

    $ mkdir Pei/u01/app/oracle/oradata/orcl /.

    $ mkdir Pei/u01/app/oracle/flash_recovery_area /.

    $ mkdir Pei/u01/app/oracle/admin/orcl/adump

    $ mkdir Pei/u01/app/oracle/admin/orcl/bdump

    $ mkdir Pei/u01/app/oracle/admin/orcl/cdump

    $ mkdir Pei/u01/app/oracle/admin/orcl/udump

    Step 12:-use RMAN to restore the backup and standby configuration

    Connecting to RMAN and run the following command to create the database pending, this must be performed on the standby server after the backup copy and the tnsnames parameter.

    $ export ORACLE_SID = orcldr

    $ rman target sys/tiger@orcl auxiliary sys/tiger@orcldr

    RMAN > target double standby database dorecover;

    Here, I'm getting problem such as:

    While he was trying to connect to databases traget and auxiliary, I noticed that when RMAN is connected across the two databases it shows

    ORCL (DBID xyz)

    ORCL (unmounted)

    Here, in my opinion the second database must be the name of the standby database or auxiiary db name is Eve db which is orcldr in my case

    After this issue, I am faced with the second issues such as:

    in command

    target double standby database dorecover;

    After you change the command to

    RMAN > duplicate target database "sleep."

    RMAN-05520 database name mismatch

    Can u please let me know where I can be wrong

    Finally I have the problem after all this googling and thinking the same thing.

    Thanks to you all

  • Problem signature App Playbook with ripple

    I am signing my app playbook with ripple. I use version 2.2.0.5 of the tablet OS SDK.
    I downloaded signature keys and installed them. I was able to generate a signed application.

    However, the second time that I tried to build an application signed, I get the below error. All subsequent attempts to sign the app failed with the same error. The only change that I did between the first and the second was to activate my wireless router I have compiled and signed application push on my test device Playbook automatically via wifi using ripple. I don't see how this would have caused an error like the one below, however. Also, I know that the passwords that I am providing are correct.

    A that someone has had this problem and solved?

    Message: "Oh Snap!" Build request failed with the message: signature [ERROR] failed to the signature on the signature application didn't check the code. The probable cause of this problem is entered a wrong password CSK. »

    To confirm that the password is not really the problem, you can try not to build your application from the command line?

    https://bdsc.webapps.BlackBerry.com/HTML5/documentation/ww_publishing/signing_your_tablet_app_191966...

    You have all non-alphanumeric characters in your password - as a single or double quote?

  • Is it possible backup 11g r1 DB and Recover to12c r1 with RMAN?

    I'm trying to save the old server to the new.

    Is it compatible to migrate Database 11.1.0.6 to 12.1.0.2 with RMAN?

    RMAN restore and recover a previous version of backups. See the compatibility matrix RMAN to https://docs.oracle.com/database/121/RCMRF/compat.htm#RCMRF1949

    All output data base Oracle can restore backup sets and copies created by any prior release of Oracle Database.


    However, in order to open a database, the data must match the version of the Oracle binaries. If you restore and recover a previous version of the database, you will need to update database permission to open it.

    RMAN cannot upgrade and migrate a database, but you can use the wizard for DBUA do. I suggest that you only consider this document showing your upgrade options:

    http://www.Oracle.com/technetwork/database/upgrade/upgrading-Oracle-database-WP-12C-1896123.PDF

    Unfortunately, there is no way to upgrade direct 11.1.0.6 12.1 and you must upgrade the database to 11.1.0.7 first before restoring it. Other options, see the link above.

  • Backup with rman backup sets

    Hi experts. I know about backup of backup without rman example sets but I want to know is there a way to backup with rman backup sets.

    Perhaps it works for your condition.

    RMAN > backupset backup is complete before ' sysdate-1';

    Kind regards

    Shivananda

  • Is it possible backup backupset with rman sbt on disk

    Hello

    We backup data base of sbt with rman and nmda library (networker).

    We want to copy the disk sbt backupset. Is this possible?

    Kind regards

    William

    I remember that this is not possible. It was perhaps possible to redraw the rman backup and restore concepts, but there is probably no real business applications. Remember that a band or an sbt (series tape backup) is a streaming device. You can read from tape or write about a band, but you can't read and write in the same band at the same time. What syntax would you choose to perform an rman backup from tape to disk or tape to tape? Rman backup you can specify a peripheral channel of exit and entry for the use of the restore command. As far as I know, the rman backup source is the database control file and it reads no Ribbon.

  • Refresh the production database to test the database with RMAN

    Hi experts,

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

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

    Reg,

    Thomas verrma

    Thomas

    Follow these steps

    1. on the server target

    a. Add entry in oratab

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

    c. If you use catalog

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

    one.

    RMAN > Connect target sys /@trgt

    RMAN > Connect Catalog rman /@catalog

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

    c. restore the controlfile

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

    RMAN > run

    {

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

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

    }

    Once the controlfile is restored, you can mount the db

    change the editing of the database;

    run

    {

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

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

    restore the database;

    recover the database;

    }

    ALTER database open resetlogs;

    stop immediately;

    bootable media;

    nest target = / = dbname

    change the system db_name set = scope = spfile;

    stop immediately;

    Startup mount

    ALTER database open resetlogs;

Maybe you are looking for

  • Keyboard USB keeps disconnecting

    I have an iMac 21 "under OS X 10.11.6 and randomly my USB keyboard is disconnected from the system.  It is a standard USB, not a bluetooth keyboard, there is no batteries involved.  If I unplug the keyboard and plug it back, it works again... for a w

  • HP 630 Power on password

    I have a HP 630 Power on password activated.  Impossible to circumvent. After 3 attempts. System disabled: 87895441

  • The most bizarre nature of build error

    When I tried to generate a distribution of source file in a project, I get the following error message. Error copying the files. Source: Program files: \National Instruments\LabVIEW 8.5\resource\visarc Destination: C:\Seals Group\LabView\builds\FSFF2

  • Dark videos

    Hey guys.  Hope that there is someone who can help you. Up until at least, as far as I know a week ago. Suddenly, I can't watch videos in wmp.  They are much too dark and the improvements do not work.  The bars do not move.  As far as I know, I have

  • Looking for a Document

    I sent a document to my aol account.  I clicked on the document in the e-mail message.  Once the open document, I modified my document and you click 'save '.  When I finished with the document, I closed it without doing a "save under".  Now, I can't