Database Cloning or Software Cloning

Hi,
Can anyone explain what is database cloning & software cloning available in oracle 10g ?
With Regards
Kccrga

In addition to the above replies.
Let's say you have a Production database (PROD) is running on Linux/Unix Server (AAA). Here you wanna clone your database and Oracle Home (Oracle Software Direcotries) from Server AAA to server BBB. Oracle Home cloning is nothing but software cloning.
Software Cloning: This can be done only once until and unless any Oracle Patch applied on it.
Database Cloning/Refresh: This needs to be done whenever the updated datais required in the test/developement databases from production.
Software Staging: This can be done once when we install Oracle Software. It means that we need to copy the Oracle Software CDs in one area on the server for the future installation of the same software.
Regards,
Sabdar syed.

Similar Messages

  • How to preserve database user details before cloning

    Hi Experts,
    How to preserve database user details before cloning,
    I am cloning the test database with the prod database, so my concern is how to preserve the users details which they have in TEST database( like roles, privilges, profiles , passwords, etc.....). Because that all gone after cloning from PROD.
    Thanks
    Sam

    use the following script to take the backup of roles,pwd & other  details of DEV . after cloning  execute the scripts back in DEV to restore the old values....
    set head off
    set lines 200
    set pages 9999
    col owner for a20
    col db_link for a30
    col username for a15
    col host for a40
    col created for a12
    spool db_details.lst
    select * from global_name;
    select * from dba_db_links;
    select name from v$controlfile;
    select member from v$logfile;
    select file_name from dba_data_files;
    select file_name from dba_temp_files;
    spool off
    spool create_db_links.lst
    select 'create DATABASE LINK '||owner#||'.'||NAME|| ' connect to '|| userid || ' identified by '|| password || ' using '||''''|| host ||''''||'; ' FROM sys.link$ order by owner#;
    select username,user_id from dba_users where user_id in (select distinct owner# from link$);
    spool off
    spool alter_user.lst
    select ' alter user '||username||' identified by values ' || chr(39)||password||chr(39) || ';' from dba_users;
    spool off
    Set verify off
    Set space 0
    set feedback off;
    set echo off;
    set pages 1000;
    set lines 150;
    spool create_synonym.sql
    Select 'CREATE SYNONYM '||owner||'.'||synonym_name||' FOR '||table_owner||'.'||table_name||'@'||db_link||';' from dba_synonyms where db_link is not null and table_owner is not null;
    Select 'CREATE SYNONYM '||owner||'.'||synonym_name||' FOR '||table_name||'@'||db_link||';' from dba_synonyms where db_link is not null and table_owner is null;
    spool off;
    Spool profile.sql
    select ' alter user '||username||' profile '||PROFILE||';' from dba_users;
    spool off

  • Oracle Software Cloning in Windows environment.

    I am trying to see if there is an option for cloning the database software (not the database) on to a new windows server, just like the one we can use on Linux/AIX servers and deploy OUI to configure oracle home and other stuff..

    Pl post details of OS and database versions. I do not have an y personal experience with cloning on Windows, but have you checked MOS Doc 300062.1 (How To Clone An Existing RDBMS Installation Using OUI) /
    HTH
    Srini

  • Error after oracle software cloning

    Hi all ,
    I have a database(10.2.0.5.0) in solaris 10 , i simply take a tar backup of ORACLE_HOME and
    extracted them into another server (which is solaris 10 only) and linked the binaries
    after that when i connecting with sqlplus i am getting following error
    SQL*Plus: Release 10.2.0.5.0 - Production on Fri Oct 4 14:49:48 2013
    Copyright (c) 1982, 2010, Oracle.  All Rights Reserved.
    Enter user-name: /as sysdba
    ld.so.1: oracle: fatal: libskgxp10.so: open failed: No such file or directory
    ERROR:
    ORA-12547: TNS:lost contact
    I would like to tell that i have also oracle 11gr2 running on the server
    my oracle_base is same for both(10g 11g)
    but ORACLE_HOME is different.
    please help ??

    You probably have some confusion between 32 and 64 bit versions of that file.  Get a long listing of the file on each computer to see if they are the same.  Sometimes people copy over the file to fix this, sometimes they fix it with links, sometimes it's just messed up in cloning as links become real.  See Billy's response: ld.so.1: oracle: fatal: libskgxp10.so: open failed: No such file or directo

  • Is there any Windows disk cloning/copy software that WORKS?

    Hello,
    I am trying to copy an XP SP3 drive to a newer hard drive. (Yes, this is going to get upgraded to Windows 7, but only AFTER I make a clone of the drive, in case
    anything goes wrong, which it usually does). This is on a laptop. I have the new drive connected via a USB->SATA adapter. I have tried Ghost, which does not see the external drive. I've also tried Seagate diskwizard, which does not see the external drive.
    Today I tried easeus, which sees the external drive, but complains about the sector sizes being different (I'm NOT trying to do a sector-by-sector copy) and does not do the copy.
    Does anyone know of software that will successfully copy a Windows drive to another drive?
    Thanks!!!

    A sector by sector clone means that even blank sectors with no information will be cloned. Please see:
    http://kb.easeus.com/art.php?id=10010
    From Easus documentation :
    ...It is not possible to copy one to another if logical sector size of target drive differs from logical sector size of source drive. That is because data integrity usually cannot be ensured between different logical sector drives.
    http://kb.easeus.com/art.php?id=10039
    From Paragon kb :
    A hard disk (HDD) has physical sector size determined by its geometry and logical disc sector size. Info about logical sector size is stored in disk controller and is reported to operating system (OS), determining how OS sees this drive: as 512
    bytes per sector or as 4K per sector drive.  
    Common drives have 512 bytes per sector both on physical and logical level, while Advanced Format Drives (AFD) have 4096 (4K) bytes per physical sector but emulate 512 bytes per logical sector.
    However some external USB boxes (especially if HDD was designed for external connection) provide 4096 bytes per sector for both physical and logical geometry. It is not possible to copy one drive to another if logical sector size of target
    drive differs from logical sector size of source drive.
    http://kb.paragon-software.com/paragon/include/templ/object2.jsp?catId=2124&objId=7018&statId=2368017&foLang=en
    You will either have to find another external drive with the same logical sector size (I'm guessing 512 bytes) or you could try one of the workarounds offered by Paragon :
    It may be possible to copy one drive to another using the following workarounds:
    - Connect drive via eSATA cable (if external HDD case and PC itself support it)
    - Take hard disk out of external case (if vendor allows it) and connect hard disk to PC via SATA port (in case of laptop with only one drive you may use SATA port for optical drive)
    - Take hard disk out of external case (if vendor allows it) and use another SATA-USB case which will provide 512 bytes per logical sector (any cheap case should do it unlike special Seagate cases)
    Alternatively, you can try to find a program that supports cloning irrespective of source and destination logical sector size (see link to HDClone in later post)

  • Swapping HDD with SSD (+Software Cloning)

    Hi all,
    I've been wanting to swap the 2011 MacMini's HDD with an SSD drive. I am currently running Windows 7 on the mini. What would be the best way to clone everything from the current MacMini internal HDD to the new SSD before the swap? Also, are any additional parts (cables etc.) needed to install the SSD or is everything inside reusable?
    Thanks.

    Please note that changing the hard drive is not considered
    a user servicable function, only changing RAM is and therfore
    will void your warranty (clearly stated in the user manual).
    Just needed to put in that disclaimer so that you were aware.
    You haven't stated, but I am assuming you are using Win7
    in a Bootcamp partition, which will complicate things.
    There are many SATA to USB adapters out there, so you will
    want to get one of them.  You will eventually neeed Winclone
    (free) to put the Win7 volume on the new drive.  Also, to be safe,
    get a USB stick.
    Cloning the OSX stuff will be simple. 
    1.  Create a Recovery volume on the USB stick by first
          downloading Lion Recovery Assistant.  Should do this
          any way whenther changing hard drives or not.
    2.  Connect the SSD with the SATA adapter while booted
          into the current system and Partition with GUID scheme
          and format with Mac OSX journalled.
    3.  With your Recovery USB stick plugged in, reboot holding
          down Option key.
    4.  When presented with the boot selection, select the USB recovery
          stick.
    5.  Once things load up select Disk Utility and do a Restore
          from the internal volume to the external.  This will clone
          the Recovery HD as well as the OSX install.
    6.  Have lunch, do laundry or whatever as this will take awhile.
    7.  When the Restore is complete, as a quick check, reboot
          holding the Option key and select the newly cloned volume
          to insure it is bootable.  It will take time to boot since it is USB
          but a good check before putting it in the case.
    8.  If all is well, you can swap your drives.
    9.  Next, boot to the new internal an run Bootcamp and create your
          Windows partion, follow through to the Win7 install and from
          the windows installer format the partition to NTFS but then
          quit the installer after this is complete.
    10.  Next, plug your old drive into the SATA adapter and run Winclone.
           You should be able to select the external WIndows partition
           as the source and the internal Windows patition as destination
           and just clone.
    1 through 7 will definately get you OSX and Recovery HD on the new drive
    and the rest "should" get you Windows.

  • Existing  software cloning

    Hi,
    i already installed oracle As 10.1.2 on test1.yan.com(172.19.0.25). i would like to copy test1.yan.com to test2.yan.com(172.19.0.24).
    is it possible to copy the existing software to new location? If it's possible,how to do that.
    After that can i reconfigure it to new location.
    why i am asking this due to some files are missing while downloading.
    Edited by: user3266490 on Oct 1, 2009 1:41 PM

    You can try to clone ORACLE_HOME installations with OUI: http://download.oracle.com/docs/cd/B14117_01/em.101/b12140/2_oui_using.htm#sthref85

  • Database recoverability question for cloning

    Hi Folks
    We run a hot backup everynight on our production database.
    today in the morning when the database backup was not completed
    a datafile was added to a tablespace which was low on space.
    this is what i want to confirm
    the datafile was added around 8.30 am
    the backup finished at 11.00 am
    but i need to recover backup until 9.00 am
    Can you tell me if i could do that.
    thanks

    Hi,
    the datafile was added around 8.30 am
    the backup finished at 11.00 amDid you verify if this new datafile is included in the backup or not?
    but i need to recover backup until 9.00 am What instance you want to recover? And, why you want to recover the database if it is working properly?
    Regards,
    Hussein

  • Cloning/Backup Software with Bootcamp

    I use SuperDuper (and occasionally Carbon Copy Cloner) to keep images of my MBP at all time. I use Acronis True Image on my Windows machines that dual boot Linux. Acronis will clone the entire drive and/or individual partitions.
    I haven't installed XP on my MBP yet, but plan to soon (for those 4 applications that I can't run under OSX). Will either SuperDuper or CCC (or both) clone the entire harddrive, including the Windows XP partition under the Bootcamp Scenario (using OSX of course).
    Thanks.

    Go with Rsync or arRsync. Seems that the rsync utility is more robust than psync. I've recently tried arRsync because it was recently released. It has a nice feature of being able to select multiple files and folders within a single script. RSync on the other hand does one item per script. arRsync does not perform bootable backups.
    You cannot restore an entire system unless you've made a clone of that system that is bootable. You can use the Restore option of Disk Utility to make full bootable backups:
    How to Clone Using Restore Option of Disk Utility
    1. Open Disk Utility from the Utilities folder.
    2. Select the backup or destination volume from the left side list.
    3. Click on the Erase tab in the DU main window. Set the format type to Mac OS Extended (journaled, if available) and click on the Erase button. This step can be skipped if the destination has already been freshly erased.
    4. Click on the Restore tab in the DU main window.
    5. Select the backup or destination volume from the left side list and drag it to the Destination entry field.
    6. Select the startup or source volume from the left side list and drag it to the Source entry field.
    7. Double-check you got it right, then click on the Restore button.
    8. Select the destination drive on the Desktop and press COMMAND-I to open the Get Info window. At the bottom in the Ownership and Permissions section be sure the box labeled "Ignore Permissions on this Volume" is unchecked. Verify the settings for Ownership and Permissions as follows: Owner=system with read/write; Group=admin with read/write; Other with read-only. If they are not correct then reset them.
    For added precaution you can boot into safe mode before doing the clone.
    Although you can image the entire hard drive if you want you cannot boot from a disk image.

  • Cloning Tiger vs. cloning TM vs. ?

    I have two internal drives (500GB and 200GB) and two external removables (500GB and 160GB which should be retired). I want to keep an internal volume for booting into Tiger. I also want to create an internal volume for Time Machine. The external 500GB is the dedicated clone backup. All run at SATA-150 speed.
    Which is better:
    1. Partitioning big internal drive into 450GB Leopard and 50GB Tiger (or similar size). Second internal drive becomes the TM volume. External big drive also gets partitioned into 450GB Leopard clone and 50GB Tiger clone.
    2. Partitioning big internal drive into 250GB main and 250GB TM. Second internal drive (200GB) remains Tiger. External drive also becomes two volumes, cloning both the 250GB main and 250GB TM volume.
    I've never used TM before. I don't think I'll ever have more than 200GB of data.

    Thank you for your replies, but my TM has now completed its first cycle (plus one or two backups), and I'm happy to report that my choice of strategy #1 works beautifully. Even the Tiger volume contents are now inside the Time Capsule!
    And contrary to what you may think, you seem to have misunderstood what I was asking...
    a brody wrote:
    Setup A:
    1. internal drive 1 has two partitions Tiger and Leopard including all your applications and documents on partition 1 with Leopard.
    2. internal drive 2 has Leopard bare bones.
    No! Second internal drive needs no OS. The entire drive is now my simple TM volume.
    3. External drive 1 has a partition matching the bare bones Leopard thanks to cloning software.
    and a Time machine backup on a second partition of both Internal drive 1 and 2.
    No! Why so convoluted. External drive 1 is identical in size to internal drive 1; therefore, it's partitioned identically. Leopard is cloned then Tiger is cloned into their respective volumes. One physical removable drive, two volumes.
    4. External drive 2 is a clone of external drive 1 after Time machine has completed its backup to your satisfaction.
    No. It's the smaller, older, original drive, which I will retire as I've mentioned.
    Setup B:
    1. internal drive 1 has one Leopard partition including all your applications and documents.
    2. internal drive 2 has a bare bones Leopard partition, and a Tiger partition.
    No. If this setup was implemented, any bare bones Leopard installation would not have been needed. Internal drive 1 would be partitioned equally into two volumes, one of which is Leopard including all documents, the other would be the TM volume for it.
    3. External drive 1 has a partition matching the bare bones Leopard partition thanks to cloning software and a Time machine partition containing the Leopard data from internal drive 1, *and internal drive 2's Tiger partition.* (section edited)
    4. External drive 2 is a clone of external drive 1 after Time machine has completed its backup to your satisfaction.
    You get too confusing at this point. Remember the K.I.S.S. principle.
    Choose your poison. All are less damaging that treating any internal drive as a backup on its own.
    No poison needed. I now have what seems to be the best of all worlds. The internal TM volume, if you can call it a backup, provides "hourly versions for the past 24 hours, daily versions for the past month, weekly versions until the disk is full." It even pulls up earlier versions of applications and documents from Tiger and Classic!

  • How to change DBID of cloned Databse after cloning?

    Hi,
    After cloning, the DBID of primary & Cloned database have the same DBID.
    I want to know how to change the DBID of cloned instance?.

    Refer these for examples
    http://gavinsoorma.com/2009/07/change-dbid-of-database/
    http://docs.oracle.com/cd/E11882_01/server.112/e22490/dbnewid.htm
    http://fugoconsulting.wordpress.com/2011/06/20/changing-dbid-in-oracle-database/

  • Cloning on previously cloned machines

    Hi, newbe here to HR12. I currently have a 2-Tier Architecture for our TEST and DEV environments, with the HR12 database sitting on one server, and the Applications sitting on the other. I'm about ready to re-clone the TEST with our DEV, and all the documentation I've been coming across talks about cloning to a fresh environment, where you just copy the files and run the cloning scripts. What do I need to do for an existing environment that I want to re-clone (same instance name, services, directory structure, etc..). I should mention, we're not yet at a state where we can simply do a database refresh as we are constantly changing our APPL_TOP.
    Any guidance for this lost sheep in the woods would be appreciated.
    Thanks

    What do I need to do for an existing environment that I want to re-clone (same instance name, services, directory structure, etc..). Just follow the same procedure but you have to delete the existing instance first.
    So, if you want to clone TEST to DEV, please do the following:
    - Stop the application/database services of the DEV instance
    - Delete all the application/database files of the DEV instance
    - Run preclone on the application/database tiers nodes on the TEST instance
    - Shutdown all the application/database services of the TEST instance
    - Copy the application/database files from TEST to DEV
    - Run postclone on the database/application tier node on the DEV instance
    Rapid Clone Documentation Resources For Release 11i and 12 [ID 799735.1]
    Thanks,
    Hussein

  • Database 9i R2 software download

    hi guys where can i find the software for the oracle 9i R2 software. i need to download it for AIX 4.3 platform

    Oracle9i Database Release 2 (9.2.0.1.0) Media Pack v6 for AIX Based 4.3 Systems (64-bit)
    is availabe in edelivery.oracle.com for 64bit os. for 32 bit os oracle 9i is not available
    refer the link:-
    http://edelivery.oracle.com/EPD/Download/get_form?egroup_aru_number=10351676

  • Cloning : hot cloning and cold cloning

    hi
    how to clone in EBS R12.I am a core DBA student currenly working as trainee in EBS dba.
    can anyone explain ....
    i am requesting some details on hot cloning , cold cloning and user managed cloning techniques.
    in user managed cloning i need to run adpreclone.pl then copy some files then whats for when using rapid clone ??
    rgrds

    See the below metalink notes on cloning..
    Note 230672.1 - Cloning Oracle Applications Release 11i with Rapid Clone
    Note 362473.1 - Cloning E-Business Suite Using Hot Backup for Minimal Downtime of Source Environment
    Note: 799735.1 - Rapid Clone Documentation Resources, Release 11i and 12
    Note: 216664.1 - FAQ: Cloning Oracle Applications Release 11i
    Hope this helps
    Regards
    http://www.oracleracexpert.com
    Click here for steps to [Oracle version upgrade from 10.2.0.x to 10.2.0.4
    http://www.oracleracexpert.com/2009/10/oracle-version-upgrade-from-1020x-to.html
    Click here to [Download Oracle Grid Control and ASMLib and Install
    http://www.oracleracexpert.com/2009/08/download-oracle-grid-control-and-asmlib.html                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Unable to connect to database via other software.

    I have narrowed down all the problems i am having to Oracle XE. I have written a bit of software which uses Crystal Reports. The crystal reports work in the software and attach to the database and get the results when the software is installed on a machine which has Oracle XE installed (full database not just the client) even if the database the crystal report actually attaches to is not on this machine.
    If the software is installed on a machine with only the Oracle XE client installed on i get connection errors every time i try and get the Crystal Reports to run in the software.
    What files do i need to have on these client machines to get rid of these connection errors?

    Please ... don't make us guess.
    At the least, give us a hint what the messages are. Cutting and pasting from the actual session would be best.
    Right now, I am guessing you use Windows and that you have only tried connecting to an Oracle database that runs on Windows. But that is a guess.
    I'm also guessing that you have not set up the Oracle 'tnsnames.ora' file (or used any other naming resolution mechanism) on the machine with crytstal reports and XE.
    I have about 93 other guesses I could make as well. Many of which are not useful.

Maybe you are looking for

  • Can't Install iTunes 10.6.1 on Windows 7 64-Bit

    I've tried repeatedly. The installation verifies, unpacks, and then installs to approximately 60% and then -- nothing. I can wait for twenty minutes and there's no further progress. Meanwhile, the entire system has slowed to a crawl and has become to

  • IPad 30-pin Port Seemingly Broken; Unexportable Data must be Backed Up

    Hello everyone. I come here in desperation. My iPad's 30-pin port recently decided to stop functioning properly: 1) When plugged into a "dumb" power source like a USB/AC block it does the "Not Charging" message, even on power sources it never used to

  • WiFi connectivity to LG LCD TV (model 32LD550)

    I have recently purchased a web enabled LCD Television that I am trying to hook up to my airport extreme. I have purchased the correct "dongle" from LG to allow it to sync up to my wireless network, but am having a hard time gaining access. I find my

  • Weblogic 7.0 , MySQL 3.23 JDBC Connection Pools

    i am using weblogic 7.0 and MySQL 3.23 and right now my objective is to create, configure and test a JDBC connection pool using the Administrative console. Here is what i have done till now - set the classpath of the MySQL driver in the startWLS.cmd

  • Schedule report and download generated PDF issue

    Hi, I am trying to run a rpt file, which is stored on CR server, on the CR server 2008, the generated pdf to be stored in inbox, and the pdf will be retrieved using IPDF class and inputstream. Ideally, whole process is running within one session usin