WO2012068867A1 - Virtual machine management system and using method thereof - Google Patents

Virtual machine management system and using method thereof Download PDF

Info

Publication number
WO2012068867A1
WO2012068867A1 PCT/CN2011/075552 CN2011075552W WO2012068867A1 WO 2012068867 A1 WO2012068867 A1 WO 2012068867A1 CN 2011075552 W CN2011075552 W CN 2011075552W WO 2012068867 A1 WO2012068867 A1 WO 2012068867A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
virtual machine
management server
central management
client
Prior art date
Application number
PCT/CN2011/075552
Other languages
French (fr)
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 WO2012068867A1 publication Critical patent/WO2012068867A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • H04L41/044Network management architectures or arrangements comprising hierarchical management structures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/40Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks using virtualisation of network functions or resources, e.g. SDN or NFV entities

Definitions

  • the present invention relates to the field of communications, and in particular to a virtual machine management system and a method for using the same.
  • BACKGROUND Virtualization technology is to divide a physical resource into multiple logical partitions by using virtualization software on a physical server, and each partition is isolated from each other to become an independent virtual machine.
  • virtual machines are no different from physical servers, and they can share the same physical server.
  • the management scheduling functions include the allocation of virtual machine resources, virtual machine migration, and virtual machine lifecycle management. Management scheduling is implemented by the virtual machine management system.
  • the virtual machine management system generally consists of a management server and agent software.
  • the management server includes various functional modules to implement overall management of the virtual machine.
  • the agent software is installed on the physical host running the virtual machine. It is responsible for managing the virtual machine of the physical host and communicating with the management server to join the management scope of the management server.
  • the virtual machine management system manages the physical machines into multiple clusters, each consisting of dozens of servers. Currently, each management system can manage up to hundreds of servers and thousands of virtual machines.
  • 1 is an architectural diagram of a virtual management system according to the related art.
  • 101 is the Management System, which is responsible for performing virtual machine management and scheduling tasks. It connects to each Node and manages commands to each Node.
  • 102 is a client (client), and the administrator issues an operation command to the management system through the client.
  • 103 is a Node, and each Node is a physical host on which multiple virtual machines can run.
  • 104 is a cluster.
  • the management system groups multiple Nodes into one cluster and manages them in clusters. In this management mode, the management system assumes all management tasks.
  • the virtual machine scale is small, a few sets of virtual machine management systems can implement effective management.
  • the number of nodes is too large (when the number of virtual machines is huge)
  • each user corresponds to one virtual machine, and the number of virtual machines may reach hundreds of thousands or even millions.)
  • a management system cannot be used, and hardware processing capacity needs to be increased. Or add another management system.
  • the number of Nodes reaches tens of thousands or more, this method cannot be managed.
  • a main object of the present invention is to provide a virtual machine management solution to solve at least the problem that the virtual machine cannot be effectively managed when the number of virtual machines is large in the related art.
  • a virtual machine management system comprising: a central management server, a master node, and a slave node, wherein the central management server is configured to manage the master node;
  • the master node is used to manage one or more clusters, where each cluster includes one or more slave nodes;
  • the slave node is a physical host running a virtual machine.
  • the central management server is configured to set the activated physical host as a master node or a slave node when detecting the physical host startup, and if set as a slave node, the central management server is configured to specify a master node for the slave node. management.
  • the central management server is configured to set the activated physical host as a master node when the management capability of the system is insufficient, and otherwise set the activated physical host as a slave node.
  • the central management server is arranged to send the management software to the master node and to send the agent software to the slave node.
  • the central management server is further configured to set a backup primary node for the primary node when setting the primary node.
  • the master node is further configured to store management information of the clusters and slave nodes it manages; the central management server is further configured to store an index of management information stored by each master node.
  • the system further includes: a client, wherein the client is configured to query an index of the central management server, obtain a primary node corresponding to the index of the query, and send an operation request to the corresponding primary node.
  • the central management server employs a multi-layered structure, and one upper central management server manages one or more subordinate central management servers.
  • the master node comprises: management software, configured to manage the cluster;
  • the slave node comprises: a node agent, configured to manage the slave node, and execute the command through the virtual machine manager;
  • the virtual machine manager is set to be scheduled from the node The virtual machine, and execute the command sent by the node agent.
  • a method for performing virtual machine migration using the above system comprising: determining, by a master node, a slave node managed by a master node The resource reaches a predetermined threshold; the master node determines whether the slave node managed by the master node has idle resources, and if so, migrates the virtual machine on the slave node whose resource reaches the predetermined threshold to the slave node that has the idle resource, otherwise, The master node acquires the master node with the idle resource from the central management server, and migrates the virtual machine on the slave node whose used resource reaches the predetermined threshold to the slave node managed by the master node with the idle resource.
  • a method for performing virtual machine allocation using the foregoing system comprising: receiving, by a central management server, a request for requesting a virtual machine sent by a client, and allocating a request for a client a master node having an idle resource, and transmitting the address of the assigned master node to the client; the assigned master node receives the request of the client to allocate the allocated virtual machine, and allocates the slave node with the idle resource to the client; The slave node allocates virtual machines to clients.
  • a method for performing virtual machine query using the above system comprising: receiving, by a central management server, a host node where a query virtual machine sent by a client is located The request sends the address of the primary node where the virtual machine is located to the client; the primary node where the virtual machine is located receives the virtual machine status request sent by the client, obtains the state of the virtual machine from the slave node where the virtual machine is located, and the virtual machine's state The status is sent to the client.
  • a method for using the above system comprising: the central management server detects that the physical host is started; and the central management server sets the activated physical host as a master node or From the node.
  • the central management server delivers the management software to the activated physical host, and if the activated physical host is the secondary node, Then, the central management server delivers the proxy software to the slave node.
  • the physical host initiated by the central management server is the primary node or the secondary node includes: the physical that the central management server will start when the management capability of the system is insufficient
  • the host is set as the master node, otherwise the activated physical host is set as the slave node.
  • the method for managing a virtual machine by using at least three layers of structures solves the problem that the virtual machine cannot be effectively used when the number of virtual machines is large in the related art.
  • the management problem can achieve the effect of effectively managing the virtual machine when the number of virtual machines is large.
  • FIG. 1 is a schematic diagram of a virtual management system according to the related art
  • FIG. 2 is a schematic diagram of a virtual machine management system according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a virtual machine management method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of an internal node and a slave internal architecture according to an embodiment of the present invention
  • FIG. 5 is a schematic diagram of a physical host assigned to a master node according to an embodiment of the present invention
  • FIG. FIG. 7 is a schematic diagram of a client requesting a virtual machine according to an embodiment of the present invention
  • FIG. 8 is a schematic diagram of a client querying a virtual machine state according to an embodiment of the present invention
  • the system includes: a central management server (Center Management Server, For example, CMS 201, Master Node (MN) 202, Slave Node (SN) 204, wherein CMS 201 is set to manage MN 202; each MN 202 is set to manage one or more Clusters, where each cluster includes one or more SNs 204; SN 204 is a physical host running a virtual machine.
  • CMS Central Management Server
  • MN Master Node
  • SN Slave Node
  • CMS 201 is set to manage MN 202
  • each MN 202 is set to manage one or more Clusters, where each cluster includes one or more SNs 204
  • SN 204 is a physical host running a virtual machine.
  • the system is divided into at least three layers of CMS, MN, and SN. This structure helps manage the virtual machine when the number of virtual machines is large.
  • the three-layer structure is only a preferred management mode, and the embodiment of the present invention is not limited to the three-layer structure.
  • there may be multiple CMSs and multiple CMSs may form a multi-layer structure, and multiple sub-center management servers may be managed by one upper-level central management server.
  • the management of the virtual machine can be implemented by using four or more layers, and the data of the next layer is managed by the upper layer.
  • the CMS 201 when detecting that a physical host is started, the CMS 201 may set the physical host as an MN or an SN, and the CMS 201 may also assign a physical host to the SN.
  • the MN manages.
  • CMS 201 when the management capability of the system is insufficient, CMS 201 can set the physical host start is MN, when the management capability of the system is sufficient, CMS 201 may be provided to the physical host 1 ⁇ starts to SN.
  • the CMS 201 can send the management software to the MN for the MN to manage according to this, and can also send the agent software to the SN for the SN to manage the agent software.
  • the CMS 201 can also set a backup MN for the MN. When the primary MN fails, the backup MN can automatically replace it for management work.
  • the CMS 201 delivers the management software to the MN.
  • the CMS 201 delivers the proxy software to the SN 204.
  • the management information of the cluster and the SN managed by the MN is stored in the MN; and the index of the management information stored by each MN is stored in the CMS.
  • the CMS does not need to store a large amount of management information, so that one CMS can manage multiple MNs, which provides a convenient condition for the expansion of system management capabilities.
  • the upper-level CMS can also store the information processed by the index of the lower-level CMS. For example, the lower-level CMS saves the ID of the virtual machine it manages, and the upper-level CMS saves the ID of the virtual machine saved by the lower-level CMS.
  • the system may further include: a client 206, when the client 206 is to perform a management operation, may first query an index of the CMS 201, obtain an MN corresponding to the index, and send an operation request to the corresponding MN, thereby completing The corresponding management operation.
  • the master node includes: management software configured to manage the cluster; the slave node includes: a node agent, configured to manage the slave node, and execute the command through the virtual machine manager; the virtual machine The manager, set to schedule the virtual machines in the slave node, and execute the commands sent by the node agent.
  • the system may further include: a management plane 203 composed of MNs, wherein the MNs form an active/standby relationship, and when one MN fails, other nodes perform management functions instead of them.
  • Cluster 205 if thousands of SNs form a cluster.
  • CMS 201 is responsible for downloading management software and configuration to physical hosts and providing an overall system view.
  • the master node MN 202 is a node responsible for managing thousands of clusters and updates the cluster information to the CMS.
  • the SN 204 is a managed physical server on which the agent software is run, accepting the management of the MN, and each SN can run multiple VMs.
  • the client 206 is configured to receive the management command issued by the administrator, query the index information through the CMS, obtain the MN address to be operated, and then directly establish a connection with the MN, and send a management command.
  • Embodiment 2 The embodiment of the present invention further provides a method for using the foregoing virtual machine management system, where the method is used for migrating a virtual machine.
  • FIG. 3 is a flowchart of a method for managing a virtual machine according to an embodiment of the present invention. As shown in FIG. 3, the method includes: Step S302: The MN determines that the resource used by the SN managed by the MN reaches a predetermined threshold; Step S304, the MN determines the MN management.
  • the embodiment of the invention further provides a method for using the above virtual machine management system, which is used for allocating a virtual machine.
  • the method includes: the CMS receives a request for requesting a virtual machine sent by a client, allocates a MN with an idle resource to the client, and sends the address of the allocated MN to the client; and the allocated MN receives the allocated virtual machine sent by the client.
  • Request the client is assigned an SN with idle resources; the SN with idle resources allocates a virtual machine to the client.
  • the embodiment of the present invention further provides a method for using the foregoing virtual machine management system, where the method is used for querying a virtual machine, and the method includes: receiving, by the CMS, a request by the client to query the MN where the virtual machine is located, and sending the request to the client The address of the MN where the virtual machine is located; the MN where the virtual machine is located receives the virtual machine status request sent by the client, obtains the state of the virtual machine from the SN where the virtual machine is located, and sends the status of the virtual machine to the client.
  • the embodiment of the present invention further provides a method for using the foregoing virtual machine management system, the method includes: if the CMS detects that the physical host is started, the physical host that is set by the CMS is MN or SN; if the activated physical host is MN .
  • the CMS delivers the management software to the activated physical host. If the activated physical host is the SN, the CMS delivers the proxy software to the SN.
  • the physical host initiated by the CMS setting is the MN or the SN can be set in the following manner: When the management capability of the system is insufficient, the CMS will set the physical host to be set to the MN, otherwise, the activated physical host is set to the SN.
  • Embodiment 3 provides a management system with automatic expansion capability, which can implement effective management of massive virtual machines.
  • the implementation process of the embodiment of the present invention is described below by taking the system as a three-layer structure. It should be noted that when the system is a four-layer or multi-layer structure, the management of the upper layer and the lower layer may be performed in the same manner as the three-layer structure. .
  • a CMS is set up, and there is also a management plane composed of MNs.
  • Each VM runs a set of virtual machine management systems that manage thousands of clusters.
  • a cluster consists of thousands of hosts. These hosts are called SNs.
  • One SN is a physical host running a virtual machine (VM).
  • VM virtual machine
  • the SN runs the agent software at the same time to manage the host.
  • the management software and the agent software on the MN and the SN do not need to be pre-installed, but are downloaded from the CMS when the host is started.
  • the download mode can be: When a physical host is started, the default startup script in the host actively reports its hardware resources and configuration information to the CMS.
  • the CMS determines whether the host should be assigned as the MN or SN according to a certain policy. When the host is assigned as the MN, the CMS downloads the corresponding management software, otherwise it downloads the agent software and adds the SN to the management scope of a certain MN.
  • the detailed information and status data of each cluster and VM are stored in the corresponding MN.
  • the MN implements state collection and specific management scheduling for the host and the virtual machine, and the CMS saves the overall view of the system, including each The configuration of the cluster, the physical host information, the current number of virtual machines, the current resource allocation, and the list of reserved virtual machines, etc., the MN is responsible for updating the changed information to the CMS system.
  • the client wants to implement a management operation, it first queries the CMS for the overall view and further issues an operation request to the MN based on the returned information. Multiple MNs can be set up to be active and standby, and each other can back up management information. When the MN fails, the other MN implements the management function in place of the failed MN.
  • FIG. 4 is a diagram showing the internal architecture of a master node and a slave node according to an embodiment of the present invention.
  • 401 is the management software CM (Cluster Manager) running in the master node, responsible for the management of thousands of clusters.
  • 404 is the slave node internal NA (Node Agent), responsible for the management of the node, including creating virtual machines, deleting virtual machines, virtual machine migration, etc., which execute specific commands through the hypervisor (virtual machine manager).
  • CM Cluster Manager
  • NA Node Agent
  • 403 is a hypervisor, which is a module for implementing hardware virtualization. It is responsible for scheduling the virtual machine central processing unit (CPU) and memory. The management commands sent by NA are executed by the hypervisor.
  • 404 is a virtual machine, which is a unit for allocating resources. The CPU, memory, and storage space of the virtual machine can be allocated as needed, and can be migrated between physical machines as necessary. The following describes a method for performing virtual machine management using the above system through a specific example. Although the following embodiments illustrate the implementation process of the embodiment of the present invention by taking the system as a three-layer structure, those skilled in the art can clearly understand that when the system is a four-layer or multi-layer structure, only three layers are used.
  • FIG. 5 is a schematic diagram of a physical host assigned as a master node according to an embodiment of the present invention.
  • the physical host starts, when the CMS determines that the MN management capability is insufficient, the physical host is assigned as a new MN.
  • the specific process is as follows: Step 501: The physical server starts, and the preset startup code sends a startup message to the CMS, where the message includes configuration information of the physical server; Step 502, the CMS determines that the node should be based on the current MN management load.
  • the MN is configured to download the MN management software for the node.
  • Step 503 The CMS specifies a backup MN for the MN to form a backup relationship with the MN.
  • Step 504 The CMS sends a backup information notification to the backup MN.
  • the physical host is defined as the master node.
  • FIG. 6 is a schematic diagram of a physical host assigned as a slave node according to an embodiment of the present invention. As shown in FIG. 6, the specific process is as follows: Step 601: The physical server starts, and the preset startup code sends a startup message to the CMS, where the message includes configuration information of the physical server. Step 602: The CMS determines that the physical host can join.
  • FIG. 7 is a schematic diagram of a client applying for a virtual machine according to an embodiment of the present invention. As shown in FIG. 7, the specific process is as follows: Step 701: A client sends a virtual machine request to a CMS, where the request includes parameters of the virtual machine.
  • Step 702 The CMS queries the most suitable MN according to the internal idle resource information. Returning the MN address; Step 703, the client initiates the allocation of the virtual machine request to the destination MN; Step 704, the MN selects an SN, the SN has sufficient free resources to allocate the virtual machine, and then sends the request to the SN; Step 705, the SN implements the allocation of the virtual machine, and returns the success information, and the return value includes the virtual machine ID. Step 706, the MN returns the success information to the client, and the client can access the virtual machine by using the virtual machine ID. Step 707, the MN notifies The CMS changes the status of the cluster managed by the MN, and the CMS updates the internal information.
  • FIG. 8 is a schematic diagram of a client querying a virtual machine state according to an embodiment of the present invention. As shown in Figure 8, the specific process is as follows: Step 801: The client queries the CMS for the MN where the virtual machine is located, and the query parameter is the virtual machine ID. Step 802: The CMS returns the MN address where the virtual machine is located. Step 803: The client sends a query to the MN. The virtual machine status request is obtained.
  • Step 804 The MN queries the SN of the virtual machine from the internal information, and sends a query virtual machine status request to the SN.
  • Step 805 The SN acquires the virtual machine related information and returns the information to the MN.
  • Step 901 The MN monitors resource usage of each node.
  • Step 902 The SN returns resource usage information.
  • Step 903 When the resource usage reaches a preset threshold, the MN decides to migrate the virtual machine. However, the cluster managed by the MN does not have sufficient idle resources, so the CMS is requested to apply for cross-cluster scheduling.
  • Step 904 the CMS selects the idle MN to return the MN address to the source MN.
  • Step 905 The source MN sends a virtual machine migration request to the destination MN.
  • Step 906 the destination MN grants migration, selects an idle SN, and returns the SN address.
  • Step 907 The source MN sends a virtual machine migration command to the source SN, where the command parameter includes the destination SN address.
  • Step 908 The source SN initiates a virtual machine migration process to the destination SN. Step 909, after the virtual machine migration is completed, the destination SN returns a successful response.
  • Step 910 the source SN returns a virtual machine migration completion response to the source MN;
  • Step 911 the destination SN returns a virtual machine migration completion response to the destination MN;
  • Step 912 the source MN notifies the CMS that the cluster information managed by the MN is changed;
  • Step 913 The destination MN notifies the CMS of the cluster information change managed by the MN.
  • the virtual machine is managed by using at least three layers (the central management server, the master node, and the slave node), so that when the number of virtual machines is large, the virtual machine can also be performed. The effect of effective management.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

A virtual machine management system and using method thereof is disclosed. The system comprises: a central management server, master nodes and slave nodes. The central management server is used for managing the master nodes; each master node is used for managing one or more clusters, wherein, each cluster comprises one or more slave nodes; and the slave nodes are physical hosts to run virtual machines. The solution achieves the effect that the virtual machines can be managed effectively when the number of the virtual machines is great.

Description

虚拟机管理系统及其使用方法 技术领域 本发明涉及通信领域,具体而言, 涉及一种虚拟机管理系统及其使用方法。 背景技术 虚拟化技术是在物理的服务器上, 通过虚拟化软件将物理资源分割为多个 逻辑的分区, 每个分区相互隔离, 成为独立的虚拟机。 就操作系统和应用程序 来说, 虚拟机与物理服务器没有区别, 它们可以共享同一台物理服务器。 要充 分发挥资源的利用率, 对虚拟机的管理调度非常重要, 其中, 管理调度功能包 括对虚拟机资源的分配、 虚拟机迁移和虚拟机生命周期的管理等。 管理调度由虚拟机管理系统来实施。 目前, 虚拟机管理系统一般由管理服 务器和代理软件组成, 管理服务器包含各种功能模块, 实施对虚拟机的全面管 理。代理软件安装在运行虚拟机的物理主机上, 负责管理本物理主机的虚拟机, 并与管理服务器通信, 加入管理服务器的管理范围。 虚拟机管理系统将物理机 组成多个集群进行管理, 每个集群由数十个服务器组成。 目前每套管理系统最 大能够管理数百台服务器和数千台虚拟机。 图 1 是根据相关技术的虚拟管理系统的架构图。 101 是管理系统 ( Management System ), 负责执行虚拟机管理和调度任务, 它与每个 Node (节 点)连接, 管理命令下达给各个 Node。 102是客户端 ( Client ), 管理员通过客 户端将操作命令下达给管理系统。 103是 Node , 每个 Node是一台物理主机, 其上可以运行多个虚拟机。 104是集群( Cluster ), 为了便于管理, 管理系统将 多个 Node组成一个集群, 以集群为单位进行管理。 在这种管理方式下, 管理 系统承担着所有的管理任务, 当虚拟机规模较小时, 少数几套虚拟机管理系统 就可以实施有效的管理, 当 Node数目过大时 (当虚拟机数量巨大时, 特别是 在桌面虚拟化环境中, 每个用户对应一台虚拟机, 虚拟机的个数可能达到数十 万甚至上百万台), 一套管理系统无法 7 担, 就需要增加硬件处理能力或增加 另一套管理系统。 当 Node数目达到数万台以上时, 这种方式就无法进行管理 了。 因此,釆用相关技术中的管理方式无法对各个虚拟机进行有效管理。并且, 这些管理系统之间无法有效协调, 大量的管理系统本身也是难以维护的。 发明内容 本发明的主要目的在于提供一种虚拟机管理方案, 以至少解决上述的相关 技术中虚拟机数量较大时无法对虚拟机进行有效管理的问题。 为了实现上述目的,才艮据本发明的一个方面,提供了一种虚拟机管理系统, 该系统包括: 中心管理服务器、 主节点、 从节点, 其中, 中心管理服务器, 用 于管理主节点; 每个主节点用于管理一个或多个集群, 其中, 每个集群包括一 个或多个从节点; 从节点是运行虚拟机的物理主机。 优选地, 中心管理艮务器设置为在检测到物理主机启动时, 设置启动的物 理主机为主节点或从节点, 如果设置为从节点, 则中心管理服务器设置为为从 节点指定一个主节点进行管理。 优选地, 中心管理服务器设置为在系统的管理能力不足时, 将启动的物理 主机设置为主节点, 否则, 将启动的物理主机设置为从节点。 优选地, 中心管理服务器设置为将管理软件发送给主节点以及将代理软件 发送给从节点。 优选地, 中心管理服务器还设置为在设置主节点时, 为主节点设置备份主 节点。 优选地, 主节点还设置为存储其管理的集群和从节点的管理信息; 中心管 理服务器还设置为存储各个主节点存储的管理信息的索引。 优选地, 上述系统还包括: 客户端, 其中, 该客户端设置为向中心管理服 务器查询索引, 获取查询的索引对应的主节点, 并向对应的主节点发送操作请 求。 优选地, 中心管理服务器釆用多层结构, 一个上级中心管理服务器管理一 个或多个下级中心管理服务器。 优选地, 主节点包括: 管理软件, 设置为对集群进行管理; 从节点包括: 节点代理,设置为管理从节点, 并通过虚拟机管理器执行命令; 虚拟机管理器, 设置为调度从节点中的虚拟机, 并执行节点代理发送的命令。 为了实现上述目的, 根据本发明的另一个方面, 提供了一种使用上述的系 统进行虚拟机迁移的方法, 该方法包括: 主节点确定主节点管理的从节点使用 的资源达到预定门限; 主节点判断主节点管理的从节点是否存在空闲资源, 如 果是, 则将使用的资源达到预定门限的从节点上的虚拟机迁移到有空闲资源的 从节点上, 否则, 主节点从中心管理服务器获取有空闲资源的主节点, 并将使 用的资源达到预定门限的从节点上的虚拟机迁移到有空闲资源的主节点所管 理的从节点上。 为了实现上述目的, 居本发明的又一个方面, 提供了一种使用上述的系 统进行虚拟机分配的方法, 该方法包括: 中心管理服务器接收客户端发送的申 请虚拟机的请求, 为客户端分配具有空闲资源的主节点, 并将分配的主节点的 地址发送给客户端; 分配的主节点接收客户端发送的分配虚拟机的请求, 为客 户端分配具有空闲资源的从节点; 具有空闲资源的从节点为客户端分配虚拟 机。 为了实现上述目的, 根据本发明的另一个方面, 提供了一种使用上述的系 统进行虚拟机查询的方法, 该方法包括: 中心管理月艮务器接收客户端发送的查 询虚拟机所在的主节点的请求, 向客户端发送虚拟机所在的主节点的地址; 虚 拟机所在的主节点接收客户端发送的虚拟机状态请求, 从虚拟机所在的从节点 获取虚拟机的状态, 并将虚拟机的状态发送给客户端。 为了实现上述目的, 才艮据本发明的再一个方面, 提供了一种上述系统的使 用方法, 该方法包括: 中心管理服务器检测到物理主机启动; 中心管理服务器 设置启动的物理主机为主节点或从节点。 优选地, 如果启动的所述物理主机为所述主节点, 则所述中心管理艮务器 将管理软件下发给启动的所述物理主机, 如果启动的所述物理主机为所述从节 点, 则所述中心管理服务器将代理软件下发给所述从节点。 优选地, 所述中心管理艮务器设置启动的所述物理主机为所述主节点或所 述从节点包括: 所述中心管理服务器在所述系统的管理能力不足时, 将启动的 所述物理主机设置为所述主节点, 否则, 将启动的所述物理主机设置为所述从 节点。 通过本发明, 釆用使用至少三层的结构 (例如, 中心管理服务器、 主节点 和从节点)对虚拟机进行管理的方式, 解决了相关技术中虚拟机数量较大时无 法对虚拟机进行有效管理的问题, 进而达到了在虚拟机数量较大时, 也能够对 虚拟机进行有效管理的效果。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部 分, 本发明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不 当限定。 在附图中: 图 1是根据相关技术的虚拟管理系统的架构图; 图 2是根据本发明实施例的虚拟机管理系统的示意图; 图 3是根据本发明实施例的虚拟机管理方法的流程图; 图 4是根据本发明实施例的主节点和从节点内部架构图; 图 5是根据本发明实施例的物理主机被指派为主节点的示意图; 图 6是才艮据本发明实施例的物理主机被指派为从节点的示意图; 图 7是才艮据本发明实施例的客户端申请虚拟机的示意图; 图 8是根据本发明实施例的客户端查询虚拟机状态的示意图; 图 9是才艮据本发明实施例的虚拟机跨集群迁移的示意图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不 冲突的情况下, 本申请中的实施例及实施例中的特征可以相互组合。 实施例一 本发明实施例提供了一种虚拟机管理系统, 图 2是根据本发明实施例的虚 拟机管理系统的示意图, 如图 2所示, 该系统包括: 中心管理服务器 (Center Management Server, 简称为 CMS ) 201、 主节点 (Master Node, 简称为 MN ) 202、 从节点 (Slave Node, 简称为 SN ) 204, 其中, CMS 201设置为管理 MN 202; 每个 MN 202设置为管理一个或多个集群, 其中, 每个集群包括一个或多 个 SN 204; SN 204是运行虚拟机的物理主机。 在本实施例中, 在管理虚拟机时, 系统至少分成 CMS、 MN和 SN这三层, 这种结构有助于在虚拟机的数量较大时对虚拟机进行管理。 需要说明的是, 三层结构仅是优选的管理方式, 本发明实施例并不限于三 层结构。 例如, CMS可以有多个, 并且多个 CMS可以形成了多层结构, 多个 下级中心管理服务器可以被一个上级中心管理服务器管理。 由此可见, 当虚拟 机的数据量较多时, 可以釆用 4层甚至更多层结构来实现对虚拟机的管理, 由 上一层对下一层的数据进行管理。 在本发明实施例的一个优选实例中, CMS 201在检测到一个物理主机启动 时, 可以将该物理主机设置为 MN或 SN, CMS 201还可以在设置一个物理主 机为 SN时, 为其指定一个 MN进行管理。 其中, 在系统的管理能力不足时, CMS 201可以将该启动的物理主机设置为 MN,当系统的管理能力足够时, CMS 201可以^ 1该启动的物理主机设置为 SN。 优选地, CMS 201可以将管理软件发送给 MN , 以便 MN据此进行管理, 还可以将代理软件发送给 SN , 以便 SN 居代理软件进行管理。 优选地, CMS 201还可以为 MN设置一个备份的 MN, 当主用的 MN发生 故障时, 该备份的 MN可以自动代替其进行管理工作。 在本发明实施例的另一个优选实例中, CMS 201 将管理软件下发给 MNTECHNICAL FIELD The present invention relates to the field of communications, and in particular to a virtual machine management system and a method for using the same. BACKGROUND Virtualization technology is to divide a physical resource into multiple logical partitions by using virtualization software on a physical server, and each partition is isolated from each other to become an independent virtual machine. In terms of operating systems and applications, virtual machines are no different from physical servers, and they can share the same physical server. To fully utilize the utilization of resources, it is very important to manage the scheduling of virtual machines. The management scheduling functions include the allocation of virtual machine resources, virtual machine migration, and virtual machine lifecycle management. Management scheduling is implemented by the virtual machine management system. At present, the virtual machine management system generally consists of a management server and agent software. The management server includes various functional modules to implement overall management of the virtual machine. The agent software is installed on the physical host running the virtual machine. It is responsible for managing the virtual machine of the physical host and communicating with the management server to join the management scope of the management server. The virtual machine management system manages the physical machines into multiple clusters, each consisting of dozens of servers. Currently, each management system can manage up to hundreds of servers and thousands of virtual machines. 1 is an architectural diagram of a virtual management system according to the related art. 101 is the Management System, which is responsible for performing virtual machine management and scheduling tasks. It connects to each Node and manages commands to each Node. 102 is a client (client), and the administrator issues an operation command to the management system through the client. 103 is a Node, and each Node is a physical host on which multiple virtual machines can run. 104 is a cluster. To facilitate management, the management system groups multiple Nodes into one cluster and manages them in clusters. In this management mode, the management system assumes all management tasks. When the virtual machine scale is small, a few sets of virtual machine management systems can implement effective management. When the number of nodes is too large (when the number of virtual machines is huge) Especially in the desktop virtualization environment, each user corresponds to one virtual machine, and the number of virtual machines may reach hundreds of thousands or even millions.) A management system cannot be used, and hardware processing capacity needs to be increased. Or add another management system. When the number of Nodes reaches tens of thousands or more, this method cannot be managed. Therefore, it is impossible to effectively manage each virtual machine by the management method in the related art. Moreover, these management systems cannot be effectively coordinated, and a large number of management systems are themselves difficult to maintain. SUMMARY OF THE INVENTION A main object of the present invention is to provide a virtual machine management solution to solve at least the problem that the virtual machine cannot be effectively managed when the number of virtual machines is large in the related art. In order to achieve the above object, according to an aspect of the present invention, a virtual machine management system is provided, the system comprising: a central management server, a master node, and a slave node, wherein the central management server is configured to manage the master node; The master node is used to manage one or more clusters, where each cluster includes one or more slave nodes; the slave node is a physical host running a virtual machine. Preferably, the central management server is configured to set the activated physical host as a master node or a slave node when detecting the physical host startup, and if set as a slave node, the central management server is configured to specify a master node for the slave node. management. Preferably, the central management server is configured to set the activated physical host as a master node when the management capability of the system is insufficient, and otherwise set the activated physical host as a slave node. Preferably, the central management server is arranged to send the management software to the master node and to send the agent software to the slave node. Preferably, the central management server is further configured to set a backup primary node for the primary node when setting the primary node. Preferably, the master node is further configured to store management information of the clusters and slave nodes it manages; the central management server is further configured to store an index of management information stored by each master node. Preferably, the system further includes: a client, wherein the client is configured to query an index of the central management server, obtain a primary node corresponding to the index of the query, and send an operation request to the corresponding primary node. Preferably, the central management server employs a multi-layered structure, and one upper central management server manages one or more subordinate central management servers. Preferably, the master node comprises: management software, configured to manage the cluster; the slave node comprises: a node agent, configured to manage the slave node, and execute the command through the virtual machine manager; the virtual machine manager is set to be scheduled from the node The virtual machine, and execute the command sent by the node agent. In order to achieve the above object, according to another aspect of the present invention, a method for performing virtual machine migration using the above system is provided, the method comprising: determining, by a master node, a slave node managed by a master node The resource reaches a predetermined threshold; the master node determines whether the slave node managed by the master node has idle resources, and if so, migrates the virtual machine on the slave node whose resource reaches the predetermined threshold to the slave node that has the idle resource, otherwise, The master node acquires the master node with the idle resource from the central management server, and migrates the virtual machine on the slave node whose used resource reaches the predetermined threshold to the slave node managed by the master node with the idle resource. In order to achieve the above object, in another aspect of the present invention, a method for performing virtual machine allocation using the foregoing system is provided, the method comprising: receiving, by a central management server, a request for requesting a virtual machine sent by a client, and allocating a request for a client a master node having an idle resource, and transmitting the address of the assigned master node to the client; the assigned master node receives the request of the client to allocate the allocated virtual machine, and allocates the slave node with the idle resource to the client; The slave node allocates virtual machines to clients. In order to achieve the above object, according to another aspect of the present invention, a method for performing virtual machine query using the above system is provided, the method comprising: receiving, by a central management server, a host node where a query virtual machine sent by a client is located The request sends the address of the primary node where the virtual machine is located to the client; the primary node where the virtual machine is located receives the virtual machine status request sent by the client, obtains the state of the virtual machine from the slave node where the virtual machine is located, and the virtual machine's state The status is sent to the client. In order to achieve the above object, according to still another aspect of the present invention, a method for using the above system is provided, the method comprising: the central management server detects that the physical host is started; and the central management server sets the activated physical host as a master node or From the node. Preferably, if the physical host that is started is the primary node, the central management server delivers the management software to the activated physical host, and if the activated physical host is the secondary node, Then, the central management server delivers the proxy software to the slave node. Preferably, the physical host initiated by the central management server is the primary node or the secondary node includes: the physical that the central management server will start when the management capability of the system is insufficient The host is set as the master node, otherwise the activated physical host is set as the slave node. The method for managing a virtual machine by using at least three layers of structures (for example, a central management server, a master node, and a slave node) solves the problem that the virtual machine cannot be effectively used when the number of virtual machines is large in the related art. The management problem can achieve the effect of effectively managing the virtual machine when the number of virtual machines is large. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a schematic diagram of a virtual management system according to the related art; FIG. 2 is a schematic diagram of a virtual machine management system according to an embodiment of the present invention; FIG. 3 is a flowchart of a virtual machine management method according to an embodiment of the present invention. FIG. 4 is a schematic diagram of an internal node and a slave internal architecture according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a physical host assigned to a master node according to an embodiment of the present invention; FIG. FIG. 7 is a schematic diagram of a client requesting a virtual machine according to an embodiment of the present invention; FIG. 8 is a schematic diagram of a client querying a virtual machine state according to an embodiment of the present invention; A schematic diagram of virtual machine migration across a cluster according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The embodiment of the present invention provides a virtual machine management system. FIG. 2 is a schematic diagram of a virtual machine management system according to an embodiment of the present invention. As shown in FIG. 2, the system includes: a central management server (Center Management Server, For example, CMS 201, Master Node (MN) 202, Slave Node (SN) 204, wherein CMS 201 is set to manage MN 202; each MN 202 is set to manage one or more Clusters, where each cluster includes one or more SNs 204; SN 204 is a physical host running a virtual machine. In this embodiment, when managing a virtual machine, the system is divided into at least three layers of CMS, MN, and SN. This structure helps manage the virtual machine when the number of virtual machines is large. It should be noted that the three-layer structure is only a preferred management mode, and the embodiment of the present invention is not limited to the three-layer structure. For example, there may be multiple CMSs, and multiple CMSs may form a multi-layer structure, and multiple sub-center management servers may be managed by one upper-level central management server. It can be seen that when the amount of data of the virtual machine is large, the management of the virtual machine can be implemented by using four or more layers, and the data of the next layer is managed by the upper layer. In a preferred example of the embodiment of the present invention, when detecting that a physical host is started, the CMS 201 may set the physical host as an MN or an SN, and the CMS 201 may also assign a physical host to the SN. The MN manages. Wherein, when the management capability of the system is insufficient, CMS 201 can set the physical host start is MN, when the management capability of the system is sufficient, CMS 201 may be provided to the physical host 1 ^ starts to SN. Preferably, the CMS 201 can send the management software to the MN for the MN to manage according to this, and can also send the agent software to the SN for the SN to manage the agent software. Preferably, the CMS 201 can also set a backup MN for the MN. When the primary MN fails, the backup MN can automatically replace it for management work. In another preferred embodiment of the embodiment of the present invention, the CMS 201 delivers the management software to the MN.
202, CMS 201将代理软件下发给 SN204。 在本发明实施例的又一个优选实例中, MN 中存储有其管理的集群和 SN 的管理信息; CMS中存储有各个 MN存储的管理信息的索引。 在本实施例中, CMS不需要存储大量的管理信息, 这样, 一个 CMS可以管理多个 MN, 为系 统管理能力的扩充提供了便利条件。 当使用四层结构进行管理时, 上级 CMS 还可以保存各个对下级 CMS存储的索引处理后的信息, 例如, 下级 CMS保存 其管理的虚拟机的 ID, 上级 CMS保存下级 CMS保存的虚拟机的 ID的范围。 优选地, 上述系统还可以包括: 客户端 206, 客户端 206在要进行管理操 作时, 可以先向 CMS 201 查询索引, 获取该索引对应的 MN, 并向该对应的 MN发送操作请求, 从而完成相应的管理操作。 在本发明实施例的再一个优选实例中, 主节点包括: 管理软件, 设置为对 集群进行管理; 从节点包括: 节点代理, 设置为管理从节点, 并通过虚拟机管 理器执行命令; 虚拟机管理器, 设置为调度从节点中的虚拟机, 并执行节点代 理发送的命令。 上述系统还可以包括: MN组成的管理平面 203 , 其中, MN之间会组成 主备关系, 当一个 MN失效时其他节点会代替它行使管理职能。 集群 205 , 若 千个 SN组成一个集群。 jtb时, CMS 201 负责下载管理软件和配置给物理主机, 并提供总体系统视图。 主节点 MN 202是负责管理若千个集群的节点, 并将集 群信息更新到 CMS中。 SN 204是被管理的物理服务器, 其上运行代理软件, 接受 MN的管理, 每个 SN可以运行多个 VM。 客户端 206, 设置为接收管理 员下达的管理命令, 通过 CMS查询索引信息, 获取要操作的 MN地址, 然后 直接与 MN建立连接, 发送管理命令。 实施例二 本发明实施例还提供了一种使用上述虚拟机管理系统的方法, 该方法用于 迁移虚拟机。 图 3是根据本发明实施例的虚拟机管理方法的流程图, 如图 3所 示, 该方法包括: 步骤 S302, MN确定 MN管理的 SN使用的资源达到预定门限; 步骤 S304, MN判断 MN管理的 SN是否存在空闲资源, 如果是, 则将使 用的资源达到预定门限的 SN上的虚拟机迁移到有空闲资源的 SN上, 否则, MN从 CMS获取有空闲资源的 MN, 并将使用的资源达到预定门限的 SN上的 虚拟机迁移到有空闲资源的 MN所管理的 SN上。 本发明实施例还提供了一种使用上述虚拟机管理系统的方法, 该方法用于 分配虚拟机。 该方法包括: CMS接收客户端发送的申请虚拟机的请求, 为客户 端分配具有空闲资源的 MN, 并将分配的 MN 的地址发送给客户端; 分配的 MN接收客户端发送的分配虚拟机的请求, 为客户端分配具有空闲资源的 SN; 具有空闲资源的 SN为客户端分配虚拟机。 本发明实施例还提供了一种使用上述虚拟机管理系统的方法, 该方法用于 虚拟机的查询, 该方法包括: CMS 接收客户端发送的查询虚拟机所在的 MN 的请求, 向客户端发送虚拟机所在的 MN的地址; 虚拟机所在的 MN接收客户 端发送的虚拟机状态请求, 从虚拟机所在的 SN获取虚拟机的状态, 并将虚拟 机的状态发送给客户端。 本发明实施例还提供了一种使用上述虚拟机管理系统的方法, 该方法包 括: 如果 CMS检测到物理主机启动, 则该 CMS设置启动的物理主机为 MN或 SN; 如果启动的物理主机为 MN。 优选地, CMS将管理软件下发给启动的物理主机, 如果启动的物理主机为 SN, 则 CMS将代理软件下发给 SN。 优选地, CMS设置启动的物理主机为 MN或 SN可以通过以下方式设置: 在系统的管理能力不足时, CMS将启动的物理主机设置为 MN, 否则, 将启动 的物理主机设置为 SN。 实施例三 本实施例提供了一种具有自动扩展能力的管理系统, 该系统能够对海量虚 拟机实施有效管理。 下面以系统为三层结构为例说明本发明实施例的实现过 程, 需要说明的是, 系统为四层或者多层结构时, 只要按照与三层结构相同的 方式进行上层对下层的管理即可。 在本实施例所提供的系统中, 设置了一台 CMS , 还有一个由 MN组成的 管理平面。每个 MN上运行一套虚拟机管理系统,它管理若千个集群( Cluster )。 一个 Cluster由若千台主机组成, 这些主机称为 SN, —个 SN就是运行虚拟机 ( Virtual Machine, 简称为 VM ) 的物理主机, SN上同时运行代理软件, 实施 对本主机的管理。 在本实施例中, MN和 SN上的管理软件和代理软件不需要预先安装, 而 是在主机启动时从 CMS 下载得到的。 下载方式可以为: 当一台物理主机启动 时,主机内预设的启动脚本主动向 CMS上报自己的硬件资源和配置信息, CMS 根据某种策略判断此主机是否应该指派为 MN或 SN, 当此主机被指派为 MN 时, CMS就下载相应的管理软件, 否则就下载代理软件, 并将此 SN加入到某 个 MN的管理范围内。 每个 Cluster和 VM的详细信息和状态数据都保存在相应的 MN 中, MN 实施对主机和虚拟机的状态釆集和具体的管理调度工作, CMS中保存系统的 整体视图, 其中, 包括每个 Cluster的配置、 物理主机信息、 当前虚拟机个数、 当前资源分配情况和预留的虚拟机列表等, MN负责将变化的信息更新到 CMS 系统中。 当客户端要实施管理操作时, 它首先向 CMS 查询整体视图, 根据返 回的信息进一步向 MN发出操作请求。多个 MN之间可以设置为互为主备的关 系, 并互相备份管理信息。 当 MN发生故障时, 其他 MN代替失效的 MN实施 管理功能。 为了避免 CMS产生单点故障, CMS可以设置为主备系统。 本实施例能够将海量虚拟机作为一个整体实施有效管理, 减少系统维护量 和维护人员投入。 实施例四 图 4是根据本发明实施例的主节点和从节点内部架构图。如图 4所示, 401 是主节点内运行的管理软件 CM ( Cluster Manager ), 负责若千个集群的管理。 402是从节点内部 NA ( Node Agent, 节点代理), 负责本节点的管理, 包括在 创建虚拟机、 删除虚拟机、 虚拟机迁移等, 它通过 Hypervisor (虚拟机管理器) 执行具体命令。 403 是 Hypervisor, 它是具体实施硬件虚拟化的模块, 负责虚 拟机中央处理器 (Central Processing Unit, 简称为 CPU ) 和内存的调度, NA 发送的管理命令由 Hypervisor来执行。 404是虚拟机, 是分配资源的单位, 虚 拟机的 CPU、内存和存储空间能够根据需要分配,必要时可以在物理机间迁移。 下面通过具体实例说明使用上述系统进行虚拟机管理的方法。 虽然下述实 施例均是以系统为三层结构为例说明本发明实施例的实现过程, 但是, 本领域 技术人员能够清楚, 当系统为四层或者多层结构时, 只要釆用与三层结构相类 似的方式进行上层对下层的管理即可。 实施例五 图 5是根据本发明实施例的物理主机被指派为主节点的示意图。 物理主机 启动时, CMS判断 MN管理能力不够时, 指派此物理主机为新的 MN。 具体流 程如下: 步骤 501 , 物理月艮务器启动, 预置的启动代码向 CMS发送启动消息, 该消 息包含物理服务器的配置信息; 步骤 502, CMS才艮据当前 MN管理负载确定应将此节点指派为 MN,然后, 为该节点下载 MN管理软件; 步骤 503 , CMS为该 MN指定备份 MN , 与该 MN形成备份关系; 步骤 504, CMS给备份 MN发送备份信息通知。 通过上述方法, 实现了将物理主机定义为主节点。 实施例六 图 6是根据本发明实施例的物理主机被指派为从节点的示意图。 如图 6所 示, 具体流程如下: 步骤 601 , 物理月艮务器启动, 预置的启动代码向 CMS发送启动消息, 该消 息包含物理服务器的配置信息; 步骤 602, CMS判断此物理主机可以加入到某集群, 将它指派为 SN, 并 下载 SN管理软件和管理此集群 MN的地址; 步骤 603 , 物理主机向 MN发送加入集群的请求; 步 4聚 604, MN返回成功响应, 开始对此节点实施管理; 步骤 605 , MN向 CMS通知集群信息变更, CMS更新内部信息。 通过上述方法, 实现了将物理主机定义为从节点。 实施例七 图 7是根据本发明实施例的客户端申请虚拟机的示意图。 如图 7所示, 具 体流程如下: 步骤 701 ,客户端向 CMS发起虚拟机请求,该请求包含虚拟机的各项参数; 步骤 702 , CMS才艮据内部的空闲资源信息查询到最合适的 MN , 返回 MN 地址; 步骤 703 , 客户端向目的 MN发起分配虚拟机请求; 步骤 704, MN选择一个 SN,该 SN有足够的空闲资源能够分配此虚拟机, 然后, 将该请求发送给此 SN; 步骤 705 , SN实施虚拟机的分配, 返回成功信息, 返回值包括虚拟机 ID; 步骤 706, MN将成功信息返回给客户端, 客户端可以利用虚拟机 ID访问 此虚拟机; 步骤 707, MN通知 CMS本 MN管理的集群变更情况, CMS更新内部信 息。 进一步的, CMS可以预先分配若千空闲虚拟机作为备用, 当客户端申请虚 拟机时, 可以直接将备用虚拟机分配给客户端, 以减少分配时间。 实施例八 图 8是根据本发明实施例的客户端查询虚拟机状态的示意图。如图 8所示, 具体流程如下: 步骤 801 , 客户端向 CMS查询虚拟机所在 MN, 查询参数是虚拟机 ID; 步骤 802, CMS返回虚拟机所在 MN地址; 步骤 803 , 客户端向 MN发送查询虚拟机状态请求; 步骤 804, MN从内部信息中查询到此虚拟机所在 SN, 向此 SN发送查询 虚拟机状态请求; 步骤 805 , SN获取虚拟机相关信息并返回给 MN; 步骤 806, MN将虚拟机状态信息返回给客户端。 实施例九 202. The CMS 201 delivers the proxy software to the SN 204. In still another preferred embodiment of the embodiment of the present invention, the management information of the cluster and the SN managed by the MN is stored in the MN; and the index of the management information stored by each MN is stored in the CMS. In this embodiment, the CMS does not need to store a large amount of management information, so that one CMS can manage multiple MNs, which provides a convenient condition for the expansion of system management capabilities. When the management of the four-layer structure is used, the upper-level CMS can also store the information processed by the index of the lower-level CMS. For example, the lower-level CMS saves the ID of the virtual machine it manages, and the upper-level CMS saves the ID of the virtual machine saved by the lower-level CMS. The scope. Preferably, the system may further include: a client 206, when the client 206 is to perform a management operation, may first query an index of the CMS 201, obtain an MN corresponding to the index, and send an operation request to the corresponding MN, thereby completing The corresponding management operation. In still another preferred embodiment of the embodiment of the present invention, the master node includes: management software configured to manage the cluster; the slave node includes: a node agent, configured to manage the slave node, and execute the command through the virtual machine manager; the virtual machine The manager, set to schedule the virtual machines in the slave node, and execute the commands sent by the node agent. The system may further include: a management plane 203 composed of MNs, wherein the MNs form an active/standby relationship, and when one MN fails, other nodes perform management functions instead of them. Cluster 205, if thousands of SNs form a cluster. At jtb, CMS 201 is responsible for downloading management software and configuration to physical hosts and providing an overall system view. The master node MN 202 is a node responsible for managing thousands of clusters and updates the cluster information to the CMS. The SN 204 is a managed physical server on which the agent software is run, accepting the management of the MN, and each SN can run multiple VMs. The client 206 is configured to receive the management command issued by the administrator, query the index information through the CMS, obtain the MN address to be operated, and then directly establish a connection with the MN, and send a management command. Embodiment 2 The embodiment of the present invention further provides a method for using the foregoing virtual machine management system, where the method is used for migrating a virtual machine. FIG. 3 is a flowchart of a method for managing a virtual machine according to an embodiment of the present invention. As shown in FIG. 3, the method includes: Step S302: The MN determines that the resource used by the SN managed by the MN reaches a predetermined threshold; Step S304, the MN determines the MN management. Whether the SN has idle resources, and if so, the virtual machine on the SN that uses the resource to reach the predetermined threshold is migrated to the SN with the idle resource. Otherwise, the MN acquires the MN with the idle resource from the CMS, and the used resource is used. The virtual machine on the SN that reaches the predetermined threshold migrates to the SN managed by the MN with the idle resource. The embodiment of the invention further provides a method for using the above virtual machine management system, which is used for allocating a virtual machine. The method includes: the CMS receives a request for requesting a virtual machine sent by a client, allocates a MN with an idle resource to the client, and sends the address of the allocated MN to the client; and the allocated MN receives the allocated virtual machine sent by the client. Request, the client is assigned an SN with idle resources; the SN with idle resources allocates a virtual machine to the client. The embodiment of the present invention further provides a method for using the foregoing virtual machine management system, where the method is used for querying a virtual machine, and the method includes: receiving, by the CMS, a request by the client to query the MN where the virtual machine is located, and sending the request to the client The address of the MN where the virtual machine is located; the MN where the virtual machine is located receives the virtual machine status request sent by the client, obtains the state of the virtual machine from the SN where the virtual machine is located, and sends the status of the virtual machine to the client. The embodiment of the present invention further provides a method for using the foregoing virtual machine management system, the method includes: if the CMS detects that the physical host is started, the physical host that is set by the CMS is MN or SN; if the activated physical host is MN . Preferably, the CMS delivers the management software to the activated physical host. If the activated physical host is the SN, the CMS delivers the proxy software to the SN. Preferably, the physical host initiated by the CMS setting is the MN or the SN can be set in the following manner: When the management capability of the system is insufficient, the CMS will set the physical host to be set to the MN, otherwise, the activated physical host is set to the SN. Embodiment 3 This embodiment provides a management system with automatic expansion capability, which can implement effective management of massive virtual machines. The implementation process of the embodiment of the present invention is described below by taking the system as a three-layer structure. It should be noted that when the system is a four-layer or multi-layer structure, the management of the upper layer and the lower layer may be performed in the same manner as the three-layer structure. . In the system provided in this embodiment, a CMS is set up, and there is also a management plane composed of MNs. Each VM runs a set of virtual machine management systems that manage thousands of clusters. A cluster consists of thousands of hosts. These hosts are called SNs. One SN is a physical host running a virtual machine (VM). The SN runs the agent software at the same time to manage the host. In this embodiment, the management software and the agent software on the MN and the SN do not need to be pre-installed, but are downloaded from the CMS when the host is started. The download mode can be: When a physical host is started, the default startup script in the host actively reports its hardware resources and configuration information to the CMS. The CMS determines whether the host should be assigned as the MN or SN according to a certain policy. When the host is assigned as the MN, the CMS downloads the corresponding management software, otherwise it downloads the agent software and adds the SN to the management scope of a certain MN. The detailed information and status data of each cluster and VM are stored in the corresponding MN. The MN implements state collection and specific management scheduling for the host and the virtual machine, and the CMS saves the overall view of the system, including each The configuration of the cluster, the physical host information, the current number of virtual machines, the current resource allocation, and the list of reserved virtual machines, etc., the MN is responsible for updating the changed information to the CMS system. When the client wants to implement a management operation, it first queries the CMS for the overall view and further issues an operation request to the MN based on the returned information. Multiple MNs can be set up to be active and standby, and each other can back up management information. When the MN fails, the other MN implements the management function in place of the failed MN. In order to avoid a single point of failure in the CMS, the CMS can be set up as a master standby system. This embodiment can implement effective management of a massive virtual machine as a whole, reducing system maintenance and maintenance personnel input. Embodiment 4 FIG. 4 is a diagram showing the internal architecture of a master node and a slave node according to an embodiment of the present invention. As shown in Figure 4, 401 is the management software CM (Cluster Manager) running in the master node, responsible for the management of thousands of clusters. 402 is the slave node internal NA (Node Agent), responsible for the management of the node, including creating virtual machines, deleting virtual machines, virtual machine migration, etc., which execute specific commands through the hypervisor (virtual machine manager). 403 is a hypervisor, which is a module for implementing hardware virtualization. It is responsible for scheduling the virtual machine central processing unit (CPU) and memory. The management commands sent by NA are executed by the hypervisor. 404 is a virtual machine, which is a unit for allocating resources. The CPU, memory, and storage space of the virtual machine can be allocated as needed, and can be migrated between physical machines as necessary. The following describes a method for performing virtual machine management using the above system through a specific example. Although the following embodiments illustrate the implementation process of the embodiment of the present invention by taking the system as a three-layer structure, those skilled in the art can clearly understand that when the system is a four-layer or multi-layer structure, only three layers are used. The structure of the upper layer to the lower layer can be managed in a similar manner. Embodiment 5 FIG. 5 is a schematic diagram of a physical host assigned as a master node according to an embodiment of the present invention. When the physical host starts, when the CMS determines that the MN management capability is insufficient, the physical host is assigned as a new MN. The specific process is as follows: Step 501: The physical server starts, and the preset startup code sends a startup message to the CMS, where the message includes configuration information of the physical server; Step 502, the CMS determines that the node should be based on the current MN management load. The MN is configured to download the MN management software for the node. Step 503: The CMS specifies a backup MN for the MN to form a backup relationship with the MN. Step 504: The CMS sends a backup information notification to the backup MN. Through the above method, the physical host is defined as the master node. Embodiment 6 FIG. 6 is a schematic diagram of a physical host assigned as a slave node according to an embodiment of the present invention. As shown in FIG. 6, the specific process is as follows: Step 601: The physical server starts, and the preset startup code sends a startup message to the CMS, where the message includes configuration information of the physical server. Step 602: The CMS determines that the physical host can join. Go to a cluster, assign it as SN, and download the SN management software and manage the address of the cluster MN; Step 603, the physical host sends a request to join the cluster to the MN; Step 4 gathers 604, the MN returns a successful response, starts the node Implementation management; Step 605: The MN notifies the CMS of the cluster information change, and the CMS updates the internal information. Through the above method, the physical host is defined as a slave node. Embodiment 7 FIG. 7 is a schematic diagram of a client applying for a virtual machine according to an embodiment of the present invention. As shown in FIG. 7, the specific process is as follows: Step 701: A client sends a virtual machine request to a CMS, where the request includes parameters of the virtual machine. Step 702: The CMS queries the most suitable MN according to the internal idle resource information. Returning the MN address; Step 703, the client initiates the allocation of the virtual machine request to the destination MN; Step 704, the MN selects an SN, the SN has sufficient free resources to allocate the virtual machine, and then sends the request to the SN; Step 705, the SN implements the allocation of the virtual machine, and returns the success information, and the return value includes the virtual machine ID. Step 706, the MN returns the success information to the client, and the client can access the virtual machine by using the virtual machine ID. Step 707, the MN notifies The CMS changes the status of the cluster managed by the MN, and the CMS updates the internal information. Further, the CMS can pre-allocate thousands of idle virtual machines as backups. When the client applies for a virtual machine, the standby virtual machine can be directly allocated to the client to reduce the allocation time. Embodiment 8 FIG. 8 is a schematic diagram of a client querying a virtual machine state according to an embodiment of the present invention. As shown in Figure 8, the specific process is as follows: Step 801: The client queries the CMS for the MN where the virtual machine is located, and the query parameter is the virtual machine ID. Step 802: The CMS returns the MN address where the virtual machine is located. Step 803: The client sends a query to the MN. The virtual machine status request is obtained. Step 804: The MN queries the SN of the virtual machine from the internal information, and sends a query virtual machine status request to the SN. Step 805: The SN acquires the virtual machine related information and returns the information to the MN. Step 806, the MN The virtual machine status information is returned to the client. Example nine
MN会实时监控每个节点上虚拟机消耗资源情况, 当某个物理机负载过重 时, MN会将虚拟机迁移到其它物理机, 如果在集群内无法找到合适的空闲资 源时, MN会向 CMS 申请将虚拟机迁移到其它集群。 图 9是根据本发明实施 例的虚拟机跨集群迁移的示意图。 如图 9所示, 具体流程如下: 步骤 901 , MN监控每个节点资源使用情况; 步骤 902 , SN返回资源使用信息; 步骤 903 , 当资源使用达到预设的门限时, MN决定迁移虚拟机, 但本 MN 管理的集群没有足够的空闲资源, 因此向 CMS申请跨集群调度; 步骤 904, CMS选择空闲 MN将此 MN地址返回给源 MN; 步骤 905 , 源 MN向目的 MN发送虚拟机迁移请求; 步骤 906, 目的 MN准许迁移, 选择一个空闲 SN, 返回此 SN地址; 步骤 907, 源 MN向源 SN发送虚拟机迁移命令, 命令参数包含目的 SN 地址; 步骤 908, 源 SN向目的 SN发起虚拟机迁移过程; 步骤 909, 虚拟机迁移完成后, 目的 SN返回成功响应; 步 4聚 910, 源 SN给源 MN返回虚拟机迁移完成响应; 步骤 911 , 目的 SN给目的 MN返回虚拟机迁移完成响应; 步骤 912 , 源 MN通知 CMS本 MN管理的集群信息变更; 步骤 913 , 目的 MN通知 CMS本 MN管理的集群信息变更。 综上所述, 在本发明实施例中, 使用至少三层 (中心管理服务器、 主节点 和从节点) 结构对虚拟机进行管理, 达到了在虚拟机数量较大时, 也能够对虚 拟机进行有效管理的效果。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以 用通用的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多 个计算装置所组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码 来实现, 从而, 可以将它们存储在存储装置中由计算装置来执行, 并且在某些 情况下, 可以以不同于此处的顺序执行所示出或描述的步骤, 或者将它们分别 制作成各个集成电路模块, 或者将它们中的多个模块或步骤制作成单个集成电 路模块来实现。 这样, 本发明不限制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领 域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的 ^"神和原则 之内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之 内。 The MN monitors the virtual machine's consumption of resources on each node in real time. When a physical load is too heavy, the MN will migrate the virtual machine to other physical machines. If no suitable idle resources can be found in the cluster, the MN will The CMS applies to migrate virtual machines to other clusters. 9 is a schematic diagram of virtual machine migration across a cluster according to an embodiment of the present invention. As shown in FIG. 9, the specific process is as follows: Step 901: The MN monitors resource usage of each node. Step 902: The SN returns resource usage information. Step 903: When the resource usage reaches a preset threshold, the MN decides to migrate the virtual machine. However, the cluster managed by the MN does not have sufficient idle resources, so the CMS is requested to apply for cross-cluster scheduling. Step 904, the CMS selects the idle MN to return the MN address to the source MN. Step 905: The source MN sends a virtual machine migration request to the destination MN. Step 906, the destination MN grants migration, selects an idle SN, and returns the SN address. Step 907: The source MN sends a virtual machine migration command to the source SN, where the command parameter includes the destination SN address. Step 908: The source SN initiates a virtual machine migration process to the destination SN. Step 909, after the virtual machine migration is completed, the destination SN returns a successful response. Step 910, the source SN returns a virtual machine migration completion response to the source MN; Step 911, the destination SN returns a virtual machine migration completion response to the destination MN; Step 912, the source MN notifies the CMS that the cluster information managed by the MN is changed; Step 913; The destination MN notifies the CMS of the cluster information change managed by the MN. In summary, in the embodiment of the present invention, the virtual machine is managed by using at least three layers (the central management server, the master node, and the slave node), so that when the number of virtual machines is large, the virtual machine can also be performed. The effect of effective management. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种虚拟机管理系统, 包括: 中心管理服务器、 主节点、 和从节点, 其 中, A virtual machine management system, comprising: a central management server, a master node, and a slave node, wherein
所述中心管理服务器设置为管理所述主节点;  The central management server is configured to manage the primary node;
每个所述主节点设置为管理一个或多个集群, 其中, 每个所述集群 包括一个或多个所述从节点;  Each of the master nodes is configured to manage one or more clusters, wherein each of the clusters includes one or more of the slave nodes;
所述从节点是运行虚拟机的物理主机。  The slave node is a physical host running a virtual machine.
2. 根据权利要求 1所述的系统, 其中, 2. The system of claim 1 wherein
所述中心管理服务器设置为在检测到物理主机启动时, 设置启动的 所述物理主机为所述主节点或所述从节点, 如果设置为所述从节点, 则 所述中心管理服务器设置为为所述从节点指定一个主节点进行管理。  The central management server is configured to set, when the physical host is started, the physical host that is set to be the primary node or the secondary node, and if set to the secondary node, the central management server is set to The slave node specifies a master node for management.
3. 根据权利要求 2所述的系统, 其中, 3. The system according to claim 2, wherein
所述中心管理服务器设置为在所述系统的管理能力不足时, 将启动 的所述物理主机设置为所述主节点, 否则, 将启动的所述物理主机设置 为所述从节点。  The central management server is configured to set the activated physical host as the primary node when the management capability of the system is insufficient, and otherwise set the activated physical host as the secondary node.
4. 根据权利要求 1所述的系统, 其中, 4. The system of claim 1 wherein
所述中心管理服务器设置为将管理软件发送给所述主节点以及将代 理软件发送给所述从节点。  The central management server is arranged to send management software to the primary node and to send agent software to the secondary node.
5. 根据权利要求 1所述的系统, 其中, 5. The system of claim 1 wherein
所述中心管理服务器还设置为在设置所述主节点时, 为所述主节点 设置备份主节点。  The central management server is further configured to set a backup primary node for the primary node when the primary node is set.
6. 根据权利要求 1所述的系统, 其中, 6. The system of claim 1 wherein
所述主节点还设置为存储其管理的集群和从节点的管理信息; 所述中心管理服务器还设置为存储各个所述主节点存储的所述管理 信息的索引。  The master node is further configured to store management information of the clusters and slave nodes it manages; the central management server is further configured to store an index of the management information stored by each of the master nodes.
7. 根据权利要求 6所述的系统, 其中, 所述系统还包括: 客户端, 其中, 所述客户端设置为向所述中心管理服务器查询索引, 获取查询的所 述索引对应的主节点, 并向所述对应的主节点发送操作请求。 The system according to claim 6, wherein the system further comprises: a client, wherein The client is configured to query an index of the central management server, obtain a primary node corresponding to the index of the query, and send an operation request to the corresponding primary node.
8. 根据权利要求 1所述的系统, 其中, 8. The system of claim 1 wherein
所述中心管理服务器釆用多层结构, 一个上级中心管理服务器管理 一个或多个下级中心管理服务器。  The central management server employs a multi-layered structure, and one upper-level central management server manages one or more lower-level central management servers.
9. 根据权利要求 1所述的系统, 其中, 9. The system of claim 1 wherein
所述主节点包括: 管理软件, 设置为对集群进行管理; 所述从节点包括:  The master node includes: management software, configured to manage the cluster; the slave node includes:
节点代理, 设置为管理所述从节点, 并通过虚拟机管理器执行命令; 所述虚拟机管理器, 设置为调度所述从节点中的虚拟机, 并执行所 述节点代理发送的命令。  a node agent, configured to manage the slave node, and execute a command by the virtual machine manager; the virtual machine manager, configured to schedule a virtual machine in the slave node, and execute a command sent by the node agent.
10. —种使用权利要求 1至 9中任一项所述的系统进行虚拟机迁移的方法, 包括: 10. A method of virtual machine migration using the system of any one of claims 1 to 9, comprising:
所述主节点确定所述主节点管理的从节点使用的资源达到预定门 限;  Determining, by the master node, that a resource used by the slave node managed by the master node reaches a predetermined threshold;
所述主节点判断所述主节点管理的从节点是否存在空闲资源, 如果 是, 则将所述使用的资源达到预定门限的从节点上的虚拟机迁移到有所 述空闲资源的从节点上, 否则, 所述主节点从所述中心管理服务器获取 有空闲资源的主节点, 并将所述使用的资源达到预定门限的从节点上的 虚拟机迁移到所述有空闲资源的主节点所管理的从节点上。  Determining, by the master node, whether the slave node managed by the master node has an idle resource, and if yes, migrating the virtual machine on the slave node that uses the used resource to a predetermined threshold to the slave node that has the idle resource, Otherwise, the master node acquires a master node with idle resources from the central management server, and migrates the virtual machine on the slave node whose used resource reaches a predetermined threshold to the master node managed by the idle resource. From the node.
11. 一种使用权利要求 1至 9中任一项所述的系统进行虚拟机分配的方法, 包括: A method for virtual machine allocation using the system of any one of claims 1 to 9, comprising:
所述中心管理月艮务器接收客户端发送的申请虚拟机的请求, 为所述 客户端分配具有空闲资源的主节点, 并将所述分配的主节点的地址发送 给所述客户端;  Receiving, by the central management server, a request for requesting a virtual machine sent by the client, allocating a primary node with the idle resource to the client, and sending the address of the allocated primary node to the client;
所述分配的主节点接收所述客户端发送的分配虚拟机的请求, 为所 述客户端分配具有空闲资源的从节点;  And the allocated primary node receives a request for allocating a virtual machine sent by the client, and allocates a slave node with an idle resource to the client;
所述具有空闲资源的从节点为所述客户端分配虚拟机。 The slave node with the idle resource allocates a virtual machine to the client.
12. 一种使用权利要求 1至 9中任一项所述的系统进行虚拟机查询的方法, 包括: 12. A method for virtual machine query using the system of any one of claims 1 to 9, comprising:
所述中心管理服务器接收客户端发送的查询虚拟机所在的主节点的 请求, 向所述客户端发送所述虚拟机所在的主节点的地址;  Receiving, by the central management server, a request sent by the client to query the primary node where the virtual machine is located, and sending, to the client, an address of the primary node where the virtual machine is located;
所述虚拟机所在的主节点接收所述客户端发送的虚拟机状态请求, 从所述虚拟机所在的从节点获取所述虚拟机的状态, 并将所述虚拟机的 状态发送给所述客户端。  The master node where the virtual machine is located receives the virtual machine state request sent by the client, acquires the state of the virtual machine from the slave node where the virtual machine is located, and sends the state of the virtual machine to the client. end.
13. —种权利要求 1至 9中任一项所述的系统的使用方法, 包括: 13. A method of using the system of any one of claims 1 to 9, comprising:
所述中心管理月艮务器检测到物理主机启动;  The central management server detects that the physical host is started;
所述中心管理艮务器设置启动的所述物理主机为所述主节点或所述 从节点。  The physical host initiated by the central management server is the primary node or the secondary node.
14. 根据权利要求 13所述的方法, 其中, 14. The method according to claim 13, wherein
如果启动的所述物理主机为所述主节点, 则所述中心管理服务器将 管理软件下发给启动的所述物理主机, 如果启动的所述物理主机为所述 从节点, 则所述中心管理服务器将代理软件下发给所述从节点。  If the physical host that is started is the primary node, the central management server delivers the management software to the activated physical host, and if the activated physical host is the secondary node, the central management The server delivers the agent software to the slave node.
15. 根据权利要求 13所述的方法, 其中, 所述中心管理服务器设置启动的所 述物理主机为所述主节点或所述从节点包括: The method according to claim 13, wherein the central management server sets the activated physical host to be the primary node or the secondary node, including:
所述中心管理服务器在所述系统的管理能力不足时, 将启动的所述 物理主机设置为所述主节点, 否则, 将启动的所述物理主机设置为所述 从节点。  The central management server sets the activated physical host as the primary node when the management capability of the system is insufficient, and otherwise sets the activated physical host as the secondary node.
PCT/CN2011/075552 2010-11-22 2011-06-09 Virtual machine management system and using method thereof WO2012068867A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010554258.8 2010-11-22
CN201010554258.8A CN102479099B (en) 2010-11-22 2010-11-22 Virtual machine management system and use method thereof

Publications (1)

Publication Number Publication Date
WO2012068867A1 true WO2012068867A1 (en) 2012-05-31

Family

ID=46091752

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/075552 WO2012068867A1 (en) 2010-11-22 2011-06-09 Virtual machine management system and using method thereof

Country Status (2)

Country Link
CN (1) CN102479099B (en)
WO (1) WO2012068867A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104009904A (en) * 2014-05-23 2014-08-27 清华大学 Method and system for establishing virtual network for big data processing of cloud platform
FR3120172A1 (en) * 2021-02-25 2022-08-26 Orange Method for controlling a cluster of slave nodes by a cluster of master nodes, corresponding devices and computer programs
CN114969149A (en) * 2022-05-06 2022-08-30 北京偶数科技有限公司 Data resource processing method and device and storage medium

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710554B (en) * 2012-06-25 2015-09-02 深圳中兴网信科技有限公司 The service state detection method of distributed information system and distributed information system
CN102868724A (en) * 2012-08-22 2013-01-09 上海金图信息科技有限公司 Control system for managing zero clients and desktop virtual machines
CN102868723A (en) * 2012-08-22 2013-01-09 上海金图信息科技有限公司 Control console and management method of management zero terminal machine and desktop virtual machine
CN103853592A (en) * 2012-11-30 2014-06-11 英业达科技有限公司 Management system and management method of virtual machine
CN103118124B (en) * 2013-02-22 2015-08-05 桂林电子科技大学 A kind of cloud computing load balancing method based on the many agencies of layering
CN103236949B (en) * 2013-04-27 2016-12-28 北京搜狐新媒体信息技术有限公司 Monitoring method, device and the system of a kind of server cluster
KR101977441B1 (en) 2013-05-08 2019-05-10 콘비다 와이어리스, 엘엘씨 Method and apparatus for the virtualization of resources using a virtualization broker and context information
CN103457775B (en) * 2013-09-05 2016-09-14 中国科学院软件研究所 A kind of high available virtual machine pond management system of based role
CN103501242B (en) * 2013-09-18 2017-06-20 华为技术有限公司 Method for managing resource and multiple-node cluster device
CN104580328A (en) * 2013-10-28 2015-04-29 华为技术有限公司 Virtual machine migration method, device and system
CN104951351B (en) * 2014-03-28 2018-12-18 株式会社日立制作所 Scheduling virtual machine device, dispatching requirement manager and method and scheduling virtual machine system
CN105591780B (en) * 2014-10-24 2019-01-29 新华三技术有限公司 Cluster monitoring method and equipment
CN104484219B (en) * 2014-11-24 2017-11-03 北京奇安信科技有限公司 The method and apparatus of distributing policy in virtual platform
CN104468390B (en) * 2014-11-28 2018-03-23 北京邮电大学 The method of multi-controller load balancing based on distribution centralized architecture model in software defined network
CN106155762A (en) * 2015-04-14 2016-11-23 中兴通讯股份有限公司 A kind of method, device and virtual management center managing virtual machine state
CN106919435A (en) * 2015-12-25 2017-07-04 华为技术有限公司 The creation method of virtual machine, the management method of resource and device
CN105700935A (en) * 2016-01-12 2016-06-22 浪潮(北京)电子信息产业有限公司 Domain control method and system of Xen virtual domain
CN106775953A (en) * 2016-12-30 2017-05-31 北京中电普华信息技术有限公司 Realize the method and system of OpenStack High Availabitities
CN107707413A (en) * 2017-11-10 2018-02-16 郑州云海信息技术有限公司 A kind of cluster disaster recovery method and device
CN108156243B (en) * 2017-12-26 2021-05-07 北京百度网讯科技有限公司 Method and device for virtual node migration in distributed cache system
CN110308984B (en) * 2019-04-30 2022-01-07 北京航空航天大学 Cross-cluster computing system for processing geographically distributed data
CN110334531B (en) * 2019-07-01 2023-07-11 深信服科技股份有限公司 Virtual machine key management method, master node, system, storage medium and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136932A (en) * 2006-10-20 2008-03-05 中兴通讯股份有限公司 Cluster type stream media networking system and its content issue and service method
US20090282151A1 (en) * 2002-11-27 2009-11-12 International Business Machines Corporation Semi-hierarchical system and method for administration of clusters of computer resources
CN101702721A (en) * 2009-10-26 2010-05-05 北京航空航天大学 Reconfigurable method of multi-cluster system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010034608A1 (en) * 2008-09-24 2010-04-01 Telefonaktiebolaget Lm Ericsson (Publ) System and method for configuration of processing clusters
CN101510189A (en) * 2009-03-09 2009-08-19 王治强 Expandable virtual reality platform based on cluster

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090282151A1 (en) * 2002-11-27 2009-11-12 International Business Machines Corporation Semi-hierarchical system and method for administration of clusters of computer resources
CN101136932A (en) * 2006-10-20 2008-03-05 中兴通讯股份有限公司 Cluster type stream media networking system and its content issue and service method
CN101702721A (en) * 2009-10-26 2010-05-05 北京航空航天大学 Reconfigurable method of multi-cluster system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104009904A (en) * 2014-05-23 2014-08-27 清华大学 Method and system for establishing virtual network for big data processing of cloud platform
CN104009904B (en) * 2014-05-23 2017-09-22 清华大学 The virtual network construction method and system of facing cloud platform big data processing
FR3120172A1 (en) * 2021-02-25 2022-08-26 Orange Method for controlling a cluster of slave nodes by a cluster of master nodes, corresponding devices and computer programs
WO2022180323A1 (en) * 2021-02-25 2022-09-01 Orange Method for controlling a slave cluster of nodes by way of a master cluster of nodes, corresponding devices and computer programs
CN114969149A (en) * 2022-05-06 2022-08-30 北京偶数科技有限公司 Data resource processing method and device and storage medium
CN114969149B (en) * 2022-05-06 2024-04-30 北京偶数科技有限公司 Data resource processing method, device and storage medium

Also Published As

Publication number Publication date
CN102479099B (en) 2015-06-10
CN102479099A (en) 2012-05-30

Similar Documents

Publication Publication Date Title
WO2012068867A1 (en) Virtual machine management system and using method thereof
CN109196474B (en) Distributed operation control in a computing system
US11226847B2 (en) Implementing an application manifest in a node-specific manner using an intent-based orchestrator
US10855537B2 (en) Methods and apparatus for template driven infrastructure in virtualized server systems
US9999030B2 (en) Resource provisioning method
CN112532668B (en) Network edge computing method, device and medium
US9015177B2 (en) Dynamically splitting multi-tenant databases
US11928506B2 (en) Managing composition service entities with complex networks
WO2015176636A1 (en) Distributed database service management system
US11669360B2 (en) Seamless virtual standard switch to virtual distributed switch migration for hyper-converged infrastructure
US20130185404A1 (en) Efficient port management for a distributed network address translation
US10862860B2 (en) Rebalancing internet protocol (IP) addresses using distributed IP management
WO2012163245A1 (en) Transaction-based service control system and control method therefor
WO2019160030A1 (en) Service provision system, resource allocation method, and resource allocation program
US11025587B2 (en) Distributed network internet protocol (IP) address management in a coordinated system
CN109992373B (en) Resource scheduling method, information management method and device and task deployment system
JP2005100387A (en) Computer system and program for cluster system
CN113382077A (en) Micro-service scheduling method and device, computer equipment and storage medium
CN114615268B (en) Service network, monitoring node, container node and equipment based on Kubernetes cluster
EP3647947B1 (en) Enhanced data storage of virtual nodes in a data processing environment
JP2010287172A (en) Computer node, computer system, process generation method and process generation program
US11934875B2 (en) Method and system for maintaining composed systems
US20220179699A1 (en) Method and system for composed information handling system reallocations based on priority
WO2012118849A1 (en) Migration of virtual machine pool
Chuanga YARN-based Resource Management for Provisioning Scalable Container Cluster

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: 11843949

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: 11843949

Country of ref document: EP

Kind code of ref document: A1