CN111506386A - Virtual machine online migration method, device, equipment and computer readable storage medium - Google Patents

Virtual machine online migration method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN111506386A
CN111506386A CN202010125794.XA CN202010125794A CN111506386A CN 111506386 A CN111506386 A CN 111506386A CN 202010125794 A CN202010125794 A CN 202010125794A CN 111506386 A CN111506386 A CN 111506386A
Authority
CN
China
Prior art keywords
data
virtual disk
virtual machine
virtual
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010125794.XA
Other languages
Chinese (zh)
Inventor
刘仁仕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN202010125794.XA priority Critical patent/CN111506386A/en
Priority to PCT/CN2020/099563 priority patent/WO2021169129A1/en
Publication of CN111506386A publication Critical patent/CN111506386A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • G06F9/4856Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to the technical field of cloud technology, and discloses a virtual machine online migration method, a virtual machine online migration device, a computer device and a computer readable storage medium, wherein a data migration instruction sent by a source end is received, and a configuration file of the source end corresponding to the data migration instruction is obtained; according to the configuration file, a second virtual disk which is the same as the first virtual disk in the source end is created; after the second virtual disk is established, operating a target virtual machine to determine a reading port of the first virtual disk; based on the reading port, the data to be migrated corresponding to the first virtual disk is read, and the data to be migrated is written into the second virtual disk, so that online rapid migration of the storage data of the virtual machine is realized, the workload of the source end is effectively accelerated and reduced, and the migration efficiency is improved.

Description

Virtual machine online migration method, device, equipment and computer readable storage medium
Technical Field
The present application relates to the field of cloud technologies, and in particular, to a method and an apparatus for online migration of a virtual machine, a computer device, and a computer-readable storage medium.
Background
In the current cloud computing environment, an open source virtualization scheme qemu-kvm (a virtual machine monitor of an L inux kernel) is widely applied to the field of cloud computing due to the characteristics of good performance, complete functions and the like.
The online migration is divided into the tape storage migration and the non-tape storage migration, and the difference between the two is that the tape storage migration not only migrates the memory data of the virtual machine, but also migrates the data in the virtual disk to the destination. In a scenario where NAS or RBD is used for shared storage, all physical machines in a cluster have access to the same virtual disk, and an online migration method without storage is generally adopted.
Currently, when a qemu-kvm tape is migrated, a source end can only launch a virtual machine shutdown when all data in a memory and a virtual disk of the virtual machine are copied to a destination end through a network, and then the virtual machine is started at the destination end, but the data volume of the virtual disk is usually large, so that the migration time is long, and the migration efficiency is low.
Disclosure of Invention
The present application mainly aims to provide a virtual machine online migration method, an apparatus, a computer device, and a computer readable storage medium, and aims to solve the technical problem that the migration efficiency is low due to long migration time because the data volume of the existing virtual disk is usually large.
In a first aspect, the present application provides an online migration method for a virtual machine, where the online migration method for a virtual machine includes the following steps:
receiving a data migration instruction sent by a source end, and acquiring a configuration file of the source end corresponding to the data migration instruction;
according to the configuration file, a second virtual disk which is the same as the first virtual disk in the source end is created;
after the second virtual disk is established, operating a target virtual machine to determine a reading port of the first virtual disk;
and reading the data to be migrated corresponding to the first virtual disk based on the reading port, and writing the data to be migrated into the second virtual disk.
In a second aspect, the present application further provides an online migration apparatus for a virtual machine, where the online migration apparatus for a virtual machine includes:
the acquisition module is used for receiving a data migration instruction sent by a source end and acquiring a configuration file of the source end corresponding to the data migration instruction;
a creating module, configured to create, according to the configuration file, a second virtual disk that is the same as the first virtual disk in the source end;
the detection module is used for running a target virtual machine after the second virtual disk is established so as to determine a reading port of the first virtual disk;
and the reading and writing module is used for reading the data to be migrated corresponding to the first virtual disk based on the reading port and writing the data to be migrated into the second virtual disk.
In a third aspect, the present application also provides a computer device, which includes a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein when the computer program is executed by the processor, the steps of the virtual machine online migration method as described above are implemented.
In a fourth aspect, the present application further provides a computer-readable storage medium, having a computer program stored thereon, where the computer program, when executed by a processor, implements the steps of the virtual machine online migration method as described above.
The application provides a virtual machine online migration method, a virtual machine online migration device, computer equipment and a computer readable storage medium, and the application receives a data migration instruction sent by a source end and acquires a configuration file of the source end corresponding to the data migration instruction; according to the configuration file, a second virtual disk which is the same as the first virtual disk in the source end is created; after the second virtual disk is established, operating a target virtual machine to determine a reading port of the first virtual disk; based on the reading port, the data to be migrated corresponding to the first virtual disk is read, and the data to be migrated is written into the second virtual disk, so that online rapid migration of the storage data of the virtual machine is realized, the workload of the source end is effectively accelerated and reduced, and the migration efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an online migration method for a virtual machine according to an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating sub-steps of the online migration method of the virtual machine in FIG. 1;
FIG. 3 is a flow chart illustrating sub-steps of the online migration method of the virtual machine in FIG. 1;
FIG. 4 is a flow chart illustrating sub-steps of the online migration method of the virtual machine in FIG. 1;
fig. 5 is a schematic flowchart of another virtual machine online migration method according to an embodiment of the present application;
fig. 6 is a schematic block diagram of a virtual machine online migration apparatus according to an embodiment of the present application;
fig. 7 is a schematic block diagram of another virtual machine online migration apparatus provided in an embodiment of the present application;
fig. 8 is a block diagram schematically illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be divided, combined or partially combined, so that the actual execution sequence may be changed according to actual situations.
The embodiment of the application provides a virtual machine online migration method and device, computer equipment and a computer readable storage medium. The virtual machine online migration method can be applied to destination equipment, and the destination equipment can be electronic equipment capable of running the virtual machine, such as a mobile phone, a tablet computer, a notebook computer, a desktop computer and the like.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a flowchart illustrating a virtual machine online migration method according to an embodiment of the present disclosure.
As shown in fig. 1, the online migration method of a virtual machine includes steps S100 to S400.
Step S100, receiving a data migration instruction sent by a source end, and acquiring a configuration file of the source end corresponding to the data migration instruction;
the destination receives a data migration instruction sent by the source, and obtains identification information of the source carried in the data migration instruction, where the identification information may be a name, a number, and the like of the source. And the destination terminal acquires the identification information in the data migration instruction and acquires the IP and the port of the source terminal based on the identification information. Illustratively, when acquiring a name or a number, the destination acquires the IP and the port of the source stored in advance by using the name or the number as a search condition, where the IP and the port of at least one source are acquired. The source end is a terminal device which needs to migrate data, and the destination end is a terminal device which stores the data to be migrated of the source end.
Sending a request to the source end based on the IP and the port of the source end, illustratively, when the destination end obtains the IP and the port of the source end, sending a request to the source end based on a preset communication transport protocol in the destination end, the IP and the port of the source end. The destination receives the configuration file sent by the source based on the request, for example, when receiving the request sent by the destination, the source reads a name or an association code of the configuration file in the request. And calling the configuration file of the source virtual machine through a preset libvirtd service based on the read configuration file name or the read association code and the like, and sending the configuration file to the destination. The libvirtual service is an open source API, a daemon and a management tool for managing the virtualization platform, and can be used for managing KVM, Xen, VMware ESX, QEMU and other virtualization technologies.
Illustratively, a request sent by the destination to the source carries a virshdumpxml command, and the configuration file of the first virtual disk is acquired through the virshdumpxml command. The configuration file is an xml file corresponding to a source end virtual machine in a source end, and the xml file includes a source end virtual machine name, a cpu configuration parameter, a memory configuration parameter, a uuid, a virtual disk configuration parameter (a source path, a PCI configuration parameter, a virtual disk format, and the like), a network configuration parameter (a network type, a tap port, and the like), and memory data information and device information of the source end virtual machine.
Step S200, according to the configuration file, a second virtual disk which is the same as the first virtual disk in the source end is created;
when the configuration information of the first virtual disk is read in the configuration file, the destination creates a second virtual disk which is the same as the configuration information of the first virtual disk through the configuration information, and uses the second virtual disk as a mirror disk of the source end virtual machine in the source end for storing the written data of the source end virtual machine. Illustratively, when the source end virtual machine reads a data block in the first virtual disk during operation, so as to generate write-out data corresponding to the data block, the write-out data is stored in the second virtual disk.
In one embodiment, as shown in fig. 2, step S200 includes: substeps 201 to substep S202.
Step S201, reading configuration information of a first virtual disk in a configuration file;
when acquiring a configuration file, a destination reads configuration information of a first virtual disk with a source end in the configuration file, wherein the configuration information includes a source end virtual machine name, a cpu configuration parameter, a memory configuration parameter, a uuid, a virtual disk configuration parameter (a source path, a PCI configuration parameter, a virtual disk format, and the like), a network configuration parameter (a network type, a tap port, and the like), and the like.
Step S202, based on the configuration information of the first virtual disk, a second virtual disk which is the same as the first virtual disk is created in the preset storage pool.
And when the destination terminal establishes the configuration information of the first virtual disk of the source terminal in the configuration file, a second virtual disk with the same configuration as the first virtual disk is established in the preset storage pool of the destination terminal according to the configuration information of the first virtual disk. When the exemplary destination obtains the cpu configuration parameters, the memory configuration parameters, the uuid, the virtual disk configuration parameters (source path, PCI configuration parameters, virtual disk format, etc.), and the network configuration parameters (network type, tap port, etc.) in the configuration file, the destination simulates a storage environment in the preset storage pool through the preset qemu-kvm, and sets the same resources as the cpu configuration parameters, the memory configuration parameters, the uuid, the virtual disk configuration parameters (source path, PCI configuration parameters, virtual disk format, etc.), and the network configuration parameters (network type, tap port, etc.) in the configuration file.
Step S300, after the second virtual disk is established, operating a target virtual machine to determine a reading port of the first virtual disk;
and the destination end creates a second virtual disk which is the same as the first virtual disk in the preset storage pool, detects the target virtual machine, and detects the reading port of the first virtual disk if the target virtual machine is detected to run. The first virtual disk is a virtual disk corresponding to a source end virtual machine in a source end, and the first virtual disk is provided with a network block device service port. The network block device service is started by a preset qemu-kvm tool in a source end, a network block device service port is allocated to a first virtual disk in advance through the network block device service, and the network block service port is used as a data reading port (nbd-read) of the first virtual disk, wherein the nbd-read is a reading mechanism of the network block service and is used for quickly reading data to be migrated in the first virtual disk. And when the service port of the network block equipment is obtained, taking the service port of the network block equipment as a reading port.
Before the target virtual machine is operated to determine the read port of the first virtual disk, when the target end acquires the configuration file of the source end, reading first memory data in the configuration file, where the first memory data includes device configuration information, state information, and the like of the source end virtual machine. And the terminal creates a target virtual machine which is the same as the configuration information of the source virtual machine based on the memory data of the source. And after the creation of the target virtual machine is completed, the target end acquires the current second memory data of the source end virtual machine in the source end. When the current second memory data of the source end virtual machine is obtained, whether the first memory data is the same as the second data is judged. And when the first memory data and the second memory data are determined to be the same, determining that the target virtual machine and the source virtual machine are synchronous, and operating the target virtual machine.
In the process of acquiring the configuration file and creating the target virtual machine according to the memory data in the configuration file, the source virtual machine runs in real time, the memory data is updated in the process of running of the source virtual machine, and the updated data becomes dirty data. When the first memory data is determined to be different from the second memory data, dirty data between the first memory data and the second memory data is obtained by comparing the first memory data with the second memory data, the first memory data is changed through the dirty data, the changed first memory data is the same as the second memory data, and therefore the target virtual machine and the source virtual machine are determined to be synchronous, and the target virtual machine is operated.
In an embodiment, specifically referring to fig. 3, step S300 includes: substeps S301 to substep S302.
Step S301, if the operation of the target virtual machine is detected, a stop instruction is sent to a source end;
and the destination end acquires the equipment state of the target virtual machine and the equipment state of the source end virtual machine, and runs the target virtual machine when detecting that the equipment state of the target virtual machine is consistent with the equipment state of the source end virtual machine. When the target virtual machine is detected to run, the destination end sends a stop instruction to the source end, and the stop instruction is used for stopping the running of the source end virtual machine.
And step S302, if the network block device service port of the first virtual disk reserved by the source end based on the stop instruction is detected, connecting the network block device service port, and taking the network block device service port of the first virtual disk as a reading port of the first virtual disk.
And after the destination terminal sends a stop instruction to the source terminal through a preset qemu-kvm tool, if a network block device service port of a first virtual disk reserved by the source terminal based on the stop instruction is detected, connecting the network block device service port. Illustratively, the source end stops the operation of the source end virtual machine when receiving a stop instruction sent by the destination end. And when the source end virtual machine stops running, releasing all virtual CPUs and virtual memory resources of a first virtual disk corresponding to the source end virtual machine, and only reserving a network block device service port for detection of a destination end. And if the destination terminal detects the network block equipment service port of the first virtual disk, connecting the network block equipment service port, and taking the network block equipment service port as a reading port of the first virtual disk.
Step S400, based on the reading port, reading the data to be migrated corresponding to the first virtual disk, and writing the data to be migrated into the second virtual disk.
The destination end reads the data to be migrated in the first virtual disk in the source end by connecting with the reading port of the first virtual disk, and stores the read data to be migrated in the second virtual disk. When the second virtual disk data synchronization module of the destination end is started, the network block device service port of the second virtual disk is connected with the network block device service port of the first virtual disk, and a data synchronization process is started. And sensing the synchronization state of the second virtual disk, maintaining the synchronization state of the first virtual disk and the data synchronization module (specifically, the state can be realized by a bitmap), gradually acquiring a data block from a network block equipment service port of a source qemu-kvm process from a position where the offset (address) of the first virtual disk is 0 to the maximum value of the offset of the first virtual disk by the data synchronization module, writing the acquired data block into the second virtual disk after acquiring the data block from the network block equipment service of the source based on offset + length each time, and identifying the data block as a synchronized data block.
In an embodiment, specifically referring to fig. 4, step S400 includes: substeps S401 to substep S402.
Step S401, reading data in the first virtual machine disk based on the reading port, and judging whether the read data is data to be migrated;
the destination end reads the data of the first virtual disk in the source end by connecting with the reading port of the first virtual disk. Illustratively, the destination terminal reads data from a read port corresponding to a first virtual disk operated by a source terminal qemu-kvm process through a second virtual disk data synchronization module started by a preset qemu-kvm. And when the data in the first virtual machine disk is read, judging whether the data is to-be-migrated data. When the data is detected to be marked, the data is determined not to be migrated, and when the data is not marked, the data is determined to be migrated.
And a substep S402, if the read data has the mark, determining the read data as the data to be migrated, and writing the data to be migrated into the second virtual disk.
And if the destination end reads that the data of the first virtual disk is not marked, determining the data as data to be migrated, and writing the read data to be migrated into the second virtual disk. And marking the data which is not marked after the read data to be migrated is written into the second virtual disk. Illustratively, when the data read by the destination does not have marks such as colors or characters, the data is determined to be data to be migrated, and the data without marks such as colors or characters is written into the second virtual disk. And after the data without marks such as colors or characters are written into the second virtual disk, marking the data written into the second virtual disk in the first virtual disk.
If the data read by the destination end from the first virtual disk is marked data, determining that the data is not to-be-migrated data, and not performing migration work on the data. The tagged data is defaulted to synchronous data, i.e., migrated data. Illustratively, when the data read by the destination has a mark such as color or text, the data with the mark such as color or text is defaulted to be synchronous data, and the synchronous data already exists in the second virtual disk and does not need to be migrated again.
In this embodiment, after receiving a configuration file of a source end, a source end virtual machine is immediately stopped, a memory resource of the source end virtual machine is released, only nbd _ server of a first virtual disk is reserved for bearing a read port of a second virtual disk, then a target virtual machine is started at a target end, a computation, memory, network work, and virtual disk write IO load of the target virtual machine are borne by the target end, then, from the nbd _ server of the source end qemu-kvm, total data in the first virtual disk is read from the beginning to the end, and is migrated to the second virtual disk in the target end. The method and the device realize the rapid migration of the virtual machine, effectively accelerate the source to reduce the workload of the source end and improve the migration efficiency.
Referring to fig. 5, fig. 5 is a schematic flow chart of another virtual machine online migration method of the virtual machine online migration method provided in this embodiment.
As shown in fig. 5, the online migration method of the virtual machine includes steps S501 to 509.
Step S501, receiving a data migration instruction sent by a source end, and acquiring a configuration file of the source end corresponding to the data migration instruction.
The destination receives a data migration instruction sent by the source, and obtains identification information of the source carried in the data migration instruction, where the identification information may be a name, a number, and the like of the source. And the destination terminal acquires the identification information in the data migration instruction and acquires the IP and the port of the source terminal based on the identification information. Illustratively, when acquiring a name or a number, the destination acquires the IP and the port of the source stored in advance by using the name or the number as a search condition, where the IP and the port of at least one source are acquired. The source end is a terminal device which needs to migrate data, and the destination end is a terminal device which stores the data to be migrated of the source end.
Sending a request to the source end based on the IP and the port of the source end, illustratively, when the destination end obtains the IP and the port of the source end, sending a request to the source end based on a preset communication transport protocol in the destination end, the IP and the port of the source end. The destination receives the configuration file sent by the source based on the request, for example, when receiving the request sent by the destination, the source reads a name or an association code of the configuration file in the request. And calling the configuration file of the source virtual machine through a preset libvirtd service based on the read configuration file name or the read association code and the like, and sending the configuration file to the destination. The libvirtual service is an open source API, a daemon and a management tool for managing the virtualization platform, and can be used for managing KVM, Xen, VMware ESX, QEMU and other virtualization technologies.
Illustratively, a request sent by the destination to the source carries a virshdumpxml command, and the configuration file of the first virtual disk is acquired through the virshdumpxml command. The configuration file is an xml file corresponding to a source end virtual machine in a source end, and the xml file includes a source end virtual machine name, a cpu configuration parameter, a memory configuration parameter, a uuid, a virtual disk configuration parameter (a source path, a PCI configuration parameter, a virtual disk format, and the like), a network configuration parameter (a network type, a tap port, and the like), and memory data information and device information of the source end virtual machine.
Step S502, according to the configuration file, a second virtual disk which is the same as the first virtual disk in the source end is created.
When the configuration information of the first virtual disk is read in the configuration file, the destination creates a second virtual disk which is the same as the configuration information of the first virtual disk through the configuration information, and uses the second virtual disk as a mirror disk of the source end virtual machine in the source end for storing the written data of the source end virtual machine. Illustratively, when the source end virtual machine reads a data block in the first virtual disk during operation, so as to generate write-out data corresponding to the data block, the write-out data is stored in the second virtual disk.
Step S503, when it is detected that the source end virtual machine reads the first target data in the first virtual disk, obtaining target data generated by the source end virtual machine based on the first target data, and writing the target data into the second virtual disk.
The method comprises the steps that a target end obtains first target data read by a source end virtual machine in a running process of a first virtual machine disk, the source end virtual machine generates target data corresponding to the first target data through processing of the source end virtual machine and the like after obtaining the first target data in the first virtual machine disk, and the target end obtains the target data and stores the target data in a second virtual disk.
Step S504, marking the first target data in the first virtual disk.
And the destination end marks the first target data in the first virtual disk after the target data is taken and stored in the second virtual disk. Illustratively, data in the first virtual machine disk exists in the form of data blocks, and when a data block corresponding to first target data in the first virtual disk is read by the source end virtual machine, color marking or text marking is performed on the data block or an area where the data block is located, so that the data block or the data block in the area is identified to be synchronized with the second virtual disk.
And step S505, operating the target virtual machine to determine a reading port of the first virtual disk.
And the destination end creates a second virtual disk which is the same as the first virtual disk in the preset storage pool, detects the target virtual machine, and detects the reading port of the first virtual disk if the target virtual machine is detected to run. The first virtual disk is a virtual disk corresponding to a source end virtual machine in a source end, and the first virtual disk is provided with a network block device service port. The network block device service is an instruction started by a preset qemu-kvm tool in a source end, a network block device service port is allocated to the first virtual disk in advance through the network block device service, and the network block service port is used as a data reading port (nbd-read) of the first virtual disk, wherein the nbd-read is a reading mechanism of the network block service and is used for quickly reading data to be migrated in the first virtual disk. And when the service port of the network block equipment is obtained, taking the service port of the network block equipment as a reading port.
Before the target virtual machine is operated to determine the read port of the first virtual disk, when the target end acquires the configuration file of the source end, reading first memory data in the configuration file, where the first memory data includes device configuration information, state information, and the like of the source end virtual machine. And the terminal creates a target virtual machine which is the same as the configuration information of the source virtual machine based on the memory data of the source. And after the creation of the target virtual machine is completed, the target end acquires the current second memory data of the source end virtual machine in the source end. When the current second memory data of the source end virtual machine is obtained, whether the first memory data is the same as the second data is judged. And when the first memory data and the second memory data are determined to be the same, determining that the target virtual machine and the source virtual machine are synchronous, and operating the target virtual machine.
In the process of acquiring the configuration file and creating the target virtual machine according to the memory data in the configuration file, the source virtual machine runs in real time, the memory data is updated in the process of running of the source virtual machine, and the updated data becomes dirty data. When the first memory data is determined to be different from the second memory data, dirty data between the first memory data and the second memory data is obtained by comparing the first memory data with the second memory data, the first memory data is changed through the dirty data, the changed first memory data is the same as the second memory data, and therefore the target virtual machine and the source virtual machine are determined to be synchronous, and the target virtual machine is operated.
Step S506, in the process of the target virtual machine, determining second target data required for operating the target virtual machine, and detecting whether the second target data exists in the second virtual disk.
The target virtual machine of the destination end acquires second target data which needs to be read by the target virtual machine in the process, and the acquisition mode can be that the target virtual machine is operated in the process, an instruction or a preset task is received, and the instruction or the second target data corresponding to the preset task is acquired. And detecting whether second target data exists in the second virtual machine. Illustratively, the destination acquires attribute information or an identifier of the second target data, and searches in the second virtual disk through the attribute information or the identifier of the second target data to detect whether the second target data exists in the second virtual machine.
Step S507, if it is determined that the second target data exists in the second virtual disk, reading the second target data in the second virtual disk.
And if the destination end determines that the second target data exists in the second virtual machine disk, reading the second target data in the second virtual disk. Illustratively, the destination acquires attribute information, an identifier, and the like of second target data, searches the identifier in the second virtual disk through the attribute information of the second target data to detect whether the second target data exists in the second virtual machine, and determines that the second target data exists in the second virtual machine disk when data corresponding to the attribute information or the identifier is searched.
Step S508, if it is determined that the second target data does not exist in the second virtual disk, reading the second target data in the first virtual disk, and marking the second target data in the first virtual disk.
And if the destination end determines that the second target data does not exist in the second virtual disk, reading the second target data in the first virtual disk. Illustratively, the destination acquires attribute information, an identifier, and the like of second target data, searches the identifier in the second virtual disk through the attribute information of the second target data to detect whether the second target data exists in the second virtual machine, and when data corresponding to the attribute information or the identifier is not searched, determines that the second target data does not exist in the disk of the second virtual machine, reads the second target data in the first virtual disk, and marks the second target data in the first virtual disk. For example, the data to be migrated in the first virtual machine disk all exists in the form of a data block, and when a data block of the second target data in the first virtual disk is read, a color mark or a text mark is performed on the data block or an area where the data block is located, so as to identify that the data block or the data block in the area is synchronized with the second virtual disk. And writing data generated after the target virtual machine reads the second target data into the second virtual disk.
Step S509, based on the read port, read the data to be migrated corresponding to the first virtual disk, and write the data to be migrated to the second virtual disk.
The destination end reads the data to be migrated in the first virtual disk in the source end by connecting with the reading port of the first virtual disk, and stores the read data to be migrated in the second virtual disk. When the second virtual disk data synchronization module of the destination end is started, the network block device service port of the second virtual disk is connected with the network block device service port of the first virtual disk, and a data synchronization process is started. And sensing the synchronization state of the second virtual disk, maintaining the synchronization state of the first virtual disk and the data synchronization module (specifically, the state can be realized by a bitmap), gradually acquiring a data block from a network block equipment service port of a source qemu-kvm process from a position where the offset (address) of the first virtual disk is 0 to the maximum value of the offset of the first virtual disk by the data synchronization module, writing the acquired data block into the second virtual disk after acquiring the data block from the network block equipment service of the source based on offset + length each time, and identifying the data block as a synchronized data block.
In this embodiment, the destination creates a second virtual disk that is the same as the first virtual disk by obtaining the configuration file in the source. After the second virtual disk is created, acquiring first target data read from the first virtual disk by the source end virtual machine, writing the target data corresponding to the first target data into the second disk, then after the source end virtual machine stops running, acquiring second target data needing to be read in the running process of the target virtual machine, reading the second target data in the first virtual disk, and marking the second target data in the first virtual disk. By storing the target data generated by the source end virtual machine and the data generated by the second target data read by the target virtual machine in the second virtual disk, the efficiency of the data to be migrated in the first virtual disk is accelerated, and the migration time is shortened.
Referring to fig. 6, fig. 6 is a schematic block diagram of a virtual machine online migration apparatus according to an embodiment of the present disclosure.
As shown in fig. 6, the virtual machine online migration apparatus 500 includes: an acquisition module 501, a creation module 502, a determination module 503, and a read and write module 504.
The obtaining module 501 is configured to receive a data migration instruction sent by a source end, and obtain a configuration file of the source end corresponding to the data migration instruction.
A creating module 502, configured to create, according to the configuration file, a second virtual disk that is the same as the first virtual disk in the source end.
Wherein the creating module 502 is further specifically configured to:
reading configuration information of a first virtual disk in a configuration file;
and creating a second virtual disk which is the same as the first virtual disk in the preset storage pool based on the configuration information of the first virtual disk.
A determining module 503, configured to run a target virtual machine after the second virtual disk is created, so as to determine a read port of the first virtual disk.
Wherein, the determining module 503 is further specifically configured to:
if the target virtual machine is detected to run, sending a stop instruction to the source end;
and if the network block device service port of the first virtual disk reserved by the source end based on the stop instruction is detected, connecting the network block device service port, and taking the network block device service port of the first virtual disk as a reading port of the first virtual disk.
A read and write module 504, configured to read data to be migrated corresponding to the first virtual disk based on the read port, and write the data to be migrated into the second virtual disk.
The read and write module 504 is further specifically configured to:
reading data in the first virtual machine disk based on the reading port, and judging whether the read data is data to be migrated;
and if the read data carries the mark, determining the read data as the data to be migrated, and writing the data to be migrated into the second virtual disk.
Referring to fig. 7, fig. 7 is a schematic block diagram of another virtual machine online migration apparatus according to an embodiment of the present disclosure.
As shown in fig. 7, the virtual machine online migration apparatus 600 includes: a first obtaining module 601, a creating module 602, a second obtaining module 603, a creating and obtaining module 604, a second determining module 605, a changing and running module 606, a obtaining and writing module 607, a marking module 608, a first determining module 609, a determining and detecting module 610, a third determining module 611, a fourth determining module 612, and a reading and writing module 613.
The first obtaining module 601 is configured to receive a data migration instruction sent by a source end, and obtain a configuration file of the source end corresponding to the data migration instruction.
The creating module 602 is configured to create a second virtual disk that is the same as the first virtual disk in the source end according to the configuration file.
The second obtaining module 603 obtains the first memory data in the configuration file.
The creating and obtaining module 604 is configured to create a target virtual machine having the same configuration as the source virtual machine in the source end based on the first memory data, and obtain second memory data of the source virtual machine at the current time.
The second determining module 605 is configured to, when it is determined that the first memory data and the second memory data are inconsistent, obtain dirty data between the first memory data and the second memory data by comparing the first memory data and the second memory data.
And a change and operation module 606, configured to change the first memory data based on the dirty data, and operate the target virtual machine.
The obtaining and writing module 607 is configured to, when detecting that the source end virtual machine of the source end reads the first target data in the first virtual disk, obtain target data generated by the source end virtual machine based on the first target data, and write the target data into the second virtual disk.
The marking module 608 is configured to mark the first target data in the first virtual disk.
The first determining module 609 is configured to run the row target virtual machine to determine a read port of the first virtual disk.
The determining and detecting module 610 is configured to determine second target data required for running the target virtual machine in a process of running the target virtual machine, and detect whether the second target data exists in the second virtual disk.
The third determining module 611 is configured to, if it is determined that the second target data exists in the second virtual disk, read the second target data in the second virtual disk.
The fourth determining module 612 is configured to, if it is determined that the second target data does not exist in the second virtual disk, read the second target data in the first virtual disk, and mark the second target data in the first virtual disk.
The read and write module 613 is configured to read data to be migrated corresponding to the first virtual disk based on the read port, and write the data to be migrated into the second virtual disk.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the apparatus and each module and unit described above may refer to the corresponding processes in the foregoing embodiments of the fraud identification method, and are not described herein again.
The apparatus provided by the above embodiments may be implemented in the form of a computer program, which can be run on a computer device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram illustrating a structure of a computer device according to an embodiment of the present disclosure.
As shown in fig. 8, the computer device includes a processor, a memory, and a network interface connected by a system bus, wherein the memory may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause a processor to perform any one of the virtual machine online migration methods.
The processor is used for providing calculation and control capability and supporting the operation of the whole computer equipment.
The internal memory provides an environment for running a computer program in the non-volatile storage medium, and the computer program, when executed by the processor, can cause the processor to execute any one of the virtual machine online migration methods.
The network interface is used for network communication, such as sending assigned tasks and the like. Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Wherein, in one embodiment, the processor is configured to execute a computer program stored in the memory to implement the steps of:
receiving a data migration instruction sent by a source end, and acquiring a configuration file of the source end corresponding to the data migration instruction;
according to the configuration file, a second virtual disk which is the same as the first virtual disk in the source end is created;
after the second virtual disk is established, operating a target virtual machine to determine a reading port of the first virtual disk;
and reading the data to be migrated corresponding to the first virtual disk based on the reading port, and writing the data to be migrated into the second virtual disk.
In an embodiment, when the processor creates a second virtual disk that is the same as the first virtual disk in the source end according to the configuration file, the following is specifically implemented:
reading configuration information of a first virtual disk in a configuration file;
and creating a second virtual disk which is the same as the first virtual disk in the preset storage pool based on the configuration information of the first virtual disk.
In an embodiment, when implementing running of the target virtual machine to determine the read port of the first virtual disk, the processor specifically implements:
if the target virtual machine is detected to run, sending a stop instruction to the source end;
and if the network block device service port of the first virtual disk reserved by the source end based on the stop instruction is detected, connecting the network block device service port, and taking the network block device service port of the first virtual disk as a reading port of the first virtual disk.
In an embodiment, when the processor implements the running of the target virtual machine to determine the read port of the first virtual disk, the method specifically implements:
acquiring first memory data in a configuration file;
based on the first memory data, creating a target virtual machine with the same configuration as a source end virtual machine in a source end, and acquiring second memory data of the source end virtual machine at the current moment;
when the first memory data and the second memory data are determined to be inconsistent, dirty data between the first memory data and the second memory data are obtained by comparing the first memory data with the second memory data;
based on the dirty data, the first memory data is changed, and the target virtual machine is operated.
In an embodiment, when the processor implements the running of the target virtual machine to determine the read port of the first virtual disk, the method specifically implements:
when detecting that a source end virtual machine reads first target data in a first virtual disk, acquiring target data generated by the source end virtual machine based on the first target data, and writing the target data into a second virtual disk;
and marking the first target data in the first virtual disk.
In one embodiment, when the processor implements the method for running the virtual machine online migration, the following is specifically implemented:
in the process of running the target virtual machine, determining second target data required by running the target virtual machine, and detecting whether the second target data exists in a second virtual disk;
if the second target data exist in the second virtual disk, reading the second target data in the second virtual disk;
and if the second target data does not exist in the second virtual disk, reading the second target data in the first virtual disk, and marking the second target data in the first virtual disk.
In one embodiment, when the processor reads data to be migrated corresponding to the first virtual disk based on the read port and writes the data to be migrated to the second virtual disk, the following steps are specifically performed:
reading data in the first virtual machine disk based on the reading port, and judging whether the read data is data to be migrated;
and if the read data carries the mark, determining the read data as the data to be migrated, and writing the data to be migrated into the second virtual disk.
Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed, a method implemented by the computer-readable storage medium may refer to various embodiments of the online migration method of the present application.
The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. An online migration method for a virtual machine, comprising:
receiving a data migration instruction sent by a source end, and acquiring a configuration file of the source end corresponding to the data migration instruction;
according to the configuration file, a second virtual disk which is the same as the first virtual disk in the source end is created;
after the second virtual disk is established, operating a target virtual machine to determine a reading port of the first virtual disk;
and reading the data to be migrated corresponding to the first virtual disk based on the reading port, and writing the data to be migrated into the second virtual disk.
2. The method for online migrating a virtual machine according to claim 1, wherein the creating a second virtual disk that is the same as the first virtual disk in the source end according to the configuration file includes:
reading configuration information of a first virtual disk in the configuration file;
and creating a second virtual disk which is the same as the first virtual disk in a preset storage pool based on the configuration information of the first virtual disk.
3. The method for online migration of a virtual machine according to claim 1, wherein the running of the target virtual machine to determine the read port of the first virtual disk includes:
if the target virtual machine is detected to run, sending a stop instruction to the source end;
if the network block device service port of the first virtual disk reserved by the source end based on the stop instruction is detected, connecting the network block device service port, and taking the network block device service port of the first virtual disk as a reading port of the first virtual disk.
4. The method for online migration of a virtual machine according to claim 1, wherein before the running of the target virtual machine to determine the read port of the first virtual disk, the method further comprises:
acquiring first memory data in the configuration file;
based on the first memory data, creating a target virtual machine with the same configuration as a source end virtual machine in the source end, and acquiring second memory data of the source end virtual machine at the current moment;
when the first memory data and the second memory data are determined to be inconsistent, obtaining dirty data between the first memory data and the second memory data by comparing the first memory data with the second memory data;
and changing the first memory data based on the dirty data, and running the target virtual machine.
5. The method for online migration of a virtual machine according to claim 1, wherein before the running of the target virtual machine to determine the read port of the first virtual disk, the method further comprises:
when detecting that a source end virtual machine in the source end reads first target data in the first virtual disk, acquiring target data generated by the source end virtual machine based on the first target data, and writing the target data into the second virtual disk;
and marking the first target data in the first virtual disk.
6. The online migration method of a virtual machine according to claim 1, wherein the online migration method of a virtual machine further comprises:
in the process of running the target virtual machine, determining second target data required by running the target virtual machine, and detecting whether the second target data exists in the second virtual disk;
if the second target data exist in the second virtual disk, reading the second target data in the second virtual disk;
if it is determined that the second target data does not exist in the second virtual disk, reading the second target data in the first virtual disk, and marking the second target data in the first virtual disk.
7. The method for migrating a virtual machine online as claimed in claims 1 to 6, wherein said reading data to be migrated corresponding to said first virtual disk based on said read port, and writing said data to be migrated to said second virtual disk comprises:
reading the data in the first virtual machine disk based on the reading port, and judging whether the read data is data to be migrated;
and if the read data carries the mark, determining the read data as the data to be migrated, and writing the data to be migrated into the second virtual disk.
8. An online migration apparatus of a virtual machine, the online migration apparatus comprising:
the first obtaining module is used for receiving a data migration instruction sent by a source end and obtaining a configuration file of the source end corresponding to the data migration instruction;
a creating module, configured to create, according to the configuration file, a second virtual disk that is the same as the first virtual disk in the source end;
the first determining module is used for running a target virtual machine after the second virtual disk is established so as to determine a reading port of the first virtual disk;
and the reading and writing module is used for reading the data to be migrated corresponding to the first virtual disk based on the reading port and writing the data to be migrated into the second virtual disk.
9. A computer arrangement comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, carries out the steps of the virtual machine online migration method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the virtual machine online migration method of any of claims 1 to 7.
CN202010125794.XA 2020-02-27 2020-02-27 Virtual machine online migration method, device, equipment and computer readable storage medium Pending CN111506386A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010125794.XA CN111506386A (en) 2020-02-27 2020-02-27 Virtual machine online migration method, device, equipment and computer readable storage medium
PCT/CN2020/099563 WO2021169129A1 (en) 2020-02-27 2020-06-30 Virtual machine online migration method and apparatus, device, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010125794.XA CN111506386A (en) 2020-02-27 2020-02-27 Virtual machine online migration method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN111506386A true CN111506386A (en) 2020-08-07

Family

ID=71866999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010125794.XA Pending CN111506386A (en) 2020-02-27 2020-02-27 Virtual machine online migration method, device, equipment and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN111506386A (en)
WO (1) WO2021169129A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099916A (en) * 2020-09-07 2020-12-18 平安科技(深圳)有限公司 Virtual machine data migration method and device, computer equipment and storage medium
CN112328365A (en) * 2020-11-05 2021-02-05 济南浪潮数据技术有限公司 Virtual machine migration method, device, equipment and storage medium
CN113342471A (en) * 2021-06-25 2021-09-03 航天云网科技发展有限责任公司 Virtual machine migration method and system and electronic equipment
CN113535331A (en) * 2021-07-30 2021-10-22 新华三大数据技术有限公司 Data migration method and device
CN113742081A (en) * 2021-09-10 2021-12-03 中国航空工业集团公司西安航空计算技术研究所 Distributed task migration method and distributed system based on container technology
CN114296810A (en) * 2021-12-29 2022-04-08 上海英方软件股份有限公司 Operating system migration method, device, server and storage medium
TWI765816B (en) * 2021-09-01 2022-05-21 中華電信股份有限公司 Server and method for providing virtual machine service based on v2v technology
CN117170589A (en) * 2023-11-02 2023-12-05 江苏华鲲振宇智能科技有限责任公司 Virtualized storage server system and control method

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991542B (en) * 2023-09-26 2024-02-13 苏州元脑智能科技有限公司 Virtual machine snapshot method, system, electronic equipment and computer storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9389892B2 (en) * 2010-03-17 2016-07-12 Zerto Ltd. Multiple points in time disk images for disaster recovery
CN103605561A (en) * 2013-11-28 2014-02-26 中标软件有限公司 Cloud computing cluster system and method for on-line migration of physical server thereof
CN104965757B (en) * 2015-01-21 2018-03-30 深圳市腾讯计算机系统有限公司 Method, virtual machine (vm) migration managing device and the system of live migration of virtual machine
CN109213570A (en) * 2018-08-28 2019-01-15 郑州云海信息技术有限公司 A kind of virtual machine migration method, device, equipment and readable storage medium storing program for executing
CN110688200A (en) * 2019-09-29 2020-01-14 北京浪潮数据技术有限公司 Method and device for migrating disk tree of virtual machine on line

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099916A (en) * 2020-09-07 2020-12-18 平安科技(深圳)有限公司 Virtual machine data migration method and device, computer equipment and storage medium
CN112099916B (en) * 2020-09-07 2022-06-24 平安科技(深圳)有限公司 Virtual machine data migration method and device, computer equipment and storage medium
CN112328365A (en) * 2020-11-05 2021-02-05 济南浪潮数据技术有限公司 Virtual machine migration method, device, equipment and storage medium
CN113342471A (en) * 2021-06-25 2021-09-03 航天云网科技发展有限责任公司 Virtual machine migration method and system and electronic equipment
CN113535331A (en) * 2021-07-30 2021-10-22 新华三大数据技术有限公司 Data migration method and device
CN113535331B (en) * 2021-07-30 2024-02-27 新华三大数据技术有限公司 Data migration method and device
TWI765816B (en) * 2021-09-01 2022-05-21 中華電信股份有限公司 Server and method for providing virtual machine service based on v2v technology
CN113742081A (en) * 2021-09-10 2021-12-03 中国航空工业集团公司西安航空计算技术研究所 Distributed task migration method and distributed system based on container technology
CN114296810A (en) * 2021-12-29 2022-04-08 上海英方软件股份有限公司 Operating system migration method, device, server and storage medium
CN117170589A (en) * 2023-11-02 2023-12-05 江苏华鲲振宇智能科技有限责任公司 Virtualized storage server system and control method

Also Published As

Publication number Publication date
WO2021169129A1 (en) 2021-09-02

Similar Documents

Publication Publication Date Title
CN111506386A (en) Virtual machine online migration method, device, equipment and computer readable storage medium
US8904386B2 (en) Running a plurality of instances of an application
WO2015149673A1 (en) Method, server, and system for sharing resource data
US10067692B2 (en) Method and apparatus for backing up and restoring cross-virtual machine application
US9430217B2 (en) Method and apparatus for patching
US10789111B2 (en) Message oriented middleware with integrated rules engine
US9396014B2 (en) Data swap in virtual machine environment
CN109688191B (en) Traffic scheduling method and communication device
CN110083399B (en) Applet running method, computer device and storage medium
CN113157347A (en) Automatic probe deployment method, electronic device and storage medium
CN109144776A (en) Virtual machine image file processing method and processing device
US10318343B2 (en) Migration methods and apparatuses for migrating virtual machine including locally stored and shared data
CN114281484A (en) Data transmission method, device, equipment and storage medium
CN113687779B (en) Data migration method, device, electronic equipment and readable storage medium
CN113946854B (en) File access control method and device and computer readable storage medium
US9223697B2 (en) Computer reprogramming method, data storage medium and motor vehicle computer
CN116662039B (en) Industrial information parallel detection method, device and medium based on shared memory
US9535713B2 (en) Manipulating rules for adding new devices
CN112433669A (en) Method, system, equipment and medium for online migration of distributed storage volume
CN111399999A (en) Computer resource processing method and device, readable storage medium and computer equipment
CN113791873B (en) Virtual machine creating method, computing device and storage medium
CN110290172B (en) Container application cloning method and device, computer equipment and storage medium
CN107577422B (en) Photo storage method and device based on double-domain space
CN108108180B (en) Method and device for dynamically updating application during running
CN112231290A (en) Method, device and equipment for processing local log and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40031943

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination