Linux and Release 11i
-
Upload
databaseguys -
Category
Documents
-
view
713 -
download
1
Transcript of Linux and Release 11i
© 2005 Solution Beacon, LLC. All Rights Reserved.
Release 11i Workshop
Migrate Your Release 11i Oracle Applications to Linux Session LeaderKevin Dahl, Solution Beacon
Compiled by Sandra Vucinic and Kevin Dahl
Release 11i WorkshopsSan Ramon, CA • Worthington, MA •
Los Angeles, CA • St. Louis, MO • Orlando, FLwww.solutionbeacon.com
TRAIL to TEXAS sm
© 2005 Solution Beacon, LLC. All Rights Reserved.
Agenda
Why Linux?Why Linux? Release 11Release 11ii Architecture – Components Architecture – Components Linux Platform Migration UtilityLinux Platform Migration Utility Roadmap to two-step migrationRoadmap to two-step migration
Migrate Oracle Applications to Migrate Oracle Applications to Release 11Release 11ii using Linux Migration using Linux Migration UtilityUtility
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 Scalability (add as many
applications servers as needed applications servers as needed quickly)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 DVD 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.5Database
© 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 Includes Technology Stack Upgrade to 11.5.10to 11.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 Migrate Oracle Applications
Release 11Release 11ii from any platform from any platform (UNIX or Windows) to Linux(UNIX or Windows) to Linux Certification for the most Certification for the most
common flavors of Linux: common 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 Oracle9or Oracle9ii to Linux to Linux
© 2005 Solution Beacon, LLC. All Rights Reserved.
Applications 11i Migration Steps Apps Tier or Middle tier (appl_top, common_top, Apps Tier or Middle tier (appl_top, common_top,
Tech Stack (8.0.6 and iAS) reside on UNIX or Tech Stack (8.0.6 and iAS) reside on UNIX or Windows before migrationWindows before migration
Documentation: MetaLink note 238276.1 Documentation: MetaLink note 238276.1 Prerequisites:Prerequisites:
Database version 8.1.7.4Database version 8.1.7.4 If not on AD mini-pack G or later – apply AD.IIf not on AD mini-pack G or later – apply AD.I Implement AutoConfigImplement AutoConfig Run “Maintain snapshot information”Run “Maintain snapshot information” Perl version 5.005Perl version 5.005 JDK version 1.4 (doc 246105.1) if migrating to JDK version 1.4 (doc 246105.1) if migrating to
Red Hat 3.0 else 1.3.1(doc 130091.1) Red Hat 3.0 else 1.3.1(doc 130091.1) Verify Linux kernel parms on target system Verify Linux kernel parms on target system
via (document 287453.1 )via (document 287453.1 )
© 2005 Solution Beacon, LLC. All Rights Reserved.
Applications 11i Migration Steps Migrate PlatformsMigrate Platforms
Apply platform Migration Utility Patch Apply platform Migration Utility Patch 40681094068109
Generate and upload manifest of Generate and upload manifest of customer specific filescustomer specific 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 ) use your Metalink username and passwordyour Metalink username and password
Copy Application Tier DirectoriesCopy Application Tier Directories $APPL_TOP, $OA_HTML, $OA_JAVA and $APPL_TOP, $OA_HTML, $OA_JAVA and
$COMMON_TOP/util $COMMON_TOP/pages $COMMON_TOP/util $COMMON_TOP/pages directories from your source to your target systemdirectories from your source to your target system
© 2005 Solution Beacon, LLC. All Rights Reserved.
Applications 11i Migration Steps
Copy security file for JInitiator (if you Copy security file for JInitiator (if you wish to preserve source system digital wish to preserve source system digital signature)signature)
Clone xml context file on target Clone xml context file on target system-refer to port pool help if system-refer to port pool help if needed (216664.1)needed (216664.1)
Install 11.5.10 technology Stack on Install 11.5.10 technology Stack on target (Linux) system – note id: target (Linux) system – note id: 146468.1146468.1
Apply RHEL3 interop patches 3830807 Apply RHEL3 interop patches 3830807 (note 238276.1 has yet to be updated) (note 238276.1 has yet to be updated) and 3170128and 3170128
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)
Review Technology Stack patches applied Review Technology Stack patches applied to source-and apply to target if necessaryto source-and apply to target if necessary
Apply Tech Stack interoperability patch Apply Tech Stack interoperability patch 3545927 3545927
Regenerate file systems objects Regenerate file systems objects (messages, forms, reports, graphics and (messages, forms, reports, graphics and jar filesjar 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 (for party extensions (for
example, quantum)example, quantum) Review and update target Review and update target
system applications tier settings system applications tier settings and customizations and 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 or Oracle9Oracle9ii Oracle Applications database on Oracle Applications database on any UNIX or Windows platform (source any UNIX or Windows platform (source database)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 (note 230627.1):High level steps (note 230627.1):
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 Import target Applications Release 11Release 11ii 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 database
(on UNIX or Windows platform)(on UNIX or Windows platform)
Ensure minimum requirements of components are Ensure minimum requirements of components are met. The target 9.2.0. The source either 8.1.7 or met. The target 9.2.0. The source either 8.1.7 or 9.2.09.2.0
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
36344363634436 Apply Materialized Views patch 2447246 (if source is Apply Materialized Views patch 2447246 (if source is
11.5.7 or lower)11.5.7 or lower) Apply apps database preparation scripts patches Apply apps database preparation scripts patches
2381851 39921222381851 3992122 Identify GLOBAL_NAME of source databaseIdentify GLOBAL_NAME of source database Create export parameter file (included in 3634436)Create export parameter file (included in 3634436)
© 2005 Solution Beacon, LLC. All Rights Reserved.
Migrate Database to Linux Export source Applications Release 11Export source Applications Release 11ii database database
(on UNIX or Windows platform)(on UNIX or Windows platform)
Generate target instance creation script (adcrdb.sql) Generate target instance creation script (adcrdb.sql) using using $AD_TOP/patch/115/sql/adclondb.sql script$AD_TOP/patch/115/sql/adclondb.sql script
Record Advanced Queue Settings (use scripts from Record Advanced Queue Settings (use scripts from 3634436)3634436)
and ConText default tablespace and ConText default 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 Modify sqlnet.ora (windows)Modify sqlnet.ora (windows) 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 script)Set up SYS schema (ran addb920.sql script)
© 2005 Solution Beacon, LLC. All Rights Reserved.
Migrate Database to Linux Prepare target Applications Prepare target Applications
Release 11Release 11ii database database
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 Install ORD, Spatial, interMedia and
ConText (ran admsc920.sql script)ConText (ran admsc920.sql script) Apply Oracle Portal patch (if Portal is Apply Oracle Portal patch (if Portal is
installed) 2857908installed) 2857908 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 database on Linux platformtarget database on Linux platform
Create import parameter fileCreate import parameter file Copy source export dump file Copy source export dump file Import target applications database Import target applications database
instance instance Run import in background or “nohup” Run import in background or “nohup”
modemode Review import log fileReview import log file Convert rollback segments into System Convert rollback segments into System
Managed Undo tablespace (if source Managed Undo tablespace (if source database is version Oracle8database is 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 Grant dictionary privileges to SYSTEM, APPS and
MRCMRC 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 3634436 to target node Apply patch 3634436 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 11Update imported Applications Release 11ii
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) Compile other invalidsCompile other invalids Apply workaround for rule based Apply workaround for rule based
subscribers(conditional) subscribers(conditional) 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 Testing Team (functional and
technical resources)technical resources)
© 2005 Solution Beacon, LLC. All Rights Reserved.
Q&AHope you enjoyed this Release 11i Hope you enjoyed this Release 11i session! session!
Remember:Remember: KISSKISS
Keep It Simple and Keep It Simple and SupportableSupportablesmsm
Kevin [email protected] www.solutionbeacon.com