Migration Toolkit Debugging

download Migration Toolkit Debugging

of 20

Transcript of Migration Toolkit Debugging

  • 8/11/2019 Migration Toolkit Debugging

    1/20

  • 8/11/2019 Migration Toolkit Debugging

    2/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 2

    There are three main folders that contain

    the source code: 5.20, 6.1, common.

    Setup

  • 8/11/2019 Migration Toolkit Debugging

    3/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 3

    Download the required tools and copy to usmi_tool directory.

    Setup, contd

  • 8/11/2019 Migration Toolkit Debugging

    4/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 4

    Download and install Rational Application Developer

    Setup, contd

  • 8/11/2019 Migration Toolkit Debugging

    5/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 5

    Use the RAD/Eclipse wizard to

    create a new Java project.

    Setup, contd

  • 8/11/2019 Migration Toolkit Debugging

    6/20

  • 8/11/2019 Migration Toolkit Debugging

    7/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 7

    Right click on build.xml Debug as

    (3) ant build

    Setup, contd

  • 8/11/2019 Migration Toolkit Debugging

    8/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 8

    Optionally choose the order of operation (clean, build)

    Setup, contd

  • 8/11/2019 Migration Toolkit Debugging

    9/20

  • 8/11/2019 Migration Toolkit Debugging

    10/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 10

    To begin debugging 5.20, create a file called twgjava.propertieswith the

    contents above, and save the file in the directory /data

    Debugging 5.20

  • 8/11/2019 Migration Toolkit Debugging

    11/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 11

    Select the plugin of interest, and add a breakpoint at the desired location.

    Debugging 5.20, contd

  • 8/11/2019 Migration Toolkit Debugging

    12/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 12

    Start the export process by issuing smexport aNote: The executable is found in the directory \5.20\target\staging\bin

    Debugging 5.20, contd

  • 8/11/2019 Migration Toolkit Debugging

    13/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 13

    On RAD menu, choose Run Debugremote java application

    Debugging 5.20, contd

  • 8/11/2019 Migration Toolkit Debugging

    14/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 14

    Select the project to debug (5.20), update the Host (IP address of director server),and update the Port (same value as in

    twgjava.properties).Press Debug

    Debugging 5.20, contd

  • 8/11/2019 Migration Toolkit Debugging

    15/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 15

    Wait for the breakpoint to be hit, and then continue stepping through the code

    Debugging 5.20, contd

  • 8/11/2019 Migration Toolkit Debugging

    16/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 16

    Debugging 6.1

    To begin debugging 6.1, go to the directory \lwi\bin and edit the file launchlwi.batFind the line highlighted above, and uncomment the line (i.e. delete rem).

  • 8/11/2019 Migration Toolkit Debugging

    17/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 17

    Select the plugin of interest, and add a breakpoint at the desired location.

    Debugging 6.1, contd

  • 8/11/2019 Migration Toolkit Debugging

    18/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 18

    Start the import process by issuing smimport aNote: The executable is found in the directory \6.1\target\staging\bin

    Debugging 6.1, contd

  • 8/11/2019 Migration Toolkit Debugging

    19/20

    IBM STG Lab Services - IBM Systems Director Migration Toolkit

    Debugging

    2009 IBM Corporation 19

    Select the project to debug (6.1), update the Host (IP address of director server),and update the Port (same value as in

    launchlwi.bat).Press Debug

    Debugging 6.1, contd

  • 8/11/2019 Migration Toolkit Debugging

    20/20