CN111459643A - Host migration method - Google Patents

Host migration method Download PDF

Info

Publication number
CN111459643A
CN111459643A CN202010293054.7A CN202010293054A CN111459643A CN 111459643 A CN111459643 A CN 111459643A CN 202010293054 A CN202010293054 A CN 202010293054A CN 111459643 A CN111459643 A CN 111459643A
Authority
CN
China
Prior art keywords
migration
data
server
address
volume
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010293054.7A
Other languages
Chinese (zh)
Inventor
谷星程
薛磊
王建伟
王登锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Anchnet Network Technology Co ltd
Original Assignee
Shanghai Anchnet Network Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Anchnet Network Technology Co ltd filed Critical Shanghai Anchnet Network Technology Co ltd
Priority to CN202010293054.7A priority Critical patent/CN111459643A/en
Publication of CN111459643A publication Critical patent/CN111459643A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • G06F9/4862Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration the task being a mobile agent, i.e. specifically designed to migrate
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • G06F9/4862Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration the task being a mobile agent, i.e. specifically designed to migrate
    • G06F9/4868Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration the task being a mobile agent, i.e. specifically designed to migrate with creation or replication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/563Data redirection of data network streams

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a host migration method which comprises the steps of determining migration data and a receiving address of a source server, synchronizing Windows system data of the source server to a volume shadow copy address by using a Vss volume shadow snapshot and an rsync copying tool to form first migration data, and/or forming L inux system data of the source server to second migration data by using the rsync copying tool, and transmitting the first migration data and/or the second migration data to the receiving address.

Description

Host migration method
Technical Field
The invention relates to the field of data copying and migration, in particular to a host migration method.
Background
The traditional hardware server system application system is transferred to the cloud operation, but due to the fact that system software under the original line loses technical maintenance or the client is insufficient, the year is long or other reasons cannot be installed and built again in a cloud host, a migration software system is needed, the whole cloud host system is cloned and copied to the cloud end, the cloud host is generated at the cloud end, and the system and the original operation host are kept consistent.
The existing host migration system in the market can migrate the host of the off-line operating system to the Tencent cloud only by third-party migration software which is not bound to a common cloud manufacturer, and the PE technical principle with the network card drive is adopted, so that the interruption cannot be caused in the process of converting the cloud host, and the privatization deployment of the software system consumes long time and is complex to use.
Disclosure of Invention
The invention mainly aims to provide a host migration method, which adopts a SaaS software service form to provide migration services for all users, and a user side can migrate only by networking without deploying a migration system, so that the technical problems that an off-line operating system host can be migrated to a Tencent cloud only by third-party migration software which is not bound to a common cloud manufacturer in the conventional host migration system, and the cloud host cannot be interrupted in the process of converting, a software system is privately deployed, time is long and the use is complicated due to the adoption of the PE technical principle with a network card drive are solved.
In order to achieve the above object, according to one aspect of the present application, there is provided a host migration method.
The host migration method comprises the following steps:
determining migration data and a receiving address of a source server;
synchronizing Windows system data of the source server to a volume copy address by using a Vss volume shadow snapshot and an rsync copying tool to form first migration data;
and/or
Forming second migration data by using L inux system data of the source server through an rsync copying tool;
and transmitting the first migration data and/or the second migration data to the receiving address.
Further, the Windows system data uses a win32com module to create a copy of the volume shadow through the Vss volume shadow snapshot; transmitting the address of the acquired volume copy volume to an rsync copying tool to copy the migration data;
and/or
The L inux system data is copied to the migration data by the rsync copy tool.
Further, the method further comprises the step of encrypting the address of the acquired volume copy volume and then transmitting the encrypted address to an rsync copying tool for copying the migration data.
Further, the encryption processing carries out directional replacement on the symbols in the address of the acquired volume copy volume.
Further, the method also comprises the steps that the receiving server receives and repairs the first migration data and/or the second migration data in the receiving address;
wherein the content of the first and second substances,
and the step of repairing the first migration data and/or the second migration data in the receiving address comprises installing a starting item, repairing a file owner, creating a starting program, cleaning a registry and installing a driver.
Further, the repair file owner includes,
the owner of the migration data is exported by using a python win32api module at the source server, the owner command format of the migration data is set according to icacs, a BAT script is generated, and the BAT script is transmitted to the receiving server to repair the owner of the received migration data.
In the embodiment of the application, a data transmission mode between a source server and a receiving address is planned and designed, migration services are provided for all users in a SaaS software service mode, the purpose that a user side can migrate only through networking without deploying a migration system is achieved, and therefore the technical effect is achieved, and the technical problems that an existing host migration system can migrate an off-line operating system host to a Tencent cloud only through third-party migration software which is not bound to a common cloud manufacturer, and the adoption of a PE technical principle with a network card drive can not interrupt the process of converting the cloud host, the software system is deployed privately, time is long, and the use is complex are solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, serve to provide a further understanding of the invention and to make further features, objects, and advantages of the invention apparent. The drawings and their description illustrate exemplary embodiments of the invention and do not limit it inappropriately. In the drawings:
FIG. 1 is a schematic diagram of a migration process of a data movement method according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a repair process of first migration data and/or second migration data in the receiving address of the data moving method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a migration flow of a data moving method according to an embodiment of the present invention.
Detailed Description
In order to make the person skilled in the art better understand the application scheme of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any inventive step based on the embodiments in the present application, shall fall within the scope of protection of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the present application are described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the present application, the terms "upper", "lower", "left", "right", "front", "rear", "top", "bottom", "inner", "outer", "middle", "vertical", "horizontal", "lateral", "longitudinal", and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings. These terms are used primarily to better describe the present application and its embodiments, and are not intended to limit the indicated devices, elements or components to a particular orientation or to be constructed and operated in a particular orientation.
Moreover, some of the above terms may be used to indicate other meanings besides the orientation or positional relationship, for example, the term "on" may also be used to indicate some kind of attachment or connection relationship in some cases. The specific meanings of these terms in the present application can be understood by those of ordinary skill in the art as appropriate.
Furthermore, the terms "mounted," "disposed," "provided," "connected," and "sleeved" are to be construed broadly. For example, it may be a fixed connection, a removable connection, or a unitary construction; can be a mechanical connection, or an electrical connection; may be directly connected, or indirectly connected through intervening media, or may be in internal communication between two devices, elements or components. The specific meanings of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the drawings.
The existing host migration system in the market can migrate the host of the off-line operating system to the Tencent cloud only by third-party migration software which is not bound to a common cloud manufacturer, and the PE technical principle with the network card drive is adopted, so that the interruption cannot be caused in the process of converting the cloud host, and the privatization deployment of the software system consumes long time and is complex to use.
The invention adopts SaaS (Software-as-a-Service abbreviation name, meaning Software-as-a-Service, that is, Software Service is provided through network) Software Service form to provide migration Service for all users, so that the migration can be performed only by networking without deploying a migration system at a user side.
Windows installs an Agent program (Agent program), L inux only needs to open SSH login without installing software.
Windows system: according to the method, a copied data processing Agent program is installed on an operating system, a local file system is copied, cloned and transmitted to a cloud end through a file system VSS (volume shadow copy service) volume shadow snapshot function principle, copied data are recovered through a series of processing and repairing scripts at the cloud end, the file authority problem, the system starting and loading problem, the driving problem, network configuration and the like are processed, and therefore the method is suitable for running in the cloud end environment. And finally, generating a system self-defined mirror image capable of deploying the cloud host at the cloud end.
L inux system, the invention logs in a port through a source server SSH, detects system environment and related information after automatically logging in the system, automatically installs related migration components, starts a data copying process, connects a cloud server, receives a cloud API instruction, and can perform file filtering and increment synchronization.
The core technology of the migration service of the invention mainly comprises data copying and system disk repairing. Windows is done with an Agent developed for python 2.7.
1. Copying data:
the Windows system data comprises a Windows system disk and a data disk, the Windows system disk and the data disk are synchronized to the addresses of the copy copies of the volume images by means of Vss volume image snapshots and an rsync copying tool to form first migration data, the Vss creates the copy copies of the volume images by using a win32com module through python, and the addresses of the obtained copy volumes of the volume images are transmitted to the rsync copying tool to copy the migration data, namely the first migration data is formed; preferably, the address of the acquired copy volume of the volume copy is encrypted and then transmitted to an rsync copying tool for copying migration data, and the encryption carries out directional replacement on symbols in the address of the acquired copy volume of the volume copy. Such as replacing the symbol "\" in the address of the acquired copy volume of the volume copy with "/". In a further preferred embodiment, the Rsync is an encrypted transmission. When Windows system data is copied, copying the attributes of a system file while copying the data in the Windows system disk, wherein the attributes comprise file type, length, position, storage category, establishment time and the like; the copied file attribute is used for starting a program and repairing the file owner; when the Windows data disk is copied, the copying corresponding to the attributes of the data file carried by the Windows data disk is not needed.
L inux system data is copied (i.e., second migration data is formed) of the migration data by the rsync copy tool.
2. A repair system: flow of repair system
Taking Windows and L inux repair as examples, the method is mainly divided into 4 steps.
(1) Installation starting item: the mbr is first installed by command. Windows installs mbr using bootsect. exe, and then installs Windows bootie using bcdboot (Windows2003 installs only mbr). Install mbr example: bootseal. exe/nt60 d:/mbr, installation boot example: bcdboot d, \\ windows/l zh-cn/s d:
(2) the file owner is repaired, wherein the owner of all folders of the system is exported by using a python win32api module at an origin server (the step is completed when data is copied again), then a BAT script is generated according to the owner setting command format of icals, then the BAT script is executed at a transit server, and the owner of the copied system file is repaired.
(3) Creating a starting program: the boot startup program is a one-time boot startup program for creating a mirror image when a server is created, and the program is an exe program developed by python27 and mainly used for repairing some link files and system file permissions in system files. Repairing the link file is mainly done using the system command mklink. The permissions of the system files are done using the python win32security module.
(4) Clearing the registry and installing the driver: the problem that the system cannot be started due to inconsistent migration hardware change drivers is mainly solved when the registry is cleared.
The method mainly comprises the steps of editing a registry file of a migrated source server into a registry of a transit server, deleting hardware information which is mainly detected by the source server, deleting all sub-items except ' ROOT ' under HKEY _ L OCA L _ MACHINE \ SYSTEM \ ControlSet001\ ENum in the registry, then deleting ' KDNIC ', NDISVIRTUA L BUS ', ' SYSTEM ', ' UMBUS ', finally modifying HKEY _ L OCA L _ MACHI \ SYSTEM \ ControlSet \ Enum ROOT \ SYSTEM \0000, and unloading the registry of the source server after completion, wherein the operation is directed at versions above the winn, the installation of a new driver is mainly required by a drive address file of a new installation platform, and the installation of a drive program is not required by a drive SYSTEM driver/driver in a mode of 32(10 SYSTEM), and the installation of a drive program of a Windows driver/driver is not required by a temporary drive, namely, the installation of a drive program in a Windows driver/driver 2008/driver is not required by a temporary drive command under a Windows driver/2008-2008.
To achieve the above object, according to another aspect of the present application, there is provided a data migration system.
The data migration system according to the present application is applicable to any one of the host migration methods described above, including,
the data processing module is used for determining migration data of the source server and receiving a cloud address; wherein the content of the first and second substances,
synchronizing Windows system data of the source server to a volume copy address by using a Vss volume shadow snapshot and an rsync copying tool to form first migration data; and/or
Forming second migration data by using L inux system data of the source server through an rsync copying tool;
transmitting the first migration data and/or the second migration data to the receiving cloud address;
the data restoration module is used for restoring the first migration data and/or the second migration data; the step of repairing the first migration data and/or the second migration data in the first cloud address comprises installing a starting item, repairing a file owner, creating a boot program, cleaning a registry and installing a driver.
Further, the data processing module comprises an encryption unit, and the encryption unit encrypts the address of the acquired volume copy volume.
Further, the data module is a receiving server and/or a cloud.
The migration platform adapted to the host migration method is mainly divided into a platform control layer and a data layer such as an operation of a source server/a transfer server/a public cloud manufacturer.
1. Control plane (SmartMS):
1.1 Portal: the method comprises the steps of providing a WEB UI (user interface) to perform migration operation with user interaction, providing source server addition, information acquisition, migration task distribution, disk initialization of a transfer server, repairing a disk migrated to the transfer server into a system disk, creating related resources such as a cloud manufacturer transfer server, and importing a mirror image.
1.2 migration API, specifically to realize L inux/Windows real migration operation interface, provide source server information acquisition, data migration, system disk repair, mirror image import and other core functions.
2. And (3) data layer:
2.1 source server: the source server is a migration target server, which may be a physical machine/KVM/VMware/Hyper-V/XEN, and may migrate its system disk to be a final mirror image, and the data disk supports incremental migration to the data disk on the target server.
2.2 transfer server: the first disk is a system disk corresponding to the source server, and is finally repaired to be a mirror image, and the data disk supports incremental data migration and does not need data exclusion.
The migration flow chart of the host migration method corresponding to the application of the invention can be roughly divided into three stages, including:
1. detecting by the source server:
1.1L inux Server
L, the inux server logs in by using a user name/password at present, and a user firstly fills in source server login information on a migration platform to obtain detailed information in the source server, so as to judge whether the source server meets the migration requirement.
1.2Windows Server
The Windows server needs to download the Agent given by the migration platform in the server in advance and operate, the migration platform performs information interaction with the secondary Agent, then fills in the IP address and Agent related information of the Windows server on the migration platform, and judges whether the Windows server meets the migration requirement after acquiring the source server information.
2. Cloud platform detection:
at present, taking Tencent cloud as an example, a user needs to fill in AK information of a cloud account on a migration platform, and then the platform detects whether the AK is available and whether the balance of the account is greater than 100, so that the AK cloud account is guaranteed to have a cost of a volume server and a bandwidth which can meet the migration.
3. Data migration:
3.1 System disk migration
After the AK information of the source server and the cloud account is added to the migration platform without errors, the migration task creation is started, a target region migrated to a public cloud can be established, the migration task is migrated at regular time, after the task submission is completed, the migration platform calls a migration API to create a public cloud transit server, if the target region is Windows, the Agent in the transit server is automatically distributed, and then the transit server disk formatting is carried out. And after the disk is formatted and mounted, issuing a migration task, performing file-level data migration from a source server system disk to a data disk mounted by a transfer server, acquiring the size of a migration file and judging whether a migration process is abnormal by a migration platform in the period, and after the migration data of the system disk is completed, issuing by the platform to make the data disk into a snapshot and then importing the snapshot into a cloud platform mirror image. The mirror image may be utilized to turn on the origin server system at this point.
3.2 data disk migration
If the migrated source server has a plurality of data disks, a data disk migration task is added at the same time, the data disk task supports incremental migration, a corresponding data disk is automatically added on the transfer server for formatting and mounting, then the same process as the migration of the system disk file of the source server is carried out, and the size and the progress of the migrated file are obtained during the process. After the first full migration is completed, the incremental migration is performed later, and the client can stop the incremental migration of the data disk by a manual port migration process. Finally, the data of the data disk is stored in the migrated target disk and can be mounted on a server for use.
The migration platform is roughly divided into a platform control layer and a data layer such as a source server/a transit server/a public cloud manufacturer operation.
1. Control plane (SmartMS):
1.1 Portal: the method comprises the steps of providing a WEB UI (user interface) to perform migration operation with user interaction, providing source server addition, information acquisition, migration task distribution, disk initialization of a transfer server, repairing a disk migrated to the transfer server into a system disk, creating related resources such as a cloud manufacturer transfer server, and importing a mirror image.
1.2 migration API, specifically to realize L inux/Windows real migration operation interface, provide source server information acquisition, data migration, system disk repair, mirror image import and other core functions.
2. And (3) data layer:
2.1 source server: the source server is a migration target server, which may be a physical machine/KVM/VMware/Hyper-V/XEN, and may migrate its system disk to be a final mirror image, and the data disk supports incremental migration to the data disk on the target server.
2.2 transfer server: the first disk is a system disk corresponding to the source server, and is finally repaired to be a mirror image, and the data disk supports incremental data migration and does not need data exclusion.
As shown in FIG. 2, the migration process can be generally divided into three phases
1. Detecting by the source server:
1.1L inux Server
L, the inux server logs in by using a user name/password at present, and a user firstly fills in source server login information on a migration platform to obtain detailed information in the source server, so as to judge whether the source server meets the migration requirement.
1.2Windows Server
The Windows server needs to download the Agent given by the migration platform in the server in advance and operate, the migration platform performs information interaction with the secondary Agent, then fills in the IP address and Agent related information of the Windows server on the migration platform, and judges whether the Windows server meets the migration requirement after acquiring the source server information.
2. Cloud platform detection:
at present, taking Tencent cloud as an example, a user needs to fill in AK information of a cloud account on a migration platform, and then the platform detects whether the AK is available and whether the balance of the account is greater than 100, so that the AK cloud account is guaranteed to have a cost of a volume server and a bandwidth which can meet the migration.
3. Data migration:
3.1 System disk migration
After the AK information of the source server and the cloud account is added to the migration platform without errors, the migration task creation is started, a target region migrated to a public cloud can be established, the migration task is migrated at regular time, after the task submission is completed, the migration platform calls a migration API to create a public cloud transit server, if the target region is Windows, the Agent in the transit server is automatically distributed, and then the transit server disk formatting is carried out. And after the disk is formatted and mounted, issuing a migration task, performing file-level data migration from a source server system disk to a data disk mounted by a transfer server, acquiring the size of a migration file and judging whether a migration process is abnormal by a migration platform in the period, and after the migration data of the system disk is completed, issuing by the platform to make the data disk into a snapshot and then importing the snapshot into a cloud platform mirror image. The mirror image may be utilized to turn on the origin server system at this point.
3.2 data disk migration
If the migrated source server has a plurality of data disks, a data disk migration task is added at the same time, the data disk task supports incremental migration, a corresponding data disk is automatically added on the transfer server for formatting and mounting, then the same process as the migration of the system disk file of the source server is carried out, and the size and the progress of the migrated file are obtained during the process. After the first full migration is completed, the incremental migration is performed later, and the client can stop the incremental migration of the data disk by a manual port migration process. Finally, the data of the data disk is stored in the migrated target disk and can be mounted on a server for use.
The migration step can be divided into five major steps
1. Binding a cloud account AK: adding a target public cloud AK account and verifying availability.
2. Create (associate) migration source server: the platform adds a source server and acquires source server information
3. Creating a migration task: selecting a source server and migrating the source server to a target cloud under the account number
4. Automatic migration: executing internal migration flow to automate migration
5. Generating a custom mirror image: and generating a custom mirror image on the cloud platform, and starting a final server according to the secondary mirror image target.
As shown in FIG. 3, the system repair process related to the present invention can be divided into L inux/Windows repair, which is detailed as follows:
l inux system disk repair, when the source server system disk file is copied to the transfer server, the system disk repair is started, the step is the core step of system disk migration, which can be roughly divided into four steps:
1.1 repair mbr: restoring mbr copy of transit server startup entry to repaired data disk
1.2 repair grub/install bootloader: boot loader for installing boot startup item after repairing grub of source server
1.3 repair fstab/clear ssh Key: repairing the disk content of the fstab and cleaning the ssh key file
1.4 repair network: if the address is a write-dead IP address, the address needs to be repaired to be a DHCP acquisition address in the public cloud
And 2, repairing the Windows system disk, and performing four steps of repairing the system disk after the migration of the system disk file is completed by the same linux:
2.1 installation of mbr: initial installation of mbr
2.2 repair system file owner: file owner repair of migrated system files according to authority
2.3 creating a boot startup program: boot program creation and repair for migration system
2.4 install virtio drive/clean registry: installing virtio to start and cleaning the unique mark registry.
The beneficial technical effects of the invention application are as follows:
1. social effects
Accelerating enterprise transformation: under the large background of the cloud computing wave, the traditional enterprise similar to a migration tool can be rapidly migrated to each public cloud manufacturer, so that the cloud computing is actively embraced, and the digital transformation of the enterprise is accelerated.
And the efficiency of the enterprise is improved: the enterprise can deliver a plurality of works such as traditional IT operation and maintenance management to cloud manufacturers, and the enterprise can concentrate on the business of the enterprise, so that the working efficiency is improved.
2. Economic effect
The resource utilization rate is improved: the elastic expansion characteristic of the cloud computing can be utilized, the resource utilization rate of the server is greatly improved, and resources are enabled to be furthest
Pay-as-needed cost saving: traditional server resources are migrated to the cloud, pay-as-needed payment brought by cloud computing can be enjoyed, the server resources can be elastically stretched, and the IT cost is greatly reduced.
3. Technical effects
High-efficiency and stable: compared with manual file transmission, the method is more efficient, the whole migration process is completed by using the program, multi-task parallel is supported, and the occurrence of abnormal migration conditions is greatly reduced.
Strong applicability: compared with the traditional method of deploying the application in the target server, the method for migrating the whole system into the mirror image has higher applicability by migrating a single tool.
Compared with the traditional block level migration, the file migration is lighter, and all files in the system depend on the network speed.
File migration may specify that those files need not be migrated, such as obsolete log logs, etc.
The target is a mirror image, and the mirror image format can be related and converted to be imported into different cloud platforms.
Flexible and quick: and supporting system disk migration to make an image, indicating migration of the plurality of data disks, and keeping the increment of the data disk file.
Simple and easy to use: through the visual interface, cloud is migrated in one key mode, and troubles brought by traditional cloud migration are fundamentally overturned.
The support is wide, different platforms such as a support physical machine/KVM/VMware/Hyper-V/XEN and the like are available, and L inux/Windows systems are mainstream.
In the embodiment of the application, a data transmission mode between a source server and a receiving address is planned and designed, migration services are provided for all users in a SaaS software service mode, the purpose that a user side can migrate only through networking without deploying a migration system is achieved, and therefore the technical effect is achieved, and the technical problems that an existing host migration system can migrate an off-line operating system host to a Tencent cloud only through third-party migration software which is not bound to a common cloud manufacturer, and the adoption of a PE technical principle with a network card drive can not interrupt the process of converting the cloud host, the software system is deployed privately, time is long, and the use is complex are solved.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (6)

1. A host migration method, comprising:
determining migration data and a receiving address of a source server;
synchronizing Windows system data of the source server to a volume copy address by using a Vss volume shadow snapshot and an rsync copying tool to form first migration data;
and/or
Forming second migration data by using L inux system data of the source server through an rsync copying tool;
and transmitting the first migration data and/or the second migration data to the receiving address.
2. The host migration method according to claim 1, wherein said Windows system data is passed through said Vss volume shadow snapshot, creating a volume shadow copy using a win32com module; transmitting the address of the acquired volume copy volume to an rsync copying tool to copy the migration data;
and/or
The L inux system data is copied to the migration data by the rsync copy tool.
3. The host migration method according to claim 2, further comprising encrypting the address of the acquired volume copy volume and transmitting the encrypted address to an rsync copy tool for copying migration data.
4. The host migration method according to claim 3, wherein the encryption process performs directional replacement on a symbol in the address of the acquired volume copy volume.
5. The host migration method according to claim 1, further comprising receiving reception and repair of the first migration data and/or the second migration data in the reception address by the reception server;
wherein the content of the first and second substances,
and the step of repairing the first migration data and/or the second migration data in the receiving address comprises installing a starting item, repairing a file owner, creating a starting program, cleaning a registry and installing a driver.
6. The host migration method according to claim 5, wherein said repairing the file owner comprises,
the owner of the migration data is exported by using a python win32api module at the source server, the owner command format of the migration data is set according to icacs, a BAT script is generated, and the BAT script is transmitted to the receiving server to repair the owner of the received migration data.
CN202010293054.7A 2020-04-15 2020-04-15 Host migration method Pending CN111459643A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010293054.7A CN111459643A (en) 2020-04-15 2020-04-15 Host migration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010293054.7A CN111459643A (en) 2020-04-15 2020-04-15 Host migration method

Publications (1)

Publication Number Publication Date
CN111459643A true CN111459643A (en) 2020-07-28

Family

ID=71684515

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010293054.7A Pending CN111459643A (en) 2020-04-15 2020-04-15 Host migration method

Country Status (1)

Country Link
CN (1) CN111459643A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553958A (en) * 2022-01-04 2022-05-27 深圳绿米联创科技有限公司 Data migration processing method and device, electronic equipment and storage medium
CN117111836A (en) * 2023-06-13 2023-11-24 贵州电网有限责任公司 Data migration system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110231698A1 (en) * 2010-03-22 2011-09-22 Zlati Andrei C Block based vss technology in workload migration and disaster recovery in computing system environment
CN104572347A (en) * 2014-12-02 2015-04-29 上海爱数软件有限公司 System recovery method based on block-level recovery, registry correction and driver injection
CN106775993A (en) * 2017-02-15 2017-05-31 郑州云海信息技术有限公司 A kind of physical machine is migrated to the method and system of cloud computing platform
CN107122223A (en) * 2016-02-25 2017-09-01 深圳市深信服电子科技有限公司 Data migration method and device
CN110928557A (en) * 2018-09-19 2020-03-27 阿里巴巴集团控股有限公司 Method, device and system for realizing migration of operating system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110231698A1 (en) * 2010-03-22 2011-09-22 Zlati Andrei C Block based vss technology in workload migration and disaster recovery in computing system environment
CN104572347A (en) * 2014-12-02 2015-04-29 上海爱数软件有限公司 System recovery method based on block-level recovery, registry correction and driver injection
CN107122223A (en) * 2016-02-25 2017-09-01 深圳市深信服电子科技有限公司 Data migration method and device
CN106775993A (en) * 2017-02-15 2017-05-31 郑州云海信息技术有限公司 A kind of physical machine is migrated to the method and system of cloud computing platform
CN110928557A (en) * 2018-09-19 2020-03-27 阿里巴巴集团控股有限公司 Method, device and system for realizing migration of operating system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114553958A (en) * 2022-01-04 2022-05-27 深圳绿米联创科技有限公司 Data migration processing method and device, electronic equipment and storage medium
CN117111836A (en) * 2023-06-13 2023-11-24 贵州电网有限责任公司 Data migration system and method

Similar Documents

Publication Publication Date Title
US11237811B2 (en) Software installation onto a client using existing resources
AU2009257865B2 (en) Synchronizing virtual machine and application life cycles
US8387045B2 (en) Cloning image creation using virtual machine environment
CN102710814B (en) The control method of virtual machine IP address and device
US8326449B2 (en) Augmenting a virtual machine hosting environment from within a virtual machine
US20040117414A1 (en) Method and system for automatically updating operating systems
US7886292B2 (en) Methodology of individualized software deployment for hardware-independent personal computer mass development
US7512833B1 (en) Universal imaging utility program
CN102447723A (en) Client-side virtualization framework
US20180343300A1 (en) Methods and apparatus to perform data migration in a distributed environment
CN107992355A (en) A kind of method, apparatus and virtual machine of application deployment software
CN105204902B (en) A kind of the security patch upgrade method and device of virtual machine
CN104636159B (en) The method and apparatus that software in virtual machine is upgraded
CN110347483B (en) Method and device for migrating physical machine to virtual machine and storage medium
CN106569876A (en) Direct device visiting model-based virtual machine migrating method and apparatus
CN111459643A (en) Host migration method
CN105162667B (en) Virtual machine configuration method and apparatus
CN107704249A (en) A kind of system and method for installing configuration automatically for physical machine
WO2009149416A1 (en) Automated filer technique for use in virtualized appliances and applications
US8549545B2 (en) Abstraction of computer disk image cloning capabilities from bootable media
CN111459644A (en) Host migration system
CN111061537A (en) Method, system and device for updating Tools of virtual machine and readable storage medium
CN107222355B (en) Server upgrading method and device
JP4353003B2 (en) Installation method, installation method, distribution device and program thereof
CN104102555B (en) Increase income data backup and resume method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200728