Rman database 10gr2 upgrade to 11gr2 problem recover

* Oracle 10gr2 database rman full backup.
* copied the files to target database.
* rman target /
* rman> set DBID
* rman> restore controlfile from 'path/controlfile.bkp
* RMAN> sql 'alter database mount';
* catalog start with 'path/directory';
* rman> run { script to set newname for datafile {N} to 'path/<filename.dbf';
* rman> restore database;
* SQL> alter database rename file 'path/redo1' to 'newPatch/redo1';
* SQL> select /*+ name from v$datafile */ name from v$datafile; // new path is shown
Because this is a 11gr2 database. I understand that I am suppose to "alter database disable block change tracking;" in order to have a successful and predictable recovery. Please offer recommendations on the next steps to:
1. RMAN> restore database
2. RMAN> open database resetlogs ?
What steps do I need to do to ensure that I am able to restore and then open the database. I'll the rest of the upgrade stuff but I need to at least understand what I am missing. I have been getting failure and on one occasion I got success after I changed the block change. Please advise. Thanks

Hello;
How To Restore 10g RMAN Backup to 11g
http://taliphakanozturken.wordpress.com/2012/07/20/how-to-restore-10g-rman-backup-to-11g/
Ton of information in this thread :
Re: RMAN duplicate
and here :
RMAN backup, restore across different versions
I believe its
Recover database and open resetlogs option ( Recover database and open resetlogs then SQL> alter database open resetlogs upgrade; )
Restoring a Database on a New Host :
http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmadvre.htm#i1007814
Upgrade a Database Manually
http://docs.oracle.com/cd/B28359_01/server.111/b28300/upgrade.htm#i1011600
Best Regards
mseberg

Similar Messages

  • Upgrade Oracle 10gR2 RAC to 11gR2 RAC

    Hi Gurus,
    I got a requirement to upgrade my existing environment from Oracle 10gR2 RAC to 11gR2 RAC. My environment details are as follows
    Operating system RHEL 5.5
    Cluster version 10.2.0.4
    ASM version 10.2.0.4
    Database version 10.2.0.4
    Storage HP EVA (Multipathing)
    Could any one please specify the links or documents to complete this task!
    Thanks & Regards,
    Venkat

    HI!
    In my practise we have hardware to move 10g -> 11g.
    We upgrade our DB's -> install Grid 11g on new server, move DB 10g, Upgrade 10g -> 11g.
    You should work on this topic's:
    Oracle® Database Upgrade Guide 11g Release 2 (11.2)
    NEW FEATURES 11gr2
    Complete Checklist for Manual Upgrades to 11gR2
    Oracle Recommended Patches
    Oracle Clusterware - ASM - Database Version Compatibility
    How to Download and Run Oracle's Database Pre-Upgrade Utility
    Best Practices to Minimize Downtime During Upgrade
    Things to Consider Before Upgrading to 11.2.0.2 Grid Infrastructure
    Different Upgrade Methods For Upgrading Your Database
    All in you hands!!!

  • Invalid objects after upgrade to 11gR2 database in 11i

    Hi All
    we have prod instance of 11i with 10gR2 database.
    Currnetly we have upgraded database to 11gR2.
    After upgrade to 11gR2 we have foung lot of "FPA" Invalids.
    Please share your views. how to validate this invalids
    Regards
    Shaik

    Please see these docs/threads.
    Error PLS-00801: Internal Error [1401] When Compiling Invalid Apps Objects [Doc ID: 784179.1]
    Difference between UTLRP.SQL - UTLIRP.SQL - UTLIP.SQL? [Doc ID: 272322.1]
    Many  db  objects error after Upgrate EBS 12.1.1 to EBS 12.1.2(7303033)
    Thanks,
    Hussein

  • How to migrate DB from single node 10gR2 to RAC 11gR2 on diff platform?

    How to migrate DB from single node 10gR2 to RAC 11gR2 on different platform with possible minimum downtime? We have a situation of upgrade/migrate oracle 10gR2 single instance DB to 2-node RAC 11gR. The source OS is Solaris 10 on SPARC and the target OS is Linux (the target servers could be changed to Solaris 11 x86 if needed). What is the best solution on that?
    Thanks,

    Technically, can do the following for upgrading and migration?
    1. Create 11gR2 oracle home on the same server and upgrade the database from 10gR2 to 11gR2 by running conversion (2 hour down time?)
    2. Set up Heterogeneous Primary and Physical Standbys by RMAN. The standby is the RAC with ASM. No need down time. (from Solaris Space to Linux - this may be a problem)
    3. At the cutoff time, activate the standby DB from the RAC ASM.
    If feasible, do we have some detail guild line for each step?

  • How to migrate data from oracle 9i database to new machine 11gr2 RAC ASM

    Hi Expert
    I need your expertise to advise me what is the best method to move data from oracle 9i database to new machine running oracle 11r2 RAC database with ASM.
    Currently my production server running on HPUX ORACLE 9I database with normal file system. My new server is running SUN SOLARIS SPACR 64 bit ORACLE 11gr2 RAC with ASM. What is best method to move data over so it will be consistent. Any guide can refer.
    Regard
    William

    Hi William,
    See the note in metalink Migration of Oracle Database Instances Across OS Platforms [ID 733205.1] to saw the Endian Format of your OS. If is the same you can use the RMAN to convert the database to another OS, if not the only option is using export/import (Transportable Tablespaces).
    To upgrade from 9i to 11g, see the note 837570.1 - Complete Checklist for Manual Upgrades to 11gR2.
    To migrate your FS to ASM the only way is using RMAN, so see the note - How to move a datafile from a file system to ASM [ID 390274.1].
    Hope this help you.
    Best Regards,
    Ruben Morais

  • Oracle 9.2.0.6 upgrade to 11gR2

    Hi,
    My database is 2TB in size. The database is 9.2.0.6 running on Solaris 8. It is configured with Physical Standby dataguard.
    The current plan is to upgrade the database to 11.2.0.3. What will be the best way to do the upgrade? I am thinking on the Logical Standby method.
    Is it possible to do logical standby between 9i and 11g?
    Can i convert the physical standby database I have now to logical standby and upgrade the database to 11g?
    Is there any limitation on logical standby database? eg. data types?
    Regards,
    Manoj Devan

    Hi,
    There are two concerns about your upgrade.
    Direct upgrade to 11.2.0 is not support from version 9.2.0.6, at least you should be on version 9.2.0.8.
    11.2.0.3 is not supported on solris8, at least you should be on OS version - Solaris 10.
    Please refer MOS tech notes:
    Upgrading to 9i with Standby Database in Place (Doc ID 165296.1)
    Upgrading Oracle Database with a Logical Standby Database In Place (Doc ID 437276.1)
    Complete Checklist for Manual Upgrades to 11gR2 (Doc ID 837570.1)
    How To Upgrade A Primary Database And A Physical Standby To Oracle10gR2 (10.2) (Doc ID 407040.1)
    thanks,
    X A H E E R

  • ERROR install oracle database 10gR2 in solaris sparc 64

    Dear All,
    I got error when installing oracle database 10gR2 on solaris sparc 64.
    these are the messages:
    /usr/ccs/bin/make -f ins_precomp.mk relink ORACLE_HOME=/usr/app/oracle/product/10.2.0/db_1 EXENAME=proc/Linking /usr/app/oracle/product/10.2.0/db_1/precomp/li
    b/proc
    ld: fatal: file /usr/app/oracle/product/10.2.0/db_1/lib32/libclntsh.so: unknown file type
    ld: fatal: File processing errors. No output written to /usr/app/oracle/product/10.2.0/db_1/precomp/lib/proc
    *** Error code 1
    The following command caused the error:
    echo "Linking /usr/app/oracle/product/10.2.0/db_1/precomp/lib/proc"; \
    rm -f /usr/app/oracle/product/10.2.0/db_1/precomp/lib/proc; \
    /usr/ccs/bin/ld -o /usr/app/oracle/product/10.2.0/db_1/precomp/lib/proc -L/usr/app/oracle/product/10.2.0/db_1/precomp/lib/ -L/usr/app/oracle/product/10.2
    .0/db_1/lib/ -dy /usr/app/oracle/product/10.2.0/db_1/lib/prod/lib/v9/crti.o /usr/app/oracle/product/10.2.0/db_1/lib/prod/lib/v9/crt1.o /usr/app/oracle/product
    /10.2.0/db_1/lib/s0main.o /usr/app/oracle/product/10.2.0/db_1/precomp/lib/pdc.o /usr/app/oracle/product/10.2.0/db_1/precomp/lib/pds.o /usr/app/oracle/product/
    10.2.0/db_1/precomp/lib/libproc2.a /usr/app/oracle/product/10.2.0/db_1/lib/libslax10.a /usr/app/oracle/product/10.2.0/db_1/precomp/lib/libpgp.a -lpls10 -lplp
    10 /usr/app/oracle/product/10.2.0/db_1/lib/libplc10.a -lsnls10 -lunls10 -lnls10 /usr/app/oracle/product/10.2.0/db_1/rdbms/lib/kpudfo.o -lclntsh `cat /usr/ap
    p/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /usr/app/oracle/product/10.2.0/db_1/lib/
    ldflags` -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lmm -lsnls10 -lnls10 -lcore10
    -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /usr/app/oracle/product/10.2.0/db_1/lib/ldflags`
    -lnsslb10 -lncrypt10 -lnsgr10 -lnzjs10 -ln10 -lnnz10 -lnl10 -lnro10 `cat /usr/app/oracle/product/10.2.0/db_1/lib/ldflags` -lnsslb10 -lncrypt10 -lnsgr10
    -lnzjs10 -ln10 -lnnz10 -lnl10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lpls10 -lsnls10 -lnls10 -lcore10 -lsnls10 -lnls10 -lcore10 -lsnls10 -
    lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lclient10 -lnnetd10 -lvsn10 -lcommon10 -lgeneric10 -lsnls10 -lnls10 -lcore10 -lsnls10
    -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10 -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `cat /usr/app/oracle/product/10.2.0/db_1/lib/sysliblist` -R
    /opt/SUNWcluster/lib/sparcv9:/usr/app/oracle/product/10.2.0/db_1/lib:/opt/ORCLcluster/lib/ -Y P,:/opt/SUNWcluster/lib/sparcv9:/opt/ORCLcluster/lib/:/usr/ccs
    /lib/sparcv9:/usr/lib/sparcv9 -Qy -lc -laio -lposix4 -lm /usr/app/oracle/product/10.2.0/db_1/lib/prod/lib/v9/crtn.o; \
    /bin/chmod 755 /usr/app/oracle/product/10.2.0/db_1/precomp/lib/proc
    make: Fatal error: Command failed for target `/usr/app/oracle/product/10.2.0/db_1/precomp/lib/proc'
    /usr/ccs/bin/make -f ins_precomp.mk relink ORACLE_HOME=/usr/app/oracle/product/10.2.0/db_1 EXENAME=proc/Linking /usr/app/oracle/product/10.2.0/db_1/precomp/li
    b/proc
    ld: fatal: file /usr/app/oracle/product/10.2.0/db_1/lib32/libclntsh.so: unknown file type
    ld: fatal: File processing errors. No output written to /usr/app/oracle/product/10.2.0/db_1/precomp/lib/proc
    *** Error code 1
    any help would be appreciate.
    Thank you
    Regards,
    Spirit

    I'm not sure with the solaris sparc 64.
    but the most common problem with Linux x86_64 which I assume probably similar. that type of error caused by
    you have to install glibc-devel-32 bit and libstdc++-devel 32 bit together with your 64 bit. both libraries required by the Oracle to solve the linking problem.
    http://forums.oracle.com/forums/thread.jspa?messageID=1254866
    probably it will help you.
    sorry, this is just my guessing of your problem.
    thanks

  • Can I performa an In Place upgrade for 11gR2

    Hi all,
    I goofed a bit, I downloaded and installed 11g R2 (11.2.0.1.0) and installed it. After installation I went looking for the patchsets. Then I learned that as of 11.2.0.2 these are not patchsets, per se, but full installs. (I'll know now to log onto My Oracle Support first!)
    I've read the various threads hear regarding upgrades for 11g and none are quite the same - trying not to recover existing discussions.
    Because I'm installing this as a backbone for Windchill (a CAD file data vault), and I will allow the Windchill installer to create my database and so my installation was software only. The Upgrade Guide e23633 and other documents advise against in-place upgrades. This is a Single-Instance Oracle database with no database created yet, Windows Server 2003 R2 Standard Edition, x64.
    In this forum and others as well as various blogs, have threads and articles on the relative difficulties people have had de-installing 11g.
    Would you recommend I do an in-place Upgrade to get this to 11.2.0.3.0 or use the Oracle De-install Utility (11.2.0.1.0) for Microsoft Windows (x64) and actually start from scratch installing 11.2.0.3.0?
    (I'm still downloading the 7! zip archives for Patchset 3, so I have a moment before I have to make this decision!)
    Thank you,
    PT

    Thank you for the reply Srini, but it really didn't answer my question.
    I've already been through the Upgrade Guide, that's what lead me to post my question for advice and suggestions. My question is, was it really necessary to perform the Out-of-Place Upgrade - the preferred method - when I had only installed "software only" of 11.2.0.1.0 and had no database created to upgrade? Save the time by simply an In-Place because I was already software only.
    I fully understand reasons for and have practiced the preferred out-of-place upgrade. The fault tolerant undisturbed source database is the only way to go - when there is an actual database.
    Unless someone advises against it, I'm going to simply run the 11.2.0.1 De-Installation Utility first, rather than upgrade in place. Then install back in the same base path the 11.2.0.3 version was. Not that it matters if it is in the same base path or not, but I'll de-install ~0.1 anyway, why not do it first since I have no database to upgrade.
    Cheers,
    PT

  • Migration 10gr2 rac to 11gr2 rac

    Hi all,
    Can I use Transportable Tablespaces to migrate 10gr2 rac with ASM (solaris) to 11gr2 rac with ASM (AIX), the server is not the same.
    regards
    Edited by: mexman on 06-may-2010 15:36

    mexman wrote:
    OK, and can I use Transporting Tablespaces Between Databases 10gr2 to 11gr2 ?Yes.. as mentioned above by Dan , you can use..

  • Rac 10gr2 upgrade

    Hi experts,
    We are prototyping RAC database upgrade from 10.1.0 to 10.2.0.4. I just created a new directory as 10.2.0 ORACLE_HOME. Since the 10gr1 database is running, all the environmental variables set by login profile point to the current 10.1.0 database configuration. Need advice on a few of questions:
    1) At this point, I only want to use OUI to install 10gr2 binaries, and 10.2.0.4 binaries. Thought I could just kick off runInstaller to get it done. However, after reading Oracle documentation and a few articles, I am not sure if I should set any environmental variables.
    One article recommends
    . set ORACLE_BASE=/u01/app/oracle
    . set ORACLE_SID=orcl1 # Each RAC node must have a unique Oracle SID!
    . set LD_LIBRARY_PATH=$ORACLE_HOME/lib
    . unset ORACLE_HOME
    Others:
    . set ORACLE_HOME
    . set PATH
    . set LD_LIBRARY_PATH
    . set ORA_CRS_HOME
    . unset TNS_ADMIN
    I know I need to have all of them set properly prior to 10gr2 upgrade. Do I need to set any of them at all just to install 10gr2 binaries and patchset via OUI? If so, which ones?
    2) There are a few 10.2.0.4 patches needed to be opatch applied to each cluster node.
    I noticed some of the post processing involves sql executions via sqlplus.
    My guess is to withhold these sql command steps temporarily, and execute them after upgrade to 10.2.0.4 completes. Is this the correct interpretation of the patch application?
    Thanks, Newbie

    There is a CRS PSU for CRS 10.2
    Patch# 8705958 - 10.2.0.4.2 for CRS PSU 2
    Should the PSU should be applied to CRSprior to database upgrade from 10.1 to 10.2? Can it be applied after the upgrade? What is the general guideline on this?
    Thanks.

  • Upgrade Assistant 11gR2

    When will there be an Applications Database Upgrade Assistant for 11gR2?
    I got to update several installations and somehow hoped that livepatch 2.18 would enhance that assistant.
    Thanks :)

    Martin - this path exists in Maintenance Wizard already for 11gR1 upgrades.
    You could then do a manual upgrade to 11gR2 until we release the new db upgrade paths
    Edited by: mybro62 on Jan 26, 2011 7:10 AM

  • Oracle database 11g release 2 installation problem on windows 7 (64-bit)

    First of all my windows is not genuine, but on my friend's desktop oracle download and installation  worked fine, he chose "create and configure database" options, and it works very well on his desktop, though his windows is also illegitimate. In my case, when I select "Create and configure database" option and pressed 'next",
    (Go to my blog to see it with snapshots: Computer Science: Oracle database 11g release 2 installation problem on windows 7 (64-bit))
    it asks to select class, I select "Desktop class" and pressed "next". The moment I pressed "next", the whole setup thing disappeared like it was never started. I searched for all possible reasons for why its not getting installed on my laptop, I used registry cleaner s/w,  deleted 25 GB of data to create free space if it were the problem, increased the virtual memory to increase the space for RAM, I did almost everything to get this setup working, but I found no success with the "Create and Configure database" option
    and
    then
    I chose a "database software only" option and chose to store in a folder w/o spaces. This way, I got database s/w only and then later I found "Database configuration Assistant (DBCA)"  from windows START button and clicked to create and configure database manually. The steps are pretty much interactive and doesn't involve much brainstorming.
    The values I filled for
    1) Global Database Name :  orcl
    2) System Identifier : orcl
    3) I chose common password for both SYS and SYSTEM
    4) while on Enterprise Manager Configuration step, It asked me to create and configure listener in oracle home, so for that too, I typed "netca" in windows START menu and clicked it. There I added a listener.
    5) I chose a Storage area which was the Oracle-home itself i.e. where our installation files goes , in my case it is : C:\oracle_base\product\11.2.0\dbhome_1\oradata
    6) Then after few more nitty-gritty clicks, we are set to go !
    Finally to write SQL code and to create your first TABLE , type "sqlplus" in windows "START" menu and click it when it appears. A command-prompt like window appears , which will ask you for username and password, so here they are :
    Username : sys/ as sysdba
    Password : (its the one you created in step 3 stated above )
    After this you are ready to write your first SQL command.

    Is this your solution to your original post at Oracle database 11g release 2 installation on windows 7 (64-bit) ?
    Pl be aware that you should not create any custom objects in SYS or SYSTEM schema - you should create any such objects in a separate custom schema.
    About Database Administrator Security and Privileges

  • Unable to install Database 10gR2 on Windows 2003

    Hi,
    I have Windows 2003 EE with Sp2 installed. I am trying to install Oracle Database 10gR2 but i get error when i click setup.exe.
    The error is
    *Error in Writing to directory C:\TEMP. Oracle Universial Installer needs you to have permission in this area to install. Installation cannot continue. Please make sure TEMP is set to a valid writable directory.*
    Kindly please help me on this.

    I am logged in as admin user and c:\temp is writable. However, i would also like to present one observation that i have made.
    My Windows 2003 environment variable is as below
    TEMP = %USERPROFILE%\Local Settings\Temp
    TMP = %USERPROFILE%\Local Settings\Temp
    When i use this parameter setting the error shows different path.
    Error in Writing to directory E:\DOCUME~1\ADMINI~1\LOCAL~1\TEMP. Oracle Universial Installer needs you to have permission in this area to install. Installation cannot continue. Please make sure TEMP is set to a valid writable directory.
    But when i change the TEMP paramaters to (i.e i add ";" at the end) then error show different path.
    TEMP = %USERPROFILE%\Local Settings\Temp *;*
    TMP = %USERPROFILE%\Local Settings\Temp *;*
    Error in Writing to directory C:\TEMP. Oracle Universial Installer needs you to have permission in this area to install. Installation cannot continue. Please make sure TEMP is set to a valid writable directory.
    Not sure why this is happening and i believe Windows 2003 SP2 new security policy is restricting me to access the TEMP directory on E:\ drive

  • How to find out the date when an oracle database is upgraded

    Hi,
    I would like to know the date when an oracle database is upgraded (for example 10.2.0.4 to 11.2.0.3).
    Can you help me to find out these details.
    Thanks,
    Sarayu

    user13312943 wrote:
    Hi Ed and SB,
    Thanks for your replies. How about this option?
    Let us assume I am interested in checking when my database is upgraded to any 11g version.
    Will this query help?
    select min(first_usage_date)  from  dba_feature_usage_statistics where  version like '11%';
    I understand this may not be a generic solution , but with this idea I may be able to build up a query to get the result.
    Thanks,
    Sarayu
    How is it that you or nobody knows when the DB was upgraded?
    I would have expected a formal testing & upgrade plan.
    Does the organization practice safe software & utilize any source code repository?
    Does everyone suffer from amnesia?
    How could a MAJOR database upgrade slip by everyone who should care about such a detail?

  • Upload file in JSP with Oracle Database 10gR2

    How to upload file with oracle database 10gR2??
    i can't find how to upload..
    i've tried to create a procedure in oracle and execute in netbeans but the file save in directory and then from directory save to database.
    it means the file save in 2 location, in directory and database..
    does anybody know how to save file direct from the JSP file into database without save in directory?
    this is the procedure..
    create or replace PROCEDURE load_file (
    p_id number,
    p_photo_name in varchar2) IS
    src_file BFILE;
    dst_file BLOB;
    lgh_file BINARY_INTEGER;
    BEGIN
    src_file := bfilename('DIR_TEMP', p_photo_name);
    -- insert a NULL record to lock
    INSERT INTO temp_photo
    *(id, photo_name, photo)*
    VALUES
    *(p_id , p_photo_name ,EMPTY_BLOB())*
    RETURNING photo INTO dst_file;
    -- lock record
    SELECT photo
    INTO dst_file
    FROM temp_photo
    WHERE id = p_id
    AND photo_name = p_photo_name
    FOR UPDATE;
    -- open the file
    dbms_lob.fileopen(src_file, dbms_lob.file_readonly);
    -- determine length
    lgh_file := dbms_lob.getlength(src_file);
    -- read the file
    dbms_lob.loadfromfile(dst_file, src_file, lgh_file);
    -- update the blob field
    UPDATE temp_photo
    SET photo = dst_file
    WHERE id = p_id
    AND photo_name = p_photo_name;
    -- close file
    dbms_lob.fileclose(src_file);
    END load_file;

    Well your Oracle procedure is designed to load a file, so that's what it does. If you want it to load from a data stream such as an upload, you need to rewrite it accordingly.
    So far this is not a Java question at all.

Maybe you are looking for