CN110134489B - Application migration method, device, system, storage medium and application cloud application tool - Google Patents

Application migration method, device, system, storage medium and application cloud application tool Download PDF

Info

Publication number
CN110134489B
CN110134489B CN201810129847.8A CN201810129847A CN110134489B CN 110134489 B CN110134489 B CN 110134489B CN 201810129847 A CN201810129847 A CN 201810129847A CN 110134489 B CN110134489 B CN 110134489B
Authority
CN
China
Prior art keywords
application
information
virtual machine
cloud virtual
target cloud
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.)
Active
Application number
CN201810129847.8A
Other languages
Chinese (zh)
Other versions
CN110134489A (en
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201810129847.8A priority Critical patent/CN110134489B/en
Publication of CN110134489A publication Critical patent/CN110134489A/en
Application granted granted Critical
Publication of CN110134489B publication Critical patent/CN110134489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing

Abstract

The invention provides an application migration method, an application migration device, an application migration system, a storage medium and an application cloud tool. The application migration method comprises the following steps: determining an application to be migrated in a source node and a target cloud virtual machine to which the application is to be migrated; acquiring application information of an application, and migrating the application information to a target cloud virtual machine; and processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine. Through the technical scheme, the problem that reinstallation configuration is needed when the application is migrated to the cloud virtual machine in the related technology can be solved.

Description

Application migration method, device, system, storage medium and application cloud application tool
Technical Field
The invention relates to the field of communication, in particular to an application migration method, an application migration device, an application migration system, a storage medium and an application cloud tool.
Background
Many institutions need to migrate applications in batches from traditional physical machines to cloud virtual machines when building cloud computing systems; the existing migration scheme mainly creates and distributes new virtual machines, and when a user migrates applications, all applications need to be reinstalled and deployed on the new virtual machines, so that not only is the application data accumulated before lost, but also the time and labor cost of online cloud computing systems are greatly increased.
The cloud migration tools such as physical to virtual (Physical to Virtual, P2V)/virtual to virtual (virtual machine to virtual machine, V2V) and the like can carry out complete machine migration, so that a user can continue to use the original application; however, the whole machine migration can only keep the original system unchanged completely, and if the operating system needs to be cleaned, updated and upgraded while the application is migrated to the new machine, or only partial application needs to be reserved in the new machine, the whole machine migration cannot be realized.
Aiming at the problems that in the related technology, reinstallation configuration is needed when an application is migrated to a cloud virtual machine, an effective solution is not proposed at present.
Disclosure of Invention
The embodiment of the invention provides an application migration method, an application migration device, an application migration system, a storage medium and an application cloud loading tool, which at least solve the problems that in the related art, reinstallation configuration is needed when an application is migrated to a cloud virtual machine.
According to an embodiment of the present invention, there is provided an application migration method including:
determining an application to be migrated in a source node and a target cloud virtual machine to which the application is to be migrated;
acquiring application information of an application, and migrating the application information to a target cloud virtual machine;
and processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine.
Optionally, processing the application information in the target cloud virtual machine so that the application to be migrated is used in the target cloud virtual machine, including:
and processing the application information in the target cloud virtual machine according to the application information type indicated by the application information, so that the application to be migrated is used in the target cloud virtual machine.
Optionally, processing, in the target cloud virtual machine, the application information according to the application information type indicated by the application information, so that an application to be migrated is used in the target cloud virtual machine, including:
when the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in the target cloud virtual machine;
when the type of the application information indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in the special service application system.
Optionally, migrating the application information to the target cloud virtual machine includes at least one of:
Creating a remote shared directory through a Windows management Specification (Windows Management Instrumentation, WMI) interface to migrate application information to a target cloud virtual machine;
creating a remote sharing directory in an SSH mode to migrate the application information to the target cloud virtual machine;
and migrating the application information to the target cloud virtual machine through remote copying.
Optionally, before collecting the application information of the application, the method further includes:
system information of a source node and a target cloud virtual machine is respectively acquired, wherein the system information at least comprises one of the following information: operating system type, operating system version, CPU size, memory size, disk space remaining size.
Optionally, the method further comprises:
judging whether the target cloud virtual machine meets the migration condition of the application information according to the system information of the source node and the target cloud virtual machine, wherein the migration condition at least comprises one of the following conditions:
the type of the operating system of the target cloud virtual machine is matched with the type of the operating system of the source node; the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance; the CPU of the target cloud virtual machine is larger than the CPU of the source node; the memory of the target cloud virtual machine is larger than the memory of the source node;
And when the judging result indicates that the target cloud virtual machine meets the migration condition of the application information, migrating the application information to the target cloud virtual machine.
Optionally, when at least one of the following is determined: the method comprises the steps that the disk residual space of a target cloud virtual machine is smaller than the space size occupied by an application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is smaller than the CPU of a source node, the memory of the target cloud virtual machine is smaller than the memory of the source node, and a notification is sent to an adjusting module in the target cloud virtual machine, wherein the notification is used for adjusting the disk residual space size or the CPU size or the memory size of the target cloud virtual machine so as to realize at least one of the following: the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is larger than the CPU of the source node, and the memory of the target cloud virtual machine is larger than the memory of the source node.
Optionally, after collecting the application information of the application, further includes: storing application information and the corresponding relation of the information type of the application information, the application information and the initial position of the application information; wherein the initial position includes at least one of: directory path, registry key, configuration key, and system key for the application.
According to an embodiment of the present invention, there is provided an application migration apparatus including:
the first determining module is used for determining an application to be migrated in the source node and a target cloud virtual machine to which the application is to be migrated;
the first acquisition module is used for acquiring application information of the application;
the first migration module is used for migrating the application information to the target cloud virtual machine;
the first processing module is used for processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine.
Optionally, the first processing module is further configured to process, in the target cloud virtual machine, the application information according to the application information type indicated by the application information, so that an application to be migrated is used in the target cloud virtual machine.
Optionally, the first processing module is further configured to:
when the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in the target cloud virtual machine;
when the type of the application information indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in the special service application system.
According to one embodiment of the present invention, there is provided an application cloud tool including:
the second determining module is used for determining the application to be migrated in the source node and the target cloud virtual machine to which the application is to be migrated on the tool interface;
the second acquisition module is used for acquiring application information of the application;
the second migration module is used for migrating the application information to the target cloud virtual machine;
and the second processing module is used for processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine.
Optionally, the second processing module is further configured to process, in the target cloud virtual machine, the application information according to the application information type indicated by the application information, so that an application to be migrated is used in the target cloud virtual machine.
Optionally, the second processing module is further configured to:
when the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in the target cloud virtual machine;
when the type of the application information indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in the special service application system.
According to one embodiment of the present invention, there is provided an application migration system including:
the source node, the target cloud virtual machine and the application cloud loading tool, wherein,
the application cloud loading tool is used for determining an application to be migrated in the source node and a target cloud virtual machine to which the application is to be migrated on the tool interface, collecting application information of the application, migrating the application information to the target cloud virtual machine, and processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine.
Optionally, the application cloud loading tool is further configured to process the application information in the target cloud virtual machine according to the application information type indicated by the application information, so that an application to be migrated is used in the target cloud virtual machine.
Optionally, the application cloud tool is further configured to:
when the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in the target cloud virtual machine;
when the type of the application information indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in the special service application system.
According to an embodiment of the present application, there is provided a storage medium, characterized in that the storage medium has stored therein a computer program, wherein the computer program is arranged to execute any one of the application migration methods described above at run-time.
According to an embodiment of the application, there is provided an electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform any of the above mentioned application migration methods.
According to the method and the device, the application to be migrated in the source node and the target cloud virtual machine to which the application is to be migrated are determined; acquiring application information of an application, and migrating the application information to a target cloud virtual machine; and processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine. The method and the device can solve the problems that in the related technology, reinstallation configuration is needed when the application is migrated to the cloud virtual machine.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a flow chart of an application migration method according to an embodiment of the present application;
FIG. 2 is a block diagram of an application migration apparatus according to an embodiment of the present application;
FIG. 3 is a block diagram of an application cloud tool according to an embodiment of the present application;
FIG. 4 is a block diagram of an application migration system according to an embodiment of the present application;
FIG. 5 is a flow chart of an application migration method according to an alternative embodiment of the present application;
FIG. 6 is a flow chart (II) of an application migration method according to an alternative embodiment of the present application;
FIG. 7 is a block diagram of an application migration apparatus according to an alternative embodiment of the present application;
FIG. 8 is a flow chart (III) of an application migration method according to an alternative embodiment of the present application;
FIG. 9 is a flow chart (fourth) of an application migration method according to an alternative embodiment of the present application;
FIG. 10 is a flowchart (fifth) of an application migration method according to an alternative embodiment of the present application;
FIG. 11 is a flowchart (sixth) of an application migration method according to an alternative embodiment of the present application;
fig. 12 is a flowchart (seventh) of an application migration method according to an alternative embodiment of the present application.
Detailed Description
The application will be described in detail hereinafter with reference to the drawings in conjunction with embodiments. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
Example 1
The embodiment provides an application migration method which can be applied to an application cloud tool. Fig. 1 is a flowchart of an application migration method according to an embodiment of the present invention, as shown in fig. 1, the flowchart includes the steps of:
step S102, determining an application to be migrated in a source node and a target cloud virtual machine to which the application is to be migrated;
step S104, acquiring application information of the application, and migrating the application information to a target cloud virtual machine;
and step S106, processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine.
Through the steps, the application to be migrated in the source node and the target cloud virtual machine to which the application is to be migrated are determined; acquiring application information of an application, and migrating the application information to a target cloud virtual machine; and processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine. The method and the device can solve the problems that in the related technology, reinstallation configuration is needed when the application is migrated to the cloud virtual machine.
In an alternative embodiment, the above step S106 may be implemented by: and processing the application information in the target cloud virtual machine according to the application information type indicated by the application information, so that the application to be migrated is used in the target cloud virtual machine.
In this embodiment, application information is processed in the target cloud virtual machine according to the application information type indicated by the application information, and corresponding recovery and integration operations can be performed on different types of application information.
In an optional embodiment, the processing of the application information in the target cloud virtual machine according to the application information type indicated by the application information, so that the use of the application to be migrated in the target cloud virtual machine may be implemented by: when the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in the target cloud virtual machine; when the type of the application information indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in the special service application system.
In the present embodiment, application information is exemplified as application information of an installation information type, application information of a service information type, application information of a system setting information type, or application information of a network element information type, but the content of the present embodiment is not limited to the above-described type of application information, and it can be appreciated by those skilled in the art that all types of information related to an application to be migrated are within the scope of the present invention.
Optionally, migrating the application information to the target cloud virtual machine includes at least one of:
creating a remote sharing directory through a Windows management specification interface to migrate the application information to the target cloud virtual machine;
creating a remote sharing directory in an SSH mode to migrate the application information to the target cloud virtual machine;
and migrating the application information to the target cloud virtual machine through remote copying.
In this embodiment, a plurality of ways of migrating application information to a target cloud virtual machine are provided, where for different operating systems, different ways may be selected, for example, for Windows systems, a remote shared directory may be created through a WMI interface to migrate application information to the target cloud virtual machine; for the Linux system, a remote shared directory can be created in an SSH mode to migrate application information to a target cloud virtual machine.
In an alternative embodiment, before acquiring application information of an application, system information of a source node and system information of a target cloud virtual machine are acquired respectively, wherein the system information at least comprises one of the following information: operating system type, operating system version, CPU size, memory size, disk space remaining size.
In an optional embodiment, whether the target cloud virtual machine meets the migration condition of the application information is judged according to the system information of the source node and the target cloud virtual machine, wherein the migration condition at least comprises one of the following conditions:
the type of the operating system of the target cloud virtual machine is matched with the type of the operating system of the source node; the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance; the CPU of the target cloud virtual machine is larger than the CPU of the source node; the memory of the target cloud virtual machine is larger than the memory of the source node;
and when the judging result indicates that the target cloud virtual machine meets the migration condition of the application information, migrating the application information to the target cloud virtual machine.
Optionally, when at least one of the following is determined: the method comprises the steps that the disk residual space of a target cloud virtual machine is smaller than the space size occupied by an application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is smaller than the CPU of a source node, the memory of the target cloud virtual machine is smaller than the memory of the source node, and a notification is sent to an adjusting module (a virtual machine agent in the target cloud virtual machine) in the target cloud virtual machine, wherein the notification is used for adjusting the disk residual space size or the CPU size or the memory size of the target cloud virtual machine so as to realize at least one of the following: the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is larger than the CPU of the source node, and the memory of the target cloud virtual machine is larger than the memory of the source node.
In this embodiment, whether the target cloud virtual machine meets the migration condition of the application information is determined according to the system information of the source node and the target cloud virtual machine, and if the CPU of the target cloud virtual machine is smaller than the CPU of the source node or the memory of the target cloud virtual machine is smaller than the memory of the source node, the operation of adjusting the CPU or the memory of the target cloud virtual machine can be initiated by the adjustment module by sending a notification message to the adjustment module.
Optionally, after the application information of the application is collected, storing the application information and the corresponding relation of the information type of the application information, the application information and the initial position of the application information; wherein the initial position includes at least one of: directory path, registry key, configuration key, and system key for the application.
Optionally, the installation information includes at least one of the following information: installation catalog and configuration data of the application, registered system library information and dependent system library information; or (b)
The service information includes at least one of the following information: data information generated in the application running process and directory information set by a user; or (b)
The system setting information includes at least one of the following information: starting-up start information, system timing tasks, system menu information, system service information, file association information and starting shortcut information; or (b)
The network element information includes at least one of the following information: IP address, domain name, hostname, logical relationship between network elements.
In this embodiment, the network element is a network element where an application is located. In this embodiment, when the application to be migrated is an application in the special service application system, network element information of a network element where the application to be migrated is located is also collected. When there are multiple applications to be migrated in the special service application system, in this embodiment, multiple network elements where the multiple applications to be migrated are respectively located are further collected, and a logical relationship between the multiple network elements is collected.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
Example 2
The embodiment also provides an application migration device, which is used for implementing the above embodiment and the preferred implementation manner, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 2 is a block diagram of an application migration apparatus according to an embodiment of the present invention, as shown in fig. 2, the apparatus includes:
a first determining module 202, configured to determine an application to be migrated in a source node and a target cloud virtual machine to which the application is to be migrated;
a first collection module 204, configured to collect application information of an application;
a first migration module 206, configured to migrate application information to a target cloud virtual machine;
the first processing module 208 is configured to process the application information in the target virtual machine, so that an application to be migrated is used in the target virtual machine.
Through the above embodiment, the first acquisition module 204 acquires application information of an application; the first migration module 206 migrates the application information to the target cloud virtual machine; the first processing module 208 processes the application information in the target cloud virtual machine, so that the application to be migrated is used in the target cloud virtual machine. The method and the device can solve the problems that in the related technology, reinstallation configuration is needed when the application is migrated to the cloud virtual machine.
In an optional embodiment, the first processing module 208 is further configured to process, in the target cloud virtual machine, the application information according to the application information type indicated by the application information, so that an application to be migrated is used in the target cloud virtual machine.
In this embodiment, application information is processed in the target cloud virtual machine according to the application information type indicated by the application information, and corresponding recovery and integration operations can be performed on different types of application information.
In an alternative embodiment, the first processing module 208 is further configured to:
when the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in the target cloud virtual machine;
when the type of the application information indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in the special service application system.
In the present embodiment, application information is exemplified as application information of an installation information type, application information of a service information type, application information of a system setting information type, or application information of a network element information type, but the content of the present embodiment is not limited to the above-described type of application information, and it can be appreciated by those skilled in the art that all types of information related to an application to be migrated are within the scope of the present invention.
Optionally, the first migration module 206 is further configured to at least one of:
creating a remote shared directory through a Windows management Specification (Windows Management Instrumentation, WMI) interface to migrate application information to a target cloud virtual machine;
creating a remote sharing directory in an SSH mode to migrate the application information to the target cloud virtual machine;
and migrating the application information to the target cloud virtual machine through remote copying.
In this embodiment, a plurality of ways of migrating the application information to the target cloud virtual machine are provided for the first migration module 206, where for different operating systems, different ways may be selected, for example, for Windows systems, the first migration module 206 may create a remote shared directory through the WMI interface to migrate the application information to the target cloud virtual machine; for the Linux system, the first migration module 206 may create a remote shared directory through an SSH manner to migrate application information to the target cloud virtual machine.
In an alternative embodiment, the first acquisition module 204 is further configured to:
system information of a source node and a target cloud virtual machine is respectively acquired, wherein the system information at least comprises one of the following information: operating system type, operating system version, CPU size, memory size, disk space remaining size.
In an optional embodiment, the apparatus further includes a first determining module, configured to determine, according to system information of the source node and the target cloud virtual machine, whether the target cloud virtual machine meets a migration condition of the application information, where the migration condition includes at least one of the following conditions:
the type of the operating system of the target cloud virtual machine is matched with the type of the operating system of the source node; the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance; the CPU of the target cloud virtual machine is larger than the CPU of the source node; the memory of the target cloud virtual machine is larger than the memory of the source node;
the first migration module 206 is further configured to migrate the application information to the target cloud virtual machine when the determination result indicates that the target cloud virtual machine meets the migration condition of the application information.
Optionally, the first judging module is further configured to, when at least one of the following is judged: the method comprises the steps that the disk residual space of a target cloud virtual machine is smaller than the space size occupied by an application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is smaller than the CPU of a source node, the memory of the target cloud virtual machine is smaller than the memory of the source node, and a notification is sent to an adjusting module in the target cloud virtual machine, wherein the notification is used for adjusting the disk residual space size or the CPU size or the memory size of the target cloud virtual machine so as to realize at least one of the following: the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is larger than the CPU of the source node, and the memory of the target cloud virtual machine is larger than the memory of the source node.
In this embodiment, the first determining module determines, according to system information of the source node and the target cloud virtual machine, whether the target cloud virtual machine meets a migration condition of application information, and if the CPU of the target cloud virtual machine is smaller than the CPU of the source node or the memory of the target cloud virtual machine is smaller than the memory of the source node, the first determining module may also initiate, by sending a notification message to the adjusting module, an operation of adjusting the CPU or the memory of the target cloud virtual machine by the adjusting module.
Optionally, the device further includes a first storage module, configured to store application information and a corresponding relationship between an information type of the application information, and an initial position of the application information; wherein the initial position includes at least one of: directory path, registry key, configuration key, and system key for the application.
In an alternative embodiment, the installation information includes at least one of the following: installation catalog and configuration data of the application, registered system library information and dependent system library information; or (b)
The service information includes at least one of the following information: data information generated in the application running process and directory information set by a user; or (b)
The system setting information includes at least one of the following information: starting-up start information, system timing tasks, system menu information, system service information, file association information and starting shortcut information; or (b)
The network element information includes at least one of the following information: IP address, domain name, hostname, logical relationship between network elements.
In this embodiment, the network element is a network element where an application is located. In this embodiment, when the application to be migrated is an application in the special service application system, network element information of a network element where the application to be migrated is located is also collected. When there are multiple applications to be migrated in the special service application system, in this embodiment, multiple network elements where the multiple applications to be migrated are respectively located are further collected, and a logical relationship between the multiple network elements is collected.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Example 3
Fig. 3 is a block diagram of an application cloud tool according to an embodiment of the present invention, and as shown in fig. 3, the apparatus includes:
the second determining module 302 is configured to determine, on a tool interface, an application to be migrated in the source node and a target cloud virtual machine to which the application is to be migrated;
A second acquisition module 304, configured to acquire application information of an application;
a second migration module 306, configured to migrate the application information to the target cloud virtual machine;
the second processing module 308 is configured to process the application information in the target virtual machine, so that the application to be migrated is used in the target virtual machine.
Through the above embodiment, the second determining module 302 determines, on the tool interface, the application to be migrated in the source node and the target cloud virtual machine to which the application is to be migrated; the second acquisition module 304 acquires application information of an application; the second migration module 306 migrates the application information to the target cloud virtual machine; the second processing module 308 processes the application information in the target virtual machine, so that the application to be migrated is used in the target virtual machine. The method and the device can solve the problems that in the related technology, reinstallation configuration is needed when the application is migrated to the cloud virtual machine.
In an optional embodiment, the second processing module 308 is further configured to process, in the target cloud virtual machine, the application information according to the application information type indicated by the application information, so that an application to be migrated is used in the target cloud virtual machine.
In this embodiment, application information is processed in the target cloud virtual machine according to the application information type indicated by the application information, and corresponding recovery and integration operations can be performed on different types of application information.
In an alternative embodiment, the second processing module 308 is further configured to:
when the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in the target cloud virtual machine;
when the type of the application information indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in the special service application system.
In the present embodiment, application information is exemplified as application information of an installation information type, application information of a service information type, application information of a system setting information type, or application information of a network element information type, but the content of the present embodiment is not limited to the above-described type of application information, and it can be appreciated by those skilled in the art that all types of information related to an application to be migrated are within the scope of the present invention.
In an alternative embodiment, the second migration module 306 is further configured to at least one of:
Creating a remote shared directory through a Windows management Specification (Windows Management Instrumentation, WMI) interface to migrate application information to a target cloud virtual machine;
creating a remote sharing directory in an SSH mode to migrate the application information to the target cloud virtual machine;
and migrating the application information to the target cloud virtual machine through remote copying.
In this embodiment, a plurality of ways of migrating the application information to the target cloud virtual machine are provided for the second migration module 306, where for different operating systems, different ways may be selected, for example, for Windows systems, the second migration module 306 may create a remote shared directory through the WMI interface to migrate the application information to the target cloud virtual machine; for the Linux system, the second migration module 306 may create a remote shared directory through an SSH manner to migrate application information to the target cloud virtual machine.
Optionally, the second acquisition module 304 is further configured to:
system information of a source node and a target cloud virtual machine is respectively acquired, wherein the system information at least comprises one of the following information: operating system type, operating system version, CPU size, memory size, disk space remaining size.
In an optional embodiment, the application cloud tool further includes: the second judging module is used for judging whether the target cloud virtual machine meets the migration condition of the application information according to the system information of the source node and the target cloud virtual machine, wherein the migration condition at least comprises one of the following conditions:
The type of the operating system of the target cloud virtual machine is matched with the type of the operating system of the source node; the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance; the CPU of the target cloud virtual machine is larger than the CPU of the source node; the memory of the target cloud virtual machine is larger than the memory of the source node;
the second migration module 306 is further configured to migrate the application information to the target cloud virtual machine when the determination result indicates that the target cloud virtual machine meets the migration condition of the application information.
Optionally, the second judging module is further configured to, when at least one of the following is judged: the method comprises the steps that the disk residual space of a target cloud virtual machine is smaller than the space size occupied by an application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is smaller than the CPU of a source node, the memory of the target cloud virtual machine is smaller than the memory of the source node, and a notification is sent to an adjusting module in the target cloud virtual machine, wherein the notification is used for adjusting the disk residual space size or the CPU size or the memory size of the target cloud virtual machine so as to realize at least one of the following: the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is larger than the CPU of the source node, and the memory of the target cloud virtual machine is larger than the memory of the source node.
In this embodiment, the second determining module determines, according to the system information of the source node and the target cloud virtual machine, whether the target cloud virtual machine meets the migration condition of the application information, and if the CPU of the target cloud virtual machine is smaller than the CPU of the source node or the memory of the target cloud virtual machine is smaller than the memory of the source node, the second determining module may also initiate, by sending a notification message to the adjusting module, an operation of adjusting the CPU or the memory of the target cloud virtual machine by the adjusting module.
Optionally, the application cloud tool further includes: the second storage module is used for storing the application information, the information type of the application information, the application information and the corresponding relation of the initial position of the application information; wherein the initial position includes at least one of: directory path, registry key, configuration key, and system key for the application.
In an alternative embodiment, the installation information includes at least one of the following: installation catalog and configuration data of the application, registered system library information and dependent system library information; or (b)
The service information includes at least one of the following information: data information generated in the application running process and directory information set by a user; or (b)
The system setting information includes at least one of the following information: starting-up start information, system timing tasks, system menu information, system service information, file association information and starting shortcut information; or (b)
The network element information includes at least one of the following information: IP address, domain name, hostname, logical relationship between network elements.
In this embodiment, the network element is a network element where an application is located. In this embodiment, when the application to be migrated is an application in the special service application system, network element information of a network element where the application to be migrated is located is also collected. When there are multiple applications to be migrated in the special service application system, in this embodiment, multiple network elements where the multiple applications to be migrated are respectively located are further collected, and a logical relationship between the multiple network elements is collected.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Example 4
Fig. 4 is a block diagram of an application migration system according to an embodiment of the present invention, as shown in fig. 4, including a source node 402, a target cloud virtual machine 404, and an application cloud-up tool 406, wherein,
the application cloud loading tool 406 is configured to determine an application to be migrated in a source node and a target cloud virtual machine to which the application is to be migrated on a tool interface, collect application information of the application, migrate the application information to the target cloud virtual machine, and process the application information in the target cloud virtual machine, so that the application to be migrated is used in the target cloud virtual machine.
Through the embodiment, the application cloud loading tool determines the application to be migrated and the target cloud virtual machine to which the application is to be migrated in the source node on the tool interface, collects application information of the application, migrates the application information to the target cloud virtual machine, and processes the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine. The method and the device can solve the problems that in the related technology, reinstallation configuration is needed when the application is migrated to the cloud virtual machine.
Optionally, the application cloud loading tool is further configured to process the application information in the target cloud virtual machine according to the application information type indicated by the application information, so that an application to be migrated is used in the target cloud virtual machine.
In this embodiment, application information is processed in the target cloud virtual machine according to the application information type indicated by the application information, and corresponding recovery and integration operations can be performed on different types of application information.
Optionally, the application cloud tool is further configured to:
when the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in the target cloud virtual machine;
When the type of the application information indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in the special service application system.
In the present embodiment, application information is exemplified as application information of an installation information type, application information of a service information type, application information of a system setting information type, or application information of a network element information type, but the content of the present embodiment is not limited to the above-described type of application information, and it can be appreciated by those skilled in the art that all types of information related to an application to be migrated are within the scope of the present invention.
Optionally, the application cloud tool is further used for at least one of:
creating a remote shared directory through a Windows management Specification (Windows Management Instrumentation, WMI) interface to migrate application information to a target cloud virtual machine;
creating a remote sharing directory in an SSH mode to migrate the application information to the target cloud virtual machine;
and migrating the application information to the target cloud virtual machine through remote copying.
In this embodiment, a plurality of ways of migrating application information to a target cloud virtual machine are provided for an application cloud tool, where for different operating systems, different ways may be selected, for example, for Windows systems, the application cloud tool may create a remote shared directory through a WMI interface to migrate application information to the target cloud virtual machine; for the Linux system, an application cloud tool can create a remote shared directory in an SSH mode to migrate application information to a target cloud virtual machine.
Optionally, the application cloud tool is further configured to:
system information of a source node and a target cloud virtual machine is respectively acquired, wherein the system information at least comprises one of the following information: operating system type, operating system version, CPU size, memory size, disk space remaining size.
Optionally, the application cloud tool is further configured to:
the method is used for judging whether the target cloud virtual machine meets the migration condition of the application information according to the system information of the source node and the target cloud virtual machine, wherein the migration condition at least comprises one of the following conditions:
the type of the operating system of the target cloud virtual machine is matched with the type of the operating system of the source node; the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance; the CPU of the target cloud virtual machine is larger than the CPU of the source node; the memory of the target cloud virtual machine is larger than the memory of the source node;
And when the judging result indicates that the target cloud virtual machine meets the migration condition of the application information, migrating the application information to the target cloud virtual machine.
In an alternative embodiment, the application cloud tool is further configured to, when at least one of the following is determined: the method comprises the steps that the disk residual space of a target cloud virtual machine is smaller than the space size occupied by an application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is smaller than the CPU of a source node, the memory of the target cloud virtual machine is smaller than the memory of the source node, and a notification is sent to an adjusting module in the target cloud virtual machine, wherein the notification is used for adjusting the disk residual space size or the CPU size or the memory size of the target cloud virtual machine so as to realize at least one of the following: the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is larger than the CPU of the source node, and the memory of the target cloud virtual machine is larger than the memory of the source node.
In this embodiment, the application cloud tool determines whether the target cloud virtual machine meets the migration condition of the application information according to the system information of the source node and the target cloud virtual machine, and if the CPU of the target cloud virtual machine is smaller than the CPU of the source node or the memory of the target cloud virtual machine is smaller than the memory of the source node, the adjustment module may initiate an operation of adjusting the CPU or the memory of the target cloud virtual machine by sending a notification message to the adjustment module.
Optionally, the application cloud tool is further configured to store application information and a corresponding relationship between an information type of the application information, the application information and an initial position of the application information; wherein the initial position includes at least one of: directory path, registry key, configuration key, and system key for the application.
In an alternative embodiment, the installation information includes at least one of the following: installation catalog and configuration data of the application, registered system library information and dependent system library information; or (b)
The service information includes at least one of the following information: data information generated in the application running process and directory information set by a user; or (b)
The system setting information includes at least one of the following information: starting-up start information, system timing tasks, system menu information, system service information, file association information and starting shortcut information; or (b)
The network element information includes at least one of the following information: IP address, domain name, hostname, logical relationship between network elements.
In this embodiment, the network element is a network element where an application is located. In this embodiment, when the application to be migrated is an application in the special service application system, the application cloud tool further collects network element information of a network element where the application to be migrated is located. When a plurality of applications to be migrated exist in the special service application system, in this embodiment, the application cloud tool further collects a plurality of network elements where the plurality of applications to be migrated are respectively located, and collects a logical relationship between the plurality of network elements.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Application migration across operating systems is a great challenge for enterprise clouding (whether desktop or resource pool), such as migrating applications on the WinXP system to Win7 and Win10 cloud virtual machines, migrating applications on 32-bit servers to 64-bit cloud virtual machines, migrating applications on the Win2003 system to Win2008 cloud virtual machines, migrating applications on the CentOS system to CGSL cloud virtual machines, and so on.
The flow of the application migration method described above is described in connection with the preferred embodiments 1-8, but is not intended to limit the scope of the embodiments of the present invention.
Preferred embodiment 1
The application scene of the preferred embodiment of the invention comprises the following steps: (1) In the online process of the cloud desktop system, a user uses an application cloud tool to migrate the application of the original physical machine to the cloud virtual machine; (2) In the cloud desktop system application, a user uses an application cloud tool to migrate the applications of a plurality of WinXP cloud virtual machines into a new Win7 cloud virtual machine of the same platform; (3) In the cloud desktop system application, after one 32-bit Windows machine installs and configures a certain application, a user uses an application cloud tool to migrate the installation configuration of the application to a plurality of 64-bit Windows virtual machines; (4) In cloud desktop system application, a system administrator uses an application cloud tool to migrate applications on a plurality of XEN virtual machines into respective new KVM virtual machines; (5) In the online process of the resource pool system, a user uses an application cloud tool to migrate a special service application (such as a short message center) of the original physical machine into the cloud virtual machine.
The core content of the preferred embodiment 1 is to collect and process application information in the source node machine by using an application cloud loading tool (hereinafter referred to as tool), and migrate the application information to the target cloud virtual machine for integration and restoration, so that the purpose that the application and the data thereof on the source node machine can be normally used in the target cloud virtual machine without reinstallation configuration is achieved. The tool can realize migration among the cross-operating systems by deep mining, analysis and extraction of the application information in the source node machine, so that the completeness of the application information is ensured, and the application information is independent of a specific version of the operating system.
The application cloud tool relates to collection of various information of the application, wherein collection and recovery of detailed information of the application to be cloud is key to the preferred embodiment.
Fig. 5 is a flow chart (one) of an application migration method according to an alternative embodiment of the present invention. As shown in fig. 5, to determine whether the target cloud virtual machine meets the application cloud loading condition, the tool collects system information in the source node and the target cloud virtual machine, respectively, where the system information includes, but is not limited to:
software information: operating system version, etc.;
hardware information: CPU size, CPU residual rate, memory size, residual disk space size, etc.;
In order to select an application to be cloud-loaded, a tool collects an installation application list and a common application list in a source node;
in order to migrate the application to be cloud-loaded, the tool deeply discovers, analyzes and extracts the application information to be cloud-loaded in the source node, and integrates and recovers the application information in the target cloud virtual machine according to specific conditions, which is core content of the preferred embodiment.
Wherein, to-be-cloud application information includes, but is not limited to:
the installation information of the cloud application to be installed comprises: the installation catalog and configuration data of the application to be cloud-loaded, registered system library information, dependent system library information and the like;
service information of the application to be cloud-loaded comprises: data information generated in the running process of the cloud application, directory information set by a user and the like;
the system setting information of the application to be cloud-loaded comprises: starting-up start information, system timing tasks, system menu information, system service information, file association information, a starting shortcut and the like;
when the application to be cloud-loaded is an application in the special service application system, acquiring network element information of a network element where the application to be cloud-loaded is located, including: IP address, domain name, host name, logical relationship among network elements, etc.; the logical relationship between network elements refers to the logical relationship between the network element where the application to be cloud-loaded is located and other network elements in the special service application system.
When acquiring the application information to be cloud-loaded in the source node, maintaining the type of the application information to be cloud-loaded, the corresponding relation between the application information to be cloud-loaded and the initial position of the application information to be cloud-loaded, and besides storing the information content; the initial position of the application information to be cloud-loaded includes, but is not limited to: directory paths, registration items, configuration items, system items and the like of application information to be cloud-loaded;
in the target cloud virtual machine, integrating and recovering the detailed information of the application to be cloud according to the information type of the application information to be cloud, including:
for installation information and service information: the method comprises the steps of integrating and determining target recovery positions of application information to be cloud-loaded, wherein the principle of selecting the target recovery positions is as follows: selecting a target recovery position preferentially according to the setting of a user, selecting a target recovery position consistent with the initial position, and selecting an actually available position on a target cloud virtual machine as the target recovery position according to specific conditions such as an operating system of a source node and a target node, hardware conditions and the like; copying the application information to be cloud-loaded to the target position after the target position is determined; when the target position of the cloud application information is inconsistent with the initial position, the target position is required to be synchronized to all information related to the initial position;
For system setting information: according to the specific conditions on the target cloud virtual machine, the system setting information and the system setting information on the source node are kept consistent by executing system commands, directly modifying system configuration items and the like;
for the application in the special service application system, the network element information of the network element where the application to be cloud-loaded is located needs to be integrated and recovered, and the network element information can be recovered by the following modes: and recovering the network element information by executing system commands, directly modifying system configuration items and the like. If there are multiple applications to be migrated in the special service application system, when the multiple applications to be migrated are migrated, the logical relationship among the network elements needs to be recovered in turn according to the logical relationship among the network elements where the multiple applications to be migrated are located. For the same application, the condition that a plurality of network element nodes simultaneously run the same application cannot exist in the system, so when the application to be migrated is recovered to be finished and on-line on the target cloud virtual machine, the tool enables the source node to be on-line and off-line, and the target cloud virtual machine completely takes over the source node.
Preferred embodiment 2
FIG. 6 is a flow chart (II) of an application migration method according to an alternative embodiment of the present invention. The method comprises the following steps:
S01: connecting the source node. Setting a source node machine on a tool interface of an application cloud tool by a user, wherein the tool is connected with a source node; the source node can be a machine where a tool is located or a remote machine; the source node may be one or a plurality of source nodes; the tool queries system information of the source node and application installation information; the tool displays the queried information on a tool interface;
s02: and connecting the target cloud virtual machine. Setting one or more target cloud virtual machines and a target installation catalog of an application to be migrated on a tool interface by a user; the tool is connected with the target cloud virtual machine, inquires system information of the target cloud virtual machine, and inquires the residual space of a disk where the target installation catalog is located;
s03: setting the application to be cloud-loaded. The user can directly default to automatically select common applications or all applications on the source node machine by the tool, and can also select the application to be cloud-loaded from the application list of the source node machine on the tool interface, or manually set the application to be cloud-loaded; setting an additional catalog to be cloud-added by a user;
s04: the tool determines whether an application cloud condition is satisfied. For example, if the type of the target cloud virtual machine operating system is not matched with the source node, the residual space of the disk is smaller than the occupied space of the application to be cloud-loaded, and the like, detailed prompt information that the cloud loading cannot be applied is given on an interface; if the size of the CPU or the memory of the target cloud virtual machine is lower than that of the source node, detailed prompt and alarm information are given out on an interface; if an adjusting module which can be in butt joint with a tool is installed in the target cloud virtual machine, the tool sends a notification message to the adjusting module, and the adjusting module initiates an operation flow for adjusting a CPU or a memory of the target cloud virtual machine;
S05: and collecting cloud application detailed information. Collecting detailed information of applications on a source node machine, including but not limited to types of installation information, service information, system setting information and the like; for the application in the special service application system, acquiring network element information of the application to be cloud-loaded; all the acquired information needs to maintain the corresponding relation of the information type, the information and the initial position; the initial location of the information includes, but is not limited to: directory paths, registry keys, configuration keys, system keys, etc.;
s06: application migration. The tool migrates all the detailed information of the application to be cloud acquired on the source node machine to the target cloud virtual machine;
s07: and restoring the application. And integrating and recovering the information by the tool according to the information type. Integrating and determining a target position for the installation information and the service information, and copying the information to the target position; for the system setting information, the system setting information is consistent with the source node by executing a system command, directly modifying a system configuration item and the like; when the information recovery position is inconsistent with the initial position, the information recovery position needs to be synchronized to all information related to the initial position; for the network element information applied in the special service application system, recovering by executing system commands, directly modifying system configuration items and the like, and enabling the source node to be on-line and off-line when the application recovery is completed and on-line; if a plurality of network elements migrate at the same time, the network elements need to be recovered in sequence according to the logic relationship of the network elements.
Example 3
Fig. 7 is a block diagram of an application migration apparatus according to an alternative embodiment of the present invention. The device is an application cloud-on device with a visual configuration, as depicted in fig. 7, the device comprising:
configuration module 702 (corresponding to the first determination module or the second determination module in the above embodiment): is mainly responsible for providing a visual interface; one or more source nodes can be arranged in the visual interface, and source node system information and the like are displayed; an application list, application information and the like of the source node can be displayed in the visual interface; the common application or all applications on the source node machine can be automatically selected by the tool directly by default, and the application to be cloud-loaded can also be selected from the application list of the source node machine; one or more additional catalogs to be cloud-added can be set for the application to be cloud-added; one or more target cloud virtual machines can be set, and system information and the like of the target cloud virtual machines are displayed; a recovery catalog applied to the target cloud virtual machine can be set; if a plurality of source nodes or a plurality of target cloud virtual machines are arranged, the corresponding relation between the source nodes and the target cloud virtual machines can be maintained;
the acquisition module 704: and the system is mainly responsible for acquiring application related information on the source node according to the configuration information of the configuration module and providing the application related information to the configuration module and the migration module. Information provided to the configuration module includes, but is not limited to: (1) Source node and target cloud virtual machine system information, such as operating system type, version, etc.; (2) application list of source node, application information, etc. The information provided to the migration module includes, but is not limited to, (1) installation information of the application to be cloud loaded; (2) service information of the application to be cloud-loaded; (3) system setting information of the application to be cloud-loaded; (4) For the application in the special service application system, acquiring network element information of the application to be cloud-loaded; etc. When information is acquired, the information type, the information and the initial position corresponding relation thereof need to be maintained;
Migration module 706: the cloud computing system mainly takes charge of acquiring configuration information from a configuration module, and judging whether cloud loading operation can be executed or not according to system information and application information of a source node and a target cloud virtual machine; executing or canceling cloud loading operation according to the judgment result; if the cloud loading operation is executed, the application information acquired by the acquisition module is migrated from the source node to the target cloud virtual machine; if the cloud-up operation is canceled, determining whether to send a notification message to the target cloud virtual machine adjustment module according to the condition of the adjustment module in the target cloud virtual machine, and initiating an operation flow for adjusting the configuration of the target cloud virtual machine system;
a recovery module 708 (corresponding to the first processing module or the second processing module in the above embodiment): the method mainly takes charge of restoring and restoring the application information migrated by the migration module in the target cloud virtual machine, so that the application can be normally used; when the installation information and the service information are restored, the original position of the information and the restored position are integrated according to the operating system, hardware conditions and the like of the target cloud virtual machine; when the system setting information is recovered, executing a system command or directly modifying the system setting information according to the specific situation on the target cloud virtual machine; for the application in the special service application system, restoring the network element information of the application by executing a system command or directly modifying a system configuration item and the like, and enabling the application on the source node to be off line; if a plurality of network elements migrate at the same time, the network elements need to be recovered in sequence according to the logic relationship of the network elements.
Preferred embodiment 4
Fig. 8 is a flowchart (iii) of an application migration method according to an alternative embodiment of the present invention. The application scenario of the optional embodiment is that in the online process of the cloud desktop system, a user uses an application online tool to migrate the application of the original physical machine to the cloud virtual machine. As shown in fig. 8, the steps are as follows:
step 1, a user runs a tool on a source node, a target cloud virtual machine is set through an interface, and a target installation catalog is set for the target cloud virtual machine; the user clicks the "browse" button;
step 2, the tool queries system information of the source node, such as Windows version, CPU type of the operating system, etc., wherein the query method can be to use system interfaces GetVersionEx and GetSystemInfo respectively; the tool queries information such as an application list, an application installation catalog, an occupied space size and the like of the source node, and the query method can be to remotely read registry entries by using a system WMI interface; the tool queries the source node hardware configuration, such as CPU, memory size, etc., and the query method can be to use the system interface GetSystemInfo;
step 3, the tool is connected with the target cloud virtual machine, and the system information of the target cloud virtual machine, such as Windows version, CPU type of the operating system and the like, is inquired, and the method is the same as the step 1; the tool queries the disk residual space where the target installation catalog is located, and the query method can use a system interface GetDiskFreePareex; the tool inquires the hardware configuration of the target cloud virtual machine, such as CPU, memory size and the like, and the method is the same as that of the step 1; the tool receives the inquiry results and displays the inquiry results on the interface;
Step 4, the user directly defaults to automatically select common applications or all applications on the source node machine by the tool, or selects the application to be cloud-loaded from the application list of the source node machine on the tool interface; setting an additional catalog to be cloud-added by a user;
step 5, the tool judges whether the application cloud loading condition is met; if the CPU type of the target cloud virtual machine operating system is not matched with the source node and the disk residual space is smaller than the occupied space of the application to be cloud-loaded, detailed prompt information that cloud loading cannot be applied is given on an interface; if the size of the CPU or the memory of the target cloud virtual machine is lower than that of the source node, detailed prompt and alarm information are given out on an interface; if an adjusting module which can be in butt joint with a tool is installed in the target cloud virtual machine, the tool sends a notification message to the adjusting module, and the adjusting module initiates an operation flow for adjusting a CPU or a memory of the virtual machine;
step 6, the tool collects cloud application detailed information including but not limited to installation information, business information, system setting information and other types; the information collection needs to be carried out through various ways, such as inquiring registry entries, using system tools and the like; the data information of the application to be cloud-loaded comprises information under an application installation directory, information under AppData, information under an additional directory set by a user and the like; all the acquired information is recorded with information types, information and the corresponding relation of the original positions thereof in detail in an info list so as to be used when the target cloud virtual machine recovers the information; the original location of the information includes, but is not limited to: directory paths, registry keys, configuration keys, system keys, etc.;
Step 7, the tool uses a system interface to migrate all acquired application information to be cloud-loaded into the target cloud virtual machine; the migration information can be realized by creating a remote shared directory and executing remote copying through a system WMI interface;
step 8, the tool performs application recovery on the target cloud virtual machine according to the information recorded in the info list; integrating and determining a target position for the installation information and the service information, and copying the information to the target position; for the system setting information, the configuration information and the source node are kept consistent by executing system commands, directly modifying system configuration items and the like.
Example 5
Fig. 9 is a flowchart (fourth) of an application migration method according to an alternative embodiment of the present invention. The application scenario of the optional embodiment is in a cloud desktop system application, and a user uses an application cloud tool to migrate applications of a plurality of WinXP cloud virtual machines into the same new Win7 cloud virtual machine. As shown in fig. 9, the steps are as follows:
step 1, a user runs a tool, a plurality of source nodes are arranged on an interface, a target cloud virtual machine is arranged, and a target installation catalog is arranged for the target cloud virtual machine; clicking a "browse" button;
step 2, the tool connects each source node, the connection method can be using the remote connection interface Managementscope of the system WMI; the tool queries system information of each source node, such as Windows version, CPU type of operating system, etc., and the query method may be to use system interfaces GetVersionEx and GetSystemInfo respectively; the tool queries information such as an application list, an application installation catalog, an occupied space size and the like of each source node, and the query method can be to remotely read registry entries and the like by using a system WMI interface; the tool queries the hardware configuration of each source node, such as CPU, memory size, etc., and the query method can be to use the system interface GetSystemInfo;
Step 3, the tool is connected with the target cloud virtual machine, and the system information of the target cloud virtual machine, such as Windows version, CPU type of the operating system and the like, is inquired, and the method is the same as the step 1; the tool queries the disk residual space where the target installation catalog is located, and the query method can use a system interface GetDiskFreePareex; the tool inquires the hardware configuration of the target cloud virtual machine, such as CPU, memory size and the like, and the method is the same as that of the step 1; the tool receives the inquiry results and displays the inquiry results on the interface;
step 4, selecting an application to be cloud-loaded from the application list of each source node machine on the tool interface by a user, wherein the installation version of the selected application is applicable to WinXP and Win 7; setting an additional catalog to be cloud-added by a user;
step 5, the tool judges whether the application cloud loading condition is met; if the CPU type of the target cloud virtual machine operating system is not matched with the source node and the disk residual space is smaller than the occupied space of the application to be cloud-loaded, detailed prompt information that cloud loading cannot be applied is given on an interface; if the size of the CPU or the memory of the target cloud virtual machine is lower than that of the source node, detailed prompt and alarm information are given out on an interface; if an adjusting module which can be in butt joint with a tool is installed in the target cloud virtual machine, the tool sends a notification message to the adjusting module, and the adjusting module initiates an operation flow for adjusting a CPU or a memory of the virtual machine;
Step 6, for each source node, collecting cloud application information by a tool, including but not limited to installation information, service information, system setting information and other types; the information collection needs to be carried out through various ways, such as inquiring registry entries, using system tools and the like; the data information of the application to be cloud-loaded comprises information under an application installation directory, information under AppData, information under an additional directory set by a user and the like; all the acquired information is recorded with information types, information and the corresponding relation of the original positions thereof in detail in an info list so as to be used when the target cloud virtual machine recovers the information; the original location of the information includes, but is not limited to: directory paths, registry keys, configuration keys, system keys, etc.;
step 7, the tool uses a system interface to migrate all acquired application information to be cloud-loaded into the target cloud virtual machine; the migration information can be realized by creating a remote shared directory and executing remote copying through a system WMI interface;
s8, the tool performs application recovery on the target cloud virtual machine according to the information recorded in the info list; integrating and determining a target position for the installation information and the service information, and copying the information to the target position; for the system setting information, the configuration information is consistent with the source node by executing a system command, directly modifying a system configuration item and the like; when the position of information recovery is inconsistent with the original position, all information related to the position in the rest information needs to be modified.
Example 6
Fig. 10 is a flowchart (fifth) of an application migration method according to an alternative embodiment of the present invention. In the application scenario of the optional embodiment, in the cloud desktop system application, after one 32-bit Windows machine installs and configures a certain application, a user uses an application cloud tool to migrate the installation configuration of the application to a plurality of 64-bit Windows virtual machines. As shown in fig. 10, the steps are as follows:
step 1, a user runs a tool on a source node, sets a plurality of target cloud virtual machines through an interface, sets a target installation catalog for each target cloud virtual machine, and clicks a browsing button;
step 2, the tool queries system information of the source node, such as Windows version, CPU type of the operating system, etc., wherein the query method can be to use system interfaces GetVersionEx and GetSystemInfo respectively; the tool queries information such as an application list, an application installation catalog, an occupied space size and the like of the source node, and the query method can be to remotely read registry entries by using a system WMI interface; the tool queries the source node hardware configuration, such as CPU, memory size, etc., and the query method can be to use the system interface GetSystemInfo;
step 3, the tool is connected with each target cloud virtual machine, and the system information of each target cloud virtual machine, such as Windows version and CPU type of an operating system, is inquired, and the method is the same as the step 1; the tool inquires the disk residual space where each target installation catalog is located, and the inquiring method can use a system interface GetDiskFreePareex; the tool inquires the hardware configuration, such as CPU and memory size, of each target cloud virtual machine, and the method is the same as that in step 1; the tool receives the inquiry results and displays the inquiry results on the interface;
Step 4, selecting an application to be cloud-loaded from a source node machine application list on a tool interface by a user; the user sets an additional catalog to be migrated;
step 5, the tool judges whether the application cloud loading condition is met; if the CPU type of the target cloud virtual machine operating system is not matched with the source node and the disk residual space is smaller than the occupied space of the application to be cloud-loaded, detailed prompt information that cloud loading cannot be applied is given on an interface; if the size of the CPU or the memory of the target cloud virtual machine is lower than that of the source node, detailed prompt and alarm information are given out on an interface; if an adjusting module which can be in butt joint with a tool is installed in the target cloud virtual machine, the tool sends a notification message to the adjusting module, and the adjusting module initiates an operation flow for adjusting a CPU or a memory of the virtual machine;
step 6, the tool collects cloud application detailed information including but not limited to installation information, business information, system setting information and other types; the information collection needs to be carried out through various ways, such as inquiring registry entries, using system tools and the like; the data information of the application to be cloud-loaded comprises information under an application installation directory, information under AppData, information under an additional directory set by a user and the like; all the acquired information is recorded with information types, information and the corresponding relation of the original positions thereof in detail in an info list so as to be used when the target cloud virtual machine recovers the information; the original location of the information includes, but is not limited to: directory paths, registry keys, configuration keys, system keys, etc.;
Step 7, the tool uses a system interface to migrate all acquired application information to be cloud-loaded to each target cloud virtual machine; the migration information can be realized by creating a remote shared directory and executing remote copying through a system WMI interface;
step 8, the tool performs application recovery on the target cloud virtual machine according to the information recorded in the info list; integrating and determining a target position for the installation information and the service information, and copying the information to the target position; for the system setting information, the configuration information is consistent with the source node by executing a system command, directly modifying a system configuration item and the like; when the SOFTWARE is migrated from the 32-bit Windows system to the 64-bit Windows system, attention needs to be paid to processing path conversion such as SOFTWARE, SOFTWARE\\WOWO6432 Node, program Files (x 86) and the like in the position information, and all information related to the position in the rest information needs to be modified.
Example 7
FIG. 11 is a flowchart (six) of an application migration method according to an alternative embodiment of the present invention. The application scenario of the alternative embodiment is in a cloud desktop system application, and a system administrator uses an application cloud tool to migrate applications on multiple XEN virtual machines into respective new KVM virtual machines. As shown in fig. 11, the steps are as follows:
Step 1, running a tool, introducing the corresponding relation between a source node and a target cloud virtual machine in batches through a tool interface by a system administrator, and clicking a browsing button;
step 2, for each group of source nodes and target cloud virtual machines, the tools are respectively connected with the source nodes and the target cloud virtual machines, wherein the connection method can be to use a remote connection interface Managementscope of a system WMI; the tool queries system information of the source node and the target cloud virtual machine, such as Windows version, CPU type of the operating system, etc., wherein the query method can be to use system interfaces GetVersionEx and GetSystemInfo respectively; the tool queries hardware configuration of the source node and the target cloud virtual machine, such as CPU, memory size and the like, and the query method can be to use a system interface GetSystemInfo; the tool queries the disk residual space where the default target installation catalog of the target cloud virtual machine is located, and the query method can use a system interface GetDiskFreePareex; the tool receives and stores the query results, and the interface can be selected for viewing according to the requirements;
step 3, the tool inquires the common application of each source node, and simultaneously generates a cloud application list to be uploaded to each source node by combining with a default common application list; inquiring information such as installation catalogues of corresponding applications on each source node and the size of occupied space; the tool receives and stores the query results, and the interface can be selected for viewing according to the requirements;
Step 4, for each group of source nodes and target cloud virtual machines, the tool judges whether the application cloud loading conditions are met one by one according to the application list to be loaded on the source nodes; if the CPU type of the target cloud virtual machine operating system is not matched with the source node and the remaining available space of the disk is smaller than the occupied space of the application to be cloud-loaded, detailed prompt information that cloud loading cannot be applied is given on an interface; if the size of the CPU or the memory of the target cloud virtual machine is lower than that of the source node, detailed prompt and alarm information are given out on an interface; if an adjusting module which can be in butt joint with a tool is installed in the target cloud virtual machine, the tool sends a notification message to the adjusting module, and the adjusting module initiates an operation flow for adjusting a CPU or a memory of the virtual machine;
step 5, for each group of source nodes, the tool collects cloud application detailed information including but not limited to installation information, service information, system setting information and other types; the information collection needs to be carried out through various ways, such as inquiring registry entries, using system tools and the like; the data information of the application to be cloud-loaded comprises information under an application installation directory, information under AppData, information under an additional directory set by a user and the like; all the acquired information is recorded with information types, information and the corresponding relation of the original positions thereof in detail in an info list so as to be used when the target cloud virtual machine recovers the information; the original location of the information includes, but is not limited to: directory paths, registry keys, configuration keys, system keys, etc.;
Step 6, for each group of source nodes and target cloud virtual machines, the tool uses a system interface to migrate all acquired application information to be cloud-loaded into the target cloud virtual machines; the migration information can be realized by creating a remote shared directory and executing remote copying through a system WMI interface;
step 7, for each group of source nodes and target cloud virtual machines, the tool performs application recovery on the target cloud virtual machines according to the information recorded in the info list; integrating and determining a target position for the installation information and the service information, and copying the information to the target position; for the system setting information, the configuration information and the source node are kept consistent by executing system commands, directly modifying system configuration items and the like.
Example 8
Fig. 12 is a flowchart (seventh) of an application migration method according to an alternative embodiment of the present invention. The application scenario of the optional embodiment is that in the online process of the resource pool system, a user uses an application cloud tool to migrate a special service application (such as a short message center) of the original physical machine into the cloud virtual machine. As shown in fig. 12, the steps are as follows:
step 1, running a tool, and enabling a user to import corresponding relations between a source node and a target cloud virtual machine in batches through a tool interface and click a browsing button;
Step 2, for each group of source nodes and target cloud virtual machines, the tools are respectively connected with the source nodes and the target cloud virtual machines, and the connection method can be to remotely connect by using an SSH mode; the tool queries system information of the source node and the target cloud virtual machine, such as an operating system version, a CPU type and the like, wherein the query method can be to use a system interface GetVersionEx and a GetSystemInfo respectively; the tool queries hardware configuration of the source node and the target cloud virtual machine, such as CPU, memory size and the like, and the query method can be to use a system interface GetSystemInfo; the tool receives and stores the query results, and the interface can be selected for viewing according to the requirements;
step 3, setting a to-be-cloud special service application, related files and directories on a tool interface by a user, and inquiring information such as the application related directories and occupied space size on each source node by a tool; the tool receives and stores the query results, and the interface can be selected for viewing according to the requirements;
step 4, judging whether the application cloud loading conditions are met or not one by the tool for each group of source nodes and target cloud virtual machines; if the type of the target cloud virtual machine operating system is not matched with the source node, and the remaining available space of the disk is smaller than the occupied space of the application to be cloud-loaded, detailed prompt information that cloud loading cannot be applied is given on an interface; if the size of the CPU or the memory of the target cloud virtual machine is lower than that of the source node, detailed prompt and alarm information are given out on an interface; if an adjusting module which can be in butt joint with a tool is installed in the target cloud virtual machine, the tool sends a notification message to the adjusting module, and the adjusting module initiates an operation flow for adjusting a CPU or a memory of the virtual machine;
Step 5, for each group of source nodes, the tool collects cloud application detailed information including but not limited to installation information, service information, system setting information, network element information and other types; the information collection needs to be carried out in various ways, namely, a system configuration file can be analyzed, and a system command, such as ldd, is used for acquiring an application program dependent system library; the data information of the application to be cloud-loaded comprises application related files, directory information, etc/bin/opt/var and other system directory information set by a user, and the like; all the acquired information is recorded with information types, information and the corresponding relation of the original positions thereof in detail in an info list so as to be used when the target cloud virtual machine recovers the information; the original location of the information includes, but is not limited to: directory paths, registry keys, configuration keys, system keys, etc.;
step 6, for each group of source nodes and target cloud virtual machines, the tool uses a system interface to migrate all acquired application information to be cloud-loaded into the target cloud virtual machines; the migration information can be realized by creating a remote shared directory and executing remote copying in a system SSH mode;
step 7, for each group of source nodes and target cloud virtual machines, the tool performs application recovery on the target cloud virtual machines according to the information recorded in the info list; integrating and determining a target position for the installation information and the service information, and copying the information to the target position; for system setting information, the information is consistent with the source node by executing a system command, directly modifying a system configuration item and the like; recovering network element information including IP address, domain name, host name, interaction information between network elements, etc. by executing system command, directly modifying system configuration item, etc.; when the information recovery position is inconsistent with the original position, synchronizing to all other information related to the position is needed;
Step 8, because the network element is a special service application, a plurality of nodes cannot be operated simultaneously by the same network element, when the application information recovery is completed and the network element is on line, the tool enables the source node to be on line and off line, and the target cloud virtual machine completely takes over the source node; if a plurality of network elements migrate at the same time, the network elements need to be recovered in sequence according to the logic relationship of the network elements.
Through the above preferred embodiments, application migration across operating systems may be implemented, for example, migrating applications on a WinXP system to Win7 and Win10 cloud virtual machines, or migrating applications on a 32-bit server to a 64-bit cloud virtual machine, or migrating applications on a Win2003 system to a Win2008 cloud virtual machine, or migrating applications on a CentOS system to a CGSL cloud virtual machine, or the like.
Example 5
The present embodiment also provides a storage medium having a computer program stored therein, wherein the computer program is configured to execute any one of the application migration methods described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, determining an application to be migrated in a source node and a target cloud virtual machine to which the application is to be migrated;
s2, acquiring application information of the application, and migrating the application information to a target cloud virtual machine;
And S3, processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine.
Optionally, the storage medium is further arranged to store a computer program for performing the steps of:
s4, processing the application information in the target cloud virtual machine according to the application information type indicated by the application information so as to enable the application to be migrated to be used in the target cloud virtual machine;
alternatively, in the present embodiment, the storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
Example 6
The present embodiment also provides an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform any of the application migration methods described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, determining an application to be migrated in a source node and a target cloud virtual machine to which the application is to be migrated;
s2, acquiring application information of the application, and migrating the application information to a target cloud virtual machine;
and S3, processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine.
Alternatively, specific examples in this embodiment may refer to examples described in the foregoing embodiments and optional implementations, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may alternatively be implemented in program code executable by computing devices, so that they may be stored in a memory device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (11)

1. An application migration method, comprising:
determining an application to be migrated in a source node and a target cloud virtual machine to which the application is to be migrated;
acquiring application information of the application, and migrating the application information to a target cloud virtual machine;
processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine, wherein processing the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine comprises the following steps:
processing the application information according to the application information type indicated by the application information in a target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine, wherein processing the application information according to the application information type indicated by the application information in the target cloud virtual machine so as to enable the application to be migrated to be used in the target cloud virtual machine comprises the following steps:
When the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in a target cloud virtual machine;
when the application information type indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in a special service application system.
2. The method of claim 1, wherein the migrating the application information to a target cloud virtual machine comprises at least one of:
creating a remote sharing catalog through a WMI interface and migrating the application information to a target cloud virtual machine;
creating a remote sharing directory in an SSH mode and migrating the application information to a target cloud virtual machine;
and migrating the application information to the target cloud virtual machine through remote copying.
3. The method of claim 1, wherein prior to the collecting the application information for the application, the method further comprises:
Collecting system information of the source node and the target cloud virtual machine respectively, wherein the system information at least comprises one of the following information: operating system type, operating system version, CPU size, memory size, disk space remaining size.
4. A method according to claim 3, characterized in that the method further comprises:
judging whether the target cloud virtual machine meets the migration condition of the application information according to the system information of the source node and the target cloud virtual machine, wherein the migration condition at least comprises one of the following conditions:
the type of the operating system of the target cloud virtual machine is matched with the type of the operating system of the source node; the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance; the CPU of the target cloud virtual machine is larger than the CPU of the source node; the memory of the target cloud virtual machine is larger than the memory of the source node;
and when the judging result indicates that the target cloud virtual machine meets the migration condition of the application information, migrating the application information to the target cloud virtual machine.
5. The method according to claim 4, wherein the method further comprises:
when at least one of the following is judged: the method comprises the steps that the disk residual space of a target cloud virtual machine is smaller than the space size occupied by the application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is smaller than the CPU of a source node, the memory of the target cloud virtual machine is smaller than the memory of the source node, and a notification is sent to an adjusting module in the target cloud virtual machine, wherein the notification is used for adjusting the disk residual space size or the CPU size or the memory size of the target cloud virtual machine so as to realize at least one of the following: the disk residual space of the target cloud virtual machine is larger than the space size occupied by the application to be migrated, which is acquired in advance, the CPU of the target cloud virtual machine is larger than the CPU of the source node, and the memory of the target cloud virtual machine is larger than the memory of the source node.
6. The method of claim 1, wherein after collecting application information for the application, the method further comprises: storing the application information and storing the information type of the application information, the application information and the corresponding relation of the initial position of the application information; wherein the initial position includes at least one of: the directory path, registration item, configuration item and system item of the application.
7. An application migration apparatus, comprising:
the first determining module is used for determining an application to be migrated in the source node and a target cloud virtual machine to which the application is to be migrated;
the first acquisition module is used for acquiring application information of the application;
the first migration module is used for migrating the application information to a target cloud virtual machine;
the first processing module is configured to process the application information in a target cloud virtual machine so that the application to be migrated is used in the target cloud virtual machine, where the first processing module is further configured to process the application information in the target cloud virtual machine according to an application information type indicated by the application information so that the application to be migrated is used in the target cloud virtual machine, and the first processing module is further configured to:
When the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in a target cloud virtual machine;
when the application information type indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in a special service application system.
8. An application cloud tool, comprising:
the second determining module is used for determining an application to be migrated in the source node and a target cloud virtual machine to which the application is to be migrated on a tool interface;
the second acquisition module is used for acquiring application information of the application;
the second migration module is used for migrating the application information to a target cloud virtual machine;
the second processing module is configured to process the application information in a target cloud virtual machine so that the application to be migrated is used in the target cloud virtual machine, where the second processing module is further configured to process the application information in the target cloud virtual machine according to an application information type indicated by the application information so that the application to be migrated is used in the target cloud virtual machine, and the second processing module is further configured to:
When the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in a target cloud virtual machine;
when the application information type indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in a special service application system.
9. An application migration system, comprising:
the source node, the target cloud virtual machine and the application cloud loading tool, wherein,
the application cloud loading tool is configured to determine an application to be migrated in a source node and a target cloud virtual machine to which the application is to be migrated on a tool interface, collect application information of the application, migrate the application information to the target cloud virtual machine, and process the application information in the target cloud virtual machine so that the application to be migrated is used in the target cloud virtual machine, where the application cloud loading tool is further configured to process the application information in the target cloud virtual machine according to an application information type indicated by the application information, so that the application to be migrated is used in the target cloud virtual machine, and the application cloud loading tool is further configured to:
When the type of the application information indicated by the application information is installation information or service information, copying the installation information or service information to a target position in a target cloud virtual machine;
when the application information type indicated by the application information is system setting information or network element information, configuring the system setting information in the cloud virtual machine according to the system setting information at least by one of the following modes: executing system commands and modifying system configuration items; the network element information is node information of the network element where the application is located in a special service application system.
10. A storage medium having a computer program stored therein, wherein the computer program is arranged to perform the method of any of claims 1 to 6 when run.
11. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of the claims 1 to 6.
CN201810129847.8A 2018-02-08 2018-02-08 Application migration method, device, system, storage medium and application cloud application tool Active CN110134489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810129847.8A CN110134489B (en) 2018-02-08 2018-02-08 Application migration method, device, system, storage medium and application cloud application tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810129847.8A CN110134489B (en) 2018-02-08 2018-02-08 Application migration method, device, system, storage medium and application cloud application tool

Publications (2)

Publication Number Publication Date
CN110134489A CN110134489A (en) 2019-08-16
CN110134489B true CN110134489B (en) 2023-10-13

Family

ID=67567403

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810129847.8A Active CN110134489B (en) 2018-02-08 2018-02-08 Application migration method, device, system, storage medium and application cloud application tool

Country Status (1)

Country Link
CN (1) CN110134489B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11340919B2 (en) * 2020-06-23 2022-05-24 Vmware, Inc. Transitioning application windows between local and remote desktops
CN111897654B (en) * 2020-07-31 2023-08-15 腾讯科技(深圳)有限公司 Method and device for migrating application to cloud platform, electronic equipment and storage medium
CN113535020B (en) * 2021-07-14 2024-03-15 北京百度网讯科技有限公司 Method, apparatus, device, medium and product for generating application icons
CN115334142A (en) * 2022-08-05 2022-11-11 阿里云计算有限公司 Equipment information acquisition method, equipment migration method, device, equipment and medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081552A (en) * 2009-12-01 2011-06-01 华为技术有限公司 Method, device and system for transferring from physical machine to virtual machine on line
CN103620551A (en) * 2011-06-29 2014-03-05 微软公司 Virtual machine migration tool
CN104572274A (en) * 2013-10-18 2015-04-29 宇宙互联有限公司 Cross-cloud-node migration system and cross-cloud-node migration method
CN105843682A (en) * 2016-03-29 2016-08-10 新浪网技术(中国)有限公司 Method and apparatus for migrating virtual machine to IaaS cloud platform

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9594591B2 (en) * 2014-09-26 2017-03-14 International Business Machines Corporation Dynamic relocation of applications in a cloud application service model

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081552A (en) * 2009-12-01 2011-06-01 华为技术有限公司 Method, device and system for transferring from physical machine to virtual machine on line
CN103620551A (en) * 2011-06-29 2014-03-05 微软公司 Virtual machine migration tool
CN104572274A (en) * 2013-10-18 2015-04-29 宇宙互联有限公司 Cross-cloud-node migration system and cross-cloud-node migration method
CN105843682A (en) * 2016-03-29 2016-08-10 新浪网技术(中国)有限公司 Method and apparatus for migrating virtual machine to IaaS cloud platform

Also Published As

Publication number Publication date
CN110134489A (en) 2019-08-16

Similar Documents

Publication Publication Date Title
CN110134489B (en) Application migration method, device, system, storage medium and application cloud application tool
CN110572436B (en) Multi-place cross-cluster server deployment method and system
US10635496B2 (en) Thread pool management
US11016935B2 (en) Centralized multi-cloud workload protection with platform agnostic centralized file browse and file retrieval time machine
CN112424751A (en) Cluster resource allocation and management method on cloud platform
CN108513657B (en) Data conversion method and backup server
KR100737521B1 (en) Method and system for collecting and restoring application states
CN105094964B (en) Virtual machine migration method and system
CN106557384A (en) Based on the data processing method of Linux, device and system
JP2011060035A (en) System, method and program for deploying application
CN101651669A (en) Service box integration server and service box integration method
JP2010117957A (en) Configuration management server, name specification method, and name specification program
CN109684028B (en) Method, device and equipment for separating operating system from user data
CN110928554A (en) Deployment method, device, equipment and storage medium
JP6319770B2 (en) Container migration system and method
US10686654B2 (en) Configuration management as a service
CN112035062B (en) Migration method of local storage of cloud computing, computer equipment and storage medium
US9910662B2 (en) Selectively migrating applications during an operating system upgrade
CN115357198A (en) Mounting method and device of storage volume, storage medium and electronic equipment
US9910667B2 (en) Segregating a monolithic computing system into multiple attachable application containers based on application boundaries
CN107968794B (en) Virtual CD-ROM mounting method and system, server and terminal
CN113672334A (en) Container management method and device
CN106844058B (en) Management method and device for virtualized resources
CN103917944A (en) System and methods thereof for dynamically updating the contents of a folder on a device
JP2013012225A (en) Name specification program, configuration management server and information processing system

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
GR01 Patent grant
GR01 Patent grant