Multiple Oracle_home (best way to upgrade) ??

hello all,
I was going thru the below link and found this very cool trick that i didnt know.
http://searchoracle.techtarget.com/tip/0,289483,sid41_gci1252556,00.html?track=NL-93&ad=587723&asrc=EM_NLT_1354356
it goes something like this
*My favorite best practice is the one about multiple Oracle Homes. Here it how it goes. When applying a patch or a patchset, I recommend against applying to the existing Oracle Home. Instead, I suggest creating a new Oracle Home, and apply the patches there.
I create the first Oracle Home at /app/oracle/db_1, for instance. When a patch comes out, I install the whole Oracle software in a different home -- /app/oracle/db_2 -- and then apply the patch there. During the process of installation and patch application, the database is up and running, as it runs off the home /db_1. When the outage window comes, all I have to do is to shut down Oracle; change Oracle Home to db_2 and bring the database up. If there is a problem, I can reset the Oracle Home back to the old one.
So, here is the conventional approach:
1. Shut down the database
2. Apply patch to the Oracle Home
3. Start the database
4. In case of problems:
5. Shut down the database
6. Roll back the patch
7. Start the database
Steps 2 and 6 could take as much as three hours depending on the amount of patching. The database is down during these times.
In the new approach:
1. Install new Oracle Home
2. Apply the patch to the new Home
3. Shut down the database
4. Change Oracle Home to the new location
5. Start the database
6. In case of problems:
7. Shut down the database
8. Change Oracle Home to the old one
9. Start the database
The database is down only during steps 4 and 8, which takes a couple of minutes at the most, not hours.*
But my question comes here...first of all is it possible ?? i am sure it is becoz Arup Nanda one of the know oracle guys wrote this article. so here are my Q?
1- So if i get this right...if i want to upgrade to 11g...and my database is on 10g...all i need to do this create a new 11g home...shutdown my 10g database...set my oracle_home to 11g and start my database up...and its all upgraded ????
2- Another thing that worries me is how this might behave in RAC environment. Any idea
on that? i know RAC provides the rollover upgrade so we might
not need this. but would be cool to know how it behaves...ANY IDEAS ?
3- Also, I wonder how CRS and ASM home like this idea ??

Basically when you switch from the old home to the new Oracle home you are following manual database upgrade procedures so you would need to run whatever scripts are contained in the instructions. Normally for an upgrade that is catalog and catproc and you would run these immediately after bringing the database up on the new home. For a patch there might be an upgrade script or no database level scripts may be necessary. That is the patch may effect only the binary.
What we actually do is in test install new copy of existing Oracle then patch/upgrade to current level. Next build an empty database and populate it. Next test. When OK shut it down and apply patch. Startup and follow Readme or Upgrade manual procedures. If test works fine and the upgrades tests OK then we remove the new test db, switch the actual in-use test databases over to the new patched home, run upgrade scripts as necessary, and continue.
After a few weeks we start getting maintenance windows to do production. Since we have multiple databases we usually do not do all of them at once.
HTH -- Mark D Powell --

Similar Messages

  • Best way to Upgrade from 8.1.5 to 8.1.6 rel 2

    What's the best way to upgrade my software?
    I don't have anything that I can't afford to loose.
    Do I uninstall 8.1.5 then install 8.1.6 or will 8.1.6 overwrite the previous install?
    null

    Read the install guide - but do a full export first.
    I remeber something about a new install overwriting a shell script that you should backup first. (It's in the manual.)
    Beyond that, if you install to a NEW Oracle_home, you should be fine.
    Doug

  • Best way to upgrade an old EDD

    Hello All
    I have a DITA EDD that dates back to FM7 and is therefore based on DITA 1.1 (or maybe DITA 1.0!). It allows creation of composite document made up of concepts,references, tasks, and topics, and also contains lots of formatting information and so on.
    Now that I am using FrameMaker 11, I'm thinking about upgrading this EDD to accommodate the DITA 1.2 Technical Content structures. I've been doing some reading about DITA 1.2 DTDs and EDDs, and understand the modularity that is involved.
    So my question is: What is the best way to upgrade this EDD so that the new structures are included, without losing my formatting information? Do I need to copy/paste format rules, etc. into a new EDD, or can I somehow import the DITA 1.2 structures into my old EDD? (Or does my question betray some basic ignorance on my part?)
    Thanks for your help.
    Roger Shuttleworth
    London, Canada

    Hi Roger...
    I hate to say it .. but I don't think there's an "easy" way to do this. I think you'll have to individually copy/paste the context rules into the corresponding element definitions .. taking care to not break things. You'll notice that the general rules for some element definitions will have changed, which may affect the context rules.
    Yes the DITA 1.2 apps with FM11 (and FM10) are largely modularized as text insets in a fashion similar to the way the DTDs are broken up. There's also separate apps for each topic type, rather then relying on ditabase to provide one app for all topic types. Conceptually, this makes good sense, but from a practical standpoint, it's really complicated to maintain. It also requires a system with loads of RAM to properly resolve these insets .. even then, it may take lots of time to manage. The idea behind the modularization is that you can update context rules for certain elements that are shared between the various apps .. although it's very possible that you want things to render differently in each topic type, which would require you to add more logic to the context rules to determine which topic type is in use.
    Personally, for the DITA 1.2 apps that I'm developing, I'm going back to a single ditabase app for all topic types with no insets. It is much easier to manage and maintain. The drawback to this approach is that the context rules map differ for certain elements depending on the root topic type. This is specifically an issue with task and strictTask. For that I will need separate apps. Also, I'll need separate apps for the learning topic types. But I think that for the basic task, concept, reference, and topic .. they can happily live together in one app .. making maintenance much easier. For the separate apps, I'll just copy/paste the elements definitions rather than relying on insets.
    The catch with all of this is when it comes time for book publishing, you'll need a single app that includes support for *all* of the topic types. Since it's possible that all of them may exist in a single chapter (assuming you're building merged chapter FM files rather than the nested chapter files, the FM default). The "Book" app doesn't need to be valid DITA so it's OK if the general rules allow more elements than they do in the authoring apps, so this is completely doable .. it just means that you have to maintain multiple apps.
    I hope this is helpful .. it's not a simple task by any means. An alternative option is to just rely on the shipping apps for authoring, and focus on customizing the Book app for publishing.
    Cheers,
    ...scott
    Scott Prentice
    Leximation, Inc.
    www.leximation.com

  • What is the best way to upgrade from 10.5 to 10.7

    I am trying to figure out the best way to upgrade my MacBook Pro from 10.5.8 to the new Lion 10.7. From what I have heard so far, I need to get a copy of snow leopard first so I have the APP Store then download Lion. Has anyone heard of a bundled package to accomplish this?

    Apple is currently only making Lion available for download.  You'll have to accquire a copy of Snow Leopard first and upgrade to it.  Once you are on Snow Leopard, update your Mac with all of the current updates, which will then give you the App Store.  From the App Store you'll be able to download and install Lion.  I strongly advise backing up your system first prior to the update.

  • What is the best way to "upgrade" a powerbook g4 with a powerpc chip?  it seems that many things don't work or aren't supported these days.  can't update my iphone, download video, etc.  can i get the latest software?  thanks.Ask your question.

    what is the best way to "upgrade" a powerbook g4 with a powerpc chip?  it seems that many things are not supported these days.  can't download software, update my iphone, download video, etc.  can i get the latest software?  thanks for the help!

    Mac OS X 10.5 Leopard installation system requirements
    http://support.apple.com/kb/TA24950
    Leopard is no longer available at the Apple Store but may be available by calling Apple Phone Sales @ 1-800-MY-APPLE (1-800-692-7753).
    If you can't obtain a retail install DVD from Apple, look on eBay or Google the installer part numbers to possibly find at an on-line store. Here's what to look for:
    MB427Z/A  Leopard 10.5.1 install DVD
    MB576Z/A  Leopard 10.5.4 install DVD
    MB021Z/A  Leopard 10.5.6 install DVD (single user)
    MB022Z/A  Leopard 10.5.6 install DVD (5-user family pack)
    Installing Mac OS X 10.5 Leopard
    http://support.apple.com/kb/HT1544
    Mac OS X 10.5 Leopard Installation and Setup Guide
    http://manuals.info.apple.com/en/leopard_install-setup.pdf
    After you install the base 10.5, download & install the 10.5.8 combo update at http://support.apple.com/downloads/Mac_OS_X_10_5_8_Combo_Update
    The DVD should look like this
    Caution - Leopard does not support classic mode. So, if you currently open OS 9 apps in classic mode, you won't be able to do this if you upgrade to Leopard.
     Cheers, Tom

  • I have a Mac book pro on vesion 10.6.8 and want to access icloud as it works great on my iphone 4.  Not sure best way to upgrade as some of the review of Lion on the appstore are awful.  Any advice

    I have a Mac book pro on vesion 10.6.8 and want to access icloud as it works great on my iphone 4.  Not sure best way to upgrade as some of the review of Lion on the appstore are awful.  Any advice as I also have MIcrosoft word etc and don't want to have to purchase these again.

    That is the best list ever for Lion compatibility!
    You can also do this:
    Launch the programs you know and love on your Snow Leopard Mac.
    Utilities --> Activity Monitor
    Under the "Kind" tab it will identify the programs running PowerPC, Intel and Intel 64.
    No PowerPC apps will run under Lion.
    Don't worry about Apple's system stuff like Mail, iCal, Safari.
    Don't worry about the system processes, like fontd and launchd, those will be replaced if you go to Lion.
    Just look for the programs that you need.

  • What is the easiest and best way to upgrade Mac OS X 10.5.8 to Lion?

    What is the easiest and best way to upgrade Mac OS X 10.5.8 to Lion?

    Make sure your Mac meets Lion's requirements >  Apple - OS X Lion - Technical specifications
    Since you are running v10.5.8, you need to upgrade to Snow Leopard which installs the Mac App Store which you need in order to download and install Lion.
    Mac OS X 10.6 Snow Leopard - Apple Store (U.S.)
    If you don't have a high speed internet connection, you may want to purchase Lion on Lion USB Thumb Drive - Apple Store (U.S.)
    If you run PowerPC apps read here before installing Lion >  Lion upgrade questions and answers:  Apple Support Communities

  • Best way to upgrade to new iOS 4?

    I have read some people say the best way up upgrade to iOS 4 is to start fresh and set up as a new phone, then sync content back from iTunes. I have also heard other people say to do a backup of the phone, upgrade, then restore from backup.
    So far today I've heard of LOTS of people having problems with the new OS, and some people say they need to set up the phone as new to avoid having problems. But then what about all your data like text messages, contacts, etc? I do not use MS Outlook at home so I don't really have anything to sync my contacts to, other than just doing the normal backup.
    How can I be assured that I can upgrade my 16GB 3GS from 3.1.3 to 4.0 and not have tons of problems?

    I don't know if you can.
    I updated itunes and then synced mine this morning (UK time) downloaded it as soon as it came out (6pm UK time) and I've not had a problem.

  • Best way to upgrade an application?

    Hi,
    This is a newbie question.
    We created, & tested a new application. Then exported it from the dev env. and imported into the production env. That all went smoothly and the app is working well.
    The application id in production is different than in dev.
    We have now made enhancements to the development copy and are ready to deploy those into the production env.
    We will need to upgrade shared components and the application. The table upgrades are being handled outside APEX.
    I can see where to create upgrade scripts, but I'm not sure what needs to go into them.
    I've also seen in the forum where it looks like you can import over an existing application. The caveat with that seems to be that the application ids have to be the same.
    Can someone direct me on the best way to upgrade our shared components and the application.
    Thanks Nan

    If you are using the Apache driven app server, I believ there would be a way to do that, if you are using the internal web server, I don't believe so...
    (This might be a good time to coordinate the app ID's in development & production to cut down on these issues..)
    Thank you,
    Tony Miller
    Webster, TX

  • Best way to upgrade?

    Hi all-
    I've drooled over the features of iphoto 09 for sometime now, and I've just purchased the iLife 09 disk. I'm ready to install, but first a couple of questions:
    1. What is the safest and best way to upgrade? Is it as simple as inserting the disk, following the prompts, opening iPhoto '09 once installed and pointing it at my '08 library? I keep my library on an external disk, attached to my 2TB TC.
    2. Is it better to do a clean install of iLife 09, rather than write over the old?
    3. Any words of wisdom to help preserve the intricacies of my '08 library (all the tags, events, etc) so I don't accidentally eliminate them in the transition?
    Many thanks-

    Larry - I found this post in searing for the exact thing.."best way to upgrade" from '08 to '09 iPhoto/iLife. I've owned it for months now and due to procrastination and not knowing how to properly back up my iPhoto library (shame on me...1 yr worth of photos backed up automatically on my TC - I hope at least - but not backed up any other way). I'd like to finally do the upgrade since I own 09 iLife but am too nervous to do anything since I don't know if my time capsule is really backing up all my photos saved on this laptop since I bought it 1/09. I've been meaning to just burn all my iPhoto pics onto DVDs for safe keeping and do it monthly so that any new photos just get burned onto a new disk, but is there another way to back up my iPhoto library onto my external drive (where I keep all my HD videos)? If I back it up periodically onto my external hard drive, does it just update those pictures I've added/changed or does it save a new copy of my iPhoto library EVERY time I backup? I would think that would take up so much memory. I don't know how to do it or where to start, other than to just make lots of DVD backups. Any step by step advice would be GREATLY appreciated!!
    Amy

  • Best way to upgrade SSD to newer SSD

    I know this belong to operating system section but im a computer system admin and im looking for the best way to upgrade existing SSD with lion on it. I know several ways to do this but i'm looking forward to best way to do it. My existing ssd and computer is only couple of months old. I have kensigton 240gb ssd in my computer and im upgrading to intel 240gb ssd. Lion onwards, you can't run disc utility and do restore to clone, we need to boot to restore partition or lion boot disc for this. Is that the best way to do it? I know doing this we lose the hidden restore partition whih i dont care but is there anyway doing it to keep the hidden partition or to make it truly perfect clone without affecting any programs.
    One way to do is do clean install of 10.7.3 and use migration assitant the very first time computer boots and it will keep hidden partition also but i have always refrained from doing migration assistant since it doesnt copy few stuff from old hard drive. I have ableton and some other critical programs loaded on it curently.
    I don't like the new interface of CCC and i havent used superduper lately, i believe they use apples restore command under the hood?
    What would you geniuses would do if you want a perfect clone?

    Hi,
    You've made a wise choice. I'm, myself, using 3 Sandisk SSD's at home on three laptops. They took me more than 2 hrs to (a) Pull the old HDD's out, (b) Put the SSD's in and (c) Put EVERYTHING back. I cloned the HDD's using O&O Diskimage before open the cases of all 3 laptops. Please note: If you wish to use clone method, you need your SSD big enough for normal C: drive on your existing HDD.
    Hope this helps.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Best way to upgrade antonomous APs

    Is anyone have a best way to upgrade a group of 1230 and 1231 antonomous APs.
    They all don't have enough space for new code, which mean old code have to delete. Most the time they are not same code. I wonder if there is any software that we can add these APs to a list and push it out.
    Thanks,

    I just type the command in Notepad and cut-n-paste it. Here's what I've done:
    conf t
    no boot sys
    end
    wr
    delete /f /r flash:
    arch tar /x tftp:/// flash:
    reload at
    Yabba-da, yabba-da, that's all folks!

  • Best way to upgrade iTunes?

    What's the best way to upgrade iTunes? I have an older version right now and I want to upgrade to 9.2. Do I simply install 9.2 over the same directory as my 9.1.1? Do I lose the library and settings?

    Do I simply install 9.2 over the same directory as my 9.1.1?
    Yes.
    Do I lose the library and settings?
    No, but as when installing or updating any application, you should make a backup.
    You can backup the \Music\iTunes\ folder to keep everything (playlists, music. ratings, videos, etc.) that is important.

  • Best way to upgrade to new drive?

    What is the best way to upgrade the hard drive on a Macbook? I mean to ask, what is the best way to transfer the complete system onto a new hard drive?
    Thanks!
    Captain!

    # Buy the desired new 2.5" drive. If buying a 500GB unit, the Samsung SpinPoint fits inside, the Hitachi doesn't, the Fujitsu is too slow.
    # Buy an external Firewire case for the drive. Install the new drive in it (this is temporary).
    # Power up and plug in the new drive to the Mac. Make sure the system sees the new drive.
    # Using Disk Utility, reformat the drive to a single partition, using a GUID partition scheme and in HFS+ format. Most new drives come in FAT32 or NTFS format. Search in the forums how to get rid of the NTFS format.
    # Using SuperDuper, Carbon Copy Cloner or even plain old Disk Utility, clone your startup volume (internal drive) onto the external.
    # Reboot and start up from the external (press Option before startup sound). Verify that everything works.
    # Shut everything down, take new drive out of case, exchange with internal drive. Do it yourself or pay qualified technician to do so. Old style MacBooks are relatively easy, MacBook Pro's are more complex, Oct'08 portables are a piece of cake.
    # Start portable, verify everything works. If so, put old drive in external case and use as a backup device. Else put it back in so you'll have a working computer while you figure out what went wrong.
    # Enjoy...
    Note: Since the Nov'07 release of the Mac portables, they have the Apple Hardware Test available as a hidden partition in the HDD, meaning that you can test your Mac without requiring the original Install Disk #1. If you change the internal HDD, you will lose that functionality, since no one has figured out how to copy the thing over to the new drive. This means you will need your Install Disk #1 to test your hardware from that point on.

  • The best way to upgrade from SL to Lion

    Hi,
    I’m currently running SL and its actually running verysmooth and I was wondering if I could just upgrade to Lion without actuallywiping my entire local HD, is this a good choice or its always better to do afresh reinstall?
    What would be the best way to upgrade to Lion?
    Any idea when is the release date?
    Thanks

    No details have been released, and anyone who knows is not allowed to say any more.
    Upgrading has never required erasing.  A few people (perhaps out of habit from using Windoze) do it, but many long-time, experienced users, don't.
    Let Apple tell you about the release:  http://www.apple.com/macosx/notify-me/

Maybe you are looking for

  • IWeb bug

    Help please! I spent hours working on my iWeb photo gallery. i use an external device. I saved and published to a folder. Used iWeb SEO tool to add meta tags and published via dreamweaver. I went to update some pix and all the pix are gone that I spe

  • Connecting external monitor

    I just bought a 22" Samsung 2253BW monitor but am struggling to get it to run my macbook screen at full resolution. The macbook is only giving me available resolutions up to 1280x1024 when my monitor keeps telling me that my optimal resolution is 168

  • DW CC - Assets pane not displayed

    In DW CC, I trying to get the Assets pane to show up in it's default place (next to the Files tab). How does one achieve this?

  • Syncronize software

    I'm trying to figure out how to syncronize two folders the best way, what I want is this: 1/ Host is a web server, with directory listing 2/ Client is my computer, running Arch 3/ I want to compare the web server's files with the ones on my computer.

  • Excessive Email Spam

    I have been receiveing excessive spam email today that is not being filtered out by the verizon email spam filter. Has anyone else noticed this? The spam filter was previously working. Ed