User Interface Guide
- Making open source more inclusive
- 1. Introduction
- 2. User interface views
- 3. Installing the Migration Toolkit for Applications User Interface
- 4. Configuring the instance environment
- 5. Assessing and analyzing applications
- 6. Working with Applications
Making open source more inclusive
Red Hat is committed to replacing problematic language in our code, documentation, and web properties. We are beginning with these four terms: master, slave, blacklist, and whitelist. Because of the enormity of this endeavor, these changes will be implemented gradually over several upcoming releases. For more details, see our CTO Chris Wright’s message.
1. Introduction
1.1. About the User Interface Guide
This guide is for architects, engineers, consultants, and others who want to use the Migration Toolkit for Applications (MTA) User Interface to accelerate large-scale application modernization efforts across hybrid cloud environments on Red Hat OpenShift. This solution provides insight throughout the adoption process, at both the portfolio and application levels: inventory, assess, analyze, and manage applications for faster migration to OpenShift via the user interface.
Note
|
The migration solution that was provided in the Migration Toolkit for Applications 5.x releases (migration and modernization of Java applications) is now available with Migration Toolkit for Runtimes 1.0. |
1.2. About the Migration Toolkit for Applications
What is the Migration Toolkit for Applications?
Migration Toolkit for Applications (MTA) accelerates large-scale application modernization efforts across hybrid cloud environments on Red Hat OpenShift. This solution provides insight throughout the adoption process, at both the portfolio and application levels: inventory, assess, analyze, and manage applications for faster migration to OpenShift via the user interface.
MTA uses an extensive questionaire as the the basis for assessing your applications, enabling you to estimate the difficulty, time, and other resources needed to prepare an application for containerization. You can use the results of an assessment as the basis for discussions between stakeholders to determine which applications are good candidates for containerization, which require significant work first, and which are not suitable for containerization.
MTA analyzes applications by applying one or more rulesets to each application considered to determine which specific lines of that application must be modified before it can be modernized.
MTA examines application artifacts, including project source directories and application archives, and then produces an HTML report highlighting areas needing changes. MTA supports many migration paths including the following:
-
Upgrading to the latest release of Red Hat JBoss Enterprise Application Platform
-
Migrating from Oracle WebLogic or IBM WebSphere Application Server to Red Hat JBoss Enterprise Application Platform
-
Containerizing applications and making them cloud-ready
-
Migrating from Java Spring Boot to Quarkus
-
Upgrading from OpenJDK 8 to OpenJDK 11
-
Upgrading from OpenJDK 11 to OpenJDK 17
-
Migrating EAP Java applicatons to Azure App Service
-
Migrating Spring Boot Java applications to Azure App Service
For more information about use cases and migration paths, see the MTA for developers web page.
How does the Migration Toolkit for Applications simplify migration?
The Migration Toolkit for Applications looks for common resources and known trouble spots when migrating applications. It provides a high-level view of the technologies used by the application.
MTA generates a detailed report evaluating a migration or modernization path. This report can help you to estimate the effort required for large-scale projects and to reduce the work involved.
1.3. About the User Interface
The User Interface for the Migration Toolkit for Applications allows a team of users to assess and analayze applications for risks and suitability for migration to hybrid cloud environments on Red Hat OpenShift.
Use the User Interface to assess and analyze your applications to get insights about potential pitfalls in the adoption process, at both the portfolio and application levels as you inventory, assess, analyze, and manage applications for faster migration to OpenShift.
2. User interface views
The Migration Toolkit for Applications (MTA) User Interface has two views:
-
Administrator view
-
Developer view
In Administrator view, you configure the instance environment, working with credentials, repositories, and HTTP and HTTPS proxy definitions.
In Developer view, you perform application assessments and analyses, review reports, and add applications for assessment and analysis.
3. Installing the Migration Toolkit for Applications User Interface
You install the Migration Toolkit for Applications (MTA) User Interface as part of the process of installing the MTA Operator on the OpenShift Container Platform.
The MTA Operator is a structural layer that manages resources deployed on Kubernetes (database, front end, back end) to automatically create an MTA instance instead of you doing it manually.
3.1. Persistent volume requirements
The MTA Operator requires a total of 5 persistent volumes (PVs) used by different components to successfully deploy, 3 RWO volumes and 2 RWX volumes that are requested via PVCs. The 5 PVs are described in the table below:
Name | Default size | Access mode | Description |
---|---|---|---|
|
5 Gi |
RWO |
Hub database |
|
100 Gi |
RWX |
Hub file storage |
|
1 Gi |
RWO |
Keycloak back end database |
|
1 Gi |
RWO |
Pathfinder back end database |
|
100 Gi |
RWX |
Maven m2 repository |
3.2. Installing the Migration Toolkit for Applications Operator and the User Interface
You can install the Migration Toolkit for Applications (MTA) and the User Interface on OpenShift Container Platform versions 4.9-4.11 when you install the Migration Toolkit for Applications Operator.
-
4 vCPUs, 8 GB RAM, and 40 GB persistent storage.
-
OpenShift Container Platform 4.9-4.11 installed.
-
You must be logged in as a user with
cluster-admin
permissions.
-
In the OpenShift Container Platform web console, click Operators → OperatorHub.
-
Use the Filter by keyword field to search for MTA.
-
Click the Migration Toolkit for Applications Operator and then click Install.
-
On the Install Operator page, click Install.
-
Click Operators → Installed Operators to verify that the MTA Operator appears in the
openshift-mta
project with the statusSucceeded
. -
Click the MTA Operator.
-
Under Provided APIs, locate Tackle, and click Create Instance.
-
Review options - the default selections should be OK, but be sure to validate the system requirements for storage, memory, and cores - and then click Create.
-
In Administrator view, click Workloads → Pods to verify that the MTA pods are running.
-
Access the User Interface from your browser by using the route exposed by the
mta-web-console
application within OpenShift. -
Use the following credentials to log in:
-
User name: admin
-
Password: Passw0rd!
-
-
When prompted, create a new password.
4. Configuring the instance environment
You can configure the following in Administrator view:
-
Credentials
-
Repositories
-
HTTP and HTTPS proxy settings
4.1. Configuring credentials
You can configure the following types of credentials in Administrator view:
-
Source control
-
Maven
-
Proxy
4.1.1. Configuring source control credentials
You can configure source control credentials in the Credentials view of the Migration Toolkit for Applications (MTA) User Interface.
-
In Administrator view, click Credentials.
-
Click Create new.
-
Enter the following information:
-
Name
-
Description (Optional)
-
-
In the Type list, select Source Control.
-
In the User credentials list, select Credential Type and enter the requested information:
-
Username/Password
-
Username
-
Password (hidden)
-
-
SCM Private Key/Passphrase
-
SCM Private Key
-
Private Key Passphrase (hidden)
NoteType-specific credential information such as keys and passphrases is either hidden or shown as [Encrypted].
-
-
-
Click Create.
MTA validates the input and creates a new credential. SCM keys must be parsed and checked for validity. If the validation fails, the following error message is displayed:
“not a valid key/XML file”
.
4.1.2. Configuring Maven credentials
You can configure new Maven credentials in the Credentials view of the Migration Toolkit for Applications (MTA) User Interface.
-
In Administrator view, click Credentials.
-
Click Create new.
-
Enter the following information:
-
Name
-
Description (Optional)
-
-
In the Type list, select Maven Settings File.
-
Upload the settings file or paste its contents.
-
Click Create.
MTA validates the input and creates a new credential. The Maven
settings.xml
file must be parsed and checked for validity. If the validation fails, the following error message is displayed:“not a valid key/XML file”
.
4.1.3. Configuring proxy credentials
You can configure proxy credentials in the Credentials view of the Migration Toolkit for Applications (MTA) User Interface.
-
In Administrator view, click Credentials.
-
Click Create new.
-
Enter the following information:
-
Name
-
Description (Optional)
-
-
In the Type list, select Proxy.
-
Enter the following information.
-
Username
-
Password
NoteType-specific credential information such as keys and passphrases is either hidden or shown as [Encrypted].
-
-
Click Create.
MTA validates the input and creates a new credential.
4.2. Configuring repositories
You can configure the following types of repositories in Administrator view:
-
Git
-
Subversion
-
Maven
4.2.1. Configuring Git repositories
You can configure Git respositories in the Repositories view of the Migration Toolkit for Applications (MTA) User Interface.
-
In Administrator view, click Repositories and then click Git.
-
Toggle the Consume insecure Git repositories switch to the right.
4.2.2. Configuring subversion repositories
You can configure subversion respositories in the Repositories view of the Migration Toolkit for Applications (MTA) User Interface.
-
In Administrator view, click Repositories and then click Subversion.
-
Toggle the Consume insecure Subversion repositories switch to the right.
4.2.3. Configuring a Maven repository and reducing its size
You can use the MTA User Interface to both configure a Maven repository and to reduce its size.
Configuring a Maven repository
You can configure a Maven repository in the Repositories view of the Migration Toolkit for Applications (MTA) User Interface.
-
In Administrator view, click Repositories and then click Maven.
-
Toggle the Consume insecure artifact repositories switch to the right.
Reducing the size of a Maven repository
You can reduce the size of a Maven repository in the Repositories view of the Migration Toolkit for Applications (MTA) User Interface.
-
In Administrator view, click Repositories and then click Maven.
-
Click the Clear repository link.
NoteDepending on the size of the repository, the size change may not be evident despite the function working properly.
4.3. Configuring HTTP and HTTPS proxy settings
You can configure HTTP and HTTPS proxy settings with this management module.
-
In the Administrator view, click Proxy.
-
Toggle HTTP proxy or HTTPS proxy to enable the proxy connection.
-
Enter the following information:
-
Proxy host
-
Proxy port
-
-
Optional: Toggle HTTP proxy credentials or HTTPS proxy credentials to enable authentication.
-
Click Insert.
4.4. Seeding an instance
If you are a project architect, you can configure the instance’s key parameters in the Controls window, before migration. The parameters can be added and edited as needed. The following parameters define applications, individuals, teams, verticals or areas within an organization affected or participating in the migration:
-
Stakeholders
-
Stakeholder groups
-
Job functions
-
Business services
-
Tag types
-
Tags
You can create and configure an instance in any order. However, the suggested order below is the most efficient for creating stakeholders and tags.
Stakeholders:
-
Create stakeholder groups
-
Create job functions
-
Create stakeholders
Tags:
-
Create tag types
-
Create tags
Stakeholders and defined by:
-
Email
-
Name
-
Job function
-
Stakeholder groups
4.4.1. Creating a new stakeholder group
There are no default stakeholder groups defined. You can create a new stakeholder group by following the procedure below.
-
In Developer view, click Controls.
-
Click Stakeholder groups.
-
Click Create new.
-
Enter the following information:
-
Name
-
Description
-
Member(s)
-
-
Click Create.
4.4.2. Creating a new job function
Migration Toolkit for Applications (MTA) uses the job function attribute to classify stakeholders and provides a list of default values that can be expanded.
You can create a new job function, which is not in the default list, by following the procedure below.
-
In Developer view, click Controls.
-
Click Job functions.
-
Click Create new.
-
Enter a job function title in the Name text box.
-
Click Create.
4.4.3. Creating a new stakeholder
You can create a new migration project stakeholder by following the procedure below.
-
In Developer view, click Controls.
-
Click Stakeholders.
-
Click Create new.
-
Enter the following information:
-
Email
-
Name
-
Job function - custom functions can be created
-
Stakeholder group
-
-
Click Create.
4.4.4. Creating a new business service
Migration Toolkit for Applications (MTA) uses the business service attribute to specify the departments within the organization that use the application and that are affected by the migration.
You can create a new business service by following the procedure below.
-
In Developer view, click Controls.
-
Click Business services.
-
Click Create new.
-
Enter the following information:
-
Name
-
Description
-
Owner
-
-
Click Create.
4.4.5. Creating new tag types
Migration Toolkit for Applications (MTA) uses tags in multiple categories and provides a list of default values. You can create a new tag type by following the procedure below.
-
In Developer view, click Controls.
-
Click Tags.
-
Click Create tag type.
-
Enter the following information:
-
Name
-
Rank - the order in which the tags appear on the applications
-
Color
-
-
Click Create.
Creating new tags
You can create a new tag, which is not in the default list, by following the procedure below.
-
In Developer view, click Controls.
-
Click Tags.
-
Click Create tag.
-
Enter the following information:
-
Name
-
Tag type
-
-
Click Create.
5. Assessing and analyzing applications
You can use the Migration Toolkit for Applications (MTA) User Interface to both assess and to analyze applications.
Assessing applications refers to estimating the risks and costs involved in preparing applications for containerization, including time, personnel, and other factors. The results of an assessment can be used as the basis for discussions between stakeholders to determine which applications are good candidates for containerization, which require significant work, and which are not suitable for containerization.
Analyzing applications refers to using rules to determine which specific lines in an application must be modified before the application can be migrated or modernized.
5.1. Assessing applications
You can use the Migration Toolkit for Applications (MTA) User Interface to determine the risks involved in containerizing an application.
-
In Development view, click Application inventory.
-
Select the application you want to assess.
NoteOnly one application can be assessed at a time.
-
Click Assess.
-
Select Stakeholders and Stakeholder groups from the lists to track who contributed to the assessment for future reference.
NoteYou can add Stakeholder Groups or Stakeholders on the Controls screen of Developers view.
-
Click Next.
-
Answer each question and then click Next.
-
Click Save and Review to view the assessment.
5.2. Applying assessments to other applications
Many applications are similar enough to each other that you might want to apply a completed assessment of one application to another application. This can save time and provide consistent answers to assessment questions for similar applications.
-
In Development view, click Application inventory.
-
Select the application with the completed assessment to copy.
-
Click the Options menu
at the right of the selected application.
-
Select Copy assessment or Copy assessment and review.
-
Select the application(s) to which you want to apply the completed assessment.
-
Click Copy.
5.3. Configuring and running an application analysis
You can analyze more than one application at a time against more than one transformation target in the same analysis.
-
In Development view, click Application inventory.
-
Click the Analysis tab.
-
Select the applications you want to analyze.
-
Review the credentials assigned to the application.
-
Click Analyze.
-
Select the Analysis mode from the list. Valid options are:
-
Binary.
-
Source code.
-
Source code and dependencies.
-
Upload a local binary. This option only appears if you are analyzing a single application.
-
-
If you choose Upload a local binary, a window opens and you are prompted to Upload a local binary. Either drag and drop a file into the area provided or click Upload and then select the file to upload.
-
Click Next.
-
Select one or more target options for the analysis:
-
Application server migration to:
-
JBoss EAP 7
-
JBoss EAP 6
-
-
Containerization
-
Quarkus
-
OracleJDK to OpenJDK
-
OpenJDK - upgrades to one of the following JDK versions:
-
OpenJDK 11
-
OpenJDK 17
-
-
Linux - ensures there are no Microsoft Windows paths hard-coded into your applications
-
Jakarta EE 9 - for migrating from Java EE 8 to Jakarta EE 9
-
Spring Boot on Red Hat Runtimes
-
Open Liberty
-
Camel - for migrating from Apache Camel 2 to Apache Camel 3
-
Azure
-
Azure App Service
-
-
-
Click Next.
-
Select one of the following Scope options to better focus the analysis:
-
Application and internal dependencies only.
-
Application and all dependencies, including known Open Source libraries.
-
Select the list of packages to be analyzed manually. If you choose this option, type the file name and click Add.
-
Exclude packages. If you choose this option, type the name of the package name and click Add.
-
-
Click Next.
-
In Advanced, set Custom rules by typing a name or by searching and clicking Add Rules.
-
Set any of the following options, if needed:
-
Target
-
Source(s)
-
Excluded rules tags: Rules with these tags are not processed. Add or delete as needed.
-
Enable transaction report: Select the checkbox to generate a DIVA report that displays the call stack, which executes operations on relational database tables.
NoteThe Transactions report is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
NoteAnalysis engines use standard rules for a comprehensive set of migration targets, but if the target is not included or is a customized framework, custom rules can be added. Custom rules files are validated.
-
-
Click Next.
-
In Review, verify the analysis parameters.
-
Click Run.
Analysis status is
Scheduled
as MTA downloads the image for the container to execute. When the image is downloaded, the status changes toIn-progress.
NoteAnalysis takes minutes to hours to run depending on the size of the application and the capacity and resources of the cluster.
TipMTA relies on Kubernetes scheduling capabilities to determine how many analyzer instances are created based on cluster capacity. If several applications are selected for analysis, by default, only one analyzer can be provisioned at a time. With more cluster capacity, more analysis processes can be executed in parallel.
-
When analysis is complete, you can click the Report link to see the results of the analysis.
5.4. Reviewing an analysis report
An MTA analysis report contains a variety of sections, including a listing of the technologies used by the application, the dependencies of the application, and the lines of code that must be changed to successfully migrate or modernize the application.
For more information on the contents of an MTA analysis report, see the Reviewing the reports
-
In Development view, click Application inventory.
-
Expand the application with a completed analysis.
-
Click Report.
-
Click the dependencies or source links.
-
Click the tabs to review the report.
6. Working with Applications
You can use the Migration Toolkit for Applications (MTA) User Interface to do the following:
-
Add applications
-
Assign application credentials
-
Import a list of applications
-
Download a CSV template for importing application lists
6.1. Application attributes
You can add applications to the Migration Toolkit for Applications (MTA) User Interface manually or by importing a list of applications.
MTA User Interface applications have the following attributes:
-
Name (Free text)
-
Description (Optional; free text)
-
Business service (Optional; chosen from a list)
-
Tags (Optional; chosen from a list)
-
Source code (Path entered by user)
-
Binary (Path entered by user)
6.2. Adding applications
You can add an application to the Application Inventory for assessment and analysis.
Tip
|
Before creating an application, it is helpful to set up business services, check tags and tag types, and create additions as needed. |
-
In Developer view, click Application Inventory.
-
Click Create new.
-
Enter the following information or choose from a list:
-
Name
-
Description (optional)
-
Business service (optional)
-
Tags (optional; one or more)
-
Comments (optional)
-
-
Click the arrow to the left of Source Code.
-
Enter the following information or choose from a list:
-
Repository type
-
Source repository
-
Branch
-
Root path
-
-
Click the arrow to the left of Binary.
-
Enter the following information:
-
Group
-
Artifact
-
Version
-
Packaging
-
-
Click Create.
6.3. Assigning application credentials
You can assign credentials to one or more applications.
-
In Developer view, click Application inventory.
-
Click the Analysis tab.
-
Click the Options menu
to the right of Analyze and select Manage credentials.
-
Select one credential each from the Source credentials list and from the Maven settings list.
-
Click Save.
6.4. Importing a list of applications
You can import a .csv file containing a list of applications and their attributes to the Migration Toolkit for Applications (MTA) User Interface.
Note
|
Importing a list of applications only adds applications, it does not overwrite any existing ones. |
-
Review the import file to ensure it contains all the required information in the required format.
-
In Developer view, click Application Inventory.
-
Click the Options menu
to the right of Review.
-
Click Import.
-
Browse to the desired file and click Open.
-
Optional: Select Enable automatic creation of missing entities. By default, this option is selected.
-
Verify the import has completed and check the number of rows accepted or rejected.
-
Review the imported applications by clicking the arrow to the left of the checkbox.
ImportantRows accepted may not match the number of applications in the Application inventory list because some rows are dependencies. To verify, check the Record Type column of the CSV file for applications defined as
1
and dependencies as2
.
6.5. Downloading a CSV template for importing application lists
You can download a CSV template for importing application lists.
-
In Developer view, click Application inventory.
-
Click the Options menu
to the right of Review.
-
Click Manage imports to open the Application imports page.
-
Click the Options menu
to the right of Import and then click Download CSV template.
Revised on 2023-01-25 09:16:56 UTC