Before you use the Data Offline Migration service, you must perform the following operations:
Procedure
Log on to the RAM console by using your Alibaba Cloud account.
In the left-side navigation pane, choose Identities > Users and click Create User.
Set the required parameters under User Account Information.
In the Access Mode section, select Console Access and OpenAPI Access.
NoteTo use AccessKey IDs and AccessKey secrets, you must select OpenAPI Access.
Select Custom Logon Password under Console Password, enter a password, and then select Required at Next Logon under Password Reset.
Optional. Select Required to Enable MFA under Multi-factor Authentication.
Click OK and then save the generated account, password, AccessKey ID, and AccessKey secret.
NoteWe recommend that you immediately save the AccessKey pair and keep it strictly confidential. You cannot download the AccessKey pair of the RAM user in the future.
Find the user to be authorized and click Add Permissions. Attach the AliyunMGWFullAccess and AliyunOSSFullAccess policies to the RAM user. Then, click OK.
In the left-side navigation pane, click Overview to obtain the logon URL. On the RAM User Logon page, enter the username and password of the RAM user.
Test the reading speed of a migration directory
Before you start a migration job, you can use the speed test tool to obtain the speed of reading data from a migration directory.
Speed test on a Linux system
Run the
./speedTestTool/dir
command to test the reading speed of a migration directory. Replacedir
with an actual directory.NoteNote: The traffic overhead generated by this tool affects the reading speed for other migration jobs that access the same migration directory. We recommend that you stop all migration jobs for the migration directory before starting the test. This ensures the precision of the testing results.
Speed test on a Windows system
Run the
speedTestTool.exe/dir
command to test the reading speed of a migration directory. Replacedir
with an actual directory.NoteNote: The traffic overhead generated by this tool affects the reading speed for other migration jobs that access the same migration directory. We recommend that you stop all migration jobs for the migration directory before starting the test. This ensures the precision of the testing results.