Talking about cloud migration methods

Cloud migration can be divided into host migration, database migration, and application migration in terms of methods. This article uses migration to Alibaba Cloud as an example to briefly discuss the migration plan.

Host migration method

In terms of host migration, it is recommended to use Alibaba Cloud migration tool 

Use Alibaba Cloud Migration Tool

Alibaba Cloud Migration Tool can migrate physical servers, virtual machines, and other cloud platform cloud hosts to Alibaba Cloud ECS in a one-stop manner, and supports the migration of mainstream Windows and Linux operating systems.

 al.png


Alibaba Cloud Cloud Migration Tool supports resumable transfer at a breakpoint. After the data transmission is interrupted, the cloud migration tool can be rerun to continue the cloud migration. After the cloud migration is completed, a customized image of the source server operating system will be generated. You can log in to the ECS management console and view it in the image list of the corresponding region.


Database migration method

 Database migration, especially RDS migration to Alibaba Cloud, first consider Alibaba Cloud DTS service. Alibaba Cloud DTS has more functions, stronger transmission performance, high ease of use, and safety and reliability. Alibaba Cloud DTS promises 99.95% link stability and 99.999% data reliability. Data transmission supports data interaction between the same/heterogeneous data sources, and provides data migration/subscription/synchronization interaction functions. It supports node fault tolerance and can realize the second-level recovery of the link. Support for resumable transmission, which can effectively solve the transmission interruption caused by hardware, network and other abnormalities.

 The data migration function of Alibaba Cloud DTS can realize one-click data transfer to the cloud. In the data transmission console, you can start the data migration to the cloud through a few simple steps of link configuration. The incremental migration function supported by data migration enables local businesses to continue to provide services during the migration to the cloud, thereby minimizing application downtime during data migration.

alida.png


Alibaba Cloud DTS supports multiple data source types, such as: 

l  Relational databases: Oracle, MySQL, SQLServer, DB2, PostgreSQL, RDS For PPAS, DRDS, PetaData, OceanBase.

l  Non-relational databases (NoSQL): MongoDB, Redis.

l  OLAP: ODPS, ADS, stream computing, Datahub.

 

If it is a self-built database, you can use commonly used database backup or synchronization tools.

Oracle database migration

Oracle database migration can use traditional backup and recovery solutions to migrate.

1)       exp/imp logical backup and recovery:

2)       Storage migration:

3)       Use data guard to migrate:

4)       Use rman for migration:

 

MS SQL Server database migration

Microsoft officially provides SQL Server backup and recovery tools. The SQL Server tool is a good migration tool that can assist in completing the migration of data to Alibaba Cloud.


MySQL database migration

For MySQL database migration, you can consider traditional MySQL backup and recovery tools. For different scenarios, you should develop different backup strategies to back up the database. In general, the backup strategies are generally as follows:

 

1) The       amount of data is small, and the database files are copied directly

2) The       amount of data is large, use the mysqldump tool plus the plan of copying BINLOG

3) The       amount of data is not large, and you want to not excessively affect the business operation, you can use the solution of lvm2 snapshot and copy BINLOG

4) The       amount of data is large, and you want to not overly affect the business operation, you can use the xtrabackup tool

 

Application migration method

The basic principle of application migration is redeployment. Some automated tools can be used to make application deployment faster. I will not start here.

 


Guess you like

Origin blog.51cto.com/xiaoli110/2674997