Migration Results
You can view a migration report and perform necessary operations as instructed to verify or complete the migration.
Prerequisites
- You have logged in to the Kunpeng DevKit.
- You have created a system migration project and completed the migration.
Migration Report
- Go to the Migration Result page and view the migration report. If SQL statements exist, the Download Non-Source-Code SQL Report button is displayed. You can click this button to download the report.Figure 1 Migration Report
Table 1 Parameters in the migration report Parameter
Description
Component Name
Name of the migrated component.
Owning Node
Node to which a component belongs. Filtering is supported.
Component Belonging
Ownership of a component. Filtering is supported.
Source Path
Source path of the component.
Status
Migration status of the component, which is Migrated, To be migrated, or Masked.
Guidance
Click View Details to view the guidance details.
Status Source
Source of the component, which defaults to a migration by the tool. If you want to modify the component status, the status source will change to Customized.
Remarks
Supplementary information.
Updated
Time when the migration status is updated.
Operation
You can modify the migration status and add remarks.
- Click View Details in the Guidance column, and you will see the guidance details on the right.
- If the migration is successful, verify system functions based on the verification method provided in Guidance Suggestion. The following uses a migration from Tomcat to TongWeb as an example.
Figure 2 Guidance Suggestion
- If the migration fails, perform a manual migration and verify system functions based on Guidance Suggestion. The following uses a Nginx migration as an example.
Figure 3 Guidance Suggestion
- If the migration is successful, verify system functions based on the verification method provided in Guidance Suggestion. The following uses a migration from Tomcat to TongWeb as an example.
- After the migration is complete, you can close the right sliding frame. Click Edit in the Operation column, select a state from the drop-down list, and click Save.
You can select multiple components and click Batch Edit to edit the selected components at the same time. Click OK to save the modification.
Source Code Migration Guidance
If you upload the source package when creating a project, source code migration guidance is generated. You can also click Upload Source Package in the upper part of the page to upload and analyze the source package.
If no database is selected in the migration content, SQL statements in the source file will not be parsed.
|
Parameter |
Description |
|---|---|
|
File Name |
Name of the file to which the source code SQL statements belong. |
|
Source Path |
Source path of the file. |
|
Source Package Name |
Name of the source package. |
|
SQL Count |
Total number of SQL statements in the file. |
|
Non-SM Algorithms |
Total number of non-SM algorithms in the file. |
|
Suggestions |
Total number of suggestions in the file. |
|
Guidance |
Click View Details to view the guidance details. |
|
Status |
Migration status of the file, which is Migrated, To be migrated, or Masked. |
|
Status Source |
Source of the component, which defaults to a migration by the tool. If you want to modify the component status, the status source will change to Customized. |
|
Remarks |
Supplementary information. |
|
Updated |
Time when the migration status is updated. |
|
Operation |
You can modify the migration status and add remarks. |
- Source Code SQL
Figure 4 Source Code SQL
- Click View Details in the Guidance column. The source code SQL migration guidance is displayed on the right. You can download the SQL summary report.
- You can move the cursor to the code with a wavy line, and then start a transaction in the target database and execute the SQL statement as prompted. After the execution is complete, perform a rollback.
- After the migration is complete, you can close the sliding frame. Click Edit in the Operation column, select a state from the drop-down list, and click Save.
You can select multiple files and click Batch Edit in the left upper corner to edit the source files at the same time. Click OK to save the modification.
- Non-SM Algorithms
Figure 5 Non-SM Algorithms
- Click Non-SM Algorithms to switch to the Non-SM Algorithms tab page. Download the summary report of non-SM algorithms.
- Click View Details in the Guidance column. The guidance for non-SM algorithms is displayed on the right.
- You can move the cursor over to the code with wavy lines. If the code does not comply with the SM algorithms, modify it based on Non-SM Algorithm Migration Guide.
- After the modification is complete, you can close the sliding frame. Click Edit in the Operation column, select a state from the drop-down list, and click Save.
You can select multiple files and click Batch Edit in the left upper corner to edit the source files at the same time. Click OK to save the modification.
- Other
Figure 6 Other
- Click the Other tab and you can download the modification suggestion file on this tab page.
- Click View Details in the Guidance column. The guidance for other types of source code is displayed on the right.
- You can move the cursor to the code with a wavy line to check whether the specified configuration items are the same on the source and target servers. If they are different, you may need to modify the configuration items, such as the IP address and port.
- After the modification is complete, you can close the sliding frame. Click Edit in the Operation column, select a state from the drop-down list, and click Save.
You can select multiple files and click Batch Edit in the left upper corner to edit the source files at the same time. Click OK to save the modification.