CN108062248B - Resource management method, system, equipment and storage medium of heterogeneous virtualization platform - Google Patents

Resource management method, system, equipment and storage medium of heterogeneous virtualization platform Download PDF

Info

Publication number
CN108062248B
CN108062248B CN201711295186.8A CN201711295186A CN108062248B CN 108062248 B CN108062248 B CN 108062248B CN 201711295186 A CN201711295186 A CN 201711295186A CN 108062248 B CN108062248 B CN 108062248B
Authority
CN
China
Prior art keywords
virtualization
resource pool
resource
controller
interface layer
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
CN201711295186.8A
Other languages
Chinese (zh)
Other versions
CN108062248A (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.)
Vsettan Information Industry Development Co ltd
Original Assignee
Vsettan Information Industry Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vsettan Information Industry Development Co ltd filed Critical Vsettan Information Industry Development Co ltd
Priority to CN201711295186.8A priority Critical patent/CN108062248B/en
Publication of CN108062248A publication Critical patent/CN108062248A/en
Application granted granted Critical
Publication of CN108062248B publication Critical patent/CN108062248B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • 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
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45587Isolation or security of virtual machine instances
    • 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 embodiment of the invention discloses a resource management method, a system, equipment and a storage medium for a heterogeneous virtualization platform. The method comprises the following steps: dividing a resource pool for multiple virtualization types; encapsulating a unified interface layer on the multiple virtualization types, wherein the unified interface layer provides an REST interface; registering the virtualization type corresponding to the user registration information as a controller to a uniform interface layer so as to establish a corresponding relation between the controller and a resource pool; and calling the controller corresponding to the resource calling request through the uniform interface layer so as to access the resource pool corresponding to the controller and realize resource calling. The heterogeneous virtualization platform is subdivided into the resource pools, and available resources in the pools are presented to the user, so that the user only needs to care which resources in the pools need to be used, the required usage amount and the available resource amount, but not stays in the aspects of technology, operation and maintenance, problem troubleshooting and the like; and a unified interface layer is established, multiple virtualization technologies are uniformly controlled by one platform, and the platform is removed, so that the complexity is reduced and the simplicity is realized.

Description

Resource management method, system, equipment and storage medium of heterogeneous virtualization platform
Technical Field
The embodiment of the invention relates to a cloud computing technology, in particular to a resource management method, a resource management system, resource management equipment and a storage medium for a heterogeneous virtualization platform.
Background
The general public enterprise IT (Internet Technology) architecture is very complex, and includes hardware products of various vendors and platforms, and uses various virtualization Technology types, such as VMware (Virtual Machine ware) based on X86 server, KVM (Kernel-based Virtual Machine) virtualization, PowerVM and PowerKVM virtualization based on Power architecture, metal bare Machine management, etc., and even some applications of the enterprise run on public cloud.
For multiple virtualization types, the management of the host is usually performed by using a corresponding virtual machine management platform inside the enterprise, for example, VMware of an X86 platform is managed by using Vcenter; the KVM virtualization based on X86 is managed by using openstack of an open source; virtualization of PowerVM and PowerKVM is managed by IBM's PowerVC (Power Virtualization center) system. The scheme of multiple sets of system management, which is respectively administrative, greatly increases the workload of operation and maintenance, and is not beneficial to the unified management of resources.
Due to the alternate and complex use of a plurality of sets of heterogeneous virtualization products, a lot of inconvenience is brought to users:
(1) maintenance personnel are required to maintain a plurality of systems, and complex planning is required to be performed on the whole architecture, such as network distribution, how to reasonably utilize storage and computing resources and the like, so that great difficulty is brought to the maintenance personnel;
(2) even after complex planning is carried out, a series of problems that a tenant network cannot be opened, resources are not sufficiently utilized and the like are encountered;
(3) the requirement on technical personnel is high, and knowledge in multiple aspects such as virtualized functions of each platform, use of each platform, operation and maintenance, problem troubleshooting and the like needs to be mastered.
Therefore, in the private cloud project scheme of the medium-large enterprise, multiple sets of virtualization management platforms are very critical to a uniform mixed solution of computing, storage and network resources.
Disclosure of Invention
The invention provides a resource management method, a system, equipment and a storage medium of a heterogeneous virtualization platform, which are used for realizing unified management of resources of the heterogeneous virtualization platform and reasonable allocation of resources of each virtualization type.
In a first aspect, an embodiment of the present invention provides a resource management method for a heterogeneous virtualization platform, including:
dividing a resource pool for multiple virtualization types;
encapsulating a unified interface layer over the plurality of virtualization types, wherein the unified interface layer provides a REST (Representational State Transfer) interface;
according to the registration information of the user, registering the virtualization type corresponding to the registration information as a controller to the unified interface layer so as to establish the corresponding relation between the controller and the resource pool;
and calling the controller corresponding to the resource calling request through the unified interface layer according to the resource calling request of the user so as to access the resource pool corresponding to the controller and realize resource calling.
Further, registering the virtualization type corresponding to the registration information as a controller to the unified interface layer includes:
the unified interface layer receives the registration information sent by the cloud management platform through the REST interface;
the unified interface layer determines a virtualization type corresponding to the registration information and verifies the registration information according to authentication information of the virtualization type;
after the verification is passed, the unified interface layer stores the registration information and the information of the virtualization type, and the virtualization type is used as a controller to be registered to the unified interface layer.
Further, invoking a controller corresponding to the resource invocation request through the unified interface layer to access a resource pool corresponding to the controller, including:
the unified interface layer receives user login information sent by the cloud management platform through the REST interface and carries out user identity verification;
after the verification is passed, the unified interface layer receives the resource calling request sent by the cloud management platform through the REST interface, wherein the resource calling request comprises: controller identification and requested operation;
and the unified interface layer calls the controller corresponding to the controller identifier, calls the requested resource in the resource pool corresponding to the controller according to the requested operation, and returns the resource to the cloud management platform.
Further, after the controller corresponding to the resource calling request is called through the uniform interface layer to access the resource pool corresponding to the controller, the method further includes:
and the cloud management platform displays the total amount of the resource pool requested by the user and the current use condition.
Further, the plurality of virtualization types includes: VMware virtualization, KVM virtualization, PowerVM virtualization, PowerKVM virtualization, metal bare machine virtualization, and Docker virtualization.
Further, the resource pool division is performed on multiple virtualization types, including:
dividing VMware hosts under an openstack environment into a first host group, and associating the first host group with a Zone (domain) to serve as a VMware computing resource pool;
dividing an X86 host under an openstack environment into a second host group, and associating the second host group with an AZ (available Zone) to serve as a KVM computing resource pool;
dividing the hosts by a host aggregation group of PowerVC, taking a PowerVM virtualization platform managed by a PowerVC system as a PowerVM computing resource pool, and taking a PowerKVM virtualization platform managed by the PowerVC system as a PowerKVM computing resource pool;
dividing a metal bare computer xCAT computing resource pool, an Ironic computing resource pool and a Docker computing resource pool in an openstack environment;
dividing storage resource pools, wherein each virtualization type corresponds to one storage resource pool, or at least two virtualization types in the multiple virtualization types share one storage resource pool;
and dividing the network resource pool, wherein each virtualization type corresponds to one network resource pool, or at least two virtualization types in the multiple virtualization types share one network resource pool.
In a second aspect, an embodiment of the present invention further provides a resource management system for a heterogeneous virtualization platform, including: the system comprises a cloud management platform, a unified interface layer, a resource pool and a controller;
the resource pool is obtained by dividing the resource pool for multiple virtualization types;
the unified interface layer is obtained by packaging on multiple virtualization types and provides a representational state transfer (REST) interface;
the controller is obtained by taking the virtualization type corresponding to the registration information of the user as a controller to register to the unified interface layer, wherein the resource pool of each virtualization type corresponds to at least one controller;
the cloud management platform is used for providing a user operation interface, and calling the controller corresponding to the resource calling request through the unified interface layer so as to access the resource pool corresponding to the controller and realize resource calling.
Further, the unified interface layer is specifically configured to:
receiving the registration information sent by the cloud management platform through the REST interface;
determining a virtualization type corresponding to the registration information, and verifying the registration information according to authentication information of the virtualization type;
and after the verification is passed, storing the registration information and the information of the virtualization type, and realizing that the virtualization type is used as a controller to be registered to the unified interface layer.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the resource management method of the heterogeneous virtualization platform according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a resource management method for a heterogeneous virtualization platform according to any embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, the heterogeneous virtualization platform is subdivided into the resource pools, and available resources in the resource pools are presented to the user, so that the user only needs to care which resources in the resource pools need to be used, the required usage amount and the available resource amount, rather than staying in the aspects of technology, operation and maintenance, problem troubleshooting and the like; a unified interface layer is established, multiple virtualization technologies are uniformly controlled by one platform, the platform is removed, the complexity is reduced, and the resource management problem of the heterogeneous virtualization platform is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for the embodiments or the technical solutions in the prior art, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a resource management method for a heterogeneous virtualization platform according to an embodiment of the present invention;
fig. 2 is a block diagram of a resource management system of a heterogeneous virtualization platform according to a second embodiment of the present invention;
fig. 3 is a schematic view of a resource management model of a heterogeneous virtualization platform according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a resource management method for a heterogeneous virtualization platform according to an embodiment of the present invention, where the present embodiment is applicable to a case where resources are uniformly managed for multiple virtualization platforms, and the present embodiment relates to multiple host types such as a Power architecture, an x86 architecture, a metal bare machine environment, and the like, the method may be executed by a resource management system for the heterogeneous virtualization platform, and the system may be implemented in a software and/or hardware manner. As shown in fig. 1, the method specifically includes the following steps:
step 110, the resource pool is divided for multiple virtualization types.
In this step, resource pool division may be performed on all virtualization types, that is, various virtualization types are supported. When a user needs to use a certain virtualization type, the user registers the corresponding controller in the unified interface layer for the virtualization type according to step 130, so that the user can manage the virtualization type through the unified interface layer. The multiple virtualization types in this embodiment may include: VMware virtualization, KVM virtualization, PowerVM virtualization, PowerKVM virtualization, bare metal virtualization, and Docker virtualization. Of course, as technology develops, new virtualization types that appear later can also be included in the scope of the present invention, and when a new virtualization type appears, a resource pool can be added for the new virtualization type.
Because the user does not basically care what virtualization type resources the user wants to apply for, and more focuses on how much resources the user applies for, what amount of applied resources is, and the administrator cares how much total resources are left, more resource nodes are added when the resources are used up. Therefore, the resource pool is divided on the basis of the heterogeneous virtualization platform, and the resource pool is specifically detailed into a computing resource pool, a storage resource pool and a network resource pool. For each virtualization type, a corresponding computing resource pool, a storage resource pool and a network resource pool can be established, and different resource pool controllers are deployed for resource management.
At step 120, a unified interface layer is encapsulated over the multiple virtualization types, wherein the unified interface layer provides a REST interface.
Step 130, according to the registration information of the user, registering the virtualization type corresponding to the registration information as a controller to a uniform interface layer so as to establish a corresponding relationship between the controller and a resource pool.
A unified interface layer (L1) is packaged on a plurality of virtualization types, and a REST interface is provided for an upper layer (namely a cloud pipe platform) after the L1 layer is packaged. The L1 layer adopts a registration mechanism, namely, the deployed virtualization type of the user is used as a controller to be registered to the L1 layer, the L1 layer manages the authentication of each controller in a unified mode, heterogeneous resources are managed through the unified interface layer, an REST interface is provided for an upper-layer cloud management platform (L2) to call, the compatibility work of the cloud management platform on each virtualization platform is relieved, and the effect of starting and starting is achieved.
It should be noted that one virtualization type can register multiple controllers. After the virtualization type is registered as a controller in the L1 layer, the controllers and the resource pools corresponding to the same virtualization type establish a corresponding relationship. The L1 layer can manage all the controllers registered thereon, and the calling of the resources can be realized through the L1 layer and the controllers, rather than calling the resources and performing identity authentication in the corresponding bottom-layer environment every time the resources are called.
Step 140, according to the resource calling request of the user, calling the controller corresponding to the resource calling request through the unified interface layer to access the resource pool corresponding to the controller, thereby implementing resource calling.
The cloud management platform provides interface operation of a user service logic layer, sends information (such as registration information, login information, resource calling requests and the like) to the unified interface layer according to the REST format, and calls corresponding resources through the unified interface layer to complete application and use of the resources.
According to the technical scheme of the embodiment of the invention, the heterogeneous virtualization platform is subdivided into the resource pools, and available resources in the resource pools are presented to the user, so that the user only needs to care which resources in the resource pools need to be used, the required usage amount and the available resource amount, rather than staying in the aspects of technology, operation and maintenance, problem troubleshooting and the like; a unified interface layer is established, multiple virtualization technologies are uniformly controlled by one platform, the platform is removed, the complexity is reduced, and the resource management problem of the heterogeneous virtualization platform is solved.
Based on the foregoing technical solution, registering the virtualization type corresponding to the registration information as a controller in the unified interface layer in step 130 includes: the unified interface layer receives registration information sent by the cloud management platform through the REST interface; the unified interface layer determines a virtualization type corresponding to the registration information, and verifies the registration information according to the authentication information of the virtualization type (for example, the authentication information of the virtualization type is acquired from the bottom environment of the virtualization type); after the verification is passed, the unified interface layer stores the registration information and the information of the virtualization type, and the virtualization type is used as a controller to be registered to the unified interface layer.
Wherein, the registration information may include: IP address, username, password, etc., and may also carry a token (token). The authentication information may include a token (token), which may be generated according to a preset rule, and there is a valid time. The virtualization type information may include: virtualization type server (service), endpoint (endpoint), etc. information, and token information.
Illustratively, a user forms registration information including an IP, a user name, a password, a token and the like of a KVM virtualization platform of an openstack environment on a cloud management platform, and sends the registration information to an L1 layer according to an REST format, the L1 layer obtains authentication information (e.g., token) corresponding to a virtualization type from a bottom openstack environment, if the authentication information is consistent with the token in the user registration information, the authentication is passed, a unified interface layer stores virtualization type information of a server (service), an endpoint (endpoint) and the like of the KVM virtualization platform, records the obtained registration information (e.g., token), and the token can be automatically obtained again after the expiration. Specifically, information such as a server (service), an endpoint (endpoint), and the like of the KVM virtualization platform may be stored in the database of the L1 layer, and registration information including token and the like may be stored in the cache of the L1 layer. After the information of the L1 layer is stored, the registration of the controller is completed, and the corresponding relation between the controller of the same virtualization type and the resource pool is established.
On the basis of the above technical solution, step 140 calls a controller corresponding to the resource call request through the unified interface layer to access the resource pool corresponding to the controller, including: the unified interface layer receives user login information sent by the cloud management platform through the REST interface and carries out user identity verification; after the verification is passed, the unified interface layer receives a resource calling request sent by the cloud management platform through the REST interface, wherein the resource calling request comprises: controller identification and requested operation; and the unified interface layer calls the controller corresponding to the controller identifier, calls the requested resource in the resource pool corresponding to the controller according to the requested operation, and returns the resource to the cloud management platform.
The user inputs user login information on the cloud management platform, the user login information is verified by the unified interface layer, and after the user login information is confirmed to be a legal user, resource calling is allowed to be carried out so as to guarantee safety. Specifically, the unified interface layer can verify the user login information by using the registration information stored when the controller is registered, and if the information is consistent, the verification is passed; the token with timeliness can be used for verification, and the generation mode of the token at the L1 layer is consistent with that of the token at the user side. The unified interface layer receives the resource calling request, analyzes the resource calling request (for example, obtains a controller identifier and a request operation), and calls a corresponding resource by using a controller corresponding to the controller identifier to implement a user request operation, where the user request operation may be a function of calling the resource to create a virtual machine, create a firewall, create a network, and the like. For example, the operation in the resource call request contains a get type and a post type, the post body indicates that the virtual machine is created, the get ID/services indicates that the virtual machine list is obtained, and so on.
Illustratively, the user has registered an X86 controller with X86 of compute, storage, and network resource pools. After logging in the cloud management platform, when a user applies for resources through the cloud management platform, the user can select a controller, a computing resource pool, a storage resource pool and a network resource pool to be used, fill in an application computing resource amount, a storage occupied resource amount and an IP in the network resource pool, and fill in an operation (for example, post body) to be performed, thereby obtaining a resource calling request. After receiving the resource calling request of the cloud management platform, the unified interface layer calls a controller corresponding to the controller identifier in the resource calling request, and calls a corresponding resource according to the requested operation (for example, completing creation of a virtual machine according to the requested operation post body), so as to use the resource.
Further, the cloud management platform displays the total amount of the resource pool requested by the user and the current use condition. And the user can conveniently check the resource condition.
Specifically, taking the existing virtualization type as an example, the resource pool division is performed on multiple virtualization types, which includes:
(1) partitioning of a computing resource pool
Dividing VMware hosts under an openstack environment into a first host group, and associating the first host group with a Zone (domain) to serve as a VMware computing resource pool;
dividing the X86 host in the openstack environment into a second host group, and associating the second host group with AZ (available Zone) to serve as a KVM computing resource pool;
dividing the hosts by a host aggregation group of PowerVC, taking a PowerVM virtualization platform managed by a PowerVC system as a PowerVM computing resource pool, and taking a PowerKVM virtualization platform managed by the PowerVC system as a PowerKVM computing resource pool;
and dividing a metal bare computer xCAT computing resource pool, an Ironic computing resource pool and a Docker computing resource pool in an openstack environment.
According to actual requirements, some computing resource pools can be combined into one, for example, a metal bare computer xCAT computing resource pool and an Ironic computing resource pool in an openstack environment can be combined into a bare computer computing resource pool. In addition, while the computing resource pool is divided, the related calling settings of the computing resource pool can be completed, for example, which mirror images, type templates (scanners) and networks are resources created under the computing resource pool, and the resources are scheduled under the computing resource pool correspondingly.
(2) Partitioning of storage resource pools
Each virtualization type can be divided into a storage resource pool, or several virtualization types can share one storage resource pool, or all virtualization types can share one storage resource pool. The storage resource pool and the computing resource pool have an association relationship, and the storage resource pool is used by a certain computing resource pool.
(3) Partitioning of network resource pools
Each virtualization type may be divided into a network resource pool, or several virtualization types may share a network resource pool, or all virtualization types may share a network resource pool. Similarly, the network resource pool and the computing resource pool may have an association relationship to indicate which network resource pool is used by a computing resource pool.
Optionally, the sharing of the network resource pool may be implemented by: the network resource pools adopt a large two-layer network and a VLAN mode, and communication among the network resource pools is realized by opening the routes.
Example two
Fig. 2 is a block diagram of a resource management system of a heterogeneous virtualization platform according to a second embodiment of the present invention, where the resource management system of the heterogeneous virtualization platform according to the second embodiment of the present invention is capable of executing a resource management method of the heterogeneous virtualization platform according to the first embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. The same or corresponding terms as those in the first embodiment are explained, and the description of the first embodiment is omitted.
As shown in fig. 2, the system includes: a cloud pipe platform 210, a unified interface layer 220, a resource pool 230, and a controller 240.
The resource pool 230 is obtained by dividing a resource pool for a plurality of virtualization types, and the resource pool 230 includes: a computing resource pool 231, a storage resource pool 232, and a network resource pool 233;
the unified interface layer 220 is obtained by packaging on multiple virtualization types and provides an REST interface;
the controller 240 is obtained by registering the virtualization types corresponding to the registration information of the user as controllers to 220 a unified interface layer, wherein each virtualization type resource pool 230 can correspond to a plurality of controllers 240;
the cloud management platform 210 is configured to provide a user operation interface, and call the controller 240 corresponding to the resource call request through the unified interface layer 220, so as to access the resource pool 230 corresponding to the controller 240, thereby implementing resource call.
Further, the cloud pipe platform 210 is specifically configured to: and receiving registration information, login information or a resource calling request of a user, and sending the registration information, the login information or the resource calling request to the unified interface layer 220 according to the REST format.
Further, corresponding to the process of registration control, the unified interface layer 220 is specifically configured to: receiving registration information sent by the cloud management platform 210 through the REST interface; determining a virtualization type corresponding to the registration information, and verifying the registration information according to authentication information of the virtualization type (for example, acquiring the authentication information of the virtualization type from a bottom environment of the virtualization type); after the verification is passed, the registration information and the information of the virtualization type are stored, and the virtualization type is implemented to be registered as a controller to the unified interface layer 220.
Further, corresponding to the process of calling the resource, the unified interface layer 220 is specifically configured to: receiving user login information sent by the cloud management platform 210 through the REST interface, and verifying user identity; after the verification is passed, receiving a resource calling request sent by the cloud management platform 210 through the REST interface, where the resource calling request includes: controller identification and requested operation; and calling the controller 240 corresponding to the controller identifier, calling the requested resource in the resource pool 230 corresponding to the controller 240 according to the requested operation, and returning the resource to the cloud management platform 210.
Further, the cloud pipe platform 210 is further configured to: and displaying the total amount of the resource pool requested by the user and the current use condition.
The resource management system of the heterogeneous hybrid virtualization platform provided by the embodiment subdivides the heterogeneous virtualization platform into resource pools, and the available resources in the resource pools are presented to the user, so that the user only needs to care about which resources of the resource pools are used, the required usage amount and the available resource amount, and the user is guided to more care about the utilization of services and resources instead of always staying in the aspects of technology, operation and maintenance, problem troubleshooting and the like. In addition, by establishing a uniform interface layer, multiple virtualization technologies are uniformly controlled by one platform, the platform is removed, the complexity is reduced, and the resource management problem of the heterogeneous virtualization platform is solved.
Fig. 3 is a schematic view of a resource management model of a heterogeneous virtualization platform according to a second embodiment of the present invention, and as shown in fig. 3, an L2 layer is a cloud management platform; the L1 layer is a uniform interface layer and provides an REST interface for the upper layer; and the WSGI (Web Server Gateway Interface) is used for realizing the access of the L1 layer to the resource pool. The divided resource pools are as follows: the PowerVC system comprises a PowerVM resource pool and a PowerKVM resource pool; the openstack environment comprises a VMware resource pool and a KVM resource pool; a Docker resource pool; a bare metal xCAT resource pool; an Ironic resource pool. The resource pool in the figure includes a computing resource pool, a storage resource pool, and a network resource pool, and the relationship thereof is described in the first embodiment, which is not described herein again.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a computer device according to a third embodiment of the present invention, as shown in fig. 4, the computer device includes a processor 410 and a memory 420; the number of the processors 410 in the computer device may be one or more, and one processor 410 is taken as an example in fig. 4; the processor 410 and the memory 420 in the computer device may be connected by a bus or other means, as exemplified by the bus connection in fig. 4.
The memory 420 serves as a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the resource management method of the heterogeneous virtualization platform in the embodiment of the present invention. The processor 410 executes various functional applications and data processing of the computer device by executing software programs, instructions and modules stored in the memory 420, that is, implements the resource management method of the heterogeneous virtualization platform described above.
The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 420 may further include memory located remotely from processor 410, which may be connected to a computer device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Example four
The fourth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the resource management method for the heterogeneous virtualization platform according to any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (7)

1. A resource management method of a heterogeneous virtualization platform is characterized by comprising the following steps:
dividing a resource pool for multiple virtualization types;
encapsulating a unified interface layer over the plurality of virtualization types, wherein the unified interface layer provides a representational state transfer (REST) interface;
according to the registration information of the user, registering the virtualization type corresponding to the registration information as a controller to the unified interface layer so as to establish the corresponding relation between the controller and the resource pool;
according to the resource calling request of the user, calling a controller corresponding to the resource calling request through the unified interface layer to access a resource pool corresponding to the controller, and realizing resource calling;
after accessing the resource pool corresponding to the controller, the method further includes:
the cloud management platform displays the total amount of the resource pool requested by the user and the current use condition;
registering the virtualization type corresponding to the registration information as a controller to the unified interface layer, including:
the unified interface layer receives the registration information sent by the cloud management platform through the REST interface;
the unified interface layer determines a virtualization type corresponding to the registration information and verifies the registration information according to authentication information of the virtualization type;
after the verification is passed, the unified interface layer stores the registration information and the information of the virtualization type, and the virtualization type is used as a controller to be registered to the unified interface layer.
2. The method of claim 1, wherein calling, through the unified interface layer, a controller corresponding to the resource call request to access a resource pool corresponding to the controller comprises:
the unified interface layer receives user login information sent by the cloud management platform through the REST interface and carries out user identity verification;
after the verification is passed, the unified interface layer receives the resource calling request sent by the cloud management platform through the REST interface, wherein the resource calling request comprises: controller identification and requested operation;
and the unified interface layer calls the controller corresponding to the controller identifier, calls the requested resource in the resource pool corresponding to the controller according to the requested operation, and returns the resource to the cloud management platform.
3. The method of any of claims 1-2, wherein the plurality of virtualization types comprises: VMware virtualization, KVM virtualization, PowerVM virtualization, PowerKVM virtualization, bare metal virtualization, and Docker virtualization.
4. The method of claim 3, wherein partitioning the resource pool for multiple virtualization types comprises:
dividing VMware hosts under an openstack environment into a first host group, and associating the first host group with a domain to serve as a VMware computing resource pool;
dividing the X86 host in an openstack environment into a second host group, and associating the second host group with an available domain to serve as a KVM computing resource pool;
dividing the hosts by a host aggregation group of PowerVC, taking a PowerVM virtualization platform managed by a PowerVC system as a PowerVM computing resource pool, and taking a PowerKVM virtualization platform managed by the PowerVC system as a PowerKVM computing resource pool;
dividing a metal bare computer xCAT computing resource pool, an Ironic computing resource pool and a Docker computing resource pool in an openstack environment;
dividing storage resource pools, wherein each virtualization type corresponds to one storage resource pool, or at least two virtualization types in the multiple virtualization types share one storage resource pool;
and dividing the network resource pool, wherein each virtualization type corresponds to one network resource pool, or at least two virtualization types in the multiple virtualization types share one network resource pool.
5. The resource management system of the heterogeneous virtualization platform is characterized by comprising a cloud management platform, a uniform interface layer, a resource pool and a controller;
the resource pool is obtained by dividing the resource pool for multiple virtualization types;
the unified interface layer is obtained by packaging on multiple virtualization types and provides a representational state transfer (REST) interface;
the controller is obtained by taking the virtualization type corresponding to the registration information of the user as a controller to register to the unified interface layer, wherein the resource pool of each virtualization type corresponds to at least one controller;
the cloud management platform is used for providing a user operation interface, and calling the controller corresponding to the resource calling request through the unified interface layer so as to access the resource pool corresponding to the controller and realize resource calling;
after accessing the resource pool corresponding to the controller, the method further includes:
the cloud management platform displays the total amount of the resource pool requested by the user and the current use condition;
the unified interface layer is specifically configured to:
receiving the registration information sent by the cloud management platform through the REST interface;
determining a virtualization type corresponding to the registration information, and verifying the registration information according to authentication information of the virtualization type;
and after the verification is passed, storing the registration information and the information of the virtualization type, and realizing that the virtualization type is used as a controller to be registered to the unified interface layer.
6. A computer device, characterized in that the computer device comprises:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method for resource management for a heterogeneous virtualization platform of any one of claims 1-4.
7. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a resource management method of a heterogeneous virtualization platform according to any one of claims 1 to 4.
CN201711295186.8A 2017-12-08 2017-12-08 Resource management method, system, equipment and storage medium of heterogeneous virtualization platform Active CN108062248B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711295186.8A CN108062248B (en) 2017-12-08 2017-12-08 Resource management method, system, equipment and storage medium of heterogeneous virtualization platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711295186.8A CN108062248B (en) 2017-12-08 2017-12-08 Resource management method, system, equipment and storage medium of heterogeneous virtualization platform

Publications (2)

Publication Number Publication Date
CN108062248A CN108062248A (en) 2018-05-22
CN108062248B true CN108062248B (en) 2022-07-12

Family

ID=62136248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711295186.8A Active CN108062248B (en) 2017-12-08 2017-12-08 Resource management method, system, equipment and storage medium of heterogeneous virtualization platform

Country Status (1)

Country Link
CN (1) CN108062248B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108874504A (en) * 2018-06-05 2018-11-23 郑州云海信息技术有限公司 A kind of management method and device of multiple virtualization platform
CN109144483A (en) * 2018-08-22 2019-01-04 浪潮电子信息产业股份有限公司 A kind of method, apparatus, equipment and readable storage medium storing program for executing matching software interface
CN109298926B (en) * 2018-09-29 2021-10-22 创新先进技术有限公司 Method and device for entering resource transfer party into resource transfer platform and electronic equipment
CN111200507B (en) * 2018-11-19 2023-04-18 中国电信股份有限公司 Heterogeneous virtual network element management method and system, model driving framework and storage medium
CN109450909A (en) * 2018-11-23 2019-03-08 北京奇安信科技有限公司 A kind of universal process method and device in secure resources pond
CN109450713B (en) * 2018-12-25 2020-02-21 无锡华云数据技术服务有限公司 Virtualization platform based on gateway and cloud platform management method, device and medium
CN109889524A (en) * 2019-02-26 2019-06-14 浪潮软件集团有限公司 A kind of authentication device and method of the cloud computing application system based on tree
CN110247978B (en) * 2019-06-21 2022-04-12 北京百度网讯科技有限公司 Job execution method and device adapting to different resource scheduling systems
CN112346814A (en) * 2019-08-07 2021-02-09 中国石油天然气股份有限公司 Method and platform for realizing unified management and self-service of data center resources
CN110659105A (en) * 2019-08-30 2020-01-07 中国人民财产保险股份有限公司 Virtualized resource processing method, device, equipment and storage medium
CN112685129A (en) * 2019-10-18 2021-04-20 中移(苏州)软件技术有限公司 Management system and method for multiple virtualization platforms
CN111124683A (en) * 2019-12-25 2020-05-08 泰康保险集团股份有限公司 Virtual resource creating method, device and system
CN113127147B (en) * 2020-01-16 2023-02-10 上海盛霄云计算技术有限公司 Method for constructing biger cloud mimicry cloud host
CN112003720B (en) * 2020-07-13 2022-07-08 烽火通信科技股份有限公司 Cloud management platform and method for managing multiple firewall resources
CN112286632B (en) * 2020-10-27 2023-07-11 龙芯中科技术股份有限公司 Cloud platform, cloud platform management method and device, electronic equipment and storage medium
CN114443295B (en) * 2022-01-21 2024-01-12 苏州浪潮智能科技有限公司 Heterogeneous cloud resource management scheduling method, device and system
CN117992171A (en) * 2022-10-27 2024-05-07 深圳云豹智能有限公司 Cloud data center management system and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281306A (en) * 2013-05-03 2013-09-04 四川省电力公司信息通信公司 Virtualized infrastructure platform for cloud data centers
CN105959164A (en) * 2016-07-13 2016-09-21 浪潮(北京)电子信息产业有限公司 Virtual resource calling method and apparatus and cloud management system
CN106230639A (en) * 2016-08-30 2016-12-14 广西电网有限责任公司 A kind of IT resource pool intelligent optimization configuration system
CN206077410U (en) * 2016-08-30 2017-04-05 广西电网有限责任公司 A kind of isomery virtual resources management system
CN107302590A (en) * 2017-07-28 2017-10-27 国家电网公司 A kind of isomery cloud operating system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579792A (en) * 2015-01-26 2015-04-29 四川中电启明星信息技术有限公司 Architecture and method for achieving centralized management of various types of virtual resources based on multiple adaptive modes

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103281306A (en) * 2013-05-03 2013-09-04 四川省电力公司信息通信公司 Virtualized infrastructure platform for cloud data centers
CN105959164A (en) * 2016-07-13 2016-09-21 浪潮(北京)电子信息产业有限公司 Virtual resource calling method and apparatus and cloud management system
CN106230639A (en) * 2016-08-30 2016-12-14 广西电网有限责任公司 A kind of IT resource pool intelligent optimization configuration system
CN206077410U (en) * 2016-08-30 2017-04-05 广西电网有限责任公司 A kind of isomery virtual resources management system
CN107302590A (en) * 2017-07-28 2017-10-27 国家电网公司 A kind of isomery cloud operating system

Also Published As

Publication number Publication date
CN108062248A (en) 2018-05-22

Similar Documents

Publication Publication Date Title
CN108062248B (en) Resource management method, system, equipment and storage medium of heterogeneous virtualization platform
US10868771B2 (en) Methods and systems for creating and managing network groups
US20190379672A1 (en) Controlling user access to command execution
US9467395B2 (en) Cloud computing nodes for aggregating cloud computing resources from multiple sources
US10601666B2 (en) Network functions virtualization management and orchestration policy descriptor management method and apparatus
KR101714279B1 (en) System and method providing policy based data center network automation
CN109818918A (en) The workload of policy-driven based on software defined network encryption policy starts
JP2019528005A (en) Method, apparatus, and system for a virtual machine to access a physical server in a cloud computing system
CN110088732A (en) A kind of data package processing method, host and system
CN106209402B (en) A kind of telescopic method and equipment of virtual network function
CN104468574B (en) A kind of method, system and device of virtual machine dynamic access IP address
US9934060B2 (en) Hybrid service fleet management for cloud providers
US9075664B2 (en) Application dependent data center integration
US10579488B2 (en) Auto-calculation of recovery plans for disaster recovery solutions
JP2017520823A (en) Migrating applications between enterprise-based and multi-tenant networks
Demchenko et al. Federated access control in heterogeneous intercloud environment: Basic models and architecture patterns
CN108429768A (en) Cloud data analysis service manages system, method and cloud server
US10116622B2 (en) Secure communication channel using a blade server
CN105516397B (en) Method for accessing multiple operating system terminals into network and multiple operating system terminals
US11573819B2 (en) Computer-implemented method for reducing service disruption times for a universal customer premise equipment, uCPE, device with resource constraint in a network functions virtualization, NFV, network infrastructure
CN104539684B (en) A kind of user's machine resources extracting integral method and system
Caballer et al. Deployment of elastic virtual hybrid clusters across cloud sites
Akilandeswari et al. A review of literature on cloud brokerage services.
US20240020357A1 (en) Keyless licensing in a multi-cloud computing system
US20240007462A1 (en) Connecting a software-defined data center to cloud services through an agent platform appliance

Legal Events

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