CN109213565B - Management method of heterogeneous virtual computing resources, related equipment and storage medium - Google Patents

Management method of heterogeneous virtual computing resources, related equipment and storage medium Download PDF

Info

Publication number
CN109213565B
CN109213565B CN201710513659.0A CN201710513659A CN109213565B CN 109213565 B CN109213565 B CN 109213565B CN 201710513659 A CN201710513659 A CN 201710513659A CN 109213565 B CN109213565 B CN 109213565B
Authority
CN
China
Prior art keywords
virtual
hosts
host set
node information
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710513659.0A
Other languages
Chinese (zh)
Other versions
CN109213565A (en
Inventor
尹德升
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN201710513659.0A priority Critical patent/CN109213565B/en
Priority to PCT/CN2018/091144 priority patent/WO2019001280A1/en
Publication of CN109213565A publication Critical patent/CN109213565A/en
Application granted granted Critical
Publication of CN109213565B publication Critical patent/CN109213565B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • 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/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
    • 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/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5011Pool

Abstract

The invention provides a management method of heterogeneous virtual computing resources, related equipment and a storage medium, wherein the method comprises the following steps: creating a virtual host set comprising a plurality of virtual hosts with the same attribute, and setting attribute information of the virtual host set; and adding cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adding node information of the plurality of virtual hosts in the metadata table. Because the cluster node information corresponding to the virtual host set and the node information of a plurality of virtual hosts in the virtual host set are added in the metadata table of the created virtual host set, the virtual computing resources of the host level below the cluster level can be seen, and the management complexity of OpenStack on heterogeneous virtual computing resource pools is reduced.

Description

Management method of heterogeneous virtual computing resources, related equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for managing heterogeneous virtual computing resources, a related device, and a storage medium.
Background
The open protocol stack (OpenStack) is taken as an open source cloud computing management platform project aiming at providing software for the construction and management of public and private clouds, is rapidly developed and favored by more and more users, has the advantages of intelligent scheduling and global scheduling in the aspect of resource management, and can be used for managing a plurality of heterogeneous virtual computing resource pools. When the OpenStack is used for managing the heterogeneous virtual computing resource pool, the corresponding virtualization system is in butt joint with the OpenStack. At present, when a virtualization system is in butt joint with an OpenStack, the butt joint is usually performed by taking a cluster (cluster) as a unit, that is, the smallest virtual computing resource which can be seen in the OpenStack can only reach the cluster level, for example, when the virtualization system VMware and the OpenStack are in butt joint by integrating the OpenStack (VMware Integrated OpenStack, VIO) through a suite VMware, the VMware is in butt joint with the OpenStack by taking the cluster as a unit, so that the smallest VMware computing resource which can be seen in the OpenStack can only reach the cluster level, thereby leading to higher complexity when the OpenStack manages heterogeneous virtual computing resource pools.
Disclosure of Invention
The embodiment of the invention aims to provide a management method, related equipment and storage medium of heterogeneous virtual computing resources, which solve the problem of higher complexity when OpenStack manages heterogeneous virtual computing resource pools.
In order to achieve the above object, an embodiment of the present invention provides a method for managing heterogeneous virtual computing resources, including:
creating a virtual host set comprising a plurality of virtual hosts with the same attribute, and setting attribute information of the virtual host set;
and adding cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adding node information of the plurality of virtual hosts in the metadata table.
The embodiment of the invention also provides a management device of heterogeneous virtual computing resources, which comprises:
the first creation module is used for creating a virtual host set comprising a plurality of virtual hosts with the same attribute and setting attribute information of the virtual host set;
the first information adding module is used for adding cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adding node information of the plurality of virtual hosts in the metadata table.
The embodiment of the invention also provides communication equipment, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor; a method of managing heterogeneous virtual computing resources according to any one of claims 1-5, wherein the processor when executing the program.
An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the steps of the method for managing heterogeneous virtual computing resources according to any one of claims 1 to 5.
One of the above technical solutions has the following advantages or beneficial effects:
in the embodiment of the invention, a virtual host set comprising a plurality of virtual hosts with the same attribute is created, and the attribute information of the virtual host set is set; and adding cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adding node information of the plurality of virtual hosts in the metadata table. Because the cluster node information corresponding to the virtual host set and the node information of a plurality of virtual hosts in the virtual host set are added in the metadata table of the created virtual host set, the virtual computing resources of the host level below the cluster level can be seen, and the management complexity of OpenStack on heterogeneous virtual computing resource pools is reduced.
Drawings
FIG. 1 is a block diagram of a management system for heterogeneous virtual computing resources to which embodiments of the present invention are applicable;
FIG. 2 is a flowchart of a method for managing heterogeneous virtual computing resources according to an embodiment of the present invention;
FIG. 3 is an exemplary diagram of a method for managing heterogeneous virtual computing resources according to the embodiment of FIG. 2;
FIG. 4 is a flowchart of another method for managing heterogeneous virtual computing resources according to an embodiment of the present invention;
FIG. 5 is one example of a method for managing heterogeneous virtual computing resources provided by the embodiment of FIG. 4;
FIG. 6 is a second exemplary diagram of a method for managing heterogeneous virtual computing resources according to the embodiment of FIG. 4;
FIG. 7 is a block diagram of a management apparatus for heterogeneous virtual computing resources according to an embodiment of the present invention;
FIG. 8 is a second block diagram of a management apparatus for heterogeneous virtual computing resources according to an embodiment of the present invention;
FIG. 9 is a third block diagram of a management apparatus for heterogeneous virtual computing resources according to an embodiment of the present invention;
fig. 10 is a block diagram of a communication device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantages to be solved more apparent, the following detailed description will be given with reference to the accompanying drawings and specific embodiments.
As shown in FIG. 1, a block diagram of a heterogeneous virtual computing resource management system, including an OpenStack11 and a virtualization system 12, is provided in accordance with an embodiment of the present invention. The virtualization system 12 may be a virtualization system that VMware, hyper-v, etc. may dock to OpenStack in units of clusters. The present invention is not limited to this.
As shown in fig. 2, an embodiment of the present invention provides a method for managing heterogeneous virtual computing resources, including the following steps:
step S201, creating a virtual host set comprising a plurality of virtual hosts with the same attribute, and setting attribute information of the virtual host set;
the virtual host may be an ESXi host under a cluster of the VMware data center. The plurality of virtual hosts may be located within the same cluster. The same attribute may be a common attribute, or may be several common attributes. The attribute information may be attribute key value pairs. The above setting of the attribute information of the virtual host set may be setting an attribute key pair of the virtual host set (HA), such as setting an attribute key pair of the virtual host set to "use graphics processor=true (use Graphics Processing Unit =true, usegpu=true)" or setting an attribute key pair of the virtual host set to "unused graphics processor=false (use Graphics Processing Unit =false, usegpu=false).
Step S202, adding cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adding node information of the plurality of virtual hosts in the metadata table.
The metadata table may be an aggregate-metadata (aggregate-metadata) table used by the virtual host set to define additional attributes. The cluster may be a cluster of VMware data centers. The cluster node information may be a name of a cluster, a number of a cluster, or other cluster node information that can be used to find a corresponding cluster. The node information of the virtual host may be the name of the virtual host, the IP of the virtual host, or other virtual host node information that can be used to find the corresponding virtual host, such as the number of the virtual host. It should be noted that the same cluster may correspond to one set of virtual hosts, or may correspond to multiple sets of virtual hosts, which is not limited in this embodiment of the present invention.
In this way, the cluster node information corresponding to the virtual host set and the node information of the plurality of virtual hosts in the virtual host set are added into the metadata table of the virtual host set, so that host-level virtual computing resources below the cluster level can be seen in the OpenStack, the OpenStack is convenient to manage the host-level virtual computing resources, and the management complexity of the OpenStack on heterogeneous virtual computing resource pools is reduced. Meanwhile, as the cluster node information and the node information of the virtual host are added into the metadata table, the addition of the two information can not change the original database structure of OpenStack, and thus the OpenStack can be well compatible with the original function of OpenStack.
Optionally, before adding the cluster node information corresponding to the virtual host set in the metadata table of the virtual host set and adding the node information of the multiple virtual hosts in the metadata table, the method further includes:
and adding node information of the computing nodes corresponding to the virtual host set in a host data table of the virtual host set.
The host data table may be an aggregate-host table. The computing nodes may be computing server (nova-computer) nodes in OpenStack, where OpenStack may be linked to a central server of the virtualization system through the computing server nodes when interfacing with the virtualization system, and each computing server node may be responsible for managing one cluster or multiple clusters of the virtualization system, e.g., a computing server node of OpenStack may manage one cluster of VMware or multiple clusters of VMware, but the multiple clusters should be under the jurisdiction of the same VMware central server (VMware vCenter Server, vCenter). The node information of the computing node may be a name or a number of the computing server node.
Taking a virtualized system as vmware as an example, the method comprises the following steps:
respectively creating 6 ESXi host sets comprising n (n is an integer greater than or equal to 1) ESXi hosts with the same attribute, setting attribute information of the ESXi host sets, and simultaneously respectively naming the 6 ESXi host sets as a host set 1-1, a host set 1-2, a host set 1-3, a host set 2-1, a host set 2-2 and a host set 2-3;
adding node information "computing server 1" of computing nodes corresponding to the host set 1-1, the host set 1-2 and the host set 1-3 into the aggregation-host tables of the host set 1-1, the host set 1-2 and the host set 1-3 respectively, and simultaneously adding node information "computing server 2" of computing nodes corresponding to the host set 2-1, the host set 2-2 and the host set 2-3 into the aggregation-host tables of the host set 2-1, the host set 2-2 and the host set 2-3 respectively (the corresponding relation between the host set and the computing nodes is shown in fig. 3);
adding corresponding cluster node information of 'cluster 1-1' in an aggregation-metadata table of the host set 1-1, adding corresponding cluster node information of 'cluster 1-2' in an aggregation-metadata table of the host set 1-2, adding corresponding cluster node information of 'cluster 1-3' in an aggregation-metadata table of the host set 1-3, adding corresponding cluster node information of 'cluster 2-1' in an aggregation-metadata table of the host set 2-1, adding corresponding cluster node information of 'cluster 2-2' in an aggregation-metadata table of the host set 2-2, and adding corresponding cluster node information of 'cluster 2-3' in an aggregation-metadata table of the host set 2-3 (the corresponding relationship between the host set and the clusters is shown in fig. 3);
host node information of n ESXi hosts (corresponding relation between the host set and the ESXi hosts is shown in fig. 3) corresponding to each of the host sets 1-1, 1-2, 1-3, 2-1, 2-2 and 2-3 is added to the aggregation-metadata tables of the host sets 1-1, 1-2 and 2-3.
In the embodiment of the invention, a virtual host set comprising a plurality of virtual hosts with the same attribute is created, and the attribute information of the virtual host set is set; and adding cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adding node information of the plurality of virtual hosts in the metadata table. Because the cluster node information corresponding to the virtual host set and the node information of a plurality of virtual hosts in the virtual host set are added in the metadata table of the created virtual host set, the virtual computing resources of the host level below the cluster level can be seen, and the management complexity of OpenStack on heterogeneous virtual computing resource pools is reduced.
As shown in fig. 4, the embodiment of the present invention further provides a method for managing heterogeneous virtual computing resources, including the following steps:
step S401, creating a virtual host set comprising a plurality of virtual hosts with the same attribute, and setting attribute information of the virtual host set;
step S402, adding cluster node information corresponding to the set of virtual hosts in a metadata table of the set of virtual hosts, and adding node information of the plurality of virtual hosts in the metadata table.
The step S401 and the step S402 are the same as the step S201 and the step S202 in the embodiment shown in fig. 2, so the understanding of the step S401 and the step S402 may refer to the description of the step S201 and the step S202 in the embodiment shown in fig. 2, which is not repeated herein.
Step S403, setting a virtual machine type and adding a virtual machine attribute requirement;
the setting of the virtual machine type may refer to setting various parameters required for creating the virtual machine, such as the number of processor cores, the size of the hard disk, etc., or may be directly selected from a plurality of preset virtual machine type templates, which is not limited to the present invention. The virtual machine attribute requirement may be an attribute required by a virtual host for deploying a virtual machine, and specifically may be attribute information described in the foregoing step S401.
Step S404, matching the virtual machine attribute requirement with the attribute information of the virtual host set, and finding out a target virtual host set corresponding to the attribute information of the virtual host set matched with the virtual machine attribute requirement;
the matching the attribute requirement of the virtual machine with the attribute information of the set of virtual hosts may be comparing the attribute requirement of the virtual machine with the attribute information of the set of virtual hosts, if they are consistent, then determining that they are matched.
And step S405, creating a virtual machine according to the virtual machine type, and deploying the virtual machine to a plurality of virtual hosts in the target virtual host set.
Optionally, before adding the cluster node information corresponding to the virtual host set in the metadata table of the virtual host set and adding the node information of the multiple virtual hosts in the metadata table, the method further includes:
and adding node information of the computing nodes corresponding to the virtual host set in a host data table of the virtual host set.
The description of the host data table, the computing node, and the node information of the computing node may refer to the related description in the embodiment shown in fig. 2, which is not repeated herein.
Optionally, the deploying the virtual machine to a plurality of virtual hosts in the target set of virtual hosts includes:
and finding out a plurality of virtual hosts in the target virtual host set according to the cluster node information of the target virtual host set and the node information of the plurality of virtual hosts, and deploying the virtual machines to the plurality of virtual hosts in the target virtual host set.
The method for finding the multiple virtual hosts in the target virtual host set according to the cluster node information of the target virtual host set and the node information of the virtual hosts may be that a cluster corresponding to the target virtual host set is found according to the cluster node information of the target virtual host set, and then a corresponding multiple virtual hosts are found in the corresponding clusters according to the node information of the multiple virtual hosts.
Optionally, the deploying the virtual machine to a plurality of virtual hosts in the target set of virtual hosts includes:
and finding out a plurality of virtual hosts in the target virtual host set according to the node information of the computing nodes of the target virtual host set, the cluster node information and the node information of the plurality of virtual hosts, and deploying the virtual machines to the plurality of virtual hosts in the target virtual host set.
The method comprises the steps of finding out a plurality of virtual hosts in a target virtual host set according to node information of a computing node of the target virtual host set, cluster node information and node information of the plurality of virtual hosts, wherein the step of finding out the plurality of virtual hosts in the target virtual host set can be that firstly, the computing node corresponding to the target virtual host set is found out according to the node information of the computing node of the target virtual host set, then, the cluster corresponding to the target virtual host set is found out in the plurality of clusters taken over by the corresponding computing node according to the cluster node information of the target virtual host set, and finally, the corresponding plurality of virtual hosts are found out in the corresponding clusters according to the node information of the plurality of virtual hosts.
Taking the virtualized system as vmware, and assuming that one cluster a in the vmware includes 8 ESXi hosts, none of the four ESXi hosts with host name A, B, C, D uses a graphics processor (Graphics Processing Unit, GPU), and none of the four ESXi hosts with host name E, F, G, H uses a GPU for example, the steps include:
as shown in fig. 5, two ESXi host sets with names of host set a-1 and host set a-2 are created, and the attribute key pair of host set a-1 is set to usegpu=false, and the attribute key pair of host set a-2 is set to usegpu=true;
adding node information of a computing node 'computing server 3' corresponding to the host set A-1 into an aggregation-host table of the host set A-1, and adding node information of a computing node 'computing server 3' corresponding to the host set A-2 into an aggregation-host table of the host set A-2;
adding cluster node information 'cluster A' corresponding to the host set A-1 into an aggregation-metadata table of the host set A-1, and adding cluster node information 'cluster A' corresponding to the host set A-2 into an aggregation-metadata table of the host set A-2;
host names A, B, C, D of the corresponding 4 ESXi hosts are added in the aggregation-metadata table of the host set A-1, and host names E, F, G, H of the corresponding 4 ESXi hosts are added in the aggregation-metadata table of the host set A-2;
setting various parameters required for creating the virtual machine, including the number of processor cores, the size of a hard disk and the like, and adding a virtual machine attribute requirement useGPU=true in a virtual machine type template (flag) of OpenStack;
comparing the attribute key value pair of the virtual machine attribute requirement useGPU=true with the attribute key value pairs of the host set A-1 and the host set A-2, and finding a target ESxi host set-host set A-2 according to the attribute key value pair of the host set A-2 consistent with the attribute requirement of the virtual machine;
the virtual machine is created according to the parameters required for creating the virtual machine, the computing server 3 is found according to the node information "computing server 3" of the computing node of the host set a-2, the virtual machine is linked to the central server of the vmware through the vmware-driver above the computing server 3, then linked to the cluster a according to the cluster node information "cluster a" of the host set a-2, and then linked to the 4 ESXi hosts E, F, G, H in the cluster a according to the host names E, F, G, H of the 4 ESXi hosts of the host set a-2 (the linking relation is see fig. 6), and the virtual machine is deployed on the ESXi hosts E, F, G, H.
In the embodiment of the invention, a virtual host set comprising a plurality of virtual hosts with the same attribute is created, and the attribute information of the virtual host set is set; adding cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adding node information of the plurality of virtual hosts in the metadata table; creating a virtual machine type and adding attribute requirements of the virtual machine; matching the virtual machine attribute requirements with the attribute information of the virtual host set, and taking the virtual host set corresponding to the attribute information of the virtual host set matched with the virtual machine attribute requirements as a target virtual host set; creating a virtual machine according to the virtual machine type, and deploying the virtual machine to a plurality of virtual hosts in the target virtual host set. Because the cluster node information corresponding to the virtual host set and the node information of a plurality of virtual hosts are added in the metadata table of the virtual host set, virtual computing resources at the host level below the cluster level can be seen on the premise of not influencing the design of the OpenStack existing database and other architecture changes, and further virtual machines requiring special resources are deployed on hosts with special resources, so that the OpenStack can schedule heterogeneous virtual computing resources more flexibly, and management complexity is reduced.
As shown in fig. 7, an embodiment of the present invention provides a management apparatus 700 for heterogeneous virtual computing resources, which can implement details of the management method for heterogeneous virtual computing resources in the foregoing embodiments, and achieve the same technical effects. The heterogeneous virtual computing resource management apparatus 700 includes:
a creating module 701, configured to create a virtual host set including a plurality of virtual hosts with the same attribute, and set attribute information of the virtual host set;
the first information adding module 702 is configured to add cluster node information corresponding to the set of virtual hosts in a metadata table of the set of virtual hosts, and add node information of the plurality of virtual hosts in the metadata table.
Optionally, as shown in fig. 8, the apparatus 700 further includes:
the second information adding module 703 is configured to add node information of a computing node corresponding to the virtual host set to a host data table of the virtual host set.
Optionally, as shown in fig. 9, the apparatus 700 further includes:
a setting module 704, configured to set a virtual machine type and add a virtual machine attribute requirement;
the matching module 705 is configured to match the virtual machine attribute requirement with attribute information of the virtual host set, and find a target virtual host set corresponding to the attribute information of the virtual host set matched with the virtual machine attribute requirement;
a deployment module 706, configured to create a virtual machine according to the virtual machine type, and deploy the virtual machine to a plurality of virtual hosts in the target set of virtual hosts.
Optionally, the deployment module 706 is configured to create a virtual machine according to the virtual machine type, find a plurality of virtual hosts in the target virtual host set according to cluster node information of the target virtual host set and node information of the plurality of virtual hosts, and deploy the virtual machine to the plurality of virtual hosts in the target virtual host set.
Optionally, the deployment module 706 is configured to create a virtual machine according to the virtual machine type, find a plurality of virtual hosts in the target virtual host set according to node information of a computing node of the target virtual host set, cluster node information, and node information of a plurality of virtual hosts, and deploy the virtual machine to the plurality of virtual hosts in the target virtual host set.
In the management device for heterogeneous virtual computing resources provided by the embodiment of the invention, a creation module creates a virtual host set comprising a plurality of virtual hosts with the same attribute, and sets attribute information of the virtual host set; the first information adding module adds cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adds node information of the plurality of virtual hosts in the metadata table. Because the cluster node information corresponding to the virtual host set and the node information of a plurality of virtual hosts in the virtual host set are added in the metadata table of the created virtual host set, the virtual computing resources of the host level below the cluster level can be seen, and the management complexity of OpenStack on heterogeneous virtual computing resource pools is reduced.
Referring to fig. 10, fig. 10 is a block diagram of a communication device to which an embodiment of the present invention is applied. It should be noted that the communication device may be a network device such as a server, a computer, a mobile phone, a tablet, etc., which is not limited to the present invention. As shown in fig. 10, the communication device 1000 includes: processor 1001, transceiver 1002, memory 1003, user interface 1004, and bus interface, wherein:
a processor 1001 for reading a program in the memory 1003, performs the following process:
creating a virtual host set comprising a plurality of virtual hosts with the same attribute, and setting attribute information of the virtual host set;
and adding cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adding node information of the plurality of virtual hosts in the metadata table.
Wherein the transceiver 1002 is configured to receive and transmit data under the control of the processor 1001.
In fig. 10, a bus architecture may be comprised of any number of interconnected buses and bridges, and in particular, one or more processors represented by the processor 1001 and various circuits of the memory represented by the memory 1003. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., which are well known in the art and, therefore, will not be described further herein. The bus interface provides an interface. The transceiver 1002 may be a number of elements, i.e. comprising a transmitter and a receiver, providing a means for communicating with various other apparatus over a transmission medium. The user interface 1004 may also be an interface capable of interfacing with an inscribed desired device for a different user device, including but not limited to a keypad, display, speaker, microphone, joystick, etc.
The processor 1001 is responsible for managing the bus architecture and general processing, and the memory 1003 may store data used by the processor 1001 in performing operations.
Optionally, the processor 1001 is further configured to:
and adding node information of the computing nodes corresponding to the virtual host set in a host data table of the virtual host set.
Optionally, the processor 1001 is further configured to:
setting a virtual machine type and adding attribute requirements of the virtual machine;
matching the virtual machine attribute requirements with the attribute information of the virtual host set, and finding out a target virtual host set corresponding to the attribute information of the virtual host set matched with the virtual machine attribute requirements;
and creating a virtual machine according to the virtual machine type, and deploying the virtual machine to a plurality of virtual hosts in the target virtual host set.
Optionally, the deploying, by the processor 1001, the virtual machine to a plurality of virtual hosts in the target set of virtual hosts includes:
and finding out a plurality of virtual hosts in the target virtual host set according to the cluster node information of the target virtual host set and the node information of the plurality of virtual hosts, and deploying the virtual machines to the plurality of virtual hosts in the target virtual host set.
Optionally, the deploying, by the processor 1001, the virtual machine to a plurality of virtual hosts in the target set of virtual hosts includes:
and finding out a plurality of virtual hosts in the target virtual host set according to the node information of the computing nodes of the target virtual host set, the cluster node information and the node information of the plurality of virtual hosts, and deploying the virtual machines to the plurality of virtual hosts in the target virtual host set.
The communication equipment provided by the embodiment of the invention creates a virtual host set comprising a plurality of virtual hosts with the same attribute, and sets attribute information of the virtual host set; and adding cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adding node information of the plurality of virtual hosts in the metadata table. Because the cluster node information corresponding to the virtual host set and the node information of a plurality of virtual hosts in the virtual host set are added in the metadata table of the created virtual host set, the virtual computing resources of the host level below the cluster level can be seen, and the management complexity of OpenStack on heterogeneous virtual computing resource pools is reduced.
Those of ordinary skill in the art will appreciate that all or some of the steps of implementing the methods of the above embodiments may be implemented by hardware associated with program instructions, where the program may be stored on a computer readable storage medium, where the program when executed comprises the steps of:
creating a virtual host set comprising a plurality of virtual hosts with the same attribute, and setting attribute information of the virtual host set;
and adding cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adding node information of the plurality of virtual hosts in the metadata table.
Optionally, before adding the cluster node information corresponding to the virtual host set in the metadata table of the virtual host set and adding the node information of the multiple virtual hosts in the metadata table, the method further includes:
and adding node information of the computing nodes corresponding to the virtual host set in a host data table of the virtual host set.
Optionally, after adding the cluster node information corresponding to the virtual host set in the metadata table of the virtual host set and adding the node information of the multiple virtual hosts in the metadata table, the method further includes:
setting a virtual machine type and adding attribute requirements of the virtual machine;
matching the virtual machine attribute requirements with the attribute information of the virtual host set, and finding out a target virtual host set corresponding to the attribute information of the virtual host set matched with the virtual machine attribute requirements;
and creating a virtual machine according to the virtual machine type, and deploying the virtual machine to a plurality of virtual hosts in the target virtual host set.
Optionally, the deploying the virtual machine to a plurality of virtual hosts in the target set of virtual hosts includes:
and finding out a plurality of virtual hosts in the target virtual host set according to the cluster node information of the target virtual host set and the node information of the plurality of virtual hosts, and deploying the virtual machines to the plurality of virtual hosts in the target virtual host set.
Optionally, the deploying the virtual machine to a plurality of virtual hosts in the target set of virtual hosts includes:
and finding out a plurality of virtual hosts in the target virtual host set according to the node information of the computing nodes of the target virtual host set, the cluster node information and the node information of the plurality of virtual hosts, and deploying the virtual machines to the plurality of virtual hosts in the target virtual host set.
Such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disk, etc.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that various modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (12)

1. A method for managing heterogeneous virtual computing resources, comprising:
creating a virtual host set comprising a plurality of virtual hosts with the same attribute, and setting attribute information of the virtual host set, wherein the attribute information is an attribute key value pair;
adding cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and adding node information of the plurality of virtual hosts in the metadata table, wherein the metadata table is an aggregation-metadata table for the virtual host set to define additional attributes.
2. The method of claim 1, wherein adding cluster node information corresponding to the set of virtual hosts in the metadata table of the set of virtual hosts, and before adding the node information of the plurality of virtual hosts in the metadata table, further comprises:
and adding node information of the computing nodes corresponding to the virtual host set in a host data table of the virtual host set.
3. The method according to claim 1 or 2, wherein adding cluster node information corresponding to the set of virtual hosts in the metadata table of the set of virtual hosts, and adding node information of the plurality of virtual hosts in the metadata table, further comprises:
setting a virtual machine type and adding attribute requirements of the virtual machine;
matching the virtual machine attribute requirements with the attribute information of the virtual host set, and finding out a target virtual host set corresponding to the attribute information of the virtual host set matched with the virtual machine attribute requirements;
and creating a virtual machine according to the virtual machine type, and deploying the virtual machine to a plurality of virtual hosts in the target virtual host set.
4. The method of claim 3, wherein the deploying the virtual machine onto a plurality of virtual hosts within the set of target virtual hosts comprises:
and finding out a plurality of virtual hosts in the target virtual host set according to the cluster node information of the target virtual host set and the node information of the plurality of virtual hosts, and deploying the virtual machines to the plurality of virtual hosts in the target virtual host set.
5. The method of claim 3, wherein the deploying the virtual machine onto a plurality of virtual hosts within the set of target virtual hosts comprises:
and finding out a plurality of virtual hosts in the target virtual host set according to the node information of the computing nodes of the target virtual host set, the cluster node information and the node information of the plurality of virtual hosts, and deploying the virtual machines to the plurality of virtual hosts in the target virtual host set.
6. A management apparatus for heterogeneous virtual computing resources, comprising:
the device comprises a creation module, a storage module and a storage module, wherein the creation module is used for creating a virtual host set comprising a plurality of virtual hosts with the same attribute, setting attribute information of the virtual host set, and the attribute information is an attribute key value pair;
the first information adding module is configured to add cluster node information corresponding to the virtual host set in a metadata table of the virtual host set, and add node information of the multiple virtual hosts in the metadata table, where the metadata table is an aggregation-metadata table used by the virtual host set to define additional attributes.
7. The apparatus as recited in claim 6, further comprising:
and the second information adding module is used for adding node information of the computing nodes corresponding to the virtual host set into the host data table of the virtual host set.
8. The apparatus according to claim 6 or 7, further comprising:
the setting module is used for setting the type of the virtual machine and adding attribute requirements of the virtual machine;
the matching module is used for matching the virtual machine attribute requirement with the attribute information of the virtual host set and finding out a target virtual host set corresponding to the attribute information of the virtual host set matched with the virtual machine attribute requirement;
the deployment module is used for creating a virtual machine according to the virtual machine type and deploying the virtual machine to a plurality of virtual hosts in the target virtual host set.
9. The apparatus of claim 8, wherein the deployment module is configured to create a virtual machine according to the virtual machine type, find a plurality of virtual hosts in the target set of virtual hosts according to cluster node information of the target set of virtual hosts and node information of the plurality of virtual hosts, and deploy the virtual machine to the plurality of virtual hosts in the target set of virtual hosts.
10. The apparatus of claim 8, wherein the deployment module is configured to create a virtual machine according to the virtual machine type, find a plurality of virtual hosts in the target set of virtual hosts according to node information of computing nodes of the target set of virtual hosts, cluster node information, and node information of the plurality of virtual hosts, and deploy the virtual machine to the plurality of virtual hosts in the target set of virtual hosts.
11. A communication device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of managing heterogeneous virtual computing resources of any of claims 1-5 when the program is executed by the processor.
12. A computer readable storage medium having stored thereon a computer program, which when executed by a processor, implements the steps of the method for managing heterogeneous virtual computing resources of any of claims 1-5.
CN201710513659.0A 2017-06-29 2017-06-29 Management method of heterogeneous virtual computing resources, related equipment and storage medium Active CN109213565B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710513659.0A CN109213565B (en) 2017-06-29 2017-06-29 Management method of heterogeneous virtual computing resources, related equipment and storage medium
PCT/CN2018/091144 WO2019001280A1 (en) 2017-06-29 2018-06-13 Heterogeneous virtual computing resource management method, related device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710513659.0A CN109213565B (en) 2017-06-29 2017-06-29 Management method of heterogeneous virtual computing resources, related equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109213565A CN109213565A (en) 2019-01-15
CN109213565B true CN109213565B (en) 2023-08-11

Family

ID=64742726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710513659.0A Active CN109213565B (en) 2017-06-29 2017-06-29 Management method of heterogeneous virtual computing resources, related equipment and storage medium

Country Status (2)

Country Link
CN (1) CN109213565B (en)
WO (1) WO2019001280A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108037977B (en) * 2017-12-08 2021-10-29 上海市信息网络有限公司 Virtual computer resource management method, device, computer medium, and system
CN111352701A (en) * 2020-03-05 2020-06-30 山东汇贸电子口岸有限公司 Method for arranging Redis cluster in Openstack environment
CN112579258A (en) * 2020-12-14 2021-03-30 科东(广州)软件科技有限公司 Virtual machine management method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521012A (en) * 2011-11-24 2012-06-27 华中科技大学 Virtual machine-based general processing unit (GPU) cluster management system
CN103036986A (en) * 2011-12-15 2013-04-10 微软公司 Update notification provided on distributed application object
CN104219318A (en) * 2014-09-15 2014-12-17 北京联创信安科技有限公司 Distributed file storage system and method thereof
CN104424013A (en) * 2013-08-26 2015-03-18 国际商业机器公司 Method and device for deploying virtual machine in computing environment
CN104506589A (en) * 2014-12-10 2015-04-08 上海爱数软件有限公司 Resource migration scheduling method based on super fusion storage
CN106354548A (en) * 2016-08-31 2017-01-25 天津南大通用数据技术股份有限公司 Virtual cluster creating and management method and device in distributed database system

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080192643A1 (en) * 2007-02-13 2008-08-14 International Business Machines Corporation Method for managing shared resources
CN102143215B (en) * 2011-01-20 2013-04-10 中国人民解放军理工大学 Network-based PB level cloud storage system and processing method thereof
CN103701890A (en) * 2013-12-20 2014-04-02 浪潮(北京)电子信息产业有限公司 Virtual cluster processing method and system based on cloud computing
US9823842B2 (en) * 2014-05-12 2017-11-21 The Research Foundation For The State University Of New York Gang migration of virtual machines using cluster-wide deduplication
CN105471607A (en) * 2014-09-04 2016-04-06 中国石油化工股份有限公司 Tree-shaped monitoring method for large-scale cluster nodes dynamic information
US9778870B2 (en) * 2015-04-28 2017-10-03 Vmware, Inc. Power management for a distributed storage system accessible by a cluster in a virtualized computing environment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521012A (en) * 2011-11-24 2012-06-27 华中科技大学 Virtual machine-based general processing unit (GPU) cluster management system
CN103036986A (en) * 2011-12-15 2013-04-10 微软公司 Update notification provided on distributed application object
CN104424013A (en) * 2013-08-26 2015-03-18 国际商业机器公司 Method and device for deploying virtual machine in computing environment
CN104219318A (en) * 2014-09-15 2014-12-17 北京联创信安科技有限公司 Distributed file storage system and method thereof
CN104506589A (en) * 2014-12-10 2015-04-08 上海爱数软件有限公司 Resource migration scheduling method based on super fusion storage
CN106354548A (en) * 2016-08-31 2017-01-25 天津南大通用数据技术股份有限公司 Virtual cluster creating and management method and device in distributed database system

Also Published As

Publication number Publication date
CN109213565A (en) 2019-01-15
WO2019001280A1 (en) 2019-01-03

Similar Documents

Publication Publication Date Title
US11704144B2 (en) Creating virtual machine groups based on request
US10523529B2 (en) Method and apparatus for deploying network service
CN108614726B (en) Virtual machine creation method and device
CN108737468B (en) Cloud platform service cluster, construction method and device
US9503310B1 (en) Methods and systems of dynamic management of resources in a virtualized environment
US10025615B2 (en) Dynamic guest virtual machine identifier allocation
CN102571698B (en) Access authority control method, system and device for virtual machine
US9813423B2 (en) Trust-based computing resource authorization in a networked computing environment
WO2017148249A1 (en) Resource configuration method and network device thereof
WO2015158108A1 (en) Virtual machine resource changing method, device and virtual network function device
CN106031116A (en) Method, apparatus and system for associating NS with VNF
KR102022441B1 (en) Hardware Acceleration Methods and Related Devices
CN109213565B (en) Management method of heterogeneous virtual computing resources, related equipment and storage medium
CN116848528A (en) Techniques for automatically configuring minimum cloud service access rights for container applications
CN111352706B (en) Data access method, device, equipment and storage medium
US20170171150A1 (en) Method and apparatus for processing public ip
CN113110883B (en) Starting method, device, equipment and storage medium of block chain system
CN115150268A (en) Network configuration method and device of Kubernetes cluster and electronic equipment
CN113254168B (en) Operation method, device, equipment and storage medium of block chain system
CN113037524B (en) Service instance deployment method and device and consistency service system
Cheng et al. Design and Realization Based on Cloud Stack Hybrid Cloud Computing Platform
WO2016090608A1 (en) Method and apparatus for determining virtual machine resource and program product
CN117336028A (en) Network isolation method and electronic equipment
CN118012572A (en) Techniques for automatically configuring minimum cloud service access rights for container applications
CN116932028A (en) Component processing method, device and equipment, storage medium and product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant