migrate your release 11i oracle applications to linux

22
© 2005 Solution Beacon, LLC. All Rights Reserved. Release 11i Workshop Migrate Your Release 11i Oracle Applications to Linux NCOAUG Conference February 28, 2005 www.solutionbeacon.com Session Leader James Jones, Solution Beacon

Upload: databaseguys

Post on 22-Jan-2018

287 views

Category:

Documents


4 download

TRANSCRIPT

© 2005 Solution Beacon, LLC. All Rights Reserved.

Release 11i Workshop

Migrate Your Release 11i Oracle Applications to Linux

NCOAUG ConferenceFebruary 28, 2005

www.solutionbeacon.com

Session LeaderJames Jones, Solution Beacon

© 2005 Solution Beacon, LLC. All Rights Reserved.

Agenda

Why Linux?Why Linux? 1111ii Architecture – Components Architecture – Components Linux Platform Migration UtilityLinux Platform Migration Utility Roadmap to two-step migrationRoadmap to two-step migration

Migrate Oracle Applications to Release 11Migrate Oracle Applications to Release 11ii using Linux Migration Utilityusing Linux Migration Utility

Migrate database to LinuxMigrate database to Linux Project requirementsProject requirements

Resources and project timelineResources and project timeline

© 2005 Solution Beacon, LLC. All Rights Reserved.

Linux Platform

Why Linux?Why Linux? Fast, low-cost hardwareFast, low-cost hardware Increased availability Increased availability Scalability (add as many applications Scalability (add as many applications

servers as needed quickly)servers as needed quickly) Reduced cost of patching and Reduced cost of patching and

complexity by using “Shared complexity by using “Shared APPL_TOP”APPL_TOP”

© 2005 Solution Beacon, LLC. All Rights Reserved.

11i Architecture – Components

Release 11.5.10 CD Release

Client Tier

Web HTTP Servers Application Technology Stack

Middle Tier

*optional 9iAS ORACLE_HOME 8.0.6.3 ORACLE_HOME (1.0.2.2.2)Database Tier

9.2.0.5 ORACLE_HOME

JInitiator

DiscovererServer *

Apache Admin Server

Forms Server

Concurrent Processing Server

ReportsServer

9.2.0.5*Database

© 2005 Solution Beacon, LLC. All Rights Reserved.

Linux Platform Migration Utility

Provides a way to quickly move an Provides a way to quickly move an existing Oracle Applicationsexisting Oracle Applications

Includes Technology Stack Upgrade to Includes Technology Stack Upgrade to 11.5.1011.5.10

Retains exact application patch level Retains exact application patch level therefore no APPL_TOP/Database therefore no APPL_TOP/Database synchronization is necessarysynchronization is necessary

Retains many customizationsRetains many customizations

© 2005 Solution Beacon, LLC. All Rights Reserved.

Roadmap to Two-step Migration

Migrate Oracle Applications 11Migrate Oracle Applications 11ii from from any platform (UNIX or Windows) to any platform (UNIX or Windows) to LinuxLinux Certification for the most common Certification for the most common

flavors of Linux: flavors of Linux: Red Hat AS/ES version 2.1 and version 3.0 Red Hat AS/ES version 2.1 and version 3.0 SuSE SLES version 7 and 8SuSE SLES version 7 and 8

Migrate database version Oracle8Migrate database version Oracle8ii or or Oracle9Oracle9ii to Linux to Linux

© 2005 Solution Beacon, LLC. All Rights Reserved.

Applications 11i Migration Steps

Apps Tier or Middle tier (appl_top, comon_top, Tech Apps Tier or Middle tier (appl_top, comon_top, Tech Stack (8.0.6 and iAS) reside on UNIX or Windows Stack (8.0.6 and iAS) reside on UNIX or Windows before migrationbefore migration

Documentation: MetaLink note 238276.1 Documentation: MetaLink note 238276.1 Prerequisites:Prerequisites:

Database version 8.1.7.4Database version 8.1.7.4 AD mini-pack G or later – recommended HAD mini-pack G or later – recommended H Implement AutoConfigImplement AutoConfig Run “Maintain snapshot information”Run “Maintain snapshot information” Perl version 5.005Perl version 5.005 JDK version 1.3.1JDK version 1.3.1

© 2005 Solution Beacon, LLC. All Rights Reserved.

Applications 11i Migration Steps

Migrate PlatformsMigrate Platforms Apply platform Migration Utility 3139518Apply platform Migration Utility 3139518 Generate and upload manifest of customer Generate and upload manifest of customer

specific filesspecific files Run perl $AD_TOP/bin/adgenpsf.plRun perl $AD_TOP/bin/adgenpsf.pl Upload manifest file to Oracle support (Upload manifest file to Oracle support (

http://updates.oracle.com/PlatformMigrationhttp://updates.oracle.com/PlatformMigration) use your ) use your Metalink username and passwordMetalink username and password

Copy $APPL_TOP, $OA_HTML, $OA_JAVA Copy $APPL_TOP, $OA_HTML, $OA_JAVA and $COMMON_TOP/util directories from and $COMMON_TOP/util directories from your source to your target systemyour source to your target system

© 2005 Solution Beacon, LLC. All Rights Reserved.

Applications 11i Migration Steps Remove “JRE” files from target systemRemove “JRE” files from target system Remove platform specific libraries and Remove platform specific libraries and

object files from $APPL_TOP/lib directoryobject files from $APPL_TOP/lib directory Copy security file for JInitiator (if you wish Copy security file for JInitiator (if you wish

to preserve source system digital to preserve source system digital signature)signature)

Clone xml context file on target systemClone xml context file on target system Install 11.5.10 technology Stack on target Install 11.5.10 technology Stack on target

(Linux) system – note id: 146468.1(Linux) system – note id: 146468.1 Execute setup phase on AutoConfig on Execute setup phase on AutoConfig on

targettarget

© 2005 Solution Beacon, LLC. All Rights Reserved.

Download and apply the customer-specific Download and apply the customer-specific update – make sure you run adpatch from update – make sure you run adpatch from patch/bin directory patch/bin directory

Apply patch 3077161 (if migrating from Apply patch 3077161 (if migrating from Windows)Windows)

Apply Tech Stack interoperability patch Apply Tech Stack interoperability patch 27973362797336

Review Technology Stack patches Review Technology Stack patches Regenerate file systems objects (messages, Regenerate file systems objects (messages,

forms, reports, graphics and jar filesforms, reports, graphics and jar files Run AutoConfig to complete target system Run AutoConfig to complete target system

configurationconfiguration

Applications 11i Migration Steps

© 2005 Solution Beacon, LLC. All Rights Reserved.

Finishing Tasks Finishing Tasks Update 3Update 3rdrd party extensions party extensions Review and update target system Review and update target system

applications tier settings and applications tier settings and customizations customizations

Update printer settingsUpdate printer settings Update Workflow configuration Update Workflow configuration

settingssettings

Applications 11i Migration Steps

© 2005 Solution Beacon, LLC. All Rights Reserved.

Migrate Database to Linux

Process applicable to Oracle8Process applicable to Oracle8ii or Oracle9 or Oracle9ii Oracle Applications database on any UNIX Oracle Applications database on any UNIX or Windows platform (source database)or Windows platform (source database)

Export/Import process used for database Export/Import process used for database migration to Linux (target database)migration to Linux (target database)

Target Linux database version Oracle9Target Linux database version Oracle9ii – – steps similar for Oracle8steps similar for Oracle8ii

Documentation: MetaLink Note 230627.1Documentation: MetaLink Note 230627.1

© 2005 Solution Beacon, LLC. All Rights Reserved.

Migrate Database to Linux

High level steps:High level steps: Export source Oracle Applications Export source Oracle Applications

Release 11Release 11ii database (any OS) database (any OS) Prepare a target Applications Prepare a target Applications

Release 11Release 11ii database (Linux) database (Linux) Import target Applications Release Import target Applications Release

1111ii database (Linux) database (Linux) Update imported Applications 11Update imported Applications 11ii

database (Linux) database (Linux)

© 2005 Solution Beacon, LLC. All Rights Reserved.

Migrate Database to Linux Export source Applications Release 11Export source Applications Release 11ii

database (on UNIX or Windows platform)database (on UNIX or Windows platform)

Ensure minimum requirements of components are Ensure minimum requirements of components are metmet

Apply AD mini pack F or later to source databaseApply AD mini pack F or later to source database Apply consolidated export/import utility patch Apply consolidated export/import utility patch

29818152981815 Apply MV patch 2447246 (if source is 11.5.7 or Apply MV patch 2447246 (if source is 11.5.7 or

lower)lower) Apply apps database preparation scripts patchApply apps database preparation scripts patch Identify GLOBAL_NAME of source databaseIdentify GLOBAL_NAME of source database Create export parameter fileCreate export parameter file

© 2005 Solution Beacon, LLC. All Rights Reserved.

Migrate Database to Linux Export source Applications Release 11Export source Applications Release 11ii

database (on UNIX or Windows platform)database (on UNIX or Windows platform)

Generate target instance creation script Generate target instance creation script (adcrdb.sql)(adcrdb.sql)

Record Advanced Queue Settings and ConText Record Advanced Queue Settings and ConText default tablespacedefault tablespace

Shut down Applications server processesShut down Applications server processes Apply RDBMS patch 1879479 (if source is 8.1.7.2)Apply RDBMS patch 1879479 (if source is 8.1.7.2) Apply workaround for AQ privileges and nested Apply workaround for AQ privileges and nested

tables (if source is 9.2.0.x)tables (if source is 9.2.0.x) Export source applications databaseExport source applications database Restart Oracle Applications processesRestart Oracle Applications processes

© 2005 Solution Beacon, LLC. All Rights Reserved.

Migrate Database to Linux Prepare target Applications Release 11Prepare target Applications Release 11ii

databasedatabase

Create target Oracle9Create target Oracle9ii ORACLE_HOME ORACLE_HOME Create target init.ora and ifilecbo.ora filesCreate target init.ora and ifilecbo.ora files Create target database instance (ran Create target database instance (ran

adcrdb.sql)adcrdb.sql) Copy database preparation scripts from Copy database preparation scripts from

source to target $ORACLE_HOMEsource to target $ORACLE_HOME Set up SYS schema (ran addb920.sql Set up SYS schema (ran addb920.sql

script)script)

© 2005 Solution Beacon, LLC. All Rights Reserved.

Migrate Database to Linux Prepare target Applications Release 11Prepare target Applications Release 11ii

databasedatabase

Set up SYSTEM schema (ran adsy920.sql Set up SYSTEM schema (ran adsy920.sql script)script)

Install JVM (ran adjv920.sql script)Install JVM (ran adjv920.sql script) Install ORD, Spatial, interMedia and ConText Install ORD, Spatial, interMedia and ConText

(ran admsc920.sql script)(ran admsc920.sql script) Apply Oracle Portal patch (if Portal is installed)Apply Oracle Portal patch (if Portal is installed) Update GLOBAL_NAMEUpdate GLOBAL_NAME Backup target database instanceBackup target database instance

© 2005 Solution Beacon, LLC. All Rights Reserved.

Migrate Database to Linux Import Applications Release 11Import Applications Release 11ii target target

database on Linux platformdatabase on Linux platform

Create import parameter fileCreate import parameter file Copy source export dump file Copy source export dump file Import target applications database instance Import target applications database instance Run import in background or “nohup” modeRun import in background or “nohup” mode Review import log fileReview import log file Convert rollback segments into System Convert rollback segments into System

Managed Undo tablespace (if source database Managed Undo tablespace (if source database is version Oracle8is version Oracle8i i ))

© 2005 Solution Beacon, LLC. All Rights Reserved.

Migrate Database to Linux Update imported Applications Release 11Update imported Applications Release 11ii

database on Linux platformdatabase on Linux platform

Apply post-import stepsApply post-import steps Copy and update Rapid Install utility filesCopy and update Rapid Install utility files Grant dictionary privileges to SYSTEM, APPS and MRCGrant dictionary privileges to SYSTEM, APPS and MRC Apply FND patchApply FND patch Apply CRM Gateway patch (if applicable)Apply CRM Gateway patch (if applicable) Apply Oracle Contract Core patch (if applicable)Apply Oracle Contract Core patch (if applicable) Apply AD patch Apply AD patch Re-create grants and synonymsRe-create grants and synonyms

Apply post-import Oracle Portal steps (if applicable)Apply post-import Oracle Portal steps (if applicable) Create ConText objects Create ConText objects

Apply patch 2981815 to target node Apply patch 2981815 to target node Run dpost_imp.pl scriptRun dpost_imp.pl script

© 2005 Solution Beacon, LLC. All Rights Reserved.

Migrate Database to Linux Update imported Applications Release Update imported Applications Release

1111ii database on Linux platform database on Linux platform

Compile APPS schemaCompile APPS schema Compile flexfield data in AOL tablesCompile flexfield data in AOL tables Recreate grants and synonyms for APPS schemaRecreate grants and synonyms for APPS schema MRC steps (if applicable)MRC steps (if applicable) Reset Advanced QueuesReset Advanced Queues Start Application server processes for target Start Application server processes for target

environmentenvironment

© 2005 Solution Beacon, LLC. All Rights Reserved.

Project Requirements

Timeline:Timeline: Database migration to Linux Database migration to Linux Applications migration to Linux Applications migration to Linux

Resource requirements:Resource requirements: Database Administrator (full time)Database Administrator (full time) Testing Team (functional and technical Testing Team (functional and technical

resources)resources)

© 2005 Solution Beacon, LLC. All Rights Reserved.

Q&AHope you enjoyed this Release 11i session! Hope you enjoyed this Release 11i session!

Remember:Remember:KISSKISS

Keep It Simple and SupportableKeep It Simple and Supportablesmsm

James [email protected] www.solutionbeacon.com