Migration command group for the AdminTask object
The wsadmin commands in the migration command group use the Migration Toolkit for Application Binaries to either generate a Liberty migration report for a single application or create a Transformation Advisor data collection. These resources help you migrate and modernize your applications.
- Transformation Advisor data collection commands
- You can upload the Transformation Advisor data collection into Transformation Advisor to get a comprehensive view of your application estate for application modernization and to generate more migration artifacts.
- Migration report commands
- The single application migration report details the steps that are needed to migrate the application to Liberty and provides a starter configuration for use in Liberty.
Transformation Advisor data collection commands
AdminTask
object includes the following commands
for generating a Transformation Advisor data collection:
- createTADataCollection
-
Use the createTADataCollection command to scan the current profile and generate a Transformation Advisor data collection. If the command is run from a federated node, the deployment manager is scanned.
The report is run asynchronously. The call itself does not return anything, but a Transformation Advisor data collection is generated in the WAS_HOME/profiles/<profile_name>/libertyAdvisor/ location when the scan is complete.
If the command was run from a federated node, then the Transformation Advisor data collection is saved to the deployment manager profile.
- deleteTADataCollection
-
Use the deleteMigrationReport command to delete the previously generated Transformation Advisor. This command does not take any parameters and has no return values.
- getTADataCollectionSummary
-
Use the getTADataCollectionSummary command to get a summary of the ongoing or completed Transformation Advisor data collection. This command does not take any parameters.
Migration report commands
AdminTask
object includes the following
commands:
- createMigrationReport
-
Use the createMigrationReport command to scan an application and generate a migration report. The report is run asynchronously. The call itself does not return anything, but a report is generated in the WAS_HOME/profiles/<profile_name>/libertyAdvisor/ location when the scan is complete.
- deleteMigrationReport
-
Use the deleteMigrationReport command to delete the migration report for an application. This command has no return values.
- getMigrationReport
-
Use the getMigrationReport command to get the absolute path of an application migration report. The command returns an empty string if the report does not exist or the scan is not yet completed.
- getMigrationSummary
-
Use the getMigrationSummary command to get a summary of an existing migration report. The summary includes the number of informational, warning, and severe issues found in the report.
- getMigrationOptions
-
Use the getMigrationOptions command to get the default options used for the binary scanner. The command returns a JSON object that contains the default options for generating a report. This command does not take any parameters.