45

Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Embed Size (px)

Citation preview

Page 1: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download
Page 2: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Copyright © 2012. Infor. All Rights Reserved. www.infor.com 2

Tips and TricksMigrating From Any Release to XAR9.1

We can get you there

Page 3: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Copyright © 2012. Infor. All Rights Reserved. www.infor.com 3

Tips and TricksMigrating From Any Release to XAR9.1

Irma C. Zamot, Bi-Lingual Senior Product Support Analyst , Infor

Page 4: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Available paths

• What is needed

• CD vs. downloads

• Gotcha! Don’t get burned!

• Migration to XAR9.1 in detail

• New stuff…how cool is that

• OS level, JVM, Migration considerations

Migrate to XAR9.1

Page 5: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• What you need:– RPG compiler

• not needed for SH15608/15636

– License keys (even if a stepping stone)

• Base and application keys

– Environments must be at certain PTF levels

– Applications must match (From and To)

– Backup, backup and backup (AMA, AMF)

Migrate to XAR9.1

Page 6: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Migrate to XAR9.1Where there’s a will, there’s a path:

Page 7: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Download Only:

XAR9.1: SH15636XAR7.8: SH15608XAR6: SH14543

• CD Only:

XAR4 to XAR6: SH14540Y2DB to XAR5: SH14540

Migrate to XAR9.1

Page 8: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• It is important that you download the latest version before your migration

– prerequisites/downloads continually get updated

SH15636:Cover Letter Last update - 02/12/13 Last update - 02/12/13 APAR # Date Program description -------- ------ ----------------------------n/a 021213 PCM level 03037 compatible 50087 IMHGEN shouldn't be copied in

R6/R7

Migrate to XAR9.1

Page 9: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Overview:– Migration function only

– Setup your environments correctly

– What to do before running the migration

– Process to run the migration

– Bumps in the night....now what?

– How to rerun the migration

– Info on XAR9.1

Migration to XAR9.1 in detail

Page 10: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Migrating– Requires FROM and TO env.

– Needs at least twice as much disk space

– Needs new license keys

– One migration PTF and client conversion

– New apps installed must be deactivated

• Changes in XAR9.1:– No more upgrade path, must use migration tool

Migration to XAR9.1 in detail

Page 11: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Run the initial install, back it up, run ACSAPPLY, back it up, next ACSAPPLY, back it up, next ACSAPPLY, back it up….keep going…. back it up

Ask yourself, where would I like to start my day from again?

Migration to XAR9.1 in detail

Page 12: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• FROM environment PTF level prerequisite

Migration to XAR9.1 in detail

Page 13: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Installed applications and questionnaire responses must match as closely as possible

Migration to XAR9.1 in detail

Page 14: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Migration prerequisitesThe From environment must meet one of the following criteria:

– XAR6 at PTF level 5118 or higher

– XAR7 at PTF level 2581 through 7597 and is not at PTF level 9000 or higher

– XAR7.8 at PTF level 09955 or higher

• The To environment (XAR9.1) must be created from the initial install SH15630 with PTFs SH86808 and SH87069 appliedFrom installation guide:Verify that PTFs SH86808 and SH87069 were installed in the R9 environment. These PTFs are needed for the Migration Tool to complete normally.

Migration to XAR9.1 in detail

Page 15: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• ERP XA New Install (SH15631) – available on the Software Download Center

On the ERP XA R9 product information page of the Software Download Center, click the Description for the row below and then locate the image ERP XA R9 Server Applications Volume 1 of 1 PTF 01000 – SH15631.

Migration to XAR9.1 in detail

ERP XA Post-requisite PTF – SH86808 and SH87069

ERP XA Client Applications Install (SH15632) – available on the Software

Download Center

ERP XA PCM(s) – available on the Software Download center

ERP XA Client Applications Update – SH15782

Page 16: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Collapse All

Migration to XAR9.1 in detail

Page 17: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• XAR9.1 Informational PTFs

Migration to XAR9.1 in detail

Page 18: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

RED ALERT:

After creating the XAR9.1 environment, copy the empty target environment using option AMZM70/01. The copy will be needed to rerun the migration at a later time.

• From SH15636:What you should know

Do not migrate data to a production environment. The migration tool is intended for migrating data from a production environment to a new environment.

Migration to XAR9.1 in detail

Page 19: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• From SH15636:Prior to re-running the migration tool, you MUST delete the XAR9.1

environment containing migrated data and then copy the emptyenvironment created after installing the XAR9.1 environment:

– Log on to the empty copy of the XAR9.1 environment

– Use option AMZM70/03 to delete the XAR9.1 environment containing migrated data.

– Use option AMZM70/01 to recreate the XAR9.1 environment to where you will migrate data. Use the empty XAR9.1 environment as the source.

– Exit the empty XAR9.1 environment

Migration to XAR9.1 in detail

Page 20: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Question:What if I am not carrying over an application into XAR9.1?What if I am installing a new application in XAR9.1?

• Answer:Turn off the SYSCTL and APPTXT flags in the environment

• From SH15636:• Take option AMZM30/09 in the To environment and change the 'XB' record in the

SYSCTL file, as necessary, so that the SYSCTL reflects the same set of installed applications as in the From environment. In the 'XB' SYSCTL record, you will need to set the alphanumeric application install byte to blank for any application not installed in the From environment and you will need to set the numeric application install byte to '0'.

Perform these steps from a command line to correct the APPTXT file records: STEP 1. Sign on as QSECOFR. STEP 2. Execute a DFU against the APPTXT file in the …..

Migration to XAR9.1 in detail

Page 21: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Process to run the migration:1. Download the migration tool SH15636

2. Restore the library from the PTF

3. Key in the command

MIGTOOL/MIGTOOL

and enter in the requested information

Migration to XAR9.1 in detail

Page 22: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Migration to XAR9.1 in detail

Page 23: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Migration to XAR9.1 in detail• Specify environments and optionally batch queue

Page 24: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Migration to XAR9.1 in detailNew stuff…how cool is that…KB 950809 for the files

Page 25: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Migration to XAR9.1 in detail

Page 26: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Migration to XAR9.1 in detail

Page 27: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Migration to XAR9.1 in detail

Page 28: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Migration to XAR9.1 in detail

Page 29: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• What to do before running the migration:1. Have a Backup

2. End/delete journaling

3. Triggers

XA Triggers will be removed during the Migration and will be added back when rerunning Install/Tailor after the migration

4. No locks on AMFLIB

5. Always sign off/on to clear library list

NOTE:

Triggers which are not defined in Trigger Program Control Maintenance (menu AMZM30, option 15) are not added back during tailoring.

If you have any user defined triggers and trigger programs, make sure they are in the library list before running tailoring

Migration to XAR9.1 in detail

Page 30: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Status screen: all files are being migrated

Migration to XAR9.1 in detail

Page 31: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

When the Migration Tool finishes, it will automatically:• print the "File Migration Report Listing" (MIGTOOL9P)

• copy the migration job log to the file MIGLOGxy (where xy is the TO environment) in library QGPL

So...If you are migrating to 9T, then the job log would be here:QGPL/MIGLOG9T

Use STRPDM, option 2 and enter in the parameters:

Migration to XAR9.1 in detail

Library . . . . . . . . . . QGPL

Object:

Name . . . . . . . . . . . migtool*

Type . . . . . . . . . . . *ALL

Attribute . . . . . . . . *ALL

Page 32: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Bump in the night…now what (*reports)?

Migration to XAR9.1 in detail

Page 33: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Migration Tool Date

• SH15636 is a dynamic PTF– it may be updated if a change is necessary.

It’s a good idea to get the current version of this PTF. The changes are listed at the bottom of this cover letter...

Migration to XAR9.1 in detail

Page 34: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Migration Tool Date…would you use it?:

Migration to XAR9.1 in detail

Page 35: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Journaling not started in environments

• Verify that journaling has been started in both environments:

– WRKJRNA AMFLIBy/MPXJRN

y = the 2nd character of the environment ID

– The Journal State should be equal to ACTIVE

• If it is not ACTIVE, you must run options 1 & 2 on menu AMZMD0 in each environment to create and start journaling.

Migration to XAR9.1 in detail

Page 36: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Tip/Tricks – Once XAR9.1 is created: BACK IT UP

– If running multiple migrations, create another XAR9.1 environment by using CREATE ENVIRONMENT option from CAS

– Archive large history files (AP, AR, IM, COM, IFM)

– Reorganize the files

– Run a reclaim storage to free up disk space

Migration to XAR9.1 in detail

Page 37: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• New stuff…how is that

The following applies to SH15608/SH15636 only

To speed up migration of some large files, a selected subset of files can be migrated concurrently, each in their own job

– List of supported files is in OBJPRE

– Need to set ZCONV data area position 176 to ‘1’

– Migration tool will ask the name of the job queue to submit those file migration jobs to.

KB 950809 Migration Tool - how to run Parallel Migration against very large files?

Such as: IMHIST, YAARREP, UATPREP, YAF0REP

Migration to XAR9.1 in detail

Page 38: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

Migration to XAR9.1 in detail

• In the Future:

KB 1385426

Enhancement 394357 Restart a terminated migration

Page 39: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Not sure it ran? Missing reports?You can regenerate the reports:

1. ADDLIBLE MIGTOOL Library MIGTOOL added to library list.

2. MIGPRTRPT ENDES(xy) and press Enter. This presents screen MIGTOOL04

Ok- will get this screen: (if there is an error, it prints the reports)

Date xx/xx/xx Migrate Environment Data Files MIGTOOL04

All application files are being migrated

NOTE: This may take some time

Migration ended normally

Migration to XAR9.1 in detail

Page 40: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Avoid problems:– Sign on with a user profile with *ALLOBJ, *SECADM and *JOBCTL

special authorities.

– Delete all ABEND jobs from Job Status

– Rerun the install/tailor in the TO environment

– Print sample reports for comparison

– Read and then Reread the SH15636 document

– Review the Migration Tool Report for errors

Migration to XAR9.1 in detail

Page 41: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Overview:– The migration copies data from files in the FROM environment to files in

the TO environment

– If the required TO files are NOT in the TO environment, the migration will SKIP the files

– The migration will NOT create these files on the fly. The questionnaire creates these files.

– The migration WILL migrate user added files if they are in the FROM and TO environment.

Migration to XAR9.1 in detail

Page 42: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Upgrade options will be as follows:– Existing XAR6:

• Environment must be at PTF 5118 or higher

• Install XAR9.1, then run migration tool XAR6 to XAR9.1

– Existing XAR7:

• Environment must be at PTF 2581 or higher

• Install XAR9.1, then run migration tool XAR7 to XAR9.1

– Existing XAR7.8:

• Environment must be at PTF 09955 or higher

• Install XAR9.1, then run migration tool XAR7.8 to XAR9.1

Migration to XAR9.1 in detail

Page 43: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• Migration to R9.1 on i6.1/i7.1 from R6/R7 on V5R4– E.g. upgrading to new hardware that only supports i6.1 and up

– Cannot run R6 lower than 8462 or R7 lower than 6638 on i6.1/i7.1

• To enable, PCM(s)s are needed to bring the environment up to the minimum level for i6.1 conversion, and the i6.1 conversion tool must be run

– Workaround

• Install R9.1 on i6.1/i7.1 box

• Restore AMFLIB/AMTLIB from source env (r6/r7) to i6.1/i7.1 box

• Create empty AMALIB for source env (R6/R7) on i6.1/i7.1 box

• Restore AMZPMD *DTAARA from source env (R6/R7)to AMALIB

• Add MMLIST record for the environment

• Run data migration tool

Migration to XAR9.1 in detail

Page 44: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download

• A good migration is a prepared migration

Questions?

Migration to XAR9.1 in detail

Page 45: Tips and Tricks - mapics-support.commapics-support.com/Inforum2013/6_Tips and Tricks Migrating From An… · • ERP XA New Install (SH15631) –available on the Software Download