Virtual machine migration optimization method under hyper-converged architecture

The virtual machine migration optimization method under a hyper-converged architecture addresses long service interruptions by ensuring efficient, secure, and stable migration through compatibility checks, resource optimization, and automatic exception handling, enhancing user experience and business continuity.

CN119248417APending Publication Date: 2025-01-03CHONGQING DATANG INT WULONG XINGSHUN WIND POWER
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411234962.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

Traditional virtual machine migration in virtualization architectures causes long service interruptions, affecting user experience and business continuity.

Method used

A virtual machine migration optimization method under a hyper-converged architecture, involving compatibility checks, pre-allocation of resources, high-speed data transmission, memory and status copying, seamless control transfer, and automatic exception handling to ensure efficient and secure migration.

Benefits of technology

Significantly reduces service interruption time, improves migration efficiency, ensures data security and stability, and enhances resource utilization, reducing operation and maintenance costs while supporting flexible system scalability and green energy savings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248417A_ABST
    Figure CN119248417A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of virtual machine migration optimization, and discloses a virtual machine migration optimization method under a hyper-converged architecture, and the method specifically comprises the following steps: 1, starting a migration sending request: starting a virtual machine migration process on a source host, and sending the migration request to a target host through a virtualization management layer; the service interruption time in the migration process of the virtual machine can be remarkably shortened by starting migration to send a request, pre-allocating resources, establishing a data transmission channel, copying a memory and a running state, simultaneously processing input and output requests, transferring a control right, taking over the running of the virtual machine, releasing the resources, monitoring the performance of the virtual machine and automatically processing exceptions; the migration time is effectively shortened, the migration efficiency is improved, and the service interruption time is reduced, so that the user experience and the service continuity are improved, the technical problems in the migration process of the virtual machine in the traditional virtualization architecture are solved, and a new thought and a new solution are provided for the application of the virtualization technology in a modern data center.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of virtual machine migration optimization, and in particular to a virtual machine migration optimization method under a hyper-converged architecture. Background Art

[0002] With the rapid development of cloud computing and data center technology, virtualization technology has become an indispensable part of modern data centers. Virtual machine migration is an important function in virtualization technology, which allows virtual machines to migrate seamlessly between physical hosts to achieve load balancing, maintenance and upgrade purposes.

[0003] However, in traditional virtualization architectures, the virtual machine migration process may cause long service interruptions, affecting user experience and business continuity.

[0004] To this end, we propose a virtual machine migration optimization method under a hyper-converged architecture. Summary of the invention

[0005] The present invention mainly solves the technical problems existing in the above-mentioned prior art and provides a virtual machine migration optimization method under a hyper-converged architecture.

[0006] In order to achieve the above object, the present invention adopts the following technical solution, a virtual machine migration optimization method under a hyper-converged architecture, which specifically includes the following steps:

[0007] Step 1: Start the migration request: Start the virtual machine migration process on the source host and send a migration request to the target host through the virtualization management layer;

[0008] Step 2: Pre-allocate resources: After receiving the migration request, the target host pre-allocates resources, including the preparation of computing resources and storage resources.

[0009] Step 3: Establish a data transmission channel: Establish a high-speed data transmission channel between the source host and the target host to ensure data transmission efficiency during the migration process;

[0010] Step 4: Copy memory and running status and process input and output requests at the same time: The source host starts to copy the memory status and running status of the virtual machine to the target host, and the source host continues to process the input and output requests of the virtual machine;

[0011] Step 5: Transfer control: After the memory status and running status are copied, the source host transfers the control of the virtual machine to the target host;

[0012] Step 6: Take over the operation of the virtual machine: The target host takes over the operation of the virtual machine and completes the virtual machine migration process;

[0013] Step 7: Release resources: The source host releases resources related to the virtual machine for use by other virtual machines;

[0014] Step 8: Monitor virtual machine performance: Monitor the performance of the virtual machine after migration through the virtualization management layer to ensure stable operation of the migrated virtual machine;

[0015] Step 9: Automatic exception handling: If the migrated virtual machine runs abnormally, the virtualization management layer will automatically trigger the rollback mechanism and migrate the virtual machine back to the source host to ensure business continuity.

[0016] Preferably, initiating the migration and sending a request in the first step further comprises performing a compatibility check on the source host and the target host to ensure that the target host has the hardware and software environment required to run the virtual machine.

[0017] Preferably, the pre-allocation of resources in the second step further includes optimizing the configuration of resources of the target host to improve the performance of the virtual machine after migration.

[0018] Preferably, establishing the data transmission channel in the third step also includes encrypting the data transmission channel to ensure data security during the migration process.

[0019] Preferably, the copying of memory and running status while processing input and output requests in the fourth step also includes synchronizing the network status of the virtual machine to ensure that the network connection of the virtual machine is not interrupted during the migration process.

[0020] Preferably, the transfer of control rights in the fifth step also includes synchronous confirmation of the source host and the target host to ensure seamless transfer of the control rights of the virtual machine.

[0021] Preferably, taking over the operation of the virtual machine in the sixth step further includes optimizing the performance of the virtual machine on the target host to adapt to the new operating environment.

[0022] Preferably, releasing resources in the seventh step further comprises backing up relevant resources on the source host so as to enable rapid recovery when an abnormality occurs during the migration process.

[0023] Preferably, the automatic exception handling in the ninth step also includes recording the abnormal situation in detail to facilitate subsequent problem analysis and optimization and improvement.

[0024] The present invention provides a virtual machine migration optimization method under a hyper-converged architecture, which has the following beneficial effects:

[0025] 1. The virtual machine migration optimization method under the hyper-converged architecture can significantly reduce the service interruption time during virtual machine migration, effectively shorten the migration time, improve the migration efficiency, and reduce the service interruption time, thereby improving user experience and business continuity. It not only solves the technical problems in the virtual machine migration process in the traditional virtualization architecture, but also provides new ideas and solutions for the application of virtualization technology in modern data centers.

[0026] 2. The virtual machine migration optimization method under the hyper-converged architecture ensures the efficiency, security and stability of the virtual machine migration process through compatibility checking, resource optimization configuration, data transmission encryption, network status synchronization, synchronization confirmation, performance tuning, resource backup and exception recording.

[0027] 3. The virtual machine migration optimization method under the hyper-converged architecture not only improves the resource utilization of the data center, but also reduces the operation and maintenance costs, providing strong support for the development of cloud computing and data center technology.

[0028] 4. The virtual machine migration optimization method under the hyper-converged architecture optimizes the virtual machine migration process, enabling the data center to respond to changes in business needs more flexibly, improving the scalability and flexibility of the system, and can effectively improve the efficiency and stability of virtual machine migration, providing a strong guarantee for the efficient operation of modern data centers.

[0029] 5. The virtual machine migration optimization method under the hyper-converged architecture can maintain a high performance level during the migration process through the optimized virtual machine migration process, thereby ensuring business continuity and stability. At the same time, this method can also reduce the demand for network bandwidth, reduce the energy consumption of the data center, and further improve the green energy-saving level of the data center. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 The present invention is a flow chart of the method. DETAILED DESCRIPTION

[0031] Embodiment 1: A virtual machine migration optimization method under a hyper-converged architecture, such as Figure 1As shown, the specific steps include: Step 1: Start the migration and send a request: Start the virtual machine migration process on the source host, and send a migration request to the target host through the virtualization management layer; Step 2: Pre-allocate resources: After the target host receives the migration request, it pre-allocates resources, including the preparation of computing resources and storage resources; Step 3: Establish a data transmission channel: Establish a high-speed data transmission channel between the source host and the target host to ensure the data transmission efficiency during the migration process; Step 4: Copy the memory and running status and process the input and output requests at the same time: The source host starts to copy the memory status and running status of the virtual machine to the target host, and the source host continues to process the input and output requests of the virtual machine Request; Step 5: Transfer control: After the memory state and running state are copied, the source host transfers the control of the virtual machine to the target host; Step 6: Take over the operation of the virtual machine: The target host takes over the operation of the virtual machine and completes the virtual machine migration process; Step 7: Release resources: The source host releases the resources related to the virtual machine for use by other virtual machines; Step 8: Monitor the performance of the virtual machine after migration: Monitor the performance of the virtual machine after migration through the virtualization management layer to ensure the stable operation of the migrated virtual machine; Step 9: Automatic abnormality processing: If the operation of the migrated virtual machine is abnormal, the virtualization management layer will automatically trigger the rollback mechanism and migrate the virtual machine back to the source host to ensure business continuity. In the first step, starting the migration request also includes a compatibility check of the source host and the target host to ensure that the target host has the hardware and software environment required to run the virtual machine. In the second step, pre-allocating resources also includes optimizing the configuration of the resources of the target host to improve the performance of the virtual machine after migration. In the third step, establishing a data transmission channel also includes encrypting the data transmission channel to ensure data security during the migration process. In the fourth step, copying the memory and running state and processing the input and output requests at the same time also includes synchronizing the network status of the virtual machine to ensure that the network connection of the virtual machine is not interrupted during the migration process. Transferring control in the fifth step also includes synchronizing and confirming the source and target hosts to ensure seamless transfer of control of the virtual machine. Taking over the operation of the virtual machine in the sixth step also includes performance tuning of the virtual machine on the target host to adapt to the new operating environment. Releasing resources in the seventh step also includes backing up the relevant resources on the source host so that they can be quickly restored in case of anomalies during the migration process. Automatic exception handling in the ninth step also includes detailed recording of the anomalies for subsequent problem analysis and optimization and improvement.By initiating migration requests, pre-allocating resources, establishing data transmission channels, copying memory and operating status, and processing input and output requests, transferring control, taking over virtual machine operation, releasing resources, monitoring virtual machine performance, and automatically handling exceptions, the service interruption time during virtual machine migration can be significantly reduced, the migration time can be effectively shortened, the migration efficiency can be improved, and the service interruption time can be reduced, thereby improving user experience and business continuity. It not only solves the technical problems in the virtual machine migration process in the traditional virtualization architecture, but also provides new ideas and solutions for the application of virtualization technology in modern data centers.

[0032] Embodiment 2: Based on Embodiment 1, Figure 1 As shown, in the first step, starting the migration and sending the request also includes a compatibility check on the source host and the target host to ensure that the target host has the hardware and software environment required to run the virtual machine. In the second step, pre-allocating resources also includes optimizing the configuration of the resources of the target host to improve the performance of the virtual machine after migration. In the third step, establishing a data transmission channel also includes encrypting the data transmission channel to ensure data security during the migration process. In the fourth step, copying the memory and running state while processing the input and output requests also includes synchronizing the network state of the virtual machine to ensure that the network connection of the virtual machine is not interrupted during the migration process. In the fifth step, transferring the control right also includes synchronizing and confirming the source host and the target host to ensure seamless transfer of the control right of the virtual machine. In the sixth step, taking over the operation of the virtual machine also includes performance tuning of the virtual machine on the target host to adapt to the new operating environment. In the seventh step, releasing resources also includes backing up the relevant resources on the source host so that it can be quickly restored when an abnormality occurs during the migration process. In the ninth step, automatic abnormality processing also includes recording the abnormal situation in detail for subsequent problem analysis and optimization and improvement. Through compatibility checks, resource optimization configuration, data transmission encryption, network status synchronization, synchronization confirmation, performance tuning, resource backup and exception recording, the efficiency, security and stability of the virtual machine migration process are ensured.

[0033] Embodiment 3: Based on Embodiment 1 and Embodiment 2, Figure 1As shown, the pre-allocation of resources in the second step also includes optimizing the configuration of the resources of the target host to improve the performance of the virtual machine after migration. The establishment of the data transmission channel in the third step also includes encrypting the data transmission channel to ensure data security during the migration process. The replication of memory and running status and processing input and output requests in the fourth step also includes synchronizing the network status of the virtual machine to ensure that the network connection of the virtual machine is not interrupted during the migration process. The transfer of control rights in the fifth step also includes synchronizing and confirming the source host and the target host to ensure seamless transfer of the control rights of the virtual machine. Taking over the operation of the virtual machine in the sixth step also includes performance tuning of the virtual machine on the target host to adapt to the new operating environment. The release of resources in the seventh step also includes backing up the relevant resources on the source host so that they can be quickly restored when an abnormality occurs during the migration process. The automatic abnormality handling in the ninth step also includes recording the abnormal situation in detail for subsequent problem analysis and optimization and improvement. The optimized virtual machine migration method not only improves the resource utilization of the data center, but also reduces the operation and maintenance costs, providing strong support for the development of cloud computing and data center technology.

[0034] Embodiment 4: Based on Embodiment 1, Embodiment 2 and Embodiment 3, Figure 1 As shown in the figure, in the fourth step, copying the memory and running status while processing the input and output requests also includes synchronizing the network status of the virtual machine to ensure that the network connection of the virtual machine is not interrupted during the migration process. In the fifth step, transferring the control right also includes synchronizing and confirming the source host and the target host to ensure the seamless transfer of the virtual machine control right. In the sixth step, taking over the operation of the virtual machine also includes performance tuning of the virtual machine on the target host to adapt to the new operating environment. In the seventh step, releasing resources also includes backing up the relevant resources on the source host so that they can be quickly restored when an exception occurs during the migration process. In the ninth step, automatic abnormality handling also includes recording the abnormal situation in detail for subsequent problem analysis and optimization and improvement. By optimizing the virtual machine migration process, the data center can respond to changes in business needs more flexibly, improve the scalability and flexibility of the system, effectively improve the efficiency and stability of virtual machine migration, and provide a strong guarantee for the efficient operation of modern data centers.

[0035] Embodiment 5: Based on Embodiment 1, Embodiment 2, Embodiment 3 and Embodiment 4, Figure 1As shown, the transfer of control in the fifth step also includes synchronous confirmation of the source host and the target host to ensure seamless transfer of control of the virtual machine. Taking over the operation of the virtual machine in the sixth step also includes performance tuning of the virtual machine on the target host to adapt to the new operating environment. Releasing resources in the seventh step also includes backing up relevant resources on the source host so that they can be quickly restored when an abnormality occurs during the migration process. Automatic abnormality handling in the ninth step also includes detailed recording of abnormal situations for subsequent problem analysis and optimization and improvement. Through the optimized virtual machine migration process, the virtual machine can maintain a high performance level during the migration process, thereby ensuring business continuity and stability. At the same time, this method can also reduce the demand for network bandwidth, reduce the energy consumption of the data center, and further improve the green energy saving level of the data center.

[0036] The working principle of the present invention is to achieve seamless migration of virtual machines through a series of carefully designed steps. Virtual machine migration refers to the process of migrating a running virtual machine from one physical host to another without causing significant impact on the applications and users on the virtual machine. In the first step, the virtualization management layer on the source host will start the migration process and send a migration request to the target host. This process not only includes a compatibility check of the source host and the target host, but also involves a detailed evaluation of the current running state of the virtual machine to ensure the feasibility of the migration. In the second step, after receiving the migration request, the target host will pre-allocate resources. This step not only includes the preparation of computing resources and storage resources, but also includes optimizing the resources of the target host to improve the performance of the virtual machine after migration. Resource optimization configuration may involve adjusting the allocation ratio of CPU, memory and storage to meet the specific needs of the virtual machine. In the third step, a high-speed data transmission channel is established between the source host and the target host. In addition to ensuring the efficiency of data transmission, the data transmission channel will also be encrypted to ensure data security during the migration process. Encryption technology can use existing security protocols, such as SSL / TLS, to prevent data from being intercepted or tampered with during transmission. In the fourth step, the source host begins to copy the memory state and running state of the virtual machine to the target host. At the same time, the source host continues to process the input and output requests of the virtual machine to ensure that the virtual machine provides continuous services to the outside world during the migration process. In addition, the network state of the virtual machine is synchronized to ensure that the network connection of the virtual machine is not interrupted during the migration process. In the fifth step, after the memory state and running state are copied, the source host transfers the control of the virtual machine to the target host. This step also includes synchronization confirmation of the source host and the target host to ensure seamless transfer of control of the virtual machine. The synchronization confirmation mechanism can use heartbeat signals or status confirmation messages to ensure the reliability of the migration process. In the sixth step, the target host takes over the operation of the virtual machine. During the takeover process, the performance of the virtual machine on the target host will be tuned to adapt to the new operating environment. Performance tuning may include adjusting the CPU affinity, memory allocation strategy, and I / O scheduling strategy of the virtual machine. In the seventh step, the source host releases the resources related to the virtual machine for use by other virtual machines. Releasing resources also includes backing up the relevant resources on the source host so that they can be quickly restored when an exception occurs during the migration process. The backup mechanism can use snapshot technology to ensure data integrity and consistency. In step 8, the performance of the migrated virtual machine is monitored through the virtualization management layer. The monitoring process not only ensures the stable operation of the migrated virtual machine, but also involves real-time analysis of the virtual machine performance indicators to promptly identify and resolve potential problems. In step 9, the automatic exception handling mechanism is triggered when an exception occurs in the operation of the migrated virtual machine. The rollback mechanism is automatically triggered to migrate the virtual machine back to the source host to ensure business continuity.The exception handling mechanism also includes detailed records of abnormal situations for subsequent problem analysis and optimization and improvement. By optimizing the virtual machine migration process, the data center can respond to changes in business needs more flexibly, improving the scalability and flexibility of the system. The optimized virtual machine migration method can not only reduce the demand for network bandwidth and reduce the energy consumption of the data center, but also improve the green energy saving level of the data center, providing a strong guarantee for the efficient operation of modern data centers.

[0037] The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A virtual machine migration optimization method under a hyper-converged architecture, characterized in that: The specific steps include: Step 1: Start the migration request: Start the virtual machine migration process on the source host and send a migration request to the target host through the virtualization management layer; Step 2: Pre-allocate resources: After receiving the migration request, the target host pre-allocates resources, including the preparation of computing resources and storage resources. Step 3: Establish a data transmission channel: Establish a high-speed data transmission channel between the source host and the target host to ensure data transmission efficiency during the migration process; Step 4: Copy memory and running status and process input and output requests at the same time: The source host starts to copy the memory status and running status of the virtual machine to the target host, and the source host continues to process the input and output requests of the virtual machine; Step 5: Transfer control: After the memory status and running status are copied, the source host transfers the control of the virtual machine to the target host; Step 6: Take over the operation of the virtual machine: The target host takes over the operation of the virtual machine and completes the virtual machine migration process; Step 7: Release resources: The source host releases resources related to the virtual machine for use by other virtual machines; Step 8: Monitor virtual machine performance: Monitor the performance of the virtual machine after migration through the virtualization management layer to ensure stable operation of the migrated virtual machine; Step 9: Automatic exception handling: If the migrated virtual machine runs abnormally, the virtualization management layer will automatically trigger the rollback mechanism and migrate the virtual machine back to the source host to ensure business continuity.

2. The virtual machine migration optimization method under the hyper-converged architecture according to claim 1 is characterized in that: Initiating the migration and sending a request in the first step also includes performing a compatibility check on the source host and the target host.

3. The virtual machine migration optimization method under the hyper-converged architecture according to claim 1 is characterized in that: The pre-allocation of resources in the second step also includes optimizing the configuration of resources of the target host.

4. The virtual machine migration optimization method under the hyper-converged architecture according to claim 1, characterized in that: Establishing the data transmission channel in the third step also includes encrypting the data transmission channel.

5. The virtual machine migration optimization method under the hyper-converged architecture according to claim 1, characterized in that: The fourth step of copying the memory and the running state while processing the input and output requests also includes synchronizing the network state of the virtual machine.

6. The virtual machine migration optimization method under the hyper-converged architecture according to claim 1, characterized in that: The transfer of control in the fifth step also includes synchronization confirmation of the source host and the target host.

7. The virtual machine migration optimization method under the hyper-converged architecture according to claim 1, characterized in that: Taking over the operation of the virtual machine in the sixth step also includes performance tuning of the virtual machine on the target host.

8. The virtual machine migration optimization method under the hyper-converged architecture according to claim 1, characterized in that: Releasing resources in the seventh step also includes backing up relevant resources on the source host.

9. The virtual machine migration optimization method under the hyper-converged architecture according to claim 1, characterized in that: The automatic abnormality handling in the ninth step also includes recording the abnormality in detail.