CN111459644A - Host migration system - Google Patents
Host migration system Download PDFInfo
- Publication number
- CN111459644A CN111459644A CN202010293137.6A CN202010293137A CN111459644A CN 111459644 A CN111459644 A CN 111459644A CN 202010293137 A CN202010293137 A CN 202010293137A CN 111459644 A CN111459644 A CN 111459644A
- Authority
- CN
- China
- Prior art keywords
- migration
- data
- server
- cloud
- source server
- 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
Links
- 230000005012 migration Effects 0.000 title claims abstract description 180
- 238000013508 migration Methods 0.000 title claims abstract description 175
- 238000012545 processing Methods 0.000 claims abstract description 10
- 230000008439 repair process Effects 0.000 claims description 19
- 238000004140 cleaning Methods 0.000 claims description 5
- 239000000126 substance Substances 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 abstract description 5
- 238000000034 method Methods 0.000 description 35
- 230000008569 process Effects 0.000 description 18
- 238000012546 transfer Methods 0.000 description 14
- 238000009434 installation Methods 0.000 description 9
- 230000000694 effects Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000006855 networking Effects 0.000 description 3
- 238000013515 script Methods 0.000 description 3
- 238000001514 detection method Methods 0.000 description 2
- 230000007717 exclusion Effects 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000009466 transformation Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000012141 concentrate Substances 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000000192 social effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
- G06F9/4856—Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
- G06F9/4862—Task 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
- G06F9/4856—Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
- G06F9/4862—Task 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/4868—Task 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data 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 system.A data processing module determines migration data and a receiving cloud end address of a source server, wherein Windows system data of the source server is synchronized to a volume shadow copy address by utilizing a Vss volume shadow snapshot and an rsync copy tool to form first migration data, L inux system data of the source server is synchronized to second migration data by utilizing the rsync copy tool, and the first migration data and/or the second migration data are transmitted to the receiving cloud end address.
Description
Technical Field
The invention relates to the field of data copying and migration, in particular to a host migration system.
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 system, which adopts a SaaS software service form to provide migration services for all users, a user side does not need to deploy the migration system and can migrate only by networking, 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, interruption in the process of converting a cloud host cannot be caused by the adoption of a PE (provider edge) technical principle with a network card drive, the software system is privately deployed, the time is long, and the use is complex are solved.
A host migration system includes a host migration module,
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;
and 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.
The data processing module comprises an encryption unit, and the encryption unit encrypts the address of the acquired volume copy volume.
The data module is a receiving server and/or a cloud.
In the embodiment of the invention, a data processing module determines migration data and a receiving cloud end address of a source server, wherein Windows system data of the source server are synchronized to a volume shadow copy address by using a Vss volume shadow snapshot and an rsync copy tool to form first migration data, L inux system data of the source server are synchronized to form second migration data by using the rsync copy tool, and the first migration data and/or the second migration data are transmitted to the receiving cloud end address.
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: bootsect. exe/nt60d:/mbr, installation boot example: bcdbootd \\ windows/lzh-cn/sd:
(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 source server after being mounted and moved 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, wherein the key Configflag value is 32(10 SYSTEM), unloading the registry of the source server after the completion of the modification is capable of carrying out other operations aiming at a version above a winn, the installation of a new driver after the installation of the source server is mainly carried out by a temporary drive mark, and the installation of a drive program is not described as a temporary drive/drive in a mode of a Windows driver, namely, the installation of a temporary drive mark/drive is not described by a temporary drive, namely a drive mark of a Windows driver, a temporary drive, and a drive is needed by a temporary drive/copy of a Windows driver 2016/copy after the installation of a Windows, namely a temporary drive, namely a temporary drive, a drive, namely a drive, namely a drive is described by a drive, namely a drive, a.
To achieve the above object, according to another aspect of the present application, there is provided a host migration system.
The host migration system according to the present application is applicable to any one of the above-mentioned host migration methods, 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 (4)
1. A host migration system includes a host migration module,
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;
and transmitting the first migration data and/or the second migration data to the receiving cloud address.
2. The host migration system according to claim 1, further comprising a data repair module that repairs 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.
3. The host migration system according to claim 1, wherein the data processing module includes an encryption unit that encrypts the address of the acquired volume copy volume.
4. The host migration system according to claim 1, wherein the data module is a receiving server and/or a cloud.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010293137.6A CN111459644A (en) | 2020-04-15 | 2020-04-15 | Host migration system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010293137.6A CN111459644A (en) | 2020-04-15 | 2020-04-15 | Host migration system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111459644A true CN111459644A (en) | 2020-07-28 |
Family
ID=71685359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010293137.6A Pending CN111459644A (en) | 2020-04-15 | 2020-04-15 | Host migration system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111459644A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060064474A1 (en) * | 2004-09-23 | 2006-03-23 | Feinleib David A | System and method for automated migration from Linux to Windows |
CN103297492A (en) * | 2012-02-07 | 2013-09-11 | 国际商业机器公司 | Migrating data between networked computing environments |
US20130262638A1 (en) * | 2011-09-30 | 2013-10-03 | Commvault Systems, Inc. | Migration of an existing computing system to new hardware |
US20130262390A1 (en) * | 2011-09-30 | 2013-10-03 | Commvault Systems, Inc. | Migration of existing computing systems to cloud computing sites or virtual machines |
CN104572347A (en) * | 2014-12-02 | 2015-04-29 | 上海爱数软件有限公司 | System recovery method based on block-level recovery, registry correction and driver injection |
CN110737467A (en) * | 2018-07-18 | 2020-01-31 | 中移(苏州)软件技术有限公司 | service migration method and device |
CN110928557A (en) * | 2018-09-19 | 2020-03-27 | 阿里巴巴集团控股有限公司 | Method, device and system for realizing migration of operating system |
-
2020
- 2020-04-15 CN CN202010293137.6A patent/CN111459644A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060064474A1 (en) * | 2004-09-23 | 2006-03-23 | Feinleib David A | System and method for automated migration from Linux to Windows |
US20130262638A1 (en) * | 2011-09-30 | 2013-10-03 | Commvault Systems, Inc. | Migration of an existing computing system to new hardware |
US20130262390A1 (en) * | 2011-09-30 | 2013-10-03 | Commvault Systems, Inc. | Migration of existing computing systems to cloud computing sites or virtual machines |
CN103297492A (en) * | 2012-02-07 | 2013-09-11 | 国际商业机器公司 | Migrating data between networked computing environments |
CN104572347A (en) * | 2014-12-02 | 2015-04-29 | 上海爱数软件有限公司 | System recovery method based on block-level recovery, registry correction and driver injection |
CN110737467A (en) * | 2018-07-18 | 2020-01-31 | 中移(苏州)软件技术有限公司 | service migration method and device |
CN110928557A (en) * | 2018-09-19 | 2020-03-27 | 阿里巴巴集团控股有限公司 | Method, device and system for realizing migration of operating system |
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 | |
US6920555B1 (en) | Method for deploying an image into other partition on a computer system by using an imaging tool and coordinating migration of user profile to the imaged computer system | |
US20040117414A1 (en) | Method and system for automatically updating operating systems | |
CN102591675B (en) | Method and system for management of multiple software images with shared memory blocks | |
US10747585B2 (en) | Methods and apparatus to perform data migration in a distributed environment | |
US7512833B1 (en) | Universal imaging utility program | |
CN104657174A (en) | Method and device for dynamically realizing application function | |
CN102447723A (en) | Client-side virtualization framework | |
CN107992355A (en) | A kind of method, apparatus and virtual machine of application deployment software | |
EP2132629A1 (en) | Augmenting a virtual machine hosting environment from within a virtual machine | |
CN104636159B (en) | The method and apparatus that software in virtual machine is upgraded | |
CN107066287A (en) | The method and system of ESXI virtual machine automatic deployment installation systems | |
CN111459643A (en) | Host migration method | |
CN104601617A (en) | Peripheral access processing method and device in virtual desktop system | |
CN108255574A (en) | A kind of virtual machine migration method and device | |
CN105204902A (en) | Method and device for upgrading security patches of virtual machine | |
CN105162667B (en) | Virtual machine configuration method and apparatus | |
WO2009149416A1 (en) | Automated filer technique for use in virtualized appliances and applications | |
CN107704249A (en) | A kind of system and method for installing configuration automatically for physical machine | |
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 |
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 |