View
7
Download
0
Category
Preview:
Citation preview
Resource Discovery Assessment
User Guide
Issue 05
Date 2021-07-28
HUAWEI TECHNOLOGIES CO., LTD.
Copyright © Huawei Technologies Co., Ltd. 2021. All rights reserved.
No part of this document may be reproduced or transmitted in any form or by any means without priorwritten consent of Huawei Technologies Co., Ltd. Trademarks and Permissions
and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd.All other trademarks and trade names mentioned in this document are the property of their respectiveholders. NoticeThe purchased products, services and features are stipulated by the contract made between Huawei andthe customer. All or part of the products, services and features described in this document may not bewithin the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements,information, and recommendations in this document are provided "AS IS" without warranties, guaranteesor representations of any kind, either express or implied.
The information in this document is subject to change without notice. Every effort has been made in thepreparation of this document to ensure accuracy of the contents, but all statements, information, andrecommendations in this document do not constitute a warranty of any kind, express or implied.
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. i
Contents
1 Service Overview..................................................................................................................... 11.1 What Is RDA?............................................................................................................................................................................ 11.2 Basic Concepts.......................................................................................................................................................................... 11.3 Privacy Statement................................................................................................................................................................... 21.4 Permission Description.......................................................................................................................................................... 31.4.1 Minimum Permissions Required by Server Discovery............................................................................................. 41.4.2 Minimum Permissions Required by Platform Discovery.........................................................................................4
2 Getting Started...................................................................................................................... 122.1 Installing RDA........................................................................................................................................................................ 122.2 Using RDA............................................................................................................................................................................... 162.3 One-Stop Server Migration............................................................................................................................................... 212.4 Object Storage Migration...................................................................................................................................................25
3 User Guide...............................................................................................................................263.1 Get Started.............................................................................................................................................................................. 263.2 Assessment.............................................................................................................................................................................. 273.2.1 Motivations Assessment..................................................................................................................................................273.2.2 Readiness Assessment......................................................................................................................................................283.3 Discovery.................................................................................................................................................................................. 303.3.1 Resource Overview............................................................................................................................................................303.3.2 Quick Add.............................................................................................................................................................................303.3.3 Import.................................................................................................................................................................................... 333.3.4 Performance Collection................................................................................................................................................... 343.3.5 Export.................................................................................................................................................................................... 353.3.6 View Topo.............................................................................................................................................................................363.4 Recommendation.................................................................................................................................................................. 373.4.1 Plan Recommendation.................................................................................................................................................... 373.4.2 Create Recommendation................................................................................................................................................ 383.5 Design....................................................................................................................................................................................... 423.6 Configuration......................................................................................................................................................................... 443.6.1 Project Management........................................................................................................................................................ 443.6.2 Tag Management.............................................................................................................................................................. 453.6.3 Credential Management................................................................................................................................................. 46
Resource Discovery AssessmentUser Guide Contents
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. ii
3.6.4 License Configuration...................................................................................................................................................... 483.6.5 Network Configuration....................................................................................................................................................503.6.6 Account Configuration..................................................................................................................................................... 543.6.7 OMS Configuration........................................................................................................................................................... 553.7 Server Migration....................................................................................................................................................................553.7.1 Migration with Destination Server Not Yet Created..............................................................................................553.7.2 Migration with Destination Server Created..............................................................................................................553.8 Object Storage Migration...................................................................................................................................................603.8.1 Managing the OMS Agent............................................................................................................................................. 613.8.2 Managing OMS Cluster................................................................................................................................................... 643.8.3 Creating a Migration Task.............................................................................................................................................. 663.8.4 Creating a Migration Task Group.................................................................................................................................75
4 FAQ........................................................................................................................................... 774.1 What Can I Do If the OMS Agent Is Abnormal?........................................................................................................ 774.2 What Can I Do If Not All the Objects Specified in the Object List Are Migrated?.........................................78
Resource Discovery AssessmentUser Guide Contents
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. iii
1 Service Overview
1.1 What Is RDA?Resource Discovery and Assessment (RDA) is a tool that needs to be deployed onWindows servers. You can use it to evaluate your motivations and readiness forcloud migration. It helps you discover application infrastructure, recommendsconfigurations for migrating applications to HUAWEI CLOUD, and provides one-stop server migration capabilities.
Functions
RDA has the following functions:
● Information collection: After you fill in the credential, RDA collectsinformation about the platform, server, database, Redis, object storage,container, HDFS, HBase, and Elasticsearch with one click.
● Configuration recommendation: RDA recommends suitable services onHUAWEI CLOUD based on the discovered resource information.
NO TE
To ensure the security of your data, credentials required for information collection,collected information about server specifications and performance data, andevaluation results are saved locally. You can export the collected information whichdoes not include your credentials.
1.2 Basic ConceptsBefore using RDA, you need to understand some basic concepts.
Table 1-1 RDA basic concepts
Concept Description
RDA Resource Discovery and Assessment
Resource Discovery AssessmentUser Guide 1 Service Overview
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 1
Concept Description
Assessment By fully understanding your cloud migration motivations,expectations, and readiness, RDA plans a proper migration pathto achieve your service objectives.
Discovery RDA quickly sorts out your application architecture byautomatically discovering resource configurations, performancedata, and network dependencies on platforms such as IDC,VMware, Hyper-V, HUAWEI CLOUD, Amazon Web Service (AWS),Microsoft Azure, Alibaba Cloud, and Google Cloud.
Recommendation
The automatic recommendation of server configuration,destination server configuration, and solution reference help youdesign the optimal cloud migration plan.
Credential Resource authentication mode, such as AK/SK or username/password
Project Manages resources involved in a project
1.3 Privacy StatementRDA collects information about your data center resources based on theinformation you provide. All the data, including input information, collectedresource information, and analysis results, is stored in your local disks anddatabases. You can export collection logs packed in a ZIP file, and collected data inan Excel or CSV file to your local computer, and edit and sort the data. Thefollowing lists the input required by RDA for collection and the data that will becollected by RDA:
VMware
Input required by RDA: vCenter IP address, username, and password
Data collected by RDA: names, private IP addresses, OS types, number of CPUcores, memory size, number of NICs, NIC IP addresses and MAC addresses, disknames, and disk sizes of all host and guest servers on the VMware platform
Public cloud
RDA enables you to easily collect information about your cloud environment, suchas Amazon Web Services (AWS), Microsoft Azure, Alibaba Cloud, Google Cloud,HUAWEI CLOUD, or Tencent Cloud.
Input required by RDA: public cloud access point and your account AK and SK
Data collected by RDA:
● Names, public IP addresses, private IP addresses, OS types, number of CPUcores, memory sizes, number of NICs, NIC IP addresses and MAC addresses,disk names, and disk sizes of cloud servers on the source public cloud
Resource Discovery AssessmentUser Guide 1 Service Overview
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 2
● Number, performance, storage, database engine, and deployment mode ofdatabase instances on the source public cloud
● Names, platform, storage classes, regions, and used space of object storagebuckets on the source public cloud
Server● Input required by RDA: server IP addresses, usernames, and passwords● Data collected by RDA: cloud server names, private IP addresses, OS types and
versions, number of CPU cores, memory sizes, virtualization types, rawdevices, file systems, disk partition formats, driver files, system services,processes, and number of NICs, NIC IP addresses and MAC addresses, numberof disks, disk names, disk sizes, disk types, disk partition types, file systemtypes, VirtIO drivers, firmware types, CPU types, CPU dominant frequency,CPU overfrequency, CPU usage, memory usage, network adapter bandwidth,network traffic, number of TCP connections, network adapter PPS, packet lossrate, and disk IOPS and throughputTo collect Windows server information, RDA modifies WinRM encryptionconfiguration, and after the collection, restores the configuration. To collectLinux server information, RDA pushes to and executes scripts on the server.After the execution, the scripts are automatically deleted and the environmentwill be restored. The server is not affected.
Database● Input required by RDA: IP addresses, port numbers, usernames, and passwords
of the databases● Data collected by RDA: database version, table information, database where
the table resides, deployment mode (stand-alone, active/standby, or cluster),DB engine, and data capacity
RDA connects to the Internet and consumes traffic when performing the followingoperations:
● Collecting public cloud platform information● Synchronizing information about products on HUAWEI CLOUD● Obtaining the prices of recommended products after the assessment
CA UTION
All the preceding information is stored on your local disk and database and notsent to HUAWEI CLOUD. The input you provided is encrypted and stored. Keepyour passwords safe. RDA takes no responsibility for any loss or disclosure of theinformation.
1.4 Permission DescriptionThis section describes the minimum permissions you must have to discover serversand platforms using RDA.
Resource Discovery AssessmentUser Guide 1 Service Overview
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 3
1.4.1 Minimum Permissions Required by Server DiscoveryOperating System Method
Windows ● Method 1Create a user and add it to the Administrators group.
● Method 21. Create a user and add it to the following groups:
the Network Configuration Operators,Performance Monitor Users, and RemoteManagement Users.
2. Enable remote WMI access.
Linux Create a user.If the user does not have required permissions, log in tothe server as root and perform the followingoperations:1. Run the following command:
vi /etc/sudoersorvi /etc/visudo
2. Add the following information to the file:Cmnd_Alias RDACMD=/sbin/parted,/sbin/fdisk,/bin/netstat,/sbin/tune2fs,/bin/lsinitrd<UserName> ALL=(ALL) NOPASSWD:RDACMD
NOTEReplace UserName with the name of the user you created.
1.4.2 Minimum Permissions Required by Platform DiscoverySupported public clouds:
● AWS● HUAWEI CLOUD● Tencent Cloud● Google Cloud● Alibaba Cloud● Azure
Supported private clouds:
● VMware● Hyper-V
Resource Discovery AssessmentUser Guide 1 Service Overview
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 4
Table 1-2 AWS minimum permission policy
Action Description JSON policy (recommended)
ec2:DescribeInstances Obtainsinformation aboutan EC2 instance.
{ "Version": "2012-10-17", "Statement": [{ "Sid": "VisualEditor0", "Effect": "Allow", "Action": [ "ec2:DescribeImages", "ec2:DescribeAddresses", "ec2:DescribeInstances", "s3:ListAllMyBuckets", "ec2:DescribeNetworkInterfaces", "config:DescribeConfigurationRe-corders", "ec2:DescribeVolumes", "rds:DescribeDBInstances", "s3:ListBucket", "config:GetDiscoveredResource-Counts",
"s3:GetBucketLocation"
], "Resource": "*" }]}
ec2:DescribeAddresses Obtains thespecified Elastic IPaddresses or all ofyour Elastic IPaddresses.
ec2:DescribeImages Obtainsinformation aboutthe specifiedimages available toyou or all of theimages available toyou.
ec2:DescribeNetworkInterfaces
Obtainsinformation aboutone or more ofyour networkinterfaces.
ec2:DescribeVolumes Obtainsinformation aboutthe specified EBSvolumes or all ofyour EBS volumes.
rds:DescribeDBInstan-ces
Obtainsinformation aboutprovisioned RDSinstances.
config:DescribeConfigurationRecorders
Obtains details forthe specifiedconfigurationrecorders.
config:GetDiscoveredResourceCounts
Obtains theresource types, thenumber of eachresource type, andthe total numberof resources thatAWS Config isrecording in thisregion for yourAWS account.
Resource Discovery AssessmentUser Guide 1 Service Overview
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 5
Action Description JSON policy (recommended)
s3:ListAllMyBuckets List all bucketsunder youraccount.
s3:GetBucketLocation Obtainsinformation aboutthe region that anAmazon S3 bucketresides in.
s3:ListBucket Lists some or all ofthe objects in anAmazon S3 bucket.
Table 1-3 HUAWEI CLOUD minimum permission policy
Action Description JSON policy (recommended)
iam:projects:listProjectsForUser
Lists projectsaccessible to anIAM user.
● Global service policy{ "Version":"1.1", "Statement":[ { "Effect":"Allow", "Action":[ "iam:users:listUsers", "iam:projects:listProjectsForUser" ] }, { "Effect":"Allow", "Action":[ "rms:resources:list" ] }, { "Effect":"Allow", "Action":[ "obs:bucket:GetBucketStoragePoli-cy", "obs:bucket:ListAllMyBuckets", "obs:bucket:GetBucketStorage" ] } ]}
● Project-level service policy{ "Version":"1.1", "Statement":[ { "Effect":"Allow", "Action":[ "ecs:cloudServers:get", "ecs:serverInterfaces:get", "ecs:cloudServers:list" ] },
iam:users:listUsers Obtains accountinformationaccessible to anIAM user.
ecs:cloudServers:list
Obtains detailsabout ECSs.
ecs:serverInterfaces:get
Queries NICs ofan ECS.
ecs:cloudServers:get
Obtainsinformation aboutthe disks attachedto an ECS.
ces:metricData:list Queriesmonitoring data.
rds:instance:list Obtainsinformation aboutall DB instances.
rds:database:list Queries databasespecifications.
rms:resources:list Queries allresources underyour account.
Resource Discovery AssessmentUser Guide 1 Service Overview
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 6
Action Description JSON policy (recommended)
obs:bucket:ListAllMyBuckets
{ "Effect":"Allow", "Action":[ "ces:metricData:list" ] }, { "Effect":"Allow", "Action":[ "rds:instance:list", "rds:database:list" ] }, { "Effect":"Allow", "Action":[ "vpc:ports:get" ] } ]}
Lists all bucketsunder youraccount.
obs:bucket:GetBucketStorage
Queriesinformation aboutused space in abucket.
obs:bucket:GetBucketStoragePolicy
Obtains thestorage class of abucket.
Table 1-4 Tencent Cloud minimum permission policy
Action Description JSON policy (recommended)
cvm:DescribeInstances
Queries thedetails ofinstances.
{ "version": "2.0", "statement": [{ "effect": "allow", "action": [ "cvm:DescribeInstances",
"cvm:DescribeDisks"
], "resource": [ "*" ] }, { "effect": "allow", "action": [ "monitor:GetMonitorData" ], "resource": [ "*" ] }, { "effect": "allow", "action": [ "cos:GetService", "cos:GetBucket" ], "resource": [ "*" ] }, { "effect": "allow", "action": [ "vpc:DescribeNetworkInterfaces"
monitor:GetMonitorData
Obtainsmonitoring data.
cos:GetService Obtains the list ofall bucket underan account.
cos:GetBucket Lists some or allobjects in abucket.
cvm:DescribeDisks Lists all disksunder anaccount.
vpc:DescribeNetworkInterfaces
Lists all NICs.
Resource Discovery AssessmentUser Guide 1 Service Overview
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 7
Action Description JSON policy (recommended)
cdb:DescribeDBInstances\mongodb:DescribeDBInstances\mariadb:DescribeDBInstances\sqlserver:DescribeDBInstances\postgres:DescribeDBInstances
], "resource": [ "*" ] }, { "effect": "allow", "action": [ "cdb:DescribeDBInstances" ], "resource": [ "*" ] }, { "effect": "allow", "action": [ "mongodb:DescribeDBInstances" ], "resource": [ "*" ] }, { "effect": "allow", "action": [ "mariadb:DescribeDBInstances" ], "resource": [ "*" ] }, { "effect": "allow", "action": [ "sqlserver:DescribeDBInstances" ], "resource": [ "*" ] }, { "effect": "allow", "action": [ "postgres:DescribeDBInstances" ], "resource": [ "*" ] }, { "effect": "allow", "action": [ "redis:DescribeInstances" ], "resource": [ "*" ] }, { "effect": "allow", "action": [ "dcdb:DescribeDCDBInstances" ], "resource": [ "*"
Lists all instancesunder anaccount.
redis:DescribeInstances
Obtainsinformationabout provisionedRedis instances.
Resource Discovery AssessmentUser Guide 1 Service Overview
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 8
Action Description JSON policy (recommended)
dcdb:DescribeDCDBInstances
Obtainsinformationabout all DCDBinstances.
] } ]}
Table 1-5 Google Cloud minimum permission policy
Action Description JSON policy(recommended)
compute.instances.get Obtains informationabout deployedinstances.
N/A
compute.disks.get Obtains informationabout disks attached toinstances.
compute.machineTypes.get Obtains instance typeinformation.
compute.regions.get Obtains informationabout the region wherean instance is located.
monitoring.timeSeries.list Obtains performancedata.
cloudsql.instances.get Retrieves resources thatcontain informationabout cloud SQLinstances.
Table 1-6 Alibaba Cloud minimum permission policy
Action Description JSON policy (recommended)
config:GetDiscoveredResourceCounts
Queries thenumber ofresources.
{ "Version": "1", "Statement": [{ "Effect": "Allow", "Action": [ "ecs:DescribeInstances", "ecs:DescribeDisks" ], "Resource": [ "*" ], "Condition": {} }, { "Effect": "Allow", "Action": [
config:ListDiscoveredResources
Queries theresource list.
rds:DescribeDBInstances
Obtainsinformationabout all DBinstances.
Resource Discovery AssessmentUser Guide 1 Service Overview
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 9
Action Description JSON policy (recommended)
rds:DescribeDBInstanceAttribute
"rds:DescribeDBInstances", "rds:DescribeDBInstanceAttribute", "rds:DescribeDatabases", "rds:DescribeDBInstanceNetInfo" ], "Resource": [ "*" ], "Condition": {} }, { "Effect": "Allow", "Action": [ "cms:DescribeMetricList" ], "Resource": [ "*" ], "Condition": {} }, { "Effect": "Allow", "Action": [ "oss:ListBuckets", "oss:GetBucketStat" ], "Resource": [ "*" ], "Condition": {} }, { "Effect": "Allow", "Action": [ "config:GetDiscoveredResourceCounts", "config:ListDiscoveredResources" ], "Resource": [ "*" ], "Condition": {} }
]}
Obtains detailsof an DBinstance.
rds:DescribeDatabases
Obtainsinformationaboutdatabases onan instance.
rds:DescribeDBInstanceNetInfo
Obtains theconnectioninformationabout aninstance.
ecs:DescribeInstances
Obtains detailsabout one ormore ECSinstances.
ecs:DescribeDisks Obtainsinformationabout one ormore clouddisks or localdisks.
cms:DescribeMetricList
Queries themonitoringdata of aspecifiedmetric of aspecified cloudservice.
oss:ListBuckets Returns allbuckets ownedby therequester.
oss:GetBucketStat Obtains bucketstatistics.
Table 1-7 Azure minimum permission policy
Action Description JSON policy (recommended)
Microsoft.ClassicCompute/virtualMachines/read
Managesinformationabout VMs.
{ "properties": { "roleName": "UserName", "description": "",
Resource Discovery AssessmentUser Guide 1 Service Overview
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 10
Action Description JSON policy (recommended)
Microsoft.Resources/resources/read
"assignableScopes": ["/subscriptions/3113bd4c-8616-41cc-b138-22da7e298bcd"], "permissions": [{ "actions": ["Microsoft.ClassicCompute/virtualMachines/read", "Microsoft.AzureArcData/sqlServerInstan-ces/read", "Microsoft.Insights/MetricDefinitions/Read", "Microsoft.Management/getEntities/action", "Microsoft.Resources/subscriptions/resourceGroups/read", "Microsoft.ClassicStorage/storageAccounts/read", "Microsoft.Resources/resources/read", "Microsoft.Network/networkInterfaces/read" ], "notActions": [], "dataActions": [], "notDataActions": [] } ] }}
CAUTIONReplace UserName with the your user name.
Managesgeneralresourcesmanagement.
Microsoft.ClassicStorage/storageAccounts/read
Managesstorageaccounts.
Microsoft.Resources/subscriptions/resourceGroups/read
Managesresourcegroups.
Microsoft.Management/getEntities/action
Providesidentityauthentication.
Microsoft.Insights/MetricDefinitions/Read
Managesmonitoringmetrics.
Microsoft.AzureArcData/sqlServerInstances/read
ManagesSQL servers.
Microsoft.Network/networkInterfaces/read
Managesnetworkinterfaces.
Table 1-8 Minimum permissions required by private cloud discovery
Platform Method
VMware Create a general user and assign it aread-only role.
Hyper-V Creating a user and add it to theHyper-V Administrators group.
Resource Discovery AssessmentUser Guide 1 Service Overview
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 11
2 Getting Started
2.1 Installing RDAThis section describes how to install RDA.
Prerequisites● You have obtained the RDA installation package.● You have prepared a server that meeting the requirements listed in Table 2-1.
Table 2-1 Server specifications requirements
Software/Hardware
Recommended Configuration
CPU ≥ 1.8 GHz
Memory ≥ 4 GB
Hard Disk The server partition where RDA is to be installed must haveat least 3 GB available space.During the running of RDA, at least 100 MB available spacemust be reserved in the partition where RDA is installed.
OS ● Windows 7● Windows 8● Windows 10● Windows Server 2008● Windows Server 2008 R2● Windows Server 2019 Datacenter
Browser ● Google Chrome 31 or later● Mozilla Firefox 27 or later● Internet Explorer 10 or 11
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 12
Network Requirements
Table 2-2 Network requirements
Scenario
SourceDevice
Source IPAddress
Source Port
DestinationDevice
DestinationIPAddress
DestinationPort(Listening)
Protocol
Description
CollectinginformationaboutAWS,MicrosoftAzure,AlibabaCloud,GoogleCloud,HUAWEICLOUD, orTencentCloud
ServerwithRDA
IPaddress oftheserverwithRDA
Random
APIgateway onAWS,MicrosoftAzure,AlibabaCloud,GoogleCloud,HUAWEICLOUD, orTencentCloud
IPaddress oftheAPIgateway onAWS,MicrosoftAzure,AlibabaCloud,GoogleCloud,HUAWEICLOUD, orTencentCloud
443 HTTPS
RDAcalls thecloudplatformAPIs tocollectinformationthroughport 443.
CollectinginformationaboutVMwareservers
ServerwithRDA
IPaddress oftheserverwithRDA
Random
vCenterServernode
vCenterServerIPaddress
443 HTTPS
RDAcallsvCenterServerAPIs tocollectinformationthroughport 443.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 13
Scenario
SourceDevice
Source IPAddress
Source Port
DestinationDevice
DestinationIPAddress
DestinationPort(Listening)
Protocol
Description
CollectinginformationaboutHyper-V orWindowsservers
ServerwithRDA
IPaddress oftheserverwithRDA
WindowsServer
IPaddresses ofWindowsservers
5985,5986
HTTP(5985),HTTPS(5986)
RDAcollectsinformationthroughWinRMport5985 or5986.
CollectinginformationaboutLinuxservers
ServerwithRDA
IPaddress oftheserverwithRDA
LinuxServer
IPaddresses ofLinuxservers
22 SSH RDAcollectsinformationthroughSSH port22.
One-stopservermigration
Sourceserver
IPaddress ofthesourceserver
ServerwithRDA
IPaddress oftheserverwithRDA
5678 TCP SMS-Agentobtainsthedestination AKand SKfromRDAthroughport5678.
Installation Procedure
Step 1 Download the RDA installation package to the Windows server you prepared,double-click the RDA installation package, and click Next.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 14
Figure 2-1 Installing RDA
Step 2 On the License Agreement page, read the license agreement carefully, select Iaccept the terms of the License Agreement, and click Next.
Figure 2-2 License Agreement
Step 3 Select an installation directory into which you want to install RDA and click Next.
Step 4 Wait for the installation to complete and click Finish. The RDA console login pagewill be displayed.
If the login page does not automatically open, enter https://127.0.0.1:7099/ inthe browser address bar.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 15
Figure 2-3 Installation completed
CA UTION
You need to set the username and password upon the first login. Keep theusername and password secure.
Google Chrome is recommended.
----End
2.2 Using RDA
Scenarios
RDA can help you sort out source resources and design solutions on the cloud,enabling you to quickly migrate systems or applications to HUAWEI CLOUD.
NO TE
The collected server specifications, performance data, and evaluation results are stored inyour local disks or databases.
Prerequisites
You have installed RDA. For details, see Installing RDA.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 16
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole. Read the information security and privacy statement carefully, select Iunderstand the disclaimer and assume all responsibilities in terms ofinformation security and privacy protection, and click OK.
NO TE
Google Chrome is recommended.
Step 2 You need to configure the license upon the first login.
1. After obtaining the ESN, send required information to migration-support@huawei.com for manual approval. After the application is approved,the license file will be sent to the corresponding email address.
2. In the navigation pane on the left, choose Configuration. Click the Licensetab, select the obtained license file, and click Upload.
Step 3 (Optional) On the Projects tab page, click Create, enter the project name anddescription, and click Save.
Figure 2-4 Saving a project
NO TE
A project is a logical unit of data and product resources. It is used to manage resourcesinvolved in a project from the project dimension.
Step 4 Add the platform information.
If you want to use RDA to discover your server resources, go to Step 5.
1. In the navigation pane on the left, choose Discovery. On the displayed page,click Quick Add in the upper right corner.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 17
Figure 2-5 Quick Add
2. On the Select Object page, select Platforms for Discover and click Next.
Figure 2-6 Select Object
3. On the Add Platform page, configure the platform information (for example,HUAWEI CLOUD) and click Next.
Figure 2-7 Add Platform
NO TE
Credentials can be a AK/SK pair or password and are used to authenticate youridentity. For details, see Credential Management.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 18
4. On the Confirm page, click OK.
Figure 2-8 Confirm
Step 5 Add the server information.
1. In the upper right corner of the page, click Quick Add.
Figure 2-9 Quick Add
2. On the Select Object page, select Servers for Discover and click Next.
Figure 2-10 Select Object
3. On the Add Server step, configure the server information.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 19
Figure 2-11 Add Server
NO TE
Credentials can be a AK/SK pair or password and are used to authenticate youridentity. For details, see Credential Management.
4. In the Confirm step, confirm the added server information and click OK.
Figure 2-12 Confirm
Step 6 Click the Servers tab, select the servers you want to assess, and chooseRecommend > Assess.
The Recommendation page is displayed. You can view the migration readiness ofthe servers as well as recommended ECS types, specifications, images, disk sizes,and pricing information.
NO TE
● RDA can recommend resources for your running servers, databases, and Redis.Performance-based recommendation is only available for servers.
● Performance collection must be enabled before performance-based recommendation.For details about how to enable performance collection, see Performance Collection.
● The prices of recommended resources are obtained from the HUAWEI CLOUD officialwebsite.
Step 7 Export the assessment report.
1. On the Recommendation page, select the servers that are assessed and clickExport.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 20
Figure 2-13 Exporting an assessment report
2. In the Export dialog box, select a file format and click OK.You can view the assessment report in the exported file and perform furtheranalysis based on the report.
----End
2.3 One-Stop Server MigrationThe integrated Server Migration Service (SMS) helps you migrate applications anddata from on-premises x86 physical servers or VMs on other private or publicclouds to Elastic Cloud Servers (ECSs) on HUAWEI CLOUD.
This section describes how to migrate a source server in scenario whereDestination Server Not Created Yet.
For details about how to migrate source servers in scenario where DestinationServer Created, see Migration with Destination Server Created.
Configuring the Destination Server
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Implementation.
Step 3 On the Server Migration tab page, select the servers to be migrated and clickConfigure Destination Server.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 21
Figure 2-14 Configure Destination Server
CA UTION
The selected servers must have credentials bound.
Step 4 In the Basic Configuration area of the Configure Destination Server dialog box,select the target account and template.
If no proper templates are available, create a template by referring to Step 5.
In the Specifications Configuration area, you can configure the destination serverbased on the source specifications or the recommended specifications. After thedestination server is configured, click OK.
Figure 2-15 Configure Destination Server
Step 5 (Optional) Create a template.
Click on the right of Select Template. On the displayed page, configuretemplate information and click OK.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 22
Figure 2-16 Creating a template
Step 6 After you configure the destination server, click One-Stop Migration. The One-Stop Migration page is displayed on the right.
Figure 2-17 One-Stop Migration
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 23
Step 7 On the one-stop migration page, you can view the source server information andSMS Agent version.
In the Other Configurations area, set Push Mode.
Mode Operation
LAN 1. Select Create the task.2. (Optional) Select Start the task
immediately after it is created.3. Click OK.
Internet 1. Enter the public IP address of theserver with RDA and select Createthe task.
2. (Optional) Select Start the taskimmediately after it is created.
3. Click OK.
----End
Related Operations
You can perform the following operations on a created migration task.
Operation Description
Starting a migration task Select the task and choose TaskOperation > Start Migration Task
Synchronizing incremental data after amigration task is complete
Select the task and choose TaskOperation > Sync Migration Task
Stopping a migration task Select the task and choose TaskOperation > Stop Migration Task.NOTE
You can only stop a running task.
Deleting a migration task Select the task and choose TaskOperation > Delete Migration Task.
Uninstalling the Agent Select the created task and chooseTask Operation > Uninstall Agent.
Modifying the migration parameters Select the task and choose TaskOperation > Modify MigrationParameter.
Exporting the destination serverinformation
Select the task and click .The destination server details will beexported in an .xlsx file.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 24
2.4 Object Storage MigrationThe integrated Object Storage Migration Service (OMS) helps you migrate datafrom object storage on other clouds online to the Object Storage Service (OBS) onHUAWEI CLOUD.
NO TE
OMS supports migration from Amazon Web Services (AWS) China, Alibaba Cloud, MicrosoftAzure, Baidu Cloud, HUAWEI CLOUD, Kingsoft Cloud, Qingyun Cloud, Qiniu Cloud, andTencent Cloud.
OMS enables you to create:
● Migration tasks: applicable to scenarios where there is less than 3 TB of dataor less than 5 million objects in a source bucket
● Migration task groups: applicable to scenarios where there is more than 3 TBof data or more than 5 million objects to migrate in a source bucket
For details, see Object Storage Migration.
Resource Discovery AssessmentUser Guide 2 Getting Started
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 25
3 User Guide
3.1 Get StartedAs a unified migration platform, RDA provides a range of tools, services, andresources for assessment, discovery, design, and migration, enabling you tomigrate to the cloud smoothly and efficiently.
Process
● Assessment: Using RDA, you can fully understand your migrationmotivations, expectations, and readiness, and design a proper migration pathto achieve your service objectives.
● Discovery: With RDA, you can automatically discover your resources runningin your IDC, VMware, Hyper-V, HUAWEI CLOUD, AWS, Microsoft Azure,Alibaba Cloud, or Google Cloud environment. You can quickly discover serversand their performance data, network dependencies to sort out yourarchitecture.
● Recommendation: You can design an optimal migration path by using theautomatic destination server recommendation, destination serverconfiguration, and solution recommendation of RDA.
● Migration: You can manage migration tasks in a centralized manner,streamline migration process, and improve migration efficiency.
● Optimization: You can use the Cloud Eye and Application OperationsManagement (AOM) services provided by HUAWEI CLOUD to continuouslymaintain and optimize your applications on HUAWEI CLOUD.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 26
3.2 Assessment
3.2.1 Motivations Assessment
ScenariosA motivation assessment helps you plan more feasible cloud migration paths andsolutions.
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Assessment.
Step 3 Click Motivations Assessment in the upper right corner of the page. On the BasicInformation page, enter required information and click Next.
Figure 3-1 Motivations Assessment
Step 4 On the Details page, answer the questions on the Business, Critical Event, andTechnical Consideration tab page, and click Submit.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 27
Figure 3-2 Submit
Step 5 On the Assessment page, locate the row that contains the report generated foryou, and click View in the Operation column to view the HUAWEI CLOUDmigration suggestions. You can also click Export to export the report for analysis.
Figure 3-3 Viewing an assessment report
----End
3.2.2 Readiness Assessment
ScenariosReadiness assessment covers five aspects including business, strategy,organization, finance, and security, helping you design a complete migration pathand project plans.
ProcedureStep 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDA
console.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 28
Step 2 In the navigation pane on the left, choose Assessment.
Step 3 Click Readiness Assessment in the upper right corner of the page. On the BasicInformation page, enter required information and click Next.
Figure 3-4 Readiness Assessment
Step 4 On the Details page, answer the questions on the Business, Strategy,Organization, Process, Finance, and Security tab page, and click Submit.
Figure 3-5 Submit
Step 5 On the Assessment page, locate the row that contains the report generated foryou, and click View in the Operation column to view the HUAWEI CLOUDmigration suggestions. You can also click Export to export the report for analysis.
Figure 3-6 Viewing an assessment report
----End
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 29
3.3 DiscoveryRDA can discover various resources such as platforms, servers, and databases, andintuitively display discovered information about the resources.
Before discovery, you can create different projects based on service requirementsfor information collection and subsequent assessment.
3.3.1 Resource OverviewThe Resource Overview area displays the resources discovered in each project andthe assessment of each project.
Prerequisites
You have installed RDA. For details, see Installing RDA.
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Discovery.
By default, the Resource Overview area displays the information aboutdiscovered resources in the default project.
Figure 3-7 Resource Overview
----End
3.3.2 Quick AddThis section describes how to quickly add required information about resourcessuch as platforms, servers, and databases for discovery, so that RDA canrecommend migration plans for you.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 30
Prerequisites
You have configured the project, imported the RDA license, and added credentialsby referring to Project Management, License Configuration, and CredentialManagement.
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Discovery.
Step 3 On the displayed page, click Quick Add in the upper right corner.
Figure 3-8 Quick Add
Step 4 On the Select Object page, configure Discover and click Next. The following usesServer as an example.
Figure 3-9 Select Object
Step 5 Set server parameters. For details about the parameters, see Table 3-1. ClickCreate New on the right of the Credential box , specify Credential Name,Username, and Password, click Save Credential, and then click Next.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 31
Figure 3-10 Add Server
Table 3-1 Parameters
Parameter Description
Name User-defined
Resource Type Set this parameter based on the actualsystem type.
IP Address IP address of the server to bediscovered
Credential Name User-defined
Username Actual login account of the server
Password Actual login password of the server
Step 6 On the Confirm page, click OK.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 32
Figure 3-11 Confirm
----End
3.3.3 ImportThis section describes how to import required information about resources, such asservers and databases, for discovery, so that RDA can recommend migration plansfor you.
PrerequisitesYou have configured system information by referring to Configuration.
ProcedureStep 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDA
console.
Step 2 In the navigation pane on the left, choose Discovery.
Step 3 In the upper right corner of the page, click Import.
Figure 3-12 Import
Step 4 Select an import type, for example, Data for batch addition.
Download the template, enter the server name, OS type, IP address, credentialname, username, and password in the template, and import the template.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 33
Figure 3-13 Import
----End
3.3.4 Performance CollectionRDA periodically collects server performance data, including the CPU usage,memory usage, disk usage, and network IOPS. The collected data can be viewed inthe server details and used for migration plan recommendation.
PrerequisitesYou have added or imported resource information by referring to Quick Add andImport.
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Discovery.
Step 3 Click the Servers tab. On the displayed page, select the resources to be discoveredand choose Performance Collection and Server Topology > Start.
You can quickly locate the target server based on the server name, discoverystatus, server status, platform name, and tag.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 34
Figure 3-14 Starting performance collection
Step 4 Hover the cursor on the icon in the Status column. If Collecting is displayed,performance collection is started.
----End
3.3.5 ExportThis section describes how to export information about discovered resources orlogs. You can use the exported information or logs to analyze resources or locatefaults when exceptions occur.
Prerequisites● You have configured system information by referring to Configuration.● You have added or imported resource information by referring to Quick Add
and Import.
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Discovery.
Step 3 In the upper right corner of the page, click Export.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 35
Figure 3-15 Export
Step 4 In the Export dialog box, set Export Type, Export Format, and Export Log, andclick OK.
Figure 3-16 Export
NO TE
In the exported file, you can view information about discovered resources.
----End
3.3.6 View TopoThis section describes how to view the topology of servers.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 36
Prerequisites
A credential has been bound to the server whose topology is to be obtained.
Configuring the Destination Server
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Discovery.
Step 3 Click the Servers tab. On the displayed page, select the resources whose topologyis to be obtained and choose Performance Collection and Server Topology >View Topo.
Figure 3-17 View Topo
Step 4 On the displayed Server Topology page, view the relationships between servers.
----End
3.4 Recommendation
3.4.1 Plan RecommendationRecommendation assesses discovered resources and displays the assessmentresult. The evaluation includes HUAWEI CLOUD product specificationsrecommendation, price evaluation, and migration feasibility evaluation.
Prerequisites
You have added required information about your platform, servers, and databasesby referring to Discovery.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 37
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Recommendation.
Figure 3-18 Recommendation
----End
3.4.2 Create Recommendation
PrerequisitesYou have added required information about your platform, servers, and databasesby referring to Discovery.
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Recommendation.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 38
Figure 3-19 Recommendation
Step 3 Click Create Recommendation in the upper right corner. The CreateRecommendation dialog box is displayed.
Step 4 The following uses option Servers as an example. For step Select SourceResources, select Servers for Resource, select specific servers from the AvailableResources list, and click Next.
Figure 3-20 Create Recommendation
Step 5 For step Configure Recommendation Policies, select a site and region, select apolicy template, and click Complete.
If you configure a recommendation policy for the first time or no suitable policytemplates are available, you can customize a policy template. For details, see Step6.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 39
Figure 3-21 Configuring recommendation policies
Step 6 (Optional) Customize a policy template.
1. Select Customize Recommendation Policies from the Select Template drop-down list.
2. Set parameters as required. For details about the parameters, see Table 3-2.
Table 3-2 Customizing a recommendation policy template
Policy Type Recommendation Policy
ECS Specifications – Based on the sourcespecifications
– Based on performance– Based on percentage
NOTEYou can specify the percentage.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 40
Policy Type Recommendation Policy
ECS vCPUs – Based on price first– Based on service scenario– Custom
NOTEIf you set ECS vCPUs to Custom, youneed to set ECS Type. The followingoptions are available: Generalcomputing-plus, Generalcomputing, Memory-optimized,Large-memory, Disk-intensive,Ultra-high I/O, GPU-accelerated,AI-accelerated, Generalcomputing-basic, FPGA-accelerated, Ultra-highperformance computing, and High-performance computing.
Disk Capacity – Based on the sourcespecifications
– Based on percentageNOTE
You can specify the percentage.
Disk Type – Common I/O– High I/O– Ultra-high I/O– General Purpose SSD– Based on performance
If you set Disk Type to Based onperformance, you need to setthe following two parameters:
▪ Performance Utilization
In the performance sample setsorted in ascending order, thesample value corresponding tothe performance benchmarkpercentile you specified is used asthe recommended performancebenchmark.
▪ Comfort FactorPerformance utilization XComfort factor = Plannedperformance
3. After setting the parameters, click Save Template, specify a template name,
and click OK. The customized template is created.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 41
----End
Related OperationsOperation Description
Viewing details of a recommendation Locate the row that contains therecommendation you want to view,click View in the Operation column.The recommendation details page isdisplayed on the right.
Deleting a recommendation Locate the row that contains therecommendation you want to delete,click Delete in the Operation column.In the confirmation dialog box that isdisplayed, click OK.
Deleting recommendations in batches Select one or more recommendationsyou want to delete and click BatchDelete. In the confirmation dialog boxthat is displayed, click OK.
Exporting a recommendation 1. Select the recommendation youwant to export, and click Export.
2. In the Export dialog box, select afile format and click OK.NOTE
View the recommendation details in theexported file and determine whether toperform migration based on therecommendation.
3.5 DesignProcedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 42
Step 2 In the navigation pane on the left, choose Design.
Figure 3-22 Solution design page
Step 3 The following uses the Chinese Mainland site as an example. Hover the cursor onAdd Site and choose Chinese Mainland > Add Account.
Figure 3-23 Add Site
Step 4 In the displayed Create Cloud Account dialog box, enter the name, AK, and SK,and click OK.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 43
Figure 3-24 Creating an account
NO TE
After a site is added, you can manually add a VPC and security group to the site.
----End
3.6 ConfigurationThe Configuration page displays the RDA configuration information, includingProject Management, License Configuration, Credential Management,Network Configuration, and OMS Configuration.
3.6.1 Project Management
Scenarios
Project management allows you to group and manage your resources easily. Forexample, you can create a project to manage the resources such as servers,databases, and components that you want migrate from Alibaba Cloud toHUAWEI CLOUD.
Creating a Project
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Configuration. On the Projects tabpage, click Add.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 44
Figure 3-25 Creating a project
Step 3 In the displayed Add Project dialog box, enter the project name and description,and click Save.
Figure 3-26 Saving a project
----End
3.6.2 Tag Management
ScenariosTag management is used to quickly and conveniently search for and manageservers.
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Configuration. Click the Tags tab andthen Add.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 45
Figure 3-27 Adding a tag
Step 3 In the displayed Add Tag dialog box, enter a tag key value, select a color, and clickOK.
Figure 3-28 Confirmation
----End
3.6.3 Credential Management
ScenariosOn the Credentials page, you can add credentials for authenticating access toyour public cloud, private cloud, servers, databases, Redis instances, andElasticsearch instances. AK/SK- and password-based authentications are availablefor public clouds. Username and password-based authentification is available forprivate clouds, servers, databases, and Redis instances.
ProcedureStep 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDA
console.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 46
Step 2 In the navigation pane on the left, choose Configuration. Click the Credentialstab and then Add.
Figure 3-29 Adding credentials
Step 3 For step Create Credential, select an authentication mode and enter thecredentials as prompted, and click Next.
If you do not need to bind resources, click Save and Exit.
Figure 3-30 Create Credential
Step 4 For step Bind Resource step, select target available resources and click Next.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 47
Figure 3-31 Bind Resource
Step 5 For step Confirm, confirm the added credential and bound resources, and clickOK.
After the credential is added, you can view it in the credential list.
Figure 3-32 Confirming the credential
----End
3.6.4 License Configuration
ScenariosThis section describes how to obtain and configure the license when you use RDAfor the first time.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 48
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Configuration. Click the License taband then Obtain on the right of ESN.
Figure 3-33 Configuring the license
Step 3 After obtaining the ESN, send required information to migration-support@huawei.com for approval. After the application is approved, you willreceive a license file by the email address specified in the application.
Step 4 On the License tab page, in the Import License box, select the obtained licensefile and click Upload.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 49
Figure 3-34 Uploading a license file
----End
3.6.5 Network Configuration
ScenariosOn the Network page, you can enable product information synchronization fromHUAWEI CLOUD, configure the proxy server for accessing the Internet, and viewthe communication matrix.
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Configuration.
Step 3 (Optional) Enable product information synchronization from HUAWEI CLOUD.
1. Click the Network tab and enable Synchronize HUAWEI CLOUD productinfo
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 50
Figure 3-35 Enabling synchronization
2. In the displayed dialog box, click OK.
CA UTION
Synchronization will consume some network traffic. You can disable thisfunction at any time.
Step 4 (Optional) Configure Remote access. By default, RDA can be accessed onlythrough a local browser. You can enable remote access so that other users canaccess RDA.
Click next to Remote Access. In the dialog box that is displayed, click OK.
Figure 3-36 Enabling remote access
CA UTION
After you enable Remote access, other users can access RDA through https://local IP address:7099 on their computers. Exercise caution when enabling remoteaccess.
Step 5 (Optional) Configure Proxy.
Select Configure and enter the proxy server IP address. Select Enable ProxyAuthentication, enter login account and password, and click Save.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 51
Figure 3-37 Proxy
CA UTION
Enter the actual IP address and port number of your HTTP proxy server.
Step 6 View the communication matrix.
You can view the communication matrix on the left of the Network tab page, asshown in Figure 3-38. Click View Details to see the matrix details, as shown inFigure 3-39.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 52
Figure 3-38 Communication Matrix
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 53
Figure 3-39 Viewing the communication matrix details
----End
3.6.6 Account Configuration
ScenariosThis section describes how to add an account on HUAWEI CLOUD. Duringmigration, discovered servers will be migrated to destination servers under thisaccount.
ProcedureStep 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDA
console.
Step 2 In the navigation pane on the left, choose Configuration. Click the Account tabpage and then Add.
Figure 3-40 HUAWEI CLOUD account configuration
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 54
Step 3 In the displayed dialog box, enter the name, AK, and SK, and click OK.
Figure 3-41 Adding a HUAWEI CLOUD account
----End
3.6.7 OMS ConfigurationOMS configuration management includes the Agent management and OMScluster management, helping you prepare for object storage migration.
3.7 Server Migration
3.7.1 Migration with Destination Server Not Yet CreatedFor details, see One-Stop Server Migration.
3.7.2 Migration with Destination Server CreatedThis section describes how to migrate a source server in scenario where thedestination server has been created.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 55
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Implementation.
Step 3 Select the server you want to HUAWEI CLOUD and click Install Agent.
Figure 3-42 Installing the Agent
CA UTION
The selected servers must have credentials bound.
Step 4 On the Install Agent page, select an account and click Download. After theAgent is installed, click OK.
NO TE
By default, RDA pushes the migration Agent through the LAN. Ensure that the RDA and thesource server are in the same LAN.
Step 5 Click SMS (Server Migration Service) Migration Task. The Task Managementpage is displayed.
Figure 3-43 Migration Task
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 56
Step 6 Select the source server you want to migrate.
1. On the Task Management page, click Create Task.The Create Migration Task page is displayed.
2. For step Select Source Server, set basic parameters for the migration task.3. Set Task Name.
– The default format of a task name is as follows: sms_task_xxx, where xxxindicates the name of the source server. If you want to use the defaulttask name, do not change this parameter. Task names cannot be morethan 20 characters long. If the task name contains more than 20characters, SMS selects the first 20 characters as the task name bydefault.
– You can also customize the task name.4. In the source server list, select the source server to be migrated.
NO TE
You can create a migration task only when Connection Status of the source server isConnected and Source Server Check Result is Passed.
Step 7 Configure advanced settings.
1. Click next to Advanced Settings and configure advanced settings.2. Set Migration Rate. The migration will generate a large amount of traffic. A
lot of bandwidth will be consumed. To reduce the impact on services:– For Linux server migration, restricting the speed of the Network Interface
Cards (NICs) on the target ECSs can reduce the impact on services on thesource server.
The value of Migration Rate must be an integer ranging from 0 to 1000.– You can enter 0 or leave this field blank to remove migration speed
limits. In this case, the migration speed is the network speed between thesource servers and the target ECSs.
– If the migration rate you configure is greater than the network speedavailable between the two servers, then the actual speed of themigration will depend on the speed of the network connection.
3. Set Migration Process Priority. Set the process priority of the Agent on thesource server.– If this parameter is set to High, the source server preferentially allocates
resources (such as CPU time slice, memory, and disk I/O) to the Agentprocess.
– If this parameter is set to Medium, the source server allocates resources(such as CPU time slice, memory, and disk I/O) to the Agent processbased on the default settings.
– If this parameter is set to Low, the source server preferentially allocatesresources (such as CPU time slice, memory, and disk I/O) to processesthat are not Agent processes.
4. Set Action on Target ECS After Migration.– If this parameter is set to Stop, the target ECS will shut down after the
migration is complete.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 57
– If this parameter is set to Start, the target ECS will continue to run afterthe migration is complete.
Step 8 Select a target ECS.
1. Click Next.
The Select Target ECS page is displayed.
2. Select the region and project where the target ECS belongs.
NO TE
Each region has a default project whose project name is the same as the region code.For example, the region code of region CN North-Beijing1 is cn-north-1, and thedefault project name is cn-north-1. However, the project name is not displayed on themanagement console.
– If you select the region and do not select a project, the default project in the regionis selected for you.
– If you do not select a region, the region and project you selected last time through
are used for migration.
Figure 3-44 Regions and projects
3. Set Network Type.
– Internet (default)
If you select this option, an EIP must be assigned to the target ECS.
– Private line or VPN
You need to create a private line or VPN connection between the sourceserver and the VPC subnet where the target ECS is located.
NO TE
If the source and target ECSs are in the same VPC, set Network Type to Privateline or VPN.
4. Select a target ECS.
– Use existing
A target ECS must meet requirements listed below. Otherwise, createtarget ECSs that meet requirements based on the recommendedparameters. For details, see Purchasing an ECS with CustomizedConfigurations.
NO TE
Currently, the source servers can be migrated to pay-per-use or yearly/monthlyECSs. You can select ECSs of a specific billing mode as required.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 58
▪ The target ECS must have at least as many disks as the source server,and the size of each disk on the target ECS must be at least as largeas the corresponding source server disk.
▪ The image type of the target ECS must be the same as that of thesource server, or there will be a server name conflict.
▪ The source servers must have network access to the target ECSs.There has to be EIPs, VPNs, or a private line available for the targetECSs.
▪ The security group of the VPC that your target ECSs are in must becorrectly configured. They must be configured to allow access on TCPports 8899, 8900, and 22 for Windows and on ports 8900 and 22 forLinux.For details, see How Do I Configure the Security Group Rules forTarget ECSs?
– Create during migration
▪ If no ECS template is selected, the VPC, NIC, and security group willbe created automatically, but you can change the specifications ifneeded. The AZ, ECS specifications, disk size, and EIP areautomatically configured, but these can be changed in the advancedsettings.
▪ If you select an existing template to create the target ECS, theregion, VPC, NIC, security group, AZ, and disks are configured by thetemplate.
NO TE
If you set Template to Recommended fully automatic preset, SMS willautomatically:
○ Create a VPC and subnet. If the source IP address is 192.168.X.X, SMScreates a VPC and a subnet that both belong to network segment192.168.0.0/16.
○ Create a security group and enables ports based on the servicerequirements: ports 8899, 8900, and 22 for Windows and ports 8900 and22 for Linux.
Creating ECS during the migration requires a password, which is in the 1 +first eight characters of the target SK + ! format. For example, if the firsteight characters of the SK are RgybsdPP, the password is 1RgybsdPP!.
5. After setting the parameters, read and select I have read and agree to theMigration Conditions.
NO TE
Click Migration Conditions to open and read the content carefully.
Step 9 Confirm the task information.
1. Click Next.The Confirm Information dialog box is displayed.
2. After confirming that the configured information is correct, read and select Ihave read and agree to the System Migration Disclaimer if you want tocontinue the migration.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 59
NO TE
Click System Migration Disclaimer to open and read the content carefully.
3. Click Create.If the created migration task is displayed on the Task Management page andthe task status is Ready , the migration task has been created.
Step 10 Start the migration task.
1. On the Task Management page, locate the row that contains the task to bestarted and click Start in the Operation column.The Start dialog box is displayed.
2. In the Start dialog box, confirm information about the task to be started andclick Yes.
NO TE
– If Internet is selected for Network Type, do not change the elastic IP address ofthe target ECS during migration.
– If Private line or VPN is selected for Network Type, do not change the private IPaddress of the target ECS during migration.
If the task status is Migration succeeded, the source server has beensuccessfully migrated to the target ECS.You are advised to configure and optimize your target ECSs running aWindows OS to obtain a better performance. For details, see How Can IConfigure and Optimize My Target ECSs Running Windows After theMigration?
----End
3.8 Object Storage MigrationFigure 3-45 shows the process of creating an object storage migration task usingRDA.
Figure 3-45 Process for creating an object storage migration task
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 60
3.8.1 Managing the OMS Agent
ScenariosBefore you use the integrated Object Storage Migration Service (OMS) to migratedata to HUAWEI CLOUD, you need to install the Agent on one or more servers.
Constraints● The Agent must be installed on servers that run a 64-bit Linux OS and have at
least 4 CPUs and 8 GB of memory. The Linux servers must be in the same VPCand security group as the server with RDA installed. Ensure that the Linuxservers can access port 5679 of the server with RDA installed.
● The Linux servers must be in the destination endpoint listed in Table 3-5.
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Configuration. On the Configurationpage, choose OMS Configuration Management > Agent Management and clickAdd.
Step 3 In the displayed Add dialog box, set parameters as prompted. Click OK.
Figure 3-46 Configuring node information
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 61
Table 3-3 Node parameters
Parameter Description
Name User-defined
User Name Username for logging in to the serverwhere the Agent is to be installedusing SSHNOTE
If you use a monthly private line, use theroot account.
Password Password for logging in to the serverwhere the Agent is to be installedusing SSH
IP Address IP address of the server where theAgent is to be installed
Port 22
Step 4 Click OK.
After the server is added successfully, the system automatically installs the Agent.The following figures display the Agent installation statuses. For details about thestatuses, see Table 3-4.
Figure 3-47 Initialized
Figure 3-48 SSH Checking
Figure 3-49 Getting Package
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 62
Figure 3-50 Uploading Package
Figure 3-51 Installing
Figure 3-52 Installation Succeeded (offline)
Figure 3-53 Installation Succeeded (online)
Table 3-4 Agent installation statuses
Status Description
Initialized The system is being initialized.
SSH Checking SSH check is being executed.
Getting package The Agent installation package isbeing downloaded.
Uploading package The Agent installation package isbeing uploaded.
Installing The Agent is being installed.
Installation succeeded The Agent is installed successfully butdisconnected with RDA.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 63
Status Description
The Agent is installed successfully andconnected with RDA.
----End
3.8.2 Managing OMS Cluster
ScenariosBefore you create an object storage migration task or task group, you need toconfigure the source and destination by referring to this section.
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Configuration. On the displayedConfiguration page, choose OMS Configuration Management > OMS ClusterManagement.
Step 3 Configure the source and destination parameters as described in Table 3-5.
Figure 3-54 Managing OMS Cluster
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 64
Table 3-5 Configuring parameters
Parameter Description
Source CloudService Provider
Specifies the cloud service provider from which you aremigrating object storage data away, for example, AlibabaCloud.
SourceEndpoint
If the source cloud service provider is Alibaba Cloud, theexternal domain name oss-cn-hangzhou.aliyuncs.com isused by default. If the source cloud service provider is AWS,the international domain name s3.cn-north-1.amazonaws.com.cn is used by default. For othercloud service providers, obtain the endpoint from the sourcecloud service provider.
DestinationEndpoint
Specifies the endpoint provided by HUAWEI CLOUD. Nodesadded in Step 3 in must be in the endpoint.
ConcurrentTasks
Specifies the number of migration tasks that can be executedat the same time. The number of concurrent tasks must beless than the number of installed agents multiplied by 20.
Enable ThePrivate LineMigrationFeature
Enable this feature as needed. It is disabled by default. If youenable this feature, you can use Direct Connect for migration.However, Direct Connect is available only when the sourceserver is on Alibaba Cloud, Tencent Cloud, HUAWEI CLOUD, orUCloud.NOTE
Ensure that the hosts file on the Windows server is editable. To do so,go to C:\Windows\System32\drivers\etc, right-click the hosts file,and choose Properties from the shortcut list. Check whether Read-only is selected. If it is, deselect this option.
AppID Specifies the identifier of the account for logging in to theTencent Cloud console. If the selected cloud service provider isTencent Cloud, AppID must be specified.
Ngnix IP Specifies the IP address of Ngnix configured for the privateline.CAUTION
The source object storage must be connected to Ngnix through aprivate line. Currently, only one Nginx proxy server can be configured.
TransmissionProtocol
Select the transmission protocol for the private line. You areadvised to select http.
Bucket Name Specifies the name of the bucket to be migrated.
Step 4 Click OK.
Check the configuration status on the Agent Management page.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 65
Figure 3-55 Successful configuration
----End
3.8.3 Creating a Migration Task
ScenariosThis section describes how to create a task to migrate your object data.
If the amount of source data is greater than 3 TB or the number of source objectsis greater than 5 million, create a migration task group. For details, see Creating aMigration Task Group.
Prerequisites● You have obtained the AKs and SKs of the source and destination platform
accounts.– The source platform account has the list Bucket, get BucketLocation,
list Object, head Object and get Object permissions. For details abouthow to obtain the permissions, contact the source cloud service provider.You use the list Bucket and get BucketLocation permissions to select abucket before the migration. If a bucket name is specified, you do notneed to configure these permissions.
– The destination platform account has the OBS OperateAccesspermission. For details about how to obtain the permission, see Creatinga User and Granting OBS Permissions.
● You have created an OBS bucket on HUAWEI CLOUD.
ProcedureStep 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDA
console.
Step 2 In the navigation pane on the left, choose Implementation > Object StorageMigration Service. On the displayed page, choose Migration Task and clickCreate Migration Task. Read the privacy statement carefully, select Agree to theabove privacy agreements, and click OK. The Create Migration Task page isdisplayed.
Figure 3-56 Creating a migration task
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 66
Step 3 For step Select Source/Destination, you need to:
1. Select the source platform. For details about the parameters, see Table 3-6.
Table 3-6 Source platform parameters
Parameter Description
Data source Specifies the source cloud service provider.
appID Specifies the identifier of the account for logging into Tencent Cloud. If the selected cloud serviceprovider is Tencent Cloud, appID must be specified.
Access Key Specifies the AK of the source platform account.Enter a maximum of 100 characters.
Secret Access Key Specifies the SK of the source platform account. TheSK matches the AK, and they group into a pair.Enter a maximum of 100 characters.
Bucket Specifies the name of the bucket from which datawill be migrated.
2. Select the destination platform. For details about the parameters, see Table
3-7.
Table 3-7 Destination platform parameters
Parameter Description
Access Key Specifies the AK for accessing HUAWEI CLOUD.Enter a maximum of 100 characters.
Secret Access Key Specifies the SK for accessing HUAWEI CLOUD. TheSK matches the AK, and they group into a pair.Enter a maximum of 100 characters.After entering the AK and SK, click Connect toDestination Bucket.
Bucket Specifies the OBS bucket for storing migrated dataon HUAWEI CLOUD.
Step 4 Click Next to set task parameters.
Step 5 Select a migration method in the Select Migration Method area.● File/Folder
Click Select, and in the displayed dialog box, select the files or folders to be
migrated, and click OK. You can click to delete a selected file or folderfrom the object list.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 67
NO TE
– If you select Qiniu Cloud for Data source, you cannot select files or folders.– If you do not select specific files or folders, all objects in the source bucket will be
migrated.– For each migration task, you can select a maximum of 500 files or folders in a
given directory.– The name of each object cannot exceed 1,024 characters on OBS. If the name of
an object to be migrated exceeds this limit, the migration task will fail.
● Object ListGenerally, this parameter is used to migrate incremental data by selecting anobject list file. You need to write the name of the source object to be migratedinto an object list file and store the file in an OBS bucket on HUAWEI CLOUD.OMS migrates all objects in the specified object list file.
a. Select List File Bucket (HUAWEI CLOUD).
NO TE
The buckets listed are the buckets obtained by entering the destination AK andSK in Step 3.2.If the bucket used for storing object list files is not located in the same region asthe destination bucket, you cannot select the object list files.
b. Click Select next to the Object List File area, select the target object listfiles, and click OK.
NO TE
– Each object list file cannot exceed 100 MB.– The object list file must be a .txt file, and ContentType in the metadata of the file
must be text/plain.– The object list file must be in UTF-8 without byte order mark (BOM).– Each line in the object list file can contain only one object name, and the object
name must be URL encoded.– Spaces are not allowed in each line in the object list file. Spaces may cause
migration failures because they may be mistakenly identified as object names.– The length of each line in the object list file cannot exceed 65,535 characters, or
the migration will fail.– ContentEncoding cannot be set in the metadata of the object list file, or the
migration will fail.– Archive data can only be accessed and obtained by OMS after it is restored. If the
object list files are archive, manually restore them before migration.
● Object Name PrefixEnter the name or prefix of objects to be migrated. The system will
automatically list the matched data. You can click to delete the data thatdoes not need to be migrated from the list.
NO TE
If no object names or name prefixes are specified, all objects in the source bucket willbe migrated.
● Specified URL ListGenerally, this setting is used to migrate HTTP/HTTPS source data by selectinga URL list file. You need to write the URL of the files to be migrated and their
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 68
destination object names into a URL list file and store the file in an OBSbucket on HUAWEI CLOUD. OMS migrates all objects in the specified URL listfile.
a. Select List File Bucket (HUAWEI CLOUD).
NO TE
▪ The buckets listed are the buckets obtained by entering the destination AKand SK in Step 3.2.
▪ If the bucket used for storing object list files is not located in the same regionas the destination bucket, you cannot select the object list files.
▪ For security purposes, if the migration source supports both HTTP and HTTPS,you are advised to use HTTPS during the migration. If HTTP is used, data maybe eavesdropped on, tampered with, or vulnerable to man-in-the-middle orreplay attacks.
▪ URL redirection is not supported.
b. Click Select next to the URL List File area, select the target URL list files,and click OK.
NO TE
▪ Each URL list file cannot exceed 100 MB.
▪ The URL list file must be a .txt file, and ContentType in the metadata of thefile must be text/plain.
▪ The URL list file must be in UTF-8 without BOM.
▪ Each line in the URL list file can contain only one URL and one destinationobject.
▪ The length of each line in the URL list file cannot exceed 65,535 characters, orthe migration will fail.
▪ ContentEncoding cannot be set in the metadata of the URL list file, or themigration will fail.
▪ In the URL list file, each line uses a tab character (\t) to separate the URLfrom the destination object name. The format is [URL][tab character][destination object name]. The destination object name is URL encoded. Forexample:
http://xxx.obs.myhuaweicloud.com/doc/file1.txt doc%2f%e6%96%87%e4%bb%b61.txt
http://xxx.obs.myhuaweicloud.com/doc/thefile2.txt doc%2fthefile2.txt
http://xxx.obs.myhuaweicloud.com/the%20file.txt the%20file.txt
http://xxx.obs.myhuaweicloud.com/the%20file2.txt the+file2.txt
http://xxx.obs.myhuaweicloud.com/doc/thefile.txt doc/thefile.txt
In the preceding examples, after the files represented by the URLs are copiedto the destination bucket, the objects are named doc/doc/thefile2.txt, thefile.txt, the file2.txt, and doc/thefile.txt.
▪ Spaces are not allowed in each line in the URL list file. Spaces may causemigration failures because they may be mistakenly identified as object names.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 69
Step 6 (Optional) Set Source Parameters.
Parameters described in Table 3-8 are only available if the source cloud serviceprovider offers the related functions.
Table 3-8 Source parameters
Parameter Description
Use SourceCustom DomainName
If the default domain name cannot meet your migrationrequirements, then if the source cloud service providersupports custom domain names, you can use a sourcecustom domain name to download data to reducedownloading fees.NOTE
If the source cloud service provider is Qiniu Cloud, this option isselected by default to ensure a smooth migration because QiniuCloud has restrictions on default domain names.
If you select this option, complete the following settings:1. Select a transmission protocol for Transfer Protocol.
NOTEHTTPS is more secure than HTTP and is recommended.
2. Enter a custom domain name of the bucket for CustomBucket Domain Name.
3. If you use the CDN authentication provided by thesource cloud service provider, select Enable CDNAuthentication and configure the authentication typeand keys.NOTE
– You can use CDN authentification only after configuringCDN by referring to documents of the source cloud serviceprovider.
– The fees generated for using CDN on the source platformare billed by the source cloud service provider.
– URI redirection is not supported.
4. Click Check to check whether the configuration iscorrect.– If the configuration fails to pass the check, click
Details to view the failure causes.– If the configuration passes the check, complete other
migration configurations.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 70
Parameter Description
Archive DataRestoration
Only restored archive data can be migrated. You can selectthis option if your source cloud service provider supportsautomatic restoration of archive data.● Option selected
The system automatically restores and migrates archiveobjects in the migration task. If an archive object fails tobe restored, the system records it in the list of objectsthat failed to be migrated and continues to migrateother objects in the migration task.
● Option not selectedThe system directly records archive objects in the list ofobjects that failed to be migrated and continues tomigrate other objects in the migration task.
NOTE● The following cloud service providers can automatically restore
archive data: HUAWEI CLOUD, Alibaba Cloud, Kingsoft Cloud,and Tencent Cloud.
● It takes at least a minute to restore an archive object. Thelarger the archive object is, the longer it takes to restore it, butif an archive object cannot be restored within three minutes,the restoration fails. The time needed depends on the cloudservice provider. For details, see related documents of thespecific cloud service provider.
● Two types of fees are generated during archive data restoration:fees for API calls and fees for archive data retrieval. These feesare billed by the source cloud service provider.
● After restoration, archive objects will be in restored state for acertain period of time. During this period, objects can bedownloaded or accessed. After this period expires, archiveobjects need to be restored again for migration. For detailsabout how long they stay in the restored state, see relateddocuments from the cloud service provider.
● After the object storage data is migrated from the sourceplatform to HUAWEI CLOUD, the storage class of the migrateddata must be the same as that of the destination bucket.
Step 7 Click Show next to Advanced Settings to expand the advanced parameters.
Step 8 (Optional) Configure advanced parameters.
Table 3-9 Parameters in Advanced Settings
Parameter Description
Data Encryption If you select KMS, migrated data is encrypted beforebeing stored to the destination OBS buckets.NOTE
Using KMS to encrypt migrated data may decrease themigration speed by about 10%.This option is only available if KMS encryption is supported inthe current region.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 71
Parameter Description
Failed Object Record Specifies whether to record the objects that failed to bemigrated.● Set to No
The system does not record the objects that fail tobe migrated. If the migration fails and needs to beretried, all objects in the source bucket need to betransmitted again.
● Set to YesThe system will record the objects that failed to bemigrated. If the migration fails and needs to beretried, only the failed objects need to betransmitted again.
NOTEThe objects that fail to be migrated are recorded in a filenamed after the task name. For both a single migration taskand a migration group task, the files are uploaded to theoms/failed_object_lists/ directory of the destination bucket.This file contains information about the failed migration tasks,including the failure cause, occurrence time (local UTC), URL-encoded names of the objects fail to be migrated, non-URL-encoded names of the objects fail to be migrated, and errorcodes returned by source SDKs.This file is stored in the destination bucket after the objects inthe file are successfully retransmitted. If you do not need thefile, delete it manually.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 72
Parameter Description
Archive DataRestoration
Only restored archive data can be migrated. You canselect this option if your source cloud service providersupports automatic restoration of archive data.● Option selected
The system automatically restores and migratesarchive objects in the migration task. If an archiveobject fails to be restored, the system records it inthe list of objects that failed to be migrated andcontinues to migrate other objects in the migrationtask.
● Option not selectedThe system directly records archive objects in the listof objects that failed to be migrated and continuesto migrate other objects in the migration task.
NOTE● The following cloud service providers can automatically
restore archive data: HUAWEI CLOUD, Alibaba Cloud,Kingsoft Cloud, and Tencent Cloud.
● It takes at least a minute to restore an archive object. Thelarger the archive object is, the longer it takes to restore it,but if an archive object cannot be restored within threeminutes, the restoration fails. The time needed depends onthe cloud service provider. For details, see relateddocuments of the specific cloud service provider.
● Two types of fees are generated during archive datarestoration: fees for API calls and fees for archive dataretrieval. These fees are billed by the source cloud serviceprovider.
● After restoration, archive objects will be in restored statefor a certain period of time. During this period, objects canbe downloaded or accessed. After this period expires,archive objects need to be restored again for migration. Fordetails about how long they stay in the restored state, seerelated documents from the cloud service provider.
● After the object storage data is migrated from the sourceplatform to HUAWEI CLOUD, the storage class of themigrated data must be the same as that of the destinationbucket.
Incremental Data Specifies whether to filter source objects to bemigrated by time.● If this option is set to No, source objects are not
filtered by time.● If this option is set to Yes, only the source objects
that are modified after the specified time are
migrated. You need to click to specify the time.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 73
Parameter Description
Traffic Limit Set the maximum bandwidth for the migration task inspecified time segments.● If you do not need to limit migration traffic, select
No.● If you need to limit migration traffic, select Yes.
Perform the following steps to set traffic limits:1. Click Add Rule.
A traffic limiting rule is displayed.2. Specify Start Time, End Time, and Maximum
Bandwidth.The maximum bandwidth ranges from 1 Mbyte/sto 200 Mbyte/s.
3. Repeat Step 8.a and Step 8.b to add anothertraffic limiting rule.
You can click in the Operation column todelete a rule.NOTE
You can create a maximum of five rules.You can set traffic limiting rules in the task details afterthe task is created.
Description In the Description area, enter a brief description aboutthis migration task.Enter a maximum of 255 characters.
Step 9 Click Next to enter the confirmation page.
Step 10 Confirm the settings of the migration task and start the migration.
1. Check whether the settings of migration parameters are correct.If the information is incorrect, click Previous to return to the previous pagefor modification.
2. Click Migrate Now.A message is displayed, indicating that the migration task is successfullycreated. The migration task is displayed in the migration task list.For details about the migration task status, see Viewing Migration Tasks.
NO TE
After the task is created, a task ID is generated for you for quick identification. It isdisplayed in the upper left corner of the task list. It is composed of the source bucketname, destination bucket name, and time sequence ID.
----End
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 74
3.8.4 Creating a Migration Task Group
ScenariosThis section describes how to create a task to migrate your object data.
Prerequisites● You have obtained the AK/SK pairs for the source and destination platform
accounts.– The source platform account needs the following permissions:
▪ list Bucket
▪ get BucketLocation
▪ list Object
▪ head Object
▪ get Object
For details about how to obtain these permissions, contact the sourcecloud service provider.You use the list Bucket and get BucketLocation permissions to select abucket before the migration. If a bucket name is already specified, you donot need to configure these permissions.
– The destination platform account needs the following permissions:
▪ OMS Administrator
▪ OBS OperateAccess
For details about how to obtain the permissions, see Creating a Userand Granting OMS Permissions.
● You have created an OBS bucket on HUAWEI CLOUD.● You have registered an account on HUAWEI CLOUD and completed real-name
authentication.
Procedure
Step 1 Enter https://127.0.0.1:7099/ in the browser address bar and log in to the RDAconsole.
Step 2 In the navigation pane on the left, choose Implementation > Object StorageMigration Service. On the displayed page, choose Migration Task Group andclick Create Migration Task Group. Read the privacy statement carefully, selectAgree to the above privacy agreements, and click OK. The Create MigrationTask Group page is displayed.
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 75
Figure 3-57 Create Migration Task Group
Step 3 Follow the operations provided in Creating a Migration Task, choose source anddestination buckets, set task parameters, and confirm the information. Start themigration.
NO TE
● When selecting a migration method, you can only select Object Name Prefix orSpecified URL List Folder.
● If you select Object Name Prefix:
The objects to be migrated are recorded in a .txt file, and each migration task has a listfile. The storage path of the files is oms/taskgroup/ in the destination bucket. These listfiles will be retained after the migration, and you can manually delete them.
● If you select Specified URL List Folder:
– The URL list directory cannot be the root directory.
– The URL list directory must contain only .txt files.
– The total number of files in the URL list directory cannot exceed 2000.
– The size of one URL list file cannot exceed 100 MB.
– The URL list file must be a .txt file, and ContentType in the metadata of the filemust be text/plain.
– The URL list file must be in UTF-8 without BOM.
– Each line in the URL list file can contain only one URL and one destination object.
– The length of each line in the URL list file cannot exceed 65,535 characters, or themigration will fail.
– ContentEncoding cannot be set in the metadata of the URL list file, or themigration will fail.
– In the URL list file, each line uses a tab character (\t) to separate the URL from thedestination object name. The format is [URL][tab character][destination objectname]. The destination object name is URL encoded. For example:
http://xxx.obs.myhuaweicloud.com/doc/file1.txt doc%2f%e6%96%87%e4%bb%b61.txt
http://xxx.obs.myhuaweicloud.com/doc/thefile2.txt doc%2fthefile2.txt
http://xxx.obs.myhuaweicloud.com/the%20file.txt the%20file.txt
http://xxx.obs.myhuaweicloud.com/the%20file2.txt the+file2.txt
http://xxx.obs.myhuaweicloud.com/doc/thefile.txt doc/thefile.txt
In the preceding examples, after the files represented by the URLs are copied tothe destination bucket, the objects are named doc/doc/thefile2.txt, the file.txt,the file2.txt, and doc/thefile.txt.
– Spaces are not allowed in each line in the URL list file. Spaces may cause migrationfailures because they may be mistakenly identified as object names.
The task group is displayed in the migration task group list.
----End
Resource Discovery AssessmentUser Guide 3 User Guide
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 76
4 FAQ
4.1 What Can I Do If the OMS Agent Is Abnormal?Exception Solution
SSH check failed (Modify) ● Check whether the nodeparameters (IP address, portnumber, username, and password)are correctly configured.
● Check whether the SSH login isenabled on the server where theAgent was installed.
Package download failed (Retry) Check whether the Windows serverwith RDA can accessobs.myhuaweicloud.com.
Package upload failed (Retry) Check whether the SFTP service isnormal and whether files can beuploaded via SSH.
Installation failed (Retry) Check whether the serverspecifications meet the requirements.
Resource Discovery AssessmentUser Guide 4 FAQ
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 77
Exception Solution
Long-term disconnection ● Check whether the server withOMS-Agent can communicate withthe Windows server with RDAthrough port 5679.If port 5679 is unreachable, performthe following operations:1. Check security group
configurations.2. Disable the firewall of the
Windows server.● Check whether OMS-Agent has
been started by running commandps -ef|grepMigration_Agent_Euler. If it hasnot been started, run startupscript /opt/cloud/OMS-Agent/bin/start.sh.
4.2 What Can I Do If Not All the Objects Specified inthe Object List Are Migrated?
SymptomThe object list used for querying objects on Kingsoft Cloud contains garbledcharacters. As a result, some objects specified in the object list failed to bemigrated.
Possible CausesKingsoft Cloud SDKs uses GBK encoding, while RDA uses UTF-8 encoding. Thisleads in garbled parameters for querying source objects.
Solution
Step 1 Configure the following environment variable.
Name: JAVA_TOOL_OPTIONS
Value: -Dfile.encoding=UTF-8
Step 2 Restart RDA.
----End
Resource Discovery AssessmentUser Guide 4 FAQ
Issue 05 (2021-07-28) Copyright © Huawei Technologies Co., Ltd. 78
Recommended