Running Transformation Advisor Discovery tool from a copy of WebSphere config

In order to run the Transformation Advisor Discovery tool against a backup copy of the configuration, you need the specific profile folder as well as the properties folder.

To view the profile location path, view the contents of the following file:

<WAS_HOME>/properties/profileRegistry.xml

In this example, the copy is in the BACKUPWAS folder.

./BACKUPWAS/
 ├── profiles
 └── properties

Zip the profiles/Dmgr01 folder and copy that to BACKUPWAS/profiles/Dmgr01.

Zip the properties folder and copy that to BACKUPWAS/properties.

For each profile used in the backup, update the location of the profile in the file:

BACKUPWAS/properties/profileRegistry.xml

Run the discovery tool with the following command:

./bin/transformationadvisor -w /opt/IBM/BACKUPWAS/ -p Dmgr01

Shared Libraries

If the profile uses Shared Libraries that cannot be accessed from where you are running the scan on the configuration BACKUP, you will need to copy the shared libraries to the backup folder and update the location of each shared library in the BACKUPWAS folder's config.

To view the shared library location paths:

  • Login to the WebSphere Admin console.

  • Expand Environment.

  • Click the Shared libraries link to see the location.

    Note: If the Classpath is defined as a value you can get the location by clicking the WebSphere variables link and searching for the name of the classpath.
  • For each shared library used, update the location of the shared library by either:

    updating BACKUPWAS/profile/<profile_name>/config/cells/<cell_name>/libraries.xml when the library location is hard coded.
    
    OR
    
    BACKUPWAS/profile/<profile_name>/config/cells/<cell_name>/variables.xml when the library location uses a variable.
  • Run the Discovery tool with the following command:

./bin/transformationadvisor -w /opt/IBM/BACKUPWAS/ -p Dmgr01