View
240
Download
8
Embed Size (px)
Citation preview
NEVER MIGRATE THE CTXSYS SCHEMA TO DETAULT APPS_TS_TX_DATA FOR OATM
How to run OATM migration utility [ID 404954.1]
Modified 24-OCT-2010 Type HOWTO Status PUBLISHED
In this Document Goal Solution 1- Review OATM Model for Oracle Applications 11i 2- Install OATM migration utility 3- Run OATM migration utility 4- Parameters needed while starting OATM utility 5- OATM Menu Structure 6- Additional Post Migration Steps References
Applies to:
Oracle Application Object Library - Version: 11.5.9 to 11.5.10.2 - Release: 11.5.10 to 11.5.10Information in this document applies to any platform.
Goal
1- Review OATM Model for Oracle Applications 11i
2- Install OATM migration utility
3- Run OATM migration utility
4- Parameters needed while starting OATM utility
5- OATM Menu Structure
6- Additional Post Migration Steps
Solution
1- Review OATM Model for Oracle Applications 11i
The Oracle Applications Tablespace Model (OATM) introduces a new, consolidated tablespace model in Oracle Applications, that uses 12 locally managed tablespaces for all products, including the temporary
tablespace, system tablespace, and undo segments. In this revised Oracle Applications Tablespace Model, each Oracle Applications database object is mapped to a tablespace based on its Input/Output characteristics. This new model allows for easier maintenance, reduces space usage, and allows for potential run-time performance gains.
The Oracle Applications Tablespace Migration Utility is an interactive menu-based PERL program including a set of sizing estimate reports. It enables customers to convert their Oracle Applications databases to the new tablespace model (OATM) for either all schemas at once or partially for select schema(s) at a time, depending on acceptable down time and available disk space.
You can find more information about OATM migration utility in the following note:
Note 248857.1 - Oracle Applications Tablespace Model Release 11i - Tablespace Migration Utility
Also please refer to Oracle Documentation:
http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115sacg.zip
Oracle Applications System Administrator's Guide - ConfigurationB13925-06Chapter 3 - Oracle Applications Tablespace Model and Migration UtilityPage 67
2- Install OATM migration utility
You can install the OATM migration utility by downloading & applying the following patch through Metalink:
Patch 3942506 - AOL/FND: OATM MIGRATION UTILITY ROLLUP C
(Note: Above patch is already included in 11.5.10 and higher, so if you have Oracle Applications 11.5.10 or higher you do not need to install it)
3- Run OATM migration utility
After installing the utility through above patch , please use the following command in order to start running the utility:
perl $FND_TOP/bin/fndtsmig.pl
WARNING:
When running OATM tool, please don't migrate CTXSYS schema to the default APPS_TS_TX_DATA tablespace as this will prevent you from implementing the following feature: Note 454574.1 - Cross Platform Transportable Tablespaces on 11i with 10gR2Accordingly you should leave CTXSYS into it's own tablespace as a default database schema.
Important Note:
When Moving a queue table on a RAC database, you should do following steps:
a- Shutdown all instances except the one doing the MOVE operation.b- Limit any access to the instance doing the move.
c- Stop all AQ related processes on the instance doing the move (eg; aq_tm_processes=0)d- After the moves are complete, development team recommend to flush the shared pool.Given that this is not guaranteed to flush the queue objects it would seem safest to replace the flush with an instance bounce to be sure that there is no stale information in the SGA.
4- Parameters needed while starting OATM utility
After running the PERL script in order to start the OATM utility, the following parameters screen will appear:
+=======================================================================+| Copyright (c) 2003 Oracle Corporation Redwood Shores, California, USA|| All rights reserved. |+=======================================================================+| || Welcome to the Oracle Applications Tablespace Migration Utility || |+=======================================================================+| || Warning: If DB was upgraded from 8.1.7 to a version prior to 9.2.0.6 || please run $FND_TOP/patch/115/sql/fndupglb.sql before the migration. || |+=======================================================================+
Enter OATM configuration file or press enter to continue:
Enter APPL_TOP[/u01/applmgr/olc510appl]:
Enter FND_TOP[/u01/applmgr/olc510appl/fnd/11.5.0]:
Enter the Database Connect String[OLC510]:
Enter the password for your 'SYSTEM' ORACLE schema:
Successfully connected to database OLC510 using SYSTEM user.
Enter the ORACLE APPS Schema name[APPS]: apps
Enter the password for APPS:
Successfully connected to database OLC510 using APPS user.
Enter the ORACLE Application Object Library Schema name[APPLSYS]: applsys================================================================CONNECT_STRING =OLC510FND_TOP =/u01/applmgr/olc510appl/fnd/11.5.0APPLSYS_SCHEMA =APPLSYSAPPS_SCHEMA =APPSAPPL_TOP =/u01/applmgr/olc510appl================================================================
Please review and press 'Y' to accept or 'N' to re-enter[Y]: y
Performing database check...
Database check completed.
Checking required components...
Required components check completed.
5- OATM Menu Structure
After providing all parameters as in the previous step, you will get the Main Menu for Oracle Applications Tablespace Migration Utility which consists of 8 options as following:
Important Note: Some Menu Options are available only on 11.5.10.2 and later such as: Migrate CTXSYS Schema, Generate script to drop empty tablespaces.
Oracle Applications Tablespace Migration Utility Main Menu
1. Migration Sizing Reports2. Create New Tablespaces3. Generate Migration Commands4. Execute Migration Commands5. Run Migration Status Reports6. Run Post Migration Steps7. Run Customization Steps8. Run Migration in Batch Mode
[Q]uit [N]ext
Please enter your option -
Here are the details for each menu option:
5.1. Migration Sizing Reports
Migration Sizing Reports
These reports are provided to help you gauge the space requirements for the new Tablespaces. Additionally, they will also help you determine the type of migration approach that best suits your needs
1. Generate a Report with the list of all the Oracle Application product schemas that can be migrated 2. Calculate total space required by each new tablespace to migrate all Oracle Application product schemas (relevant for a complete migration) 3. Calculate total space required by each new tablespace to migrate each Oracle Application product schema (relevant for a schema-by-schema migration) 4. Calculate total space required by each Oracle Applications schema, with details for each object 5. Display Sizing Exception report
[Q]uit [B]ack [N]ext
Please enter your option -
5.2. Create New Tablespaces
Create New Tablespaces
1. Generate new tablespace creation script 2. Create new tablespaces
[Q]uit [B]ack [N]ext
Please enter your option -
5.3. Generate Migration Commands
Generate Migration Commands Generation of Migration commands including disable/enable commands for triggers, constraints, policies, stop/start for queues.
1. Invalid Indexes Report. Please correct/drop these before generating migration commands 2. Generate migration commands for all schemas 3. Generate migration commands for a list of schemas
[Q]uit [B]ack [N]ext
Please enter your option -
5.4. Execute Migration Commands
Execute Migration Commands Execution of Migration commands including disable commands for triggers constraints, stop/start for queues.
PLEASE TAKE A COMPLETE BACKUP OF THE DATABASE BEFORE MIGRATION
1. Migrate all Schemas 2. Migrate a list of Schemas 3. Migrate CTXSYS Schema
Note: Migrate CTXSYS schema when no other migration process is in progress.
[Q]uit [B]ack [N]ext
Please enter your option -
5.5. Run Migration Status Reports
Run Migration Status Reports
1. Run migration progress report 2. Run migration error report
[Q]uit [B]ack [N]ext
Please enter your option -
5.6. Run Post Migration Steps
Run Post Migration Steps
1. Run audit report 2. Enable constraints/triggers/policies & start queues 3. Resize old tablespaces 4. Generate script to drop empty tablespaces
Note: Please complete refresh all the Materialized Views in Oracle Applications before using the system.
[Q]uit [B]ack
Please enter your option -
5.7. Customization
Customization
1. Register new tablespace - tablespace type 2. Change name of the existing tablespace 3. Register object classification 4. Change object classification
[Q]uit [B]ack Please enter your option -
5.8. Batch Mode Migration
Batch Mode Migration
1. Run Migration in Batch Mode 2. Run Migration Monitor
[Q]uit [B]ack
Please enter your option -
6- Additional Post Migration Steps
After running OATM utility it may happen that some tables can change the orders of the columns, this can cause the following Oracle Error (ORA-00932) in some core forms.
So it is recommended if you face such a situation to use (adadmin) utilities to compile all forms for Oracle Applications.
References
NOTE:248857.1 - Oracle Applications Tablespace Model Release 11i - Tablespace Migration UtilityPATCH:3942506 - AOL/FND: OATM MIGRATION UTILITY ROLLUP Chttp://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115sacg.zip
Related
Products
Oracle E-Business Suite > Applications Technology > Application Object Library > Oracle Application Object Library
Errors
ORA-932