Doubt in cloning

Dear all,
Our production database is in archive log mode and we will take RMAN backup daily and cold backup weekly. After taking cold backup and creating a new instance with cold backup using rapid clone, the new instance doesnot have archive log mode set in initSID.ora file, could some one explain the reason.
Environment R12.1.1, db 11.1.0.7, Linux
Regards,
Charan.

After taking cold backup and creating a new instance with cold backup using rapid clone, the new instance doesnot have archive log mode set in initSID.ora file, could some one explain the reason.This is an expected behavior as Rapid Clone does not enable archivelog mode by default and you will have to enable it manually once you are done with the cloning.
How to Turn Archiving ON and OFF in Oracle RDBMS [ID 69739.1]
Thanks,
Hussein

Similar Messages

  • Doubt on Cloning

    I will be moving databases from one server to another with different directory structure
    All are QA and DVLP databases.2 production databases
    my question
    1.Can i make alter database backup controlfile to trace ----today
    edit all the changes ---today --will create a controlfile scripts
    next week
    i will be copying all the files
    startup nomount and use the last week file to creat control file and up the database
    Will this procedure works...
    I assume it will work...
    any suggestions from fellow friends

    I will be moving databases from one server to another
    with different directory structure
    All are QA and DVLP databases.2 production databases
    my question
    1.Can i make alter database backup controlfile to
    trace ----today
    edit all the changes ---today --will create a
    controlfile scripts
    next week
    i will be copying all the files
    startup nomount and use the last week file to creat
    control file and up the database
    Will this procedure works...
    I assume it will work...
    any suggestions from fellow friendsYes that will work. Unless you don't have any structural changes within your database between the time. Like create new tablespaces, adding new datafiles etc.

  • Cloning doubt

    hai
    i have a doubt regarding cloning between 2 servers
    if i have oracle database 10g installed on a server and i wish to create a clone of the same database in some other server.
    is it necessary that the oracle database 10g must be installed on the target system.
    kindly provide me the steps for creating clone database in a separate server

    aram wrote:
    i have one more doubt
    if i take closed db backup of source instance and put it in the taget instance wat about the already existing datafiles in the target oracle instance If you take closed backup of source instance and want to restore it on another instance, there shouldn't be any datafile on the another instance. I mean any datafile of the database which you clone
    can i restore the backedup datafiles from source instance to the target instance datafile location.is it the right procedure.wat about the already existing datafliles,logfiles and controlfiles in the target instanceSure you can. And you can rename and relocate that datafiles to another location at the target instance. There shouldn't be any datafile, controlfile and redo log file at the target instance
    is it a right procedure.
    i need to clone the source database and put it in the target instance and clone it.
    wat about the existing datafiles,controlfiles and logfiles in the target instance.You're asking the same question third time :) I'd suggest you to install only Oracle Software to the target instance and clone the source database to the target server using DUPLICATE DATABASE command of RMAN

  • Using old file system backup for Cloning

    I have taken an off-line backup of Oracle 11i (11.5.10.2) 15 days ago. Before taking backup of file system , I verified that all the latest Rapid Clone Patches are applied. No changes or patch work in APPL_TOP or DB has been done since that backup. Now I need to do cloning of this instance, how I can use this backup for Cloning.
    Rapid Clone scripts create and generate some files/directories so I am not sure whether my Old backup of file system will work or not. What is the best way to use old backup for cloning , also what are the file and directories in addition to the old backup of file system which I need to copy to Target System.
    Thanks for reviewing and suggestions.
    Samar

    Samar,
    If you have run preclone before backing it up, your backup should be valid for cloning.
    2.1 in the cloning doc has to be in the backup.
    These doc's should clear out yours doubts on cloning.
    Cloning Oracle Applications Release 11i with Rapid Clone
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=230672.1
    FAQ: Cloning Oracle Applications Release 11i
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=216664.1

  • Cloning R12 on Same system win2003

    Hello,
    I am new to apps DBA, I have some basic doubts about cloning. I have installed apps12 on windows2003. I would like to clone this R12 on the same machine (different physical hard disk).
    1. Executed preclone on dbTier & appsTier.
    2. shutdown services & copied
    d:\oracle\VIS\apps to E:\clone\oracle\VIS\apps
    d:\oracle\VIS\db to E:\clone\oracle\VIS\db
    3. on dbTier of Target directory , I executed perl adcfgclone.pl dbTier
    Then answered various prompts.
    But during 6% only it is exiting with error. When checked services, listener is created & started. When i see log,
    it says cannot connect to database, and after several steps protocol error also
    please guide me....
    And also
    (i) should I change SID of target as in above step (2)
    E:\clone\oracle\VIS to E:\clone\oracle\XYZ
    (ii) before running adcfgclone in above step(3), which context file I have execute.
    (ii) During post clone process, I mean when executing adcfgclone.pl dbTier/appsTier some errors might be thrown. Inthat case how can I restart failed clone? Do I have to start all over again? When I run adcfgclone.pl again, Do i need to give different instane name, port pool during prompts?
    Thanks for stopping by & replying.

    Hi,
    But during 6% only it is exiting with error. When checked services, listener is created & started. When i see log,
    it says cannot connect to database, and after several steps protocol error also
    please guide me....Please post the complete error message from the logs.
    And also
    (i) should I change SID of target as in above step (2)
    E:\clone\oracle\VIS to E:\clone\oracle\XYZYes.
    (ii) before running adcfgclone in above step(3), which context file I have execute. The context file will be created for you by Rapid Clone, so you do not have to execute any.
    (ii) During post clone process, I mean when executing adcfgclone.pl dbTier/appsTier some errors might be thrown. Inthat case how can I restart failed clone? Do I have to start all over again? When I run adcfgclone.pl again, Do i need to give different instane name, port pool during prompts?Yes, you will have to issue the same command again. Do not give different instance name or port pool, just use the same ones you entered before (unless there is an issue with those values).
    Regards,
    Hussein

  • Cloning Program [Doubt] Error

    public class CloneExample implements Cloneable {
         int value = 1; 
         String name;  // personalized name
         public Object clone() {
              CloneExample copy = null;
              try {
                 copy = (CloneExample) super.clone();  // shallow copy
    //             copy.name = new String(this.name);  // deep copying
              } catch (CloneNotSupportedException e) {
                e.printStackTrace();
              return (Object) copy;
          public static void main(String args[]){
               CloneExample cloneEx = new CloneExample();
               cloneEx.setName("bob");
               System.out.println(cloneEx.getName());
               Cloneable clonedObj = (CloneExample)cloneEx.clone();
    //           System.out.println(clonedObj.getName());
         public String getName() {
              return name;
         public void setName(String name) {
              name = name;
    Output
    null
    Doubt
    Why I am getting an output of null for
    System.out.println(cloneEx.getName()); --> null?
    Also WHy is getName() not defined fo clonedObj even after cloning it.
    I am not able to use: clonedObj.getName()

    hi,
         public void setName(String name) {
              name = name;
         }Here is your problem, both name=name are local variable, it will not store in class variable.. so use this to store
    1st problem Solved     
    public void setName(String name) {
              this.name = name;
         }

  • Database Cloning (Cold Backup) Doubt

    Hi,
    Operating System : Sun Solaris
    Production Database Version : 11.1.0.6.2
    UAT Server Database Version : 11.1.0.7.0
    We have taken the production backup and restored in UAT server. We found that there is a conflict in version.
    Is there any solution to bring the UAT up with the production cold backup.
    Please give some manual steps to bring the UAT (11.1.7) with Production backup (11.1.6)
    I have attached the output for your verification we got so much of error. Please suggest some steps.
    We are doing the cloning manually. We need to bring the UAT database up asap.
    Kindly reply me.
    Thanks all.
    Regards
    Pramodh
    Error
    ~~~
    ERROR at line 1:
    ORA-01092: ORACLE instance terminated. Disconnection forced
    Process ID: 28848
    Session ID: 335 Serial number: 5
    SQL> alter database open;
    ERROR:
    ORA-03114: not connected to ORACLE.
    SQL> shutdown immediate
    ORA-24324: service handle not initialized
    ORA-01041: internal error. hostdef extension doesn't exist
    SQL> exit
    Alert Log
    ~~~~~
    ORA-00704: bootstrap process failure
    ORA-39700: database must be opened with UPGRADE option
    Error 704 happened during db open, shutting down database
    USER (ospid: 1371): terminating the instance due to error 704
    Instance terminated by USER, pid = 1371
    ORA-1092 signalled during: alter database open...
    ORA-1092 : opiodr aborting process unknown ospid (1371_1)
    Mon Jun 08 12:53:46 2009
    ORA-1092 : opitsk aborting process

    Hi Forstmann,
    Thanks for your reply.
    Can you tell me whether the follwing steps will bring up the database.
    1. Bring up the Production database up in UAT server
    sqlplus "/as sysdba"
    startup mount
    alter database rename file (For datafile and redolog) to change from production location to UAT.(Using this method if any recovery needed done by smon)
    shutdown immediate.
    sqlplus "/as sysdba"
    startup upgrade
    SQL> spool upgrade.log
    SQL> @?/rdbms/admin/catupgrd.sql
    then run the catalog and catproc script.
    OPen the database.
    take the trace file.
    shutdown immediate.
    2. Open the UAT database.
    sqlplus "/as sysdba"
    startup nomount
    run the control reuse script
    open the database.
    Whether this steps will help. Please suggest me.
    Thanks you
    Pramodh

  • Cloning doubts

    Hi,
    In multi node to multi node cloning i am following this below procedure please let me know it is correct or not.
    DB Tier:db,admin,ccm
    Apps Tier:web,forms
    I need to create the user accounts also dbuser(of target) appsuser(of target) change the owner ship of the apps and dbfile copied from source?
    Autoconfig and rapidclone patches already applied
    1) Preclone Process (Source System):
    a. On the Source Database Tier:
    cd $ORACLE_HOME/appsutil/scripts/PROD_ebizprod01
    perl adpreclone.pl dbTier
    b. On the Source Web Tier:
    cd $COMMON_TOP/admin/scripts/PROD_ebizprod02
    perl adpreclone.pl appsTier
    c. On the Source CCM(ADMIN) node:
    cd $COMMON_TOP/admin/scripts/PROD_ebizprod01
    perl adprelcone.pl appsTier
    2) Copy the Source System to the Target System
    3) Postclone Process (Target System):
    a. On the Target DB Tier run the following commands to Configure and Start
    the Database:
    cd $ORACLE_HOME/appsutil/clone/bin
    perl adcfgclone.pl dbTier
    b. On the Target Web Tier run the following commands:
    cd $COMMON_TOP/clone/bin
    perl adcfgclone.pl appsTier
    c. On the Target CCM (ADMIN) node run the following commands:
    cd $COMMON_TOP/clone/bin
    perl adcfgclone.pl appsTier
    Please also let me know how to update the profile options,What exactly it means updating the profile options?How to check and update the profiles?
    Thanks

    1)Please let me know all the profile options i should change after the cloning.There is no specific answer to this question, since it depends on your instance configuration.
    2)From where this profile options are being loaded?If i want to have the default profile options like a new installation then is there any script to be run?I do not get you here; do you mean to say is there a way to reset the profile options values? If yes, then there is no such a script. However, you can update profile option values using the script in the note referenced above.
    3)cloning doesnt change these things...automatically,Why we have to do this manually.Check my answer for the first question. Rapid Clone updates only site level profile options, if you have any other profile options that are set to instance specific values; you have to update it manually. Again, use the script in my previous reply to list the profile option values at the Site/Application/Responsibility/User levels.

  • Doubt on Oracle Cloning

    Hi All,
    We have cloned a machine, which has Oracle. After the cloning, and the host name changes and the DB does not work. Is there a way to rebuild the DB?
    Any help will be appreciated.
    Thanks In Advance
    MK.

    BTW, you should post this to the "Database - General" forum @ General Database Discussions
    not to the "Replication" forum.
    Hemant K Chitale

  • General cloning doubts mostly while running adcfgclone

    Hi.
    While running the adcfgclone script, I am often asking myself what each question actually, really means . . .
    Does anyone out there know precisely what the following are asking for?
    Do you want to preserve the Display set to :1.0 (y/n) [y] ?
    Do you want to use a virtual hostname for the target node (y/n) [n] ?:
    Does the target system have more than one application tier server node
    Does the target system application tier utilize multiple domain names
    Thanks !
    DA

    Dan,
    Do you want to preserve the Display set to :1.0 (y/n) [y] ?This is for the DISPLAY environment variable that need to be set in the context file, and in the CM script (one usage of setting this variable is to view bitmap concurrent requests).
    Do you want to use a virtual hostname for the target node (y/n) [n] ?:See (Note: 356433.1 - Using Oracle Applications Release 11i with Virtual Hostnames and Business Continuity).
    Does the target system have more than one application tier server nodeWhen you have more than one application tier node (for example, load balancing).
    Does the target system application tier utilize multiple domain namesThis is also applicable when more than one domain is used (for example, load balancing).
    Regards,
    Hussein

  • Oracle Application Server 10g Cloning - Urgent

    Hello All,
    I have been given a new assignment which involves Oracle Applications server 10g, i am new to oracle application server and hoping that some one will please clarify my doubts.
    i have to clone a production machine (Solaris 10) which has oracle AS 10g, this machine had oracle database 10g before and just the application server was installed on it, i have to clone a test environment for this machine, i have the following two doubts
    1) Is it possible to just install Oracle Application server 10g on a machine which already contains oracle 10g database, if so then what about the database that gets installed when installing Oracle application server 10g.
    2) How to clone the above production machine, should the oracle 10g database be cloned first and then oracle application server 10g cloned on the new machine?
    Eagerly waiting for a reply

    user12077492 wrote:
    i have to clone a production machine (Solaris 10) which has oracle AS 10g, this machine had oracle database 10g before and just the application server was installed on it, i have to clone a test environment for this machine, i have the following two doubts
    1) Is it possible to just install Oracle Application server 10g on a machine which already contains oracle 10g database, if so then what about the database that gets installed when installing Oracle application server 10g.
    2) How to clone the above production machine, should the oracle 10g database be cloned first and then oracle application server 10g cloned on the new machine?1) Yes, it is possible. The DB that comes with OAS as the infrastructure DB for it (I presume you are installing a full OAS with infrastructure and midtier both) does not affect the DB you already have on your system ... obviously ... as long as you install them in their separate homes.
    2) I always say, this term cloning is somewhat loosely used in general communication meaning making copies. In OAS context, Cloning works for middletiers only. You cannot clone an infrastructure.
    To make a redundant/alternate environment for OAS, you can do the following:
    - a) either use the same infra on machine 1, and install another midtier and register with the same infra.
    - b) or install a separate infra on machine 2, and also a midtier registered with it.
    Here for the first option a), Cloning can be used because you can (*only*) clone a middle-tier. There are pros and cons for this setup, including that you share the SSO, and OID, and hence users and groups bases, etc on those two environments - something that you may or may not want. But then there are also some way-outs to avoid them or minimize their effects too. Please see the following reference for cloning and search on Metalink for how to minimize effects, once you get better familiar with the processes.
    Oracle® Application Server Administrator's Guide
    10g Release 2 (10.1.2)
    B13995-08
    [10 Cloning Application Server Middle-Tier Instances|http://download-uk.oracle.com/docs/cd/B14099_19/core.1012/b13995/cloning.htm#BCGBDIDF]
    For b), you will need to Stage a server as defined in this reference.
    [11 Staging a Test Environment from a Production Environment|http://download-uk.oracle.com/docs/cd/B14099_19/core.1012/b13995/prodtest.htm]
    There are some notes on Metalink which address issues about benefits or procedures of Cloning and Staging an environment too.
    There are some other ways to export/transport your applications to another instance across DB. Please also read about them.
    hope that helps!
    AMN

  • Regarding DB ID after cloning

    Hi All,
    I have doubt on DBID 's after cloning. Will the DBID of new database same or changes after cloning of database in all versions of oracle 10g and 11g?
    I observed in some cases it remains same and I also want to know what is the impact of being same and changing of DBID.
    Please help in this regard...
    Thanks in Advance

    It depends on the way database has been cloned: if you have used RMAN DUPLICATE, RMAN has changed the DBID otherwise the DBID is not changed.
    DBID may be used if you need to restore database control file wtih RMAN backups without recovery catalog.
    DBID is also used internally in RMAN recovery catalogs to identify databases.
    Edited by: P. Forstmann on 6 sept. 2011 08:35

  • E-business Application cloning

    Hi,
    I have some doubts regarding E-business application cloning. As per Oracle documents, we have to first prepare source system by executing adpreclone.pl script. I do understand, that this script captures the changes done in source system and create templates out of it. On target system, we execute adcfgclone.pl on dbtier and apps tier.
    However I have seen a practice where sometimes refresh from production environment to dev environment is done. While doing refresh, following steps are performed:
    1> source system's db tier is directly cloned using Rman duplicate command. Only dbtier is cloned not rdbms oracle home.
    2> on dbtier, adcgfclone.pl is NOT EXECUTED. instead node_name column from FND_CONCURRENT_QUEUES is updated with web-tier name and concurrent manager server name ( APPS tier has shared APPL_TOP and one node is webtier node and other is APPS_tier node)
    3> application tier binaries are copied (overwritten) to apps tier of dev system (context file for both nodes already backed up before overwrite)
    4> adcfgclone appstier <backedup contextfile> is executed on webtier first then on concurrent manager node following is executed in order
    adclonectx.pl addnode contextfile= <path to backed up context file> then backuped up contextfile copied to original location and
    adconfig.pl contextfile=<path of contextfile> is executed.
    Then autoconfig is executed on all appstier nodes and system works all fine. In whole process, I am unable to understand following two steps,
    1> how update to FND_CONCURRENT_QUEUES table works directly.
    2> in Oracle home of rdbms, i checked, in appsutil folder, clone folder is missing, i.e no adcfgclone.pl.. why is this??
    These steps are complete different from those mentioned in Oracle docs.. Kindly please explain the steps here at dbtier.. they are confusing.

    I meant we do not execute adcfgclone.pl. only update this table with node names of web node and concurrent manager node. then execute cmclean.sql and then run autoconfig thats it. no more steps and our dbtier gets set.As mentioned above, run cmclean.sql, clean FND_NODES then run AutoConfig. You could also update it from the application (System Administrator responsibility > Concurrent > Manager > Define) screen or from the backend by updating the table (cmclean.sql script updates other columns in the same table).
    On my rdbms Oracle_home folder appsutil folder is present. only clone folder in it is missing. that means adpreclone was not executed. I am not able to under stand how without preparing source system for cloning (without using adpreclone) directly cloning db with rman (using active clone) and just cloning apps tier we are able to get exact copy. when docs suggest we muct execute adcfgclone on dbtier (which we don't) and we also do not execute adpreclone on source systemRunning preclone on the source instance is a must. However, if you only need to refresh the database (you mentioned before you do not need to refresh the RDBMS ORACLE_HOME) then you can recreate the database manually or using RMAN. If you need to refresh RDBMS $ORACLE_HOME then you need to run preclone on the source RDBMS $ORACLE_HOME, copy the $ORACLE_HOME files and run adcfgclone.pl script on the target node.
    Thanks,
    Hussein

  • Cloned database

    Hi
    What are all the scenarios in whcih we have to give '
    alter database open resetlogs
    is it necessary that we have to give this after performing the incomplete recovery or after changing the database name from the backedup trace controlfile
    when we have to give this .please say me
    one more thing
    if i cloned a database named "gem" from the source database "gem" then i can apply the archive logs of the source database in the target database and rollforward the changes in the cloned database until the database name is gem.If i created the target database with name "gem1" from the source database "gem" then is it possible to rollforward the changes in the cloned database by applying the archivelogs generated from the source database ???
    iam confused.please clear my doubts
    Regards
    'Aram

    What are all the scenarios in whcih we have to give '
    alter database open resetlogsWhen all else fails, Read The Fine Manual
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_1004.htm#i2079942
        *      You must specify RESETLOGS:
              o            After performing incomplete media recovery or media recovery using a backup controlfile
              o            After a previous OPEN RESETLOGS operation that did not complete
              o            After a FLASHBACK DATABASE operation
        *      If a created controlfile is mounted, then you must specify RESETLOGS if the online logs are lost, or you must specify NORESETLOGS if they are not lost.

  • Doubt in adfgclone.pl

    Hi,
    I have the following scenario:
    I have EBS 12.1.1 as my production instance.This database is configured in ARCHIVELOG mode.There was a requirement to clone this instance to create a DEV instance.I did the following to create a new cloned instance,
    1.)Run preclone on both apps and db tier.
    2.)Shut down the appl and db.
    3.)Copied the appl and db files on to the DEV server.
    Now, when I run adfgclone.pl dbTier, i find that it is asking for a path for archive log location.Although the cloning completed succesfully, still I have a doubt as to why did it ask for the location for archive log??
    PS:I did not pass any value for the location, just passed the default value.
    Regards,
    Rup

    Hi Rup,
    Since the archive log is enabled in source 12.1 instance while running adpreclone.pl ,so it prompted for the archive log location.
    is the default location when prompted during adcfgclone is correct one or not ?
    It seems new and expected feature in 11g DB with R12 instance clone. pls correct me if it wrong means
    -Rk

Maybe you are looking for