upgrading oracle application 11i to e

Upload: kurniawan-setyo-nugroho

Post on 01-Jun-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 Upgrading Oracle Application 11i to e

    1/23

    UPGRADING ORACLE APPLICATION 11I

    TO E-BUSINESS SUITE R12

    Overview of upgrade to R12

    Upgrading an application from 11i to R12 involves, upgrading the database side,

    upgrading the middleware techstack and upgrading the application side.

    Supported upgrade path for application side upgrade is as given below.

    In case of database upgrade, you have to upgrade the database to 1gR2 !1.2.".

    #ecause application R12 can be used only with 1g database.

    Upgrade Process

    $ll upgrade functionality has been consolidated into a single uni%ed upgrade driver

    that performs the upgrade without reliance on the information formerly captured on

    the $utoUpgrade screens.

    Rapid Install provides the most up&to&date, certi%ed version of 'racle $pplications

    products, along with the certi%ed technology stack components. In an upgrade, it

    creates the new %le system for the application !middle" tier components and the new

  • 8/9/2019 Upgrading Oracle Application 11i to e

    2/23

    %le system for the database. $fter the upgrade, you run Rapid Install again to

    con%gure servers and start services.

    $n upgrade also includes various manual steps, including those that direct you to run

    scripts or apply patches. (ou rely on $uto)atch to apply all patches, including the

    uni%ed driver that performs the upgrade to Release 12.

    Upgrade Steps in brief

    *ere are the + simple steps, briey presented below for upgrade. -hese steps are at

    very high level of abstraction. e will detailed each steps as we move on further.

    1" Understand installed components, system si/ing information, 0S considerations

    2" )repare for upgrade using Upgrade anual Script!-US".

    3" Upgrading to R12. -his includes upgrading the database and applying the re4uired

    patches through $uto)atch.

    +" )ost&Upgrade process. 5omplete the upgrade process by applying the latest RU)

    patches to keep the system most current.

    e wont be considering the functional upgrade task here.

    Upgrade steps in detail

    1) Understanding installed components

    -echnology Stack 5omponents

    Rapid Install automatically installs and con%gures the re4uired technology stack

    components for both the database tier and the application tier.

    -he database tier technology stack for both a new installation and for a system

    upgrade is based on 'racle1g Release 2.

  • 8/9/2019 Upgrading Oracle Application 11i to e

    3/23

    -he technology stack installed on the application tier includes, among other

    components6

    7 'racle 1g $pplication Server !$S" 1.1.2

    7 'racle 1g $pplication Server !$S" 1.1.3

    7 'racle 8eveloper 1g !includes 'racle 9orms"

    7 :ava !:2S;" native plug&in 1.

    7 :ava 8eveloper ?it !:8?"

  • 8/9/2019 Upgrading Oracle Application 11i to e

    4/23

    8atabase #ackup

    EEE e strongly recommend that you back up your entire system before you begin

    the upgrade. EEE

    8atabase Initiali/ation )arameters

    Initiali/ation parameters re4uired at each stage of the upgrade may vary depending

    on when you upgrade your database. Review the re4uirements for these parameters

    before you begin. Refer to metalink note I8 3DCD.1 for initiali/ation parameters.

    5hange the following initiali/ation parameters as speci%ed below for upgrade

    process. 'nce the upgrade process completes, reset the parameters back.

    db=%le=multiblock=read=count 7 Remove this parameter. !this is not re4uired".

    =db=%le=optimi/er=read=count F > !default setting is >. ?eep default setting".

    Gob=4ueue=processes !set the value of this parameters e4ual to number of

    5)Us".

    parallel=ma@=servers !set the value of this parameters e4ual to twice the

    number of 5)Us".

    pga=aggregate=target !refer to metalink note I8 3DCD.1 for recommended

    value".

    ake sure that the temporary tablespace you have is locally managed and not

    dictionary managed. (ou can check this information using below 4uery.

    select CONTNTS!"TNT#$%N%&$NT!%''OC%T(ON#TP from

    dba#tablespaces w*ere tablespace#name+,T$P,-

    5'0-;0-S ;H-;0-=$0$A;;0- $'5$-I'0=-();

  • 8/9/2019 Upgrading Oracle Application 11i to e

    5/23

    7

    -;)'R$R( '5$ U0I9'R

    ;lse if the e@tent management is not local, you can drop and recreate temp

    tablespace using the below command.

    0S Upgrade 5onsiderations

    9or 0S considerations, please refer to $pplications upgrade docs.

    5haracter Sets

    (ou have to be careful while selecting the character set for $))=-'). 8epending on

    whether your $pplications system connects to the database during the upgrade

    process, you may be able to select a new character set for the Release 12 $))=-')

    on the Rapid Install wi/ard upgrade screens. *owever, if you do, the new set must be

    either identical to, or compatible with, the e@isting database character set. If you

    change the character set in the $))=-') to one that is not compatible with the

    current database character set, the upgraded system will be corrupted.

    S.'/ create T$POR%R tablespace T$P temp0le ,ts#p#temp1dbf, sie

    2345$ "TNT $%N%&$NT 'OC%' UN(6OR$ S(7 1$-

    2) Prepare for upgrade using Upgrade $anual Script8TU$S) and upgrading

    database

    R12 upgrade process involve replacing 11i -ech stack !Di$S J >C" to 9usion

    iddleware !1g $pplication Server"

    #asic upgrade process involves Rapid Install J $utopatch

    Rapid Install involves installing new R12 tech stack as mentioned in %rst point

    $uto patch process involves upgrading ;usiness Suite database compatible

    to R12 !8ata odel"

    http://download.oracle.com/docs/cd/B40089_08/current/acrobat/r12upg11i.pdfhttp://download.oracle.com/docs/cd/B40089_08/current/acrobat/r12upg11i.pdf
  • 8/9/2019 Upgrading Oracle Application 11i to e

    6/23

    9inal upgrade process is of updating data model using enhanced version of

    $uto)atch

    inimum version from which you can upgrade to R12 is 11.

  • 8/9/2019 Upgrading Oracle Application 11i to e

    7/23

    P%T9 %:

    )lan Upgrade to R12

    9ollow the standard R12 upgrade path as documented in the 'racle

    $pplications Upgrade Auide6 Release 11i to Release 12. )erform all

    re4uirements documented in 5hapter 1 and all applicable steps in 5hapter

    2.

    Install the R12 -echnology Stack and 1.2..2 'racle home

    Upgrade the 8atabase to 1.2..3

    $pply 8atabase )atches

    $pply the database patches as per the metalink note I8 +333D.1. !C31D>+C

    for inu@"

    $pply 'racle Service patch >KC2 !conditional"

    5omplete the R12 upgrade

    )erform the remaining steps in 5hapter 3 and all applicable steps in 5hapter +

    to complete the upgrade to R12.

    P%T9 ;:

    )lan Upgrade to R12

    $pply 8atabase )atches

  • 8/9/2019 Upgrading Oracle Application 11i to e

    8/23

    $pply the database patches as per the metalink note I8 +333D.1. !C31D>+C

    for inu@"

    $pply 'racle Service patch >KC2 !conditional"

    5omplete the R12 upgrade

    P%T9 C:

    )lan Upgrade to R12

    Upgrade 8atabase to 1.2.

    5ontinue with the R12 Upgrade or Use the 11iM1.2. System

    $pply 8atabase )atches

    $pply the database patches as per the metalink note I8 +333D.1. !C31D>+C

    for inu@"

    $pply 'racle Service patch >KC2 !conditional"

    5omplete the R12 upgrade

    In our case, we are following path 5. e were having 11.

  • 8/9/2019 Upgrading Oracle Application 11i to e

    9/23

    -he Upgrade anual Script !-US" e@amines your current con%guration and creates

    a report that lists upgrade tasks that do not apply to your system. -his report

    contains information that is uni4ue to your system con%guration, so its output is

    relevant to your individual upgrade. 'mitting the steps listed in the -US report can

    signi%cantly reduce upgrade downtime.(ou create the -US report by applying a

    Release 11i patch, which loads obGects into your $))S schema that -US uses to

    e@amine your $pplications con%guration. (our current $pplications environment is

    not aPected.

    #elow are the list of steps I am mentioning, which are the re4uired steps. I am

    skipping the conditional steps here, Gust to make it brief. (ou can as well check the

    oracle documentation for the complete steps.

    Step 1" $pply latest $8 patch level. -he latest $8 patch is 11i.$8.I.C and checkin

    number is C2.

    SQ select patch=level from fnd=product=installations

    2 where patch=level like T$8TV

    )$-5*=;B;

    11i.$8.I.C

    Step 2" Run -US utility

    7 8ownload and apply -US patch !

  • 8/9/2019 Upgrading Oracle Application 11i to e

    10/23

    directory in database using create directory command. $lso the directory path you

    are mentioning here should e@ists in U-=9I;=8IR.

    SQ create directory $))S=8IR as MusrMtmpV

    8irectory created.

    \applmgr[ocvmrh2>1 s4l]Y s4lplus appsMapps [adtums.s4l $))S=8IR

    step 3" 5onvert to ultiple 'rgani/ations architecture

    Step +" Review si/es of old and new tablespaces

    Step

  • 8/9/2019 Upgrading Oracle Application 11i to e

    11/23

    Step C" Aather schema statistics for 5#'

    (ou can do this by Submitting WAather Schema StatisticsX concurrent re4uest for

    W$X schemas.

    Step K" #ackup 8atabase

    -ake the backup of database before we go further with upgrade process

    Step > " Upgrading the database from Di to 1g. (ou can refer to upgrade database

    in 'racle applications 11i post to have detailed steps. -he database version should

    be 1.2..2

    Step D" )repare the application for upgrade. (ou need to run the rapid wi/ard in

    upgrade mode. -his will create the re4uired %le system, install the re4uired techstack

    components. #elow are the screen ow for the same.

    http://advait.wordpress.com/2007/10/15/upgrading-database-to-10g-for-oracle-applications-11i/http://advait.wordpress.com/2007/10/15/upgrading-database-to-10g-for-oracle-applications-11i/
  • 8/9/2019 Upgrading Oracle Application 11i to e

    12/23

  • 8/9/2019 Upgrading Oracle Application 11i to e

    13/23

  • 8/9/2019 Upgrading Oracle Application 11i to e

    14/23

  • 8/9/2019 Upgrading Oracle Application 11i to e

    15/23

  • 8/9/2019 Upgrading Oracle Application 11i to e

    16/23

  • 8/9/2019 Upgrading Oracle Application 11i to e

    17/23

  • 8/9/2019 Upgrading Oracle Application 11i to e

    18/23

  • 8/9/2019 Upgrading Oracle Application 11i to e

    19/23

  • 8/9/2019 Upgrading Oracle Application 11i to e

    20/23

    $fter running this wi/ard, you will %nd that your e@isting application is intact and also

    a new %le system has been created for you.

  • 8/9/2019 Upgrading Oracle Application 11i to e

    21/23

    $ll your services should be up and running. (our 11i application should be intact. (ou

    might face an issue, that services !specially $pache" wont come up and your UR

    wont open. In this case you can check if the services get started from WinstX directory

    that got created after you run the wi/ard.

    (ou can go to location Mu1MappMapplmgrMinstMappsMZ-'=-$S?MadminMscripts and

    run adstpall.sh script from that location. If the services were started from this

    location, then it will be stopped. -hen you can start the services back from

    Y5''0=-')MadminMscriptMZ-'=-$S? location.

    $lso during running of the wi/ard con%guration information will be written to

    following %les. you can check at your prompt and it will list the con%guration %les.

    5on%guration %le written to6

    Mu1MappMoracleMdbMtech=stM1.2.MappsutilMconf=)R'8.t@t

    5on%guration %le written to6

    Mu1MappMapplmgrMappsMapps=stMapplMadminMocvmrh2>1Mconf=)R'8.t@t

    5on%guration %le written to6

    Mu1MappMapplmgrMinstMappsM)R'8=ocvmrh2>1Mconf=)R'8.t@t

    F) Upgrade Process

    #elow are the steps for upgrade process from 11.

  • 8/9/2019 Upgrading Oracle Application 11i to e

    22/23

    Step 3" ;nsure that aintenance ode is enabled 7 )ut your application in

    maintenance mode

    Step +" $pply Release 12 $8 minipack !+

  • 8/9/2019 Upgrading Oracle Application 11i to e

    23/23

    'nce these steps are done, run rapid install again by provding the con%g %le which

    was generated before. -he %le location as we noted down before is

    Mu1MappMapplmgrMappsMapps=stMapplMadminMocvmrh2>1Mconf=)R'8.t@t

    $fter these steps are performed, the application system will be con%gured and ready

    for use. -his completes the upgrade activity from 11i to R12.

    References:

    etalink 0ote I8 6 3D+CD2.1

    etalink 0ote I8 6 +333D.1

    etalink 0ote I8 6 3DCD.1

    etalink 0ote I8 6 32D+KC.1

    etalink 0ote I8 6 21