Cloning across platforms (RMAN)

hi,
Is it possible to clone my 9i Production DB in Unix to a test environment in unix (without using exp-imp), using RMAN.

metalin docs
Note 18070.1: HOW TO MAKE A COPY OF A DATABASE ON THE SAME UNIX MACHINE
Subject:      RMAN 'Duplicate Database' Feature in Oracle9i / Oracle 10G
     Doc ID:      Note:228257.1

Similar Messages

  • ASM- Cloning across platforms

    Hi
    We are on 10.2.0.4 and we use ASM to manage storage
    Now we usually clone HPUX->Hp UX by copying disk groups to destination disk groups,change ASM Parameter to scan new diskgroups and bring up the database on target.
    Now we have to clone a big database on to Linux.
    If i follow the same process i.e just copy disks and try to bring up on linux , will it work ?
    Is ASM independent of underlying opearting system ?
    Thanks

    894365 wrote:
    Hi
    We are on 10.2.0.4 and we use ASM to manage storage
    Now we usually clone HPUX->Hp UX by copying disk groups to destination disk groups,change ASM Parameter to scan new diskgroups and bring up the database on target.
    Now we have to clone a big database on to Linux.
    If i follow the same process i.e just copy disks and try to bring up on linux , will it work ?
    Is ASM independent of underlying opearting system ?Hi,
    It's not about ASM, no matter what filesystem you're using you must transport (convert) an entire database or tablespace set to a different platform.
    It's the same when you copy the datafiles from normal filesystem of HPUX to Linux... the datafile will be copied without problem, but you will not be able to use because the Oracle Dictionary/Binaries is not designed for that platform.
    You must execute Cross-Platform Data Transportation always when you change platform.
    http://download.oracle.com/docs/cd/E11882_01/backup.112/e10642/rcmxplat.htm
    If you want understand why, I suggest you search in the google about Endianness.
    Oracle data files with same or different endian format of different platform need be converted.
    If I'm not wrong, HPUX is big endian and Linux is Litte Endian.
    i.e You must use transportable tablespace, because transportable database is supported only to same endian format, because TABLESPACE SYSTEM cannot be converted using different endian format.
    See this example:
    http://levipereira.wordpress.com/2011/01/04/oracle-database-cross-platform-migration-to-aix/
    Hope this helps,
    Levi Pereira
    Edited by: Levi Pereira on Nov 3, 2011 3:31 PM

  • Current (LV2012) best way to serve data across platforms

    I'm interested in hearing what people would regard as the current best way do the following:
    I'd like to publish data from labview in a format that can be read over a network across platforms. The data should be not just be visible, but it should be fairly simple for someone writing their own code, say on a Unix machine, to integrate this data into their programs. Some more specific are probably in order. In its simplest form we would like to transfer a 1d array of doubles (say of length  30) plus an image file (say 600x400 pixel jpeg) and update about every 5 second. The "client" would just read this data in at need, and there is no requirement that the client be able to access data other than the current data cluster at the moment it read the data -  unread data is just thrown away when the next update arrives. Is a webservice the only/best way to do this at this time?

    you might want to check Shared Variables (OPC)
    A stupid thought maybe, but File IO is always a possiblity as well, might not be the best one, but will certainly work....
    Kind regards,
    - Bjorn -
    Have fun using LabVIEW... and if you like my answer, please pay me back in Kudo's
    LabVIEW 5.1 - LabVIEW 2012

  • Data Guard across platforms?

    Hi All,
    Does Oracle 10g data guard work across platforms; like primary db in Windows standby in linux or primary in solaris and standby in aix or something like that?...
    Thanks & Regards,
    Rosh

    Does Oracle 10g data guard work across platforms; like primary db in Windows standby in linux or primary in solaris and standby in aix or something like that?...No, its not possible,both server should have same operating system,but u can achieve it by using oracle streams.its works with different platforms.
    Kuljeet

  • Can iPS sessions be synchronized across platform server?

    We are using two platform servers, ps1 and ps2, which are running on two different servers. However, they share a single profile server.
    The site content is served by IIS servers. We would like to add Logout link pointing to "logout" servlet on platform server.
    My belief is that iPS doesn't sychronize sessions across platform servers. Hence, we need to pass on the Platform server name to Content Server (in this case, IIS server) so that the link can be dynamically configured.
    If my assumption is wrong, can you please tell me how the logout URL looks like. I tried <gateway server>/logout. It doesn't work

    To add the logout button try something like this if you are using the gateway
    https://gateway/http://server:8080/DesktopServlet?action=logout
    This should logout the user.
    IF you not using the gateway then it should be http://server:8080/DesktopServlet?action=logout
    The sessions are not synchronized across all platform servers. Sp3Hp2 allows you to have multiple profile servers but still there won't be session synchronization, however it will session information sharing.
    You can login server1.red.iplanet.com and then server2.red.iplanet.com and still get the same session without having to relogin.
    HTH ..

  • CONVERT Redo Logs across platforms - 10g or even 11?

    Hi all,
    I've seen that it's possible to convert databases across platforms on
    10g, but have not seen a reference to the Redo Logs. Can these
    be converted across platforms? Interested in AIX to Linux - there are
    obvious problems of endianess - anybody any experience?
    TIA.
    Paul...

    To be able to share archived log files, the two database must be identical on a block-for-block basis. Logical Standby use SQL apply where physical organization and structure of the database can be different from primary.
    In both cases, the Oracle need to be on same OS platform.
    In 11g that requirement is not lifted.
    What's New in Oracle Data Guard 11g?

  • Syncing iCal Across Platforms

    I am trying to sync my iCal calendars across platforms (Macbook, iPad, iPhone), but I cannot figure out how to create a calendar on my Macbook on the cloud.  Whenever I create a calendar, it seems to save it to my computer and not to the cloud. (Thus it doesn't sync).  I am not really interested in having any calendars on my computer anymore that aren't iCloud synced.  Any suggestions would be appreciated!  Thanks...

    Nancy Huerter wrote:
    I tried to add an iCloud calendar as noted above, but ical is only showing options for OnMyMac and MobileMe calendars. Suggestions? Thanks!
    Have you migrated to iCloud, and have you turned iCloud services on (for your Mac)
    System Preferences>iCloud, select the services (calendars etc) you want.

  • Error while cloning database using RMAN

    hi there,
    Here is our setup:
    OS: Solaris 5.9
    Database:9.2.0.3
    While cloning test database from our production database using RMAN, we happen to get the following error..
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 12/11/2007 15:28:59
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06026: some targets not found - aborting restore
    RMAN-06100: no channel to restore a backup or copy of datafile 450
    RMAN-06100: no channel to restore a backup or copy of datafile 449
    give us a solution to rectify this problem.
    Thanks,
    Balu.

    Can you please post the RMAN restore script ?
    where are the backups located

  • RMAN Active Cloning fails with RMAN-06054: missing log file

    Version Details:
    O.S Version     HP-UX B.11.31 U ia64
    Oracle DB Version     11.2.0.3.0
         Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Scenario :
    Using RMAN Active cloning to duplicate a RAC database from Production to Development environment.
    Problem:
    At the end of the cloning the below errors are reported;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/14/2013 07:03:43
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 24751 and starting SCN of 89285945274
    RMAN Script used for Active cloning:
    #!/bin/ksh
    . setdb entDBu
    start_dt=`date +%Y%m%d_%H%M`
    job=`basename $0 ".sh"`
    rman  >> ${job}_${start_dt}.log  2>&1 <<eof
    set echo on;
    connect target sys/@DCC&(_O@entDBp1
    connect auxiliary sys/@DCC&(_O@entDBuu
    run {
    allocate channel prmy1 type disk;
    allocate auxiliary channel stby1 type disk;
    duplicate target database
    to entDBu
    from active database pfile=/app/oracle/product/11.2.0.3/db/dbs/initentDBu.ora;
    show all;
    exit
    eof
    end_dt=`date +%Y%m%d_%H%M`
    mailx -s "DR RMAN Job: $job done" "[email protected]" <<eof2
    started: ${start_dt}
    finish: ${end_dt}
    eof2How to prevent the error of RMAN-06054: media recovery requesting unknown archived log for thread  with sequence   and starting SCN of  while performing the RMAN Active Cloning? I do NOT want to use UNTIL clause.

    Sivaprasad S wrote:
    Version Details:
    O.S Version     HP-UX B.11.31 U ia64
    Oracle DB Version     11.2.0.3.0
         Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Scenario :
    Using RMAN Active cloning to duplicate a RAC database from Production to Development environment.
    Problem:
    At the end of the cloning the below errors are reported;
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-03002: failure of Duplicate Db command at 05/14/2013 07:03:43
    RMAN-05501: aborting duplication of target database
    RMAN-03015: error occurred in stored script Memory Script
    RMAN-06054: media recovery requesting unknown archived log for thread 1 with sequence 24751 and starting SCN of 89285945274RMAN Script used for Active cloning:
    #!/bin/ksh
    . setdb entDBu
    start_dt=`date +%Y%m%d_%H%M`
    job=`basename $0 ".sh"`
    rman  >> ${job}_${start_dt}.log  2>&1 <<eof
    set echo on;
    connect target sys/@DCC&(_O@entDBp1
    connect auxiliary sys/@DCC&(_O@entDBuu
    run {
    allocate channel prmy1 type disk;
    allocate auxiliary channel stby1 type disk;
    duplicate target database
    to entDBu
    from active database pfile=/app/oracle/product/11.2.0.3/db/dbs/initentDBu.ora;
    show all;
    exit
    eof
    end_dt=`date +%Y%m%d_%H%M`
    mailx -s "DR RMAN Job: $job done" "[email protected]" <<eof2
    started: ${start_dt}
    finish: ${end_dt}
    eof2How to prevent the error of RMAN-06054: media recovery requesting unknown archived log for thread  with sequence   and starting SCN of  while performing the RMAN Active Cloning? I do NOT want to use UNTIL clause.Where UNTIL clause in your script I didn't saw.
    Please try following RMAN script
    DUPLICATE TARGET DATABASE FOR STANDBY
      FROM ACTIVE DATABASE
    SPFILE
       SET "control_files"="/u01/app/oracle/oradata/stbdbcontrol01.ctl"
       SET "db_name"="prmdb"
       SET "db_unique_name"="stbdb"
       SET "db_file_name_convert"="/u01/app/oracle/oradata/prmdb","/u01/app/oracle/oradata/stbdb"
       SET "log_file_name_convert"="/u01/app/oracle/oradata/prmdb","/u01/app/oracle/oradata/stbdb"
       SET "db_recovery_file_dest"="/u01/app/oracle/fra"
       SET "diagnostic_dest"=/u01/app/oracle"
       SET "audit_file_dest"="/u01/app/oracle/admin/stbdb/adump"
    PASSWORD FILE
    NOFILENAMECHECK;
    {code}
    Please change parameters for your environment.
    Regards
    Mahir M. Quluzade                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Cloning DB using RMAN Backup in a single system

    Hi,
    I want to clone my database using RMAN backup in the same system only. Please let me know the suitable document for that in both windows and linux.
    Thanks in advance
    Mahi

    hi
    find for both platforms linux and windows
    http://www.dizwell.com/prod/node/9
    http://www.pgts.com.au/pgtsj/pgtsj0211b.html
    Regards
    Vignesh Bala
    Message was edited by:
    Vignesh Bala

  • Migrating a Database Across Platforms (AIX = W2K)

    Has anyone successfully moved a database from one platform to another? I am specifically interested in cloning a 400+G database from AIX to Windows 2000. To add a twist, I would like to know how to do this without using export/import. I am aware that export/import is the only "supported" method of doing this, but is resource intensive, cumbersome and sloppy.
    I would appreciate any input, tools, vendors, etc.
    Thank you, Paul Tolve.
    [email protected]

    Have a look at DBArtisan by Embarcadero Technologies. A direct db transfer is not possible because of incompatabilities between the files at the OS level. Is this an actual Migration of the DB to the W2K platform, or is it a copy or clone of the DB's, if it is the latter case, you may want to look at some kind of replication scheme instead.

  • Using Skype across platforms

    I have a Mac desktop & a Mac laptop & an Android smartphone.
    I'm thinking about getting an iPad.
    I want a cross-platform app that I can use to send & receive e-mails from/to a Mac or Android or Windows device.
    Unfortunately, Apple won't allow text messages from an iOS/OSX device to go to an Andoid or a Windows device. There are Android apps that will allow iMessage text onto an Andoid phone.
    Skype is the only cross-platform app that I know of that can be used on Macs or Androids or Windows devices. I tried to enter my name as a Skype contact on my Mac desktop & Skype wouldn't allow it.
    My sister has an Android phone & a friend has a Windows laptop.
    So, how do I set up Skype on each of my devices so that they can talk to each other? Once I successfully set up Skype on my Android phone & my Mac, I want to test it out.

    I have 2 Macs & an Android phone. A friend has an iPhone & a Windows laptop. That's 4 platforms(OSX, iOS, Android & Windows). Is it possible to send & receive video & text messages thru the Skype network across all 4 platforms for free?
    When setting up an account, the first thing that one does is enter "Full Name". That's what shows up in the History, right? Can a Full Name contain characters other than alphabetic? For example, can I use "David Simpson's smartphone" as a Full Name or "David Simpson's iPad" as a Full Name? Can I use BOTH upper & lower-case letters in the Full Name?

  • Annotations disappear across platforms

    I have marked up some PDFs on my Asus Android based tablet with the freehand tool, but when I open them in Reader XI on my Windows 7 based computer, the markings have disappeared. Is it possible to transfer them across these platforms?
    If it matters, these are PDFs that are basically image files (from databases of historical documents), not something converted from a text file.

    I was using Adobe for Android. I.e. I was using Adobe in both instances.
    (I had to create a new account because I got completely locked out of the original one ... probably mistyped my email).

  • Uploading - skipping files across platforms and version numbers

    I'm using Dreamweaver CS3 on XP.
    I've had a problem with Dreamweaver's FTP feature for several
    months now. I will try to upload a file, and only about 1/4 of the
    time, will it upload successfully.
    I will sometimes get a message saying: "Some files were
    skipped during the last operation. A list of these files has been
    logged in the FTP log window". Then, that file, (index.html, for
    instance) will be deleted from the server. Often, it takes 7-10
    tries to just upload one file.
    other times, I'll get this error message instead "There was
    no response from the server while transferring the file
    "index.html" 2 attempts made" It doesn't matter whether i click
    "Try Again" or hit "Cancel" and try it again manually... still,
    only about 1/4 of the time it's successful.
    In the FTP log, this is what it says, for instance: (This is
    just 1 example... it's happening across all 45 sites i manage)
    =======================================
    < 230 user logged in
    > PWD
    < 257 "/ksmk.org" is current directory
    > PWD
    < 257 "/ksmk.org" is current directory
    The file "/ksmk.org/index.html" was skipped because the old
    remote file could not be deleted.
    =========================================
    Fixes I've tried: re-setting my firewall to allow dreamweaver
    access. using passive FTP. using ipv6 transfer mode. the only thing
    that seemed to work was deleting the setting of "Home Page" under
    the "Site Map Layout" tab in Advanced Settings. it would work
    flawlessly up to 2 or 3 times. But then, that setting would
    automatically be populated again, and i'm back to square one. I'm
    not going to go into the settings every time i want to upload
    something!
    I gave up, and started using WS FTP instead. a pain, because
    i really like Dreamweaver's FTP better, but WS FTP is better than
    the frustration. i figured i was just doing something stupid.
    But now, my brother in Texas, on Vista and CS4 is having the
    same exact problems. and, my friend 20 miles away on XP with CS3 is
    as well. so it's not just my problem. It's happening across ISP's,
    platforms, servers... every variable except Mac. I've been fine
    using dreamweaver on Macs... possibly just a PC issue?
    any ideas and suggestions would be gladly appreciated.
    thanks
    -Andrew Latham.

    HI Ron,
    I am not sure, but the small files might be the resource forks of the photos.
    I know when I send photos to PC friends that I make sure the resource fork is removed from the photos before I send them other the recipient will get two diles in the email. One the resource fork and the larger is the photos.
    You might try exporting the photos from iPhoto to a folder on the desktop. From there you can use a program to delete the resource forks from the photos.
    You can then copy that folder of photos to the media player.
    There are different methods to do this.
    1-usings X-ray
    http://www.versiontracker.com/dyn/moreinfo/macosx/12103
    2-I have used GrimReeper in the past. It is a contextual menu plugin.
    Check out this page for more info
    http://kb.iu.edu/data/aefq.html
    You also might like to check out a newer app called Blue Harvest
    http://www.versiontracker.com/dyn/moreinfo/macosx/28432&vid=271175

  • Library name compatibility 32/64 bit and across platforms

    Hi all,
    I have a numerical C library which I wish to link to using JNI. The binary will be shipped in the jar file to keep everything "clean" for the client.
    Unfortunately the SUN System.mapLibraryName method is completely useless when it comes to bundling binaries that are specific to an architecture. Some tests I have performed show:
    Linux 64 bit Pentium M: os.name = "Linux", os.arch = "amd64", mapLibraryName = "libNAME.so"
    Linux 32 bit: os.name = "Linux", os.arch = "i386", mapLibraryName = "libNAME.so"
    iBook G4: os.name = "Mac OS X", os.arch = "ppc", mapLibraryName = "libNAME.jnilib"
    Windows XP 32 bit: os.name = "Windows XP", os.arch = "x86", mapLibraryName = "NAME.dll"
    Sun Blade 1500 (64 bit): os.name = "SunOS", os.arch = "sparc", mapLibraryName = "libNAME.so"
    you will notice that Linux 32/64 and Solaris all use "libNAME.so"... despite the architecture they are running on! (Apple is not a problem because it supports Universal binaries).
    I'm thinking that I will have to use some horrible library name and loading code to deal with these problems... creating library names along the lines of
    Linux 64 bit Linux: "libNAME-linux-intel-64.so"
    Linux 32 bit Linux: "libNAME-linux-intel-32.so"
    Linux 32 bit PPC Linux: "libNAME-linux-ppc-32.so"
    iBook G4: "libNAME.jnilib"
    Windows XP 64 bit: "NAME-64.dll"
    Windows XP 32 bit: "NAME-32.dll"
    Sun Blade 1500 (64 bit): "libNAME-sunos-64.so"
    My main concern is Linux and Windows 32/64 bit, rather than cross-CPU handling.
    I am not looking forward to writing this... has this problem come up before? And if so, what have people done to deal with it? I guess an alternative would be to use a naming convention in the directory structure, but that's really the same solution.
    Kind regards,
    Sam

    I have concluded that the best way to solve this problem is to create a pre-processing method for System.loadLibrary that takes the library name (as it would be passed to System.loadLibrary) and returns a more operating system and architecture-friendly String.
    I have created a class that does OS/Architecture detection and then returns the following on various platforms for the input parameter "name":
    Apple (G3, G4, G5, Intel): "name" (expects user to build Universal Binaries)
    Linux (i686): "name-linux-x86"
    Linux (Intel/AMD 64): "name-linux-x86_64"
    Linux (sparc): "name-linux-sparc"
    Linux (PPC 32 bit): "name-linux-ppc"
    Linux (PPC 64 bit): "name-linux-ppc_64"
    Windows XP/Vista (i686): "name-windows-x86"
    Windows XP/Vista (Intel/AMD 64): "name-windows-x86_64"
    Sun Solaris (Blade): "name-sun-sparc"
    Sun Solaris (Intel 64 bit): "name-sun-x86_64"
    This String can then be safely sent to System.loadLibrary, which will do the usual additions of "lib", ".so", ".jnilib" and ".dll" and search in all the right places. It is not possible to write a wrapper for System.loadLibrary itself as native library loading needs to know the name of the calling class.
    I'd be happy to share the code with anyone who requests, but it's a bit too long to post here.
    Incidentally... in my research into native library loading, I encountered the "Bundle-NativeCode" entry for Manifest files. It may be possible to construct an entry for each os.name/os.arch pair to assign native binaries accordingly. However it appeared that every pairing would need to be specified (whereas my solution is more forgiving), and I'm not entirely sure if that method allows one to define the (shortened form of the) library name... it may just be useful for bundling binaries inside the jar file.

Maybe you are looking for

  • Deploy PAR with NWDS SP19

    Hi All,   I am trying to deploy the PAR file from NWDS, it brings up the dialog and after i enter my password, the deployment progress is stuck, let us say at 80% and my NWDS is hung. I have to terminate it and reopen it again. I upgraded my NWDS rec

  • Is my line live for ADSL2+ \ 'up to' 20mb?

    I guess only a moderator could look into this one for me so I've pinged you an email (with all my details etc.) but I'll state my question here in any case so there is something to refer back to etc; My exchange shows at the BT ADSL availability site

  • Where to set creationPolicy and borderThickness for s:Group?

    I'm porting a Flex 3.1 application to Flex4.5. Here is the Flex 3.1 code: <mx:Canvas creationPolicy="auto" borderThickness="0" ...>      <mx:HBox >           <mx:Image .... />      </mx:HBox > </mx:Canvas > This is the Flex 4.5 code I got so far: <s:

  • Nondatebase item use

    Hi, I have a working master/detail combination. In the detail block I added a nondatabase item to display the number of records in the detail (get_block_property('blockname',query_hits)(I fill the item in the on-populate-details trigger). That works

  • How to move page in a section

    Hi, I use Pages '09 on Lion. I have a section in my document (seen by the yellow line around it) with several pages. I just can't find how to move, or better rearrange the page order in a section. Let's say I just want page 8 in my document move up a