WO2020024978A1 - Dispositif, procédé, appareil et support d'enregistrement lisible pour une migration de machine virtuelle - Google Patents

Dispositif, procédé, appareil et support d'enregistrement lisible pour une migration de machine virtuelle Download PDF

Info

Publication number
WO2020024978A1
WO2020024978A1 PCT/CN2019/098579 CN2019098579W WO2020024978A1 WO 2020024978 A1 WO2020024978 A1 WO 2020024978A1 CN 2019098579 W CN2019098579 W CN 2019098579W WO 2020024978 A1 WO2020024978 A1 WO 2020024978A1
Authority
WO
WIPO (PCT)
Prior art keywords
management module
file system
physical machine
heartbeat
dynamic
Prior art date
Application number
PCT/CN2019/098579
Other languages
English (en)
Chinese (zh)
Inventor
童遥
李华
申光
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2020024978A1 publication Critical patent/WO2020024978A1/fr

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
    • 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
    • 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
    • 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/45595Network integration; Enabling network access in virtual machine instances

Definitions

  • This document relates to the field of communication technologies, for example, to a virtual machine migration device, method, device, and readable storage medium.
  • Kernel-based Virtual Machine (KVM) virtualization technology and migration technology can achieve tasks such as load balancing.
  • the traditional static migration method is to store the virtual machine image file on a local disk.
  • a large image file needs to be remotely copied and other operations.
  • I / O input / output
  • I / O input / output
  • NFS Network File System
  • GlusterFS Gluster File System
  • This article provides a virtual machine migration device, method, device, and readable storage medium. By monitoring the node information of a newly added physical machine, it implements the function of dynamically mounting physical machine nodes in a cluster environment, which improves the migration efficiency of virtual machines and reliability.
  • a virtual machine migration device provided in this article includes:
  • the heartbeat management module client is configured to send active status information to the heartbeat management module server when the physical machine is online;
  • the server of the heartbeat management module is configured as a registration monitoring function, receives the active state information sent by the heartbeat management module client, and sends a physical machine mount notification to the dynamic file system management module;
  • a dynamic file system management module configured to create a distributed volume and reconstruct a configuration file of the distributed volume according to the mount notification, and send the configuration file to a dynamic file system management agent;
  • the dynamic file system management agent is configured to update the distributed file system of the physical machine according to the configuration file, so that the physical machine becomes a migration target node of the virtual machine.
  • This article provides a virtual machine migration method, including:
  • the listener function is used to listen to the specified port.
  • the heartbeat management module client on the physical machine sends active status information to the heartbeat management module server through the designated port;
  • the heartbeat management module server receives the active status information and sends a physical machine mount notification to the dynamic file system management module;
  • the dynamic file system management module creates a distributed volume and reconstructs a configuration file of the distributed volume according to the mount notification, and sends the configuration file to a dynamic file system management agent;
  • the dynamic file system management agent updates the distributed file system of the physical machine according to the configuration file, so that the physical machine becomes a migration target node of the virtual machine.
  • An electronic device includes a memory, a processor, and at least one application program stored in the memory and configured to be executed by the processor, the application program being configured to execute the above-mentioned Virtual machine migration method.
  • a readable storage medium provided herein includes a computer program stored on the readable storage medium.
  • the program is executed by a processor, the virtual machine migration method described above is implemented.
  • FIG. 1 is a block diagram of an exemplary structure of a virtual machine migration device provided in Embodiment 1 of this application;
  • FIG. 2 is a schematic diagram of a functional structure of a KVM-based virtual machine migration device provided in Embodiment 1 of this application;
  • FIG. 2 is a schematic diagram of a functional structure of a KVM-based virtual machine migration device provided in Embodiment 1 of this application;
  • FIG. 3 is a flowchart of a virtual machine migration method provided in Embodiment 2 of the present application.
  • a virtual machine migration device includes a heartbeat management module client 10 configured to send active status information to a heartbeat management module server 20 when a physical machine is online;
  • the heartbeat management module server 20 registers a monitoring function, receives the active status information sent by the heartbeat management module client, and sends a physical machine mount notification to the dynamic file system management module 30;
  • the dynamic file system management module 30 is set to Create a distributed volume and reconstruct a configuration file of the distributed volume according to the mount notification, and send the configuration file to a dynamic file system management agent 40;
  • the dynamic file system management agent 40 is set to be based on the configuration
  • the file updates the distributed file system of the physical machine, so that the physical machine becomes a migration target node.
  • the virtual machine KVM is an open source system virtualization module that has been integrated into multiple major distributions of Linux since Linux 2.6.20; in a cluster environment, a master physical machine node usually manages other slaves Physical machine nodes, by integrating multiple virtual machines or virtual machine clusters that are virtualized, the utilization of physical machine computing and storage can be improved.
  • the heartbeat management module server 20 and the dynamic file system management module 30 run on a listening server; the heartbeat management module client 10 and the dynamic file system management agent 40 are installed in the monitoring server. On the physical machine.
  • the heartbeat management module server 20 is configured to register a listener function in the following manner, and receive the active status information sent by the heartbeat management module client 10: Register the listener function through the gSOAP method, and pass the listener The function listens to a specified port and receives the socket request information sent by the heartbeat management module client 10 through the specified port; when the heartbeat management module client 10 is set to go online on the physical machine, The port sends a socket request message to the heartbeat management module server 20 periodically.
  • gSOAP is a compilation tool.
  • GSOAP uses compiler technology to provide a set of transparent Simple Object Access Protocol (SOAP) application programming interface (Application Programming Interface, API), gSOAP
  • SOAP transparent Simple Object Access Protocol
  • API Application Programming Interface
  • the compiler can automatically convert user-defined localized C or C ++ data types into data structures conforming to XML syntax, and hide the content related to the development-independent SOAP implementation details from the user.
  • a socket is a socket in the original meaning.
  • IP Internet Protocol
  • Plugets Hosts on the Internet generally run multiple service software and provide several services at the same time. Each service opens a socket and binds to a port, and different ports correspond to different services.
  • Socket just like its original English meaning, is like a multi-hole socket. A host is like a room full of various sockets. Each socket has a number. Some sockets provide 220 volts AC, some provide 110 volts AC, and some provide cable TV programs. The customer software plugs the plugs into different numbered sockets and can get different services.
  • FIG. 2 is a schematic diagram of the functional structure of a KVM-based virtual machine migration device.
  • the dynamic file system management module 30 registers a listener function on the heartbeat management module server 20. Multi-threading or Multiprocessors, let the listening function listen to a specific port.
  • the heartbeat management module client 10 on the physical machine sends the alive status information to the heartbeat management module server 20, After the heartbeat management module server 20 listens to the alive information, it can confirm that there is a new physical machine that needs to be mounted.
  • the dynamic file system management module 30 sends a physical machine mount notification to the dynamic file system management module 30, and then the dynamic file system management module 30 creates a notification based on the notified information.
  • Distributed volume and reconstruction configuration file of the distributed volume and sends the latest GlusterFS client and server configuration files to the dynamic file system management agent 40.
  • the dynamic file system management module 30 sends the configuration file to the dynamic file system management agent 40 through the gSOAP method.
  • the dynamic file system management module 30 sends the configuration file to the dynamic file system management agent 40 through an attachment of the gSOAP service.
  • the dynamic file system management agent 40 is caused to change the structure of GlusterFS by calling its own main program, so as to achieve the purpose of dynamically adding nodes.
  • the distributed file system is a GlusterFS file system.
  • Using the GlusterFS file system can optimize I / O bottlenecks during traditional migration.
  • the dynamic file system management agent 40 is further configured as a physical node that provides a storage service of the GlusterFS file system, that is, a client end and a server end of the GlusterFS.
  • the heartbeat management module client 10 is further configured to call the dynamic file system node deletion function DFSNodeDel () when the physical machine leaves, and the working process is the same as the physical machine mounting process.
  • this embodiment provides a method for migrating a virtual machine.
  • the method includes the following steps.
  • the heartbeat management module client on the physical machine sends active status information to the heartbeat management module server through the designated port.
  • the server of the heartbeat management module receives the active status information, and sends a physical machine mount notification to the dynamic file system management module.
  • the dynamic file system management module creates a distributed volume and reconstructs a configuration file of the distributed volume according to the mount notification, and sends the configuration file to a dynamic file system management agent.
  • the dynamic file system management agent updates the distributed file system of the physical machine according to the configuration file, so that the physical machine becomes a migration target node.
  • the virtual machine KVM is an open source system virtualization module. It has been integrated into various major distributions of Linux since Linux 2.6.20.
  • a master physical machine node usually manages other slaves.
  • Physical machine nodes by integrating multiple virtual machines or virtual machine clusters that are virtualized, the utilization of physical machine computing and storage can be improved.
  • the server of the heartbeat management module and the dynamic file system management module run on a listening server; the client of the heartbeat management module and the dynamic file system management agent are installed on the physical machine.
  • the server of the heartbeat management module registers a listening function through the gSOAP method, and listens to a specified port through the monitoring function.
  • the client of the heartbeat management module sends the request to the The heartbeat management module server sends the socket request information periodically.
  • gSOAP is a compilation tool.
  • GSOAP uses compiler technology to provide a set of transparent SOAP APIs.
  • the gSOAP compiler can automatically convert user-defined localized C or C ++ data types to conform to The data structure of XML syntax, and hide the content related to the development-independent SOAP implementation details from the user.
  • a socket is a socket in the original meaning.
  • the process communication mechanism of 4BDS and UNIX it is used to describe an IP address and a port, and is a handle of a communication chain.
  • Applications usually make requests to the network or respond to network requests through "sockets".
  • Hosts on the Internet generally run multiple service software and provide several services at the same time. Each service opens a socket and binds to a port, and different ports correspond to different services.
  • Socket just like its original English meaning, is like a multi-hole socket.
  • a host is like a room full of various sockets.
  • Each socket has a number. Some sockets provide 220 volts AC, some provide 110 volts AC, and some provide cable TV programs. The customer software plugs the plugs into different numbered sockets and can get different services.
  • the dynamic file system management module sends the configuration file to a dynamic file system management agent through an attachment of the gSOAP service.
  • Make the dynamic file system management agent change the structure of GlusterFS by calling its own main program, so as to achieve the purpose of dynamically joining nodes.
  • the distributed file system is a GlusterFS file system.
  • Using the GlusterFS file system can optimize I / O bottlenecks during traditional migration.
  • the dynamic file system management agent provides a physical node that is a storage service of the GlusterFS file system, that is, a client end and a server end of the GlusterFS.
  • the client of the heartbeat management module calls the dynamic file system node deletion function DFSNodeDel () when the physical machine is away, and the working process is the same as the physical machine mounting process.
  • an electronic device includes a memory, a processor, and at least one application program stored in the memory and configured to be executed by the processor, and the application program is configured to execute The method for migrating a virtual machine according to the second embodiment.
  • This embodiment provides a readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the method embodiment according to any one of the foregoing virtual machine migration method embodiments is implemented.
  • An embodiment of the present application provides a virtual machine migration device, method, device, and readable storage medium.
  • the device includes a heartbeat management module client configured to send an active status to a heartbeat management module server when a physical machine is online. Information; the server of the heartbeat management module is set as a registration monitoring function, receives the active status information sent by the heartbeat management module client, and sends a physical machine mount notification to the dynamic file system management module; the dynamic file system management module, sets Creating a distributed volume and reconfiguring a configuration file of the distributed volume according to the mount notification, and sending the configuration file to a dynamic file system management agent; the dynamic file system management agent is set to be based on the configuration file Updating the distributed file system of the physical machine so that the physical machine becomes a migration target node; by monitoring the node information of the newly added physical machine, the function of dynamically mounting the physical machine node in the cluster environment is realized, and the virtual machine is improved Migration efficiency and reliability.
  • the division between functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be composed of multiple The physical components work together.
  • Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit .
  • Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • Computer storage medium includes volatile and non-volatile implemented in any method or technology used to store information such as computer-readable instructions, data structures, program modules or other data.
  • Computer storage media includes, but is not limited to, Random Access Memory (RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM) , Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Video Disc (DVD) or other optical disc storage, magnetic box, tape, disk storage Or other magnetic storage device, or any other medium that can be used to store desired information and can be accessed by a computer.
  • a communication medium typically contains computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and may include any information delivery medium .

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

La présente invention concerne un dispositif, un procédé, un appareil et un support d'enregistrement lisible pour une migration de machine virtuelle, le dispositif comprenant : un client de module de gestion de battements cardiaques, qui est configuré pour envoyer des informations d'état actif à un serveur de module de gestion de battements cardiaques lorsqu'une machine physique est en ligne; le serveur de module de gestion de battements cardiaques, qui est configuré pour enregistrer une fonction de surveillance, pour recevoir les informations d'état actif et pour envoyer une notification à un module de gestion de système de fichiers dynamiques, ladite notification indiquant que la machine physique est montée; le module de gestion de système de fichiers dynamiques, qui est configuré pour créer un volume distribué et pour reconfigurer un fichier de configuration du volume distribué, et pour envoyer le fichier de configuration à un serveur mandataire de gestion de système de fichiers dynamiques; et le serveur mandataire de gestion de système de fichiers dynamiques, qui est configuré pour mettre à jour, selon le fichier de configuration, un système de fichiers distribués de la machine physique, de telle sorte que la machine physique devienne un nœud cible pour la migration d'une machine virtuelle.
PCT/CN2019/098579 2018-07-31 2019-07-31 Dispositif, procédé, appareil et support d'enregistrement lisible pour une migration de machine virtuelle WO2020024978A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810856673.5A CN110780973A (zh) 2018-07-31 2018-07-31 一种虚拟机迁移装置、方法、设备及可读存储介质
CN201810856673.5 2018-07-31

Publications (1)

Publication Number Publication Date
WO2020024978A1 true WO2020024978A1 (fr) 2020-02-06

Family

ID=69232371

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/098579 WO2020024978A1 (fr) 2018-07-31 2019-07-31 Dispositif, procédé, appareil et support d'enregistrement lisible pour une migration de machine virtuelle

Country Status (2)

Country Link
CN (1) CN110780973A (fr)
WO (1) WO2020024978A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090221A (zh) * 2022-01-20 2022-02-25 浙江万雾信息科技有限公司 一种边缘计算环境中的任务的双重迁移方法

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821157B (zh) * 2020-06-18 2024-05-24 中移(苏州)软件技术有限公司 一种本地磁盘挂载方法、装置、设备及存储介质
CN112003917B (zh) * 2020-08-14 2022-12-27 苏州浪潮智能科技有限公司 一种文件存储的管理方法、系统、设备以及介质
CN112235136B (zh) * 2020-10-10 2022-12-23 苏州浪潮智能科技有限公司 一种网络文件系统备份方法、系统、终端及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594387A (zh) * 2009-06-29 2009-12-02 北京航空航天大学 虚拟集群部署方法和系统
CN103200036A (zh) * 2013-04-08 2013-07-10 国电南瑞科技股份有限公司 一种电力系统云计算平台的自动化配置方法
WO2015196774A1 (fr) * 2014-06-24 2015-12-30 华为技术有限公司 Procédé et dispositif de migration de machine virtuelle
CN105302641A (zh) * 2014-06-04 2016-02-03 杭州海康威视数字技术股份有限公司 虚拟化集群中进行节点调度的方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8171349B2 (en) * 2010-06-18 2012-05-01 Hewlett-Packard Development Company, L.P. Associating a monitoring manager with an executable service in a virtual machine migrated between physical machines
CN102110071B (zh) * 2011-03-04 2013-04-17 浪潮(北京)电子信息产业有限公司 一种虚拟机集群系统及其实现方法
CN102521063B (zh) * 2011-11-30 2013-12-25 广东电子工业研究院有限公司 一种适用于虚拟机迁移和容错的共享存储方法
CN102662751B (zh) * 2012-03-30 2016-05-11 浪潮电子信息产业股份有限公司 一种提高基于热迁移虚拟机系统可用性的方法
CN102868727B (zh) * 2012-08-23 2015-06-17 广东电子工业研究院有限公司 一种实现逻辑卷高可用性的方法
CN103647849B (zh) * 2013-12-24 2017-02-08 华为技术有限公司 一种业务迁移方法、装置和一种容灾系统
US10747630B2 (en) * 2016-09-30 2020-08-18 Commvault Systems, Inc. Heartbeat monitoring of virtual machines for initiating failover operations in a data storage management system, including operations by a master monitor node
CN107967165B (zh) * 2016-10-20 2021-09-24 上海盛霄云计算技术有限公司 基于lvm的虚拟机离线迁移方法
CN107707393B (zh) * 2017-09-26 2021-07-16 赛尔网络有限公司 基于Openstack O版特性的多活系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101594387A (zh) * 2009-06-29 2009-12-02 北京航空航天大学 虚拟集群部署方法和系统
CN103200036A (zh) * 2013-04-08 2013-07-10 国电南瑞科技股份有限公司 一种电力系统云计算平台的自动化配置方法
CN105302641A (zh) * 2014-06-04 2016-02-03 杭州海康威视数字技术股份有限公司 虚拟化集群中进行节点调度的方法及装置
WO2015196774A1 (fr) * 2014-06-24 2015-12-30 华为技术有限公司 Procédé et dispositif de migration de machine virtuelle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090221A (zh) * 2022-01-20 2022-02-25 浙江万雾信息科技有限公司 一种边缘计算环境中的任务的双重迁移方法

Also Published As

Publication number Publication date
CN110780973A (zh) 2020-02-11

Similar Documents

Publication Publication Date Title
WO2020024978A1 (fr) Dispositif, procédé, appareil et support d'enregistrement lisible pour une migration de machine virtuelle
US11429369B2 (en) Distributed upgrade in virtualized computing environments
US11237815B2 (en) Service pool architecture for multitenant services to support canary release
CA2914802C (fr) Gestion de verrous distribues dans un environnement de cloud computing
US11088944B2 (en) Serverless packet processing service with isolated virtual network integration
US10148736B1 (en) Executing parallel jobs with message passing on compute clusters
US10659523B1 (en) Isolating compute clusters created for a customer
EP2871553B1 (fr) Systèmes et procédés pour protéger des biens virtualisés
US20240176672A1 (en) Systems and methods providing serverless dns integration
US7788477B1 (en) Methods, apparatus and articles of manufacture to control operating system images for diskless servers
JP2020501253A (ja) 局所化されたデバイスコーディネータにおけるオンデマンドコード実行
CN111277432A (zh) 配置信息更新方法、装置、电子设备及存储介质
US11461082B2 (en) Systems and methods for managing releases of global services in a controlled manner
JP2023500669A (ja) クロス・クラウド・オペレーションのためのクラウド・サービス
US20210240544A1 (en) Collaboration service to support cross-process coordination between active instances of a microservice
US20190356541A1 (en) Apparatuses and methods for zero touch computing node initialization
US10341181B2 (en) Method and apparatus to allow dynamic changes of a replica network configuration in distributed systems
US20200213387A1 (en) Bidirectional Communication Clusters
US10936379B2 (en) Automatically replicate API calls to separate data centers
US10885028B2 (en) Searching and aggregating data across multiple geolocations
US20230418966A1 (en) One-click onboarding of databases
CN106549986A (zh) 一种块存储服务方法和装置
CN115480877A (zh) 多集群环境下应用服务的对外暴露方法和装置
US11477281B2 (en) Data object delivery for distributed cluster computing
US10824476B1 (en) Multi-homed computing instance processes

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19843771

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19843771

Country of ref document: EP

Kind code of ref document: A1