January 21, 2009 Migrating an 11i Database to Linux – Tips, Tricks & Gotchas Mark Morgan DBA Consultant siMMian systems, inc. 415-585-4242

Slides:



Advertisements
Similar presentations
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any.
Advertisements

ITEC474 INTRODUCTION.
1 Oracle Migration Strategies COUG Presentation – Feb 2013 Feb 21, 2013 Ray Smith
OAUG Database SIG – Oracle 11g R2 Database Upgrade for E-Business Suite 11i Oracle Open World 2010 San Francisco Presented by Kaberi Nayak Senior Oracle.
Introducing Oracle iSetup
Overview of Database Administrator (DBA) Tools
Oracle9i Database Administrator: Implementation and Administration 1 Chapter 2 Overview of Database Administrator (DBA) Tools.
Self-Managing Database: Easy Upgrade Tom Graves Consulting Member of Technical Staff Oracle Corporation Session id:
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Installation – Lecture 2 Copyright System Managers LLC 2007 all rights reserved.
Chapter 9 Auditing Database Activities
Oracle Database Administration
Harvard University Oracle Database Administration Session 10 Database Backups.
System Administration Accounts privileges, users and roles
Harvard University Oracle Database Administration Session 2 System Level.
15 1 Chapter 15 Database Administration Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
10 Copyright © 2009, Oracle. All rights reserved. Managing Undo Data.
Database Backup and Recovery
© 2007 Oracle Corporation – Proprietary and Confidential.
Oracle backup and recovery strategy
IS 4510 – Database Administration Module – 2 Database Backup 10/24/20141Compiled by: Zafar Iqbal Khan.
Contributed by Chandra [Oracle Apps Tech Specialist] - oracle.anilpassi.com Discoverer 10g Migration Plan.
Adapted from Afyouni, Database Security and Auditing DB Auditing Examples (Ch. 9) Dr. Mario Guimaraes.
APPLYING INTEROPERABILITY PATCH FOR ORACLE APPLICATIONS By Ramkumar Srinivasan DBA/System Administrator Dreyer’s Grand Ice Cream Inc.
Backup & Recovery Concepts for Oracle Database
Getting Started with Oracle11g Abeer bin humaid. Create database user You should create at least one database user that you will use to create database.
A Case Study in Upgrading Oracle Applications and Migrating to Linux Jeff Slavitz Oracle Applications DBA
11i Cloning Panel Panel Moderator: Sandra Vucinic March, NCOAUG Conference Presenter For Custom Solution – Surender Sara.
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
M ODULE 2 D ATABASE I NSTALLATION AND C ONFIGURATION Section 1: DBMS Installation 1 ITEC 450 Fall 2012.
Oracle Applications 11i Concepts I Brian Hitchcock OCP 11i DBA -- OCP 10g DBA Sun Microsystems Brian Hitchcock February.
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
CHAPTER 6 Users and Basic Security. Progression of Steps for Creating a Database Environment 1. Install Oracle database binaries (Chapter 1) 2. Create.
Eurotrace Hands-On The Eurotrace File System. 2 The Eurotrace file system Under MS ACCESS EUROTRACE generates several different files when you create.
4 Copyright © 2006, Oracle. All rights reserved. Recovering from Noncritical Losses.
© 2005 Solution Beacon, LLC. All Rights Reserved. Release 11i Workshop Migrate Your Release 11i Oracle Applications to Linux Session Leader Kevin Dahl,
Linux Panel Panel Moderator: Sandra Vucinic. Panel Members Michael Brown - Glen Raven, Inc. Mark Farnham - Rightsizing, Inc. Rich Niemiec – TUSC Sandra.
Improving Maintenance and Reducing Patching Downtime in 11i Ric Ginsberg Vice President Applications Release Engineering Oracle Corporation.
News From the Trenches – an E-business Suite R12 11g Implementation # 1458 Jerry Ireland Mark W. Farnham 36 West Street Lebanon, NH Office:
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
1 All Powder Board and Ski Oracle 9i Workbook Chapter 9: Database Administration Jerry Post Copyright © 2003.
Oracle Data Integrator Procedures, Advanced Workflows.
What is a schema ? Schema is a collection of Database Objects. Schema Objects are logical structures created by users to contain, or reference, their data.
17 Copyright © Oracle Corporation, All rights reserved. Recovery Catalog Creation and Maintenance.
1 Copyright © 2012, Oracle and/or its affiliates. All rights reserved. GET PROACTIVE! With Oracle Premier Support.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
Oracle FULL EXP/IMP 11i Database SURENDER SARA NCOAUG
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 9 Auditing Database Activities.
03/07/05 NorCal OAUG Training Day Paper v2.0 Jeff Slavitz, Computer Creations Inc.1 Here We Go Again! Upgrading to Jeff Slavitz Computer Creations.
Rae Burns Principal Member of Technical Staff Oracle Corporation Aris Prassinos Distinguished Member of Technical Staff Motorola.
Migrating Your Business To An E-Business Migrating Your Business to an E-Business Robert Edmiston Technology Manager
IT Database Administration Section 09. Backup and Recovery Backup: The available options Full Consistent (cold) Backup Database shutdown, all files.
OAUG Sys Admin SIG Meeting Connection Point Conference September 13, 2004 Orlando, FL Randy Giefer, Chair.
11g The Perfection of a Masterpiece A presentation about new features of 11g you may not have noticed Christo Kutrovsky The Pythian Group 2007 October.
Oracle Applications 11i Concepts II Brian Hitchcock OCP 11i DBA -- OCP 10g DBA Sun Microsystems Brian Hitchcock.
6 Copyright © 2007, Oracle. All rights reserved. Performing User-Managed Backup and Recovery.
3 Copyright © 2007, Oracle. All rights reserved. Using the RMAN Recovery Catalog.
03/07/05 NorCal OAUG Training Day Paper v1.0 Jeff Slavitz, Computer Creations Inc.1 Here We Go Again! Upgrading to Jeff Slavitz Computer Creations.
© 2005 Solution Beacon, LLC. All Rights Reserved. Release 11i Workshops Release 11i … Please Add RAC Session Leader Kevin Dahl, Solution Beacon Release.
20 Copyright © 2006, Oracle. All rights reserved. Best Practices and Operational Considerations.
11 Copyright © 2004, Oracle. All rights reserved. Performing a Migration Using Oracle Migration Workbench (Part II)
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
CERN IT Department CH-1211 Genève 23 Switzerland t Using Data Guard for hardware migration UKOUG RAC & HA SIG, Feb 2008 Miguel Anjo, CERN.
McGraw-Hill/Irwin Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 9: Database Administration All Powder Board and Ski.
© 2007 Oracle Corporation – Proprietary and Confidential
Oracle Database for APM 9.1
What it is and how to use it
The powerhouse PL/SQL upgrade option: Edition-Based Redefinition (EBR)
Introduction of Week 6 Assignment Discussion
Introduction of Week 3 Assignment Discussion
Presentation transcript:

January 21, 2009 Migrating an 11i Database to Linux – Tips, Tricks & Gotchas Mark Morgan DBA Consultant siMMian systems, inc

January 21, 2009Mark Morgan siMMian systems, inc. Migrating an 11i Database to Linux Overview Project Definition Process Overview and Detail Post Migration Tips and Tricks

January 21, 2009Mark Morgan siMMian systems, inc. Project Definition: Why Linux? Advantages Lower Cost of Hardware Performance Lower Cost of Hardware RAC Lower Cost of Hardware Disadvantages Stability Hidden Administration Costs RAC

January 21, 2009Mark Morgan siMMian systems, inc. Project Definition: Goals Replace HPUX hardware Prepare for R12 upgrade Improve upgrade performance Long-term EBS compatibility Database cleanup Coalesce data Purge metadata junk Characterset conversion to AL32UTF8 postponed to R12 upgrade minimum 11i does not support AL32UTF8 Minimum downtime

January 21, 2009Mark Morgan siMMian systems, inc. Project Definition: Infrastructure EBS Installed as 11.0 / RDBMS 8.0 Financials, OM, Manufacturing, HR, CRM OATM Recent ATG & TXK RDBMS bit HPUX 64 bit Linux Redhat 4 64 bit

January 21, 2009Mark Morgan siMMian systems, inc. Project Definition: Datapump Export/Import Process for Oracle Applications Release 11i Database Instances Using Oracle Database 10g Release Export/Import Process for Oracle E-Business Suite Release 12 using 10gR iSetup dependency with Deinstall and Reinstall of XMLDB Transportable tablespaces not supported for EBS

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview Build Linux environment Stage target database Prepare source database Export the source database Import to the target database Update the target database Post migration tasks

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Build Linux Environment Oracle Applications Installation and Upgrade Notes Release 12 (12.0) for Linux (64-bit) Oracle® Database on AIX®,HPUX®, Linux®,Mac OS® X,Solaris®,Tru64 Unix® Operating Systems Installation and Configuration Requirements Requirements for Installing Oracle 10gR2 RDBMS on RHEL 4 on AMD64/EM64T

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Create Target Database Create 10g ORACLE_HOME R installation media 10g installation media RDBMS patches / DST CPUs

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Create Target Database Datapump-specific patches RDBMS (characterset) (corrects ORA if v8 database) EBS Patches (unzip only) (should already be applied) (replaces ) (R12) (R12)

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Create Target Database Create init.ora Create the target database auclondb.sql from R12 patch edit and run aucrdb.sql autoextend datafiles disable archive logging

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Create Target Database Create database objects (patch ) SYS: addb1020.sql SYSTEM: adsy1020.sql JVM: adjv1020.sql Other: admsc1020.sql Post-creation Tasks Complete patch readme Verify SYSTEM grants Verify XDB grants Compile objects Backup the new database

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Prepare the Source Database System downtime Apply database preparation patch to apps tier Apply to source RDBMS (including README steps) update SYSTEM_PRIVILEGE_MAP (2 SQL statements) Run preclones on both the source database and apps tiers Record Advanced Queue settings $AU_TOP/patch/115/sql/auque1.sql (generates auque2.sql)

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Prepare the Source Database Create parameter file for tables with long columns aulong.sql ( ) (aulongexp.dat is generated) Remove rebuild index parameter in spatial indexes select * from dba_indexes where index_type='DOMAIN' and upper(parameters) like '%REBUILD%'; alter index rebuild parameters

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Export the Source Database Create export directory filesystem Copy parameter file from $AU_TOP/patch/115/import/auexpdp.dat Create directory in database create directory dmpdir as ' '; Prepare XMLSchema objects for migration (doc )

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Export the Source Database Export the instance with expdp, using the above parameter file Export tables with long columns using aulongexp.dat Required SYS connection Used 10.1 ORACLE_HOME (bug )

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Import the Target Database Create directory in target database create directory dmpdir as ' '; Import the users impdp parfile=auimpusr.dat verify tablespace quotas verify user grants and privileges to sys/system objects Import tables with long columns Modify aufullimp.dat as aulongimp.dat file=longexp full=y imp parfile=aulongimp.dat Ignore errors for triggers

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Import the Target Database Import the Applications database instance impdb parfile=auimpdp.dat ( ) expect ORA-31684, ORA-39111, compilation warnings, trigger errors and BISM constraint errors Import triggers into the target database using standard import create autrigimp.dat from aufullimp.dat ( ) connect as SYS ignore=y rows=n

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Update the Target Database Reset Advanced Queues run auque2.sql generated above Start the database listener Run adgrants.sql Grant create procedure privilege on CTXSYS $AD_TOP/patch/115/sql/adctxprv.sql Implement and run AutoConfig on database tier ( )

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Update the Target Database Postclone applications tier(s) to point to new database Gather statistics for SYS schema using adstats.sql Re-create custom database links Create ConText and Spatial objects create custom dpost_imp.pl driver from 11i and R apply with adpatch Rebuild XMLSchema Objects per doc

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Post Migration Tips Re-create missing CTXSYS objects ( , , , ) adadmin Compile flexfield data in AOL tables Recreate grants and synonyms for APPS schema Recreate HRV_PER_PEOPLE_V Clear nodes and run autoconfig per doc

January 21, 2009Mark Morgan siMMian systems, inc. Process Overview: Post Migration Tips Verify BISM Constraints ALTER TABLE ADD CONSTRAINT Compile invalid objects Rebuild nptification queues using wfntfqup.sql Gather statistics (optional) Start applications tier Syncronize Workflow Create DQM indexes for Trading Community

January 21, 2009Mark Morgan siMMian systems, inc. Q & A Mark Morgan DBA Consultant siMMian systems, inc