CN108062248A - Method for managing resource, system, equipment and the storage medium of isomery virtual platform - Google Patents

Method for managing resource, system, equipment and the storage medium of isomery virtual platform Download PDF

Info

Publication number
CN108062248A
CN108062248A CN201711295186.8A CN201711295186A CN108062248A CN 108062248 A CN108062248 A CN 108062248A CN 201711295186 A CN201711295186 A CN 201711295186A CN 108062248 A CN108062248 A CN 108062248A
Authority
CN
China
Prior art keywords
resource
virtualization
controller
interface layer
unified interface
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.)
Granted
Application number
CN201711295186.8A
Other languages
Chinese (zh)
Other versions
CN108062248B (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.)
Huasheng Xintai Information Industry Development Co Ltd
Original Assignee
Huasheng Xintai 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 Huasheng Xintai Information Industry Development Co Ltd filed Critical Huasheng Xintai 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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a kind of method for managing resource, system, equipment and the storage mediums of isomery virtual platform.This method includes:Resource pool division is carried out to a variety of virtualization types;Unified interface layer is encapsulated on a variety of virtualization types, unified interface layer provides REST interfaces;It registers customers as the corresponding virtualization type of information and is registered to unified interface layer as controller, to establish the correspondence of controller and resource pool;By unified interface layer resource transfer is called to ask corresponding controller, to access the corresponding resource pool of the controller, realize resource transfer.Isomery virtual platform is subdivided into resource pool by the present invention, be presented to user is the available resources in pond, so that user need to only be concerned about the resource with which kind of pond, required usage amount and available volume of resources rather than rest on technology, O&M and problem investigation etc.;Unified interface layer is established, a variety of virtualization technologies are unified by a platform management and control, hardware and software platform is removed, is simplified.

Description

Method for managing resource, system, equipment and the storage medium of isomery virtual platform
Technical field
The present embodiments relate to cloud computing technology more particularly to a kind of method for managing resource of isomery virtual platform, System, equipment and storage medium.
Background technology
General masses' type enterprise IT (Internet Technology, Internet technology) framework is extremely complex, comprising a variety of Manufacturer and the hardware product of platform, using a variety of virtualization technology types, for example, the VMware based on X86 servers (Virtual Machine ware, software virtual machine), KVM (Kernel-based Virtual Machine) virtualization, base PowerVM and PowerKVM virtualization, metal bare machine management in Power frameworks etc. or even some applications of enterprise are run publicly-owned Yun Shang.
For a variety of virtualization types, enterprises would generally carry out host using corresponding empty machine management platform Management, for example, the VMware of X86 platforms is managed using Vcenter;KVM virtualization based on X86 uses what is increased income Openstack is managed;It can pass through the PowerVC (Power of IBM for the virtualization of PowerVM and PowerKVM Virtualization Center) system is managed.This more set system administrations, the scheme done things in his own way considerably increase The workload of O&M is unfavorable for the unified management to resource.
Due to covering the alternately complicated use of isomery virtualization product, many inconveniences are brought to user more:
(1) maintenance personnel is needed to safeguard more set systems, and complicated planning is carried out to entire framework, such as distributes net How network rationally utilizes storage and computing resource etc., and sizable difficulty is brought to maintenance personnel;
(2) even if after having carried out complicated planning, tenant network can not be got through, the utilization of resources is insufficient etc. is further encountered A series of problems;
(3) it is more demanding to technical staff, it is necessary to skillfully grasp each platform feature of virtualization, each platform makes With, O&M, problem investigate etc. many knowledge.
Therefore, in medium-and-large-sized enterprise's private clound project alternative, the virtual management platforms that cover to calculating, storing, network money more The unified hybrid solution in source is very crucial.
The content of the invention
The present invention provides a kind of method for managing resource, system, equipment and the storage medium of isomery virtual platform, to realize The resource of isomery virtual platform is managed collectively, reasonable distribution respectively virtualizes the resource of type.
In a first aspect, an embodiment of the present invention provides a kind of method for managing resource of isomery virtual platform, including:
A variety of virtualization types are carried out with the division of resource pool;
Unified interface layer is encapsulated on a variety of virtualization types, wherein, the unified interface layer provides REST (Representational State Transfer, declarative state are transferred) interface;
According to the log-on message of user, it is registered to using the corresponding virtualization type of the log-on message as controller described Unified interface layer, to establish the correspondence of controller and resource pool;
It is asked according to the resource transfer of the user, by the unified interface layer resource transfer request is called to correspond to Controller, to access the corresponding resource pool of the controller, realize resource transfer.
Further, the corresponding virtualization type of the log-on message is registered to the unified interface as controller Layer, including:
The unified interface layer receives the log-on message that cloud pipe platform is sent by the REST interfaces;
The unified interface layer determines the corresponding virtualization type of the log-on message, and according to the virtualization type Authentication information verifies the log-on message;
After being verified, the unified interface layer stores the information of the log-on message and the virtualization type, realizes The virtualization type is registered to the unified interface layer as controller.
Further, by the unified interface layer resource transfer is called to ask corresponding controller, is somebody's turn to do with accessing The corresponding resource pool of controller, including:
The unified interface layer receives the user login information that cloud pipe platform is sent by the REST interfaces, is used in combination Family proof of identity;
After verification passes through, the unified interface layer receives the resource tune that cloud pipe platform is sent by the REST interfaces With request, wherein, the resource transfer request includes:Controller identifier and the operation of request;
The unified interface layer calls the corresponding controller of the controller identifier, according to the operation of the request in the control Requested resource is called in the corresponding resource pool of device processed, returns to the cloud pipe platform.
Further, by the unified interface layer resource transfer is being called to ask corresponding controller, to access After the corresponding resource pool of the controller, the method further includes:
Cloud pipe platform shows the total amount in user's requested resource pond and currently used situation.
Further, a variety of virtualization types include:VMware virtualizations, KVM virtualization, PowerVM virtualization, PowerKVM virtualizations, the virtualization of metal bare machine and Docker virtualizations.
Further, a variety of virtualization types are carried out with the division of resource pool, including:
VMware hosts under openstack environment are divided in the first host groups, by first host groups with Zone (domain) is associated, as VMware computing resources pond;
X86 hosts under openstack environment are divided in the second host groups, and by second host groups and AZ (Avaliable Zone, available domain) associates, as KVM computing resources pond;
Host is divided by the host aggregation group of PowerVC, the PowerVM under PowerVC system administrations is empty Planization platform as PowerVM computing resources pond and using the PowerKVM virtual platforms under PowerVC system administrations as PowerKVM computing resources pond;
Divide metal bare machine xCAT computing resources pond, the Ironic computing resources pond under openstack environment and Docker Computing resource pond;
Memory resource pool is divided, wherein, each virtualization type corresponds to a memory resource pool, alternatively, a variety of void At least two virtualization types share a memory resource pool in planization type;
Internet resources pond is divided, wherein, each virtualization type corresponds to an Internet resources pond, alternatively, a variety of void At least two virtualization types share an Internet resources pond in planization type.
Second aspect, the embodiment of the present invention additionally provide a kind of resource management system of isomery virtual platform, including:Cloud Pipe platform, unified interface layer, resource pool and controller;
The resource pool is obtained by the division for carrying out resource pool to a variety of virtualization types;
The unified interface layer is encapsulated on a variety of virtualization types and obtained, and is provided declarative state transmission REST and is connect Mouthful;
The controller is that the corresponding virtualization type of the log-on message of user is registered to the unification as controller Interface layer obtains, wherein, the resource pool of each virtualization type corresponds at least one controller;
The cloud pipe platform for providing user interface, calls resource transfer to ask by the unified interface layer Corresponding controller to access the corresponding resource pool of the controller, realizes resource transfer.
Further, the unified interface layer is specifically used for:
Receive the log-on message that the cloud pipe platform is sent by the REST interfaces;
Determine the corresponding virtualization type of the log-on message, and according to the authentication information for virtualizing type to described Log-on message is verified;
After being verified, the information of the log-on message and the virtualization type is stored, realizes the virtualization type The unified interface layer is registered to as controller.
The third aspect, the embodiment of the present invention additionally provide a kind of computer equipment, and the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are performed by one or more of processors so that one or more of processing Device realizes the method for managing resource of the isomery virtual platform as described in any embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes the resource management of the isomery virtual platform as described in any embodiment of the present invention when the program is executed by processor Method.
The technical solution of the embodiment of the present invention, resource pool is subdivided by isomery virtual platform, and be presented to user is Available resources in resource pool so that user need to only be concerned about the resource with which kind of resource pool, required usage amount and can use money Technology, O&M and problem investigation etc. are measured rather than rested in source;Unified interface layer is established, a variety of virtualization technologies are unified By a platform management and control, hardware and software platform is removed, is simplified, solve the Resources Management of isomery virtual platform.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology describe needed in attached drawing do one and simply introduce, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments, for those of ordinary skill in the art, without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow chart of the method for managing resource for the isomery virtual platform that the embodiment of the present invention one provides;
Fig. 2 is the structure diagram of the resource management system of isomery virtual platform provided by Embodiment 2 of the present invention;
Fig. 3 is the Resource Management Model schematic diagram of isomery virtual platform provided by Embodiment 2 of the present invention;
Fig. 4 is the structure diagram for the computer equipment that the embodiment of the present invention three provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrated only in description, attached drawing.
Embodiment one
Fig. 1 be the embodiment of the present invention one provide isomery virtual platform method for managing resource flow chart, this implementation Example is applicable to carry out a variety of virtual platforms the situation of unified managing resource, is related to Power frameworks, x86 frameworks, bare metal A variety of Host Types such as machine environment, this method can be performed by the resource management system of isomery virtual platform, which can It is realized in a manner of by software and/or hardware.As shown in Figure 1, this method specifically comprises the following steps:
Step 110, a variety of virtualization types are carried out with the division of resource pool.
Wherein, this step can carry out resource pool division to all virtualization types, that is, support various virtualization types. When user is needed using certain virtualization type, phase is carried out in unified interface layer according to step 130 for the virtualization type The registration of controller is answered, thus user can manage the virtualization type by unified interface layer.It is more in the present embodiment Kind virtualization type can include:VMware virtualizations, KVM virtualization, PowerVM virtualizations, PowerKVM virtualizations, metal Bare machine virtualizes and Docker virtualizations.Certainly, with the development of technology, the new virtualization type occurred later can also wrap It is contained within the scope of the present invention, when there is new virtualization type to occur, the new virtualization type addition can be directed to Resource pool.
Due to user be indifferent to substantially oneself to be applied be what virtualization type resource, be more focused on oneself application Much resources, the resource usage amount applying getting off is how many, and administrator is then concerned about aggregate resource how many is remaining, in resource Increase more resource nodes in the case of using up.Accordingly, it is considered to drawing for resource pool is carried out on the basis of isomery virtual platform Point, specifically it is refined as computing resource pond, memory resource pool and Internet resources pond.For each virtualization type, can establish Different resource pool controllers is disposed to carry out resource management in corresponding computing resource pond, memory resource pool and Internet resources pond.
Step 120, unified interface layer is encapsulated on a variety of virtualization types, wherein, which provides REST Interface.
Step 130, according to the log-on message of user, the corresponding virtualization type of the log-on message is registered as controller To unified interface layer, to establish the correspondence of controller and resource pool.
Wherein, it is a variety of virtualization types on encapsulate one layer of unified interface layer (L1), L1 layers after encapsulation, to upper strata (i.e. cloud pipe platform) provides REST interfaces.L1 layers use login mechanism, it is, user to have been disposed to the virtualization type of completion L1 layers are registered to as controller, and by the certification of L1 layers of each controller of unified management, by unified interface layer, by heterogeneous resource It receives pipe, REST interfaces is provided and are called to upper layer cloud pipe platform (L2), mitigate compatibility of the cloud pipe platform to each virtual platform Sex work plays the role of forming a connecting link.
It should be noted that a virtualization type can register multiple controllers.Type is virtualized to note as controller Volume just establishes correspondence to after L1 layer corresponding to the same controller for virtualizing type and resource pool.L1 layers can be with All controllers registered thereon are managed, the calling of resource rather than each resource transfer can be realized by L1 layers and controller It is intended into corresponding BOTTOM LAYER ENVIRONMENT carry out authentication and calls resource.
Step 140, asked according to the resource transfer of user, by unified interface layer resource transfer is called to ask corresponding control Device processed to access the corresponding resource pool of the controller, realizes resource transfer.
Wherein, cloud pipe platform provides the interface operation of customer service logic level, and information (example is sent according to REST forms Such as, log-on message, log-on message, resource transfer request etc.) to unified interface layer, corresponding money is called by unified interface layer The application and use of resource are completed in source.
Isomery virtual platform is subdivided into resource pool, is presented to the user for providing by the technical solution of the embodiment of the present invention Available resources in the pond of source so that user need to only be concerned about the resource with which kind of resource pool, required usage amount and available resources Measure rather than rest on technology, O&M and problem investigation etc.;Establish unified interface layer, by a variety of virtualization technologies it is unified by One platform management and control, removes hardware and software platform, simplifies, and solves the Resources Management of isomery virtual platform.
Based on the above technical solutions, using the corresponding virtualization type of log-on message as controller in step 130 Unified interface layer is registered to, including:Unified interface layer receives the log-on message that cloud pipe platform is sent by REST interfaces;Uniformly connect Mouthful layer determines the corresponding virtualization type of log-on message, and according to the authentication information of virtualization type (such as from the virtualization class The authentication information of the virtualization type is obtained in the BOTTOM LAYER ENVIRONMENT of type) log-on message is verified;After being verified, uniformly connect Mouth layer stores above-mentioned log-on message and the information of the virtualization type, realizes that the virtualization type is registered to unification as controller Interface layer.
Wherein, log-on message can include:IP address, user name, password etc. can also carry token (token).Certification Information can include token (token), can be generated according to preset rules, there are effective times.The information for virtualizing type can To include:Virtualize information and the token information such as server (service), the endpoint (endpoint) of type.
Illustratively, user on cloud pipe platform by the IP of the KVM virtualization platform of openstack environment, user name, close Code, token etc. form log-on message, are sent to L1 layers according to REST forms, the L1 layers of acquisition pair under bottom openstack environment The authentication information (such as token) of type should be virtualized, if authentication information is consistent with the token in user's registration information, It is verified, unified interface layer stores the virtualizations such as the server (service) of KVM virtualization platform, endpoint (endpoint) The information of type, and the log-on message got (such as token) is recorded, it can be obtained again automatically after token is expired. Specifically, the information such as the server (service) of KVM virtualization platform, endpoint (endpoint) can be stored in L1 layers of number According in storehouse, the log-on message including token etc. can be stored in L1 layers of caching.L1 layers of information storage finish, that is, complete The registration of controller establishes the controller of same virtualization type and the correspondence of resource pool.
Based on the above technical solutions, step 140 calls resource transfer to ask corresponding control by unified interface layer Device processed, to access the corresponding resource pool of the controller, including:Unified interface layer receives what cloud pipe platform was sent by REST interfaces User login information, and carry out user identity verification;After verification passes through, unified interface layer receives cloud pipe platform and passes through REST interfaces The resource transfer request of transmission, wherein, resource transfer request includes:Controller identifier and the operation of request;Unified interface layer tune With the corresponding controller of above-mentioned controller identifier, called and asked in the corresponding resource pool of the controller according to the operation of request Resource, return to cloud pipe platform.
Wherein, user inputs user login information in cloud pipe platform, and school is carried out to user login information by unified interface layer It tests, after confirming as validated user, just allows to carry out resource transfer, to ensure security.Specifically, unified interface layer can utilize It registers the log-on message stored during controller to verify user login information, information is consistent, then verification passes through;It can also profit The token token of apparatus time-effectiveness is verified, L1 layers of token token and the token token generating modes one of user side It causes.Unified interface layer receives resource transfer request, parses resource transfer request and (such as obtains controller identifier and request Operation), corresponding resource is called using the controller corresponding to controller identifier, to realize the operation of user's request, user please The operation asked can call resource to create virtual machine, create the functions such as fire wall, establishment network.For example, resource transfer please Operation in asking includes get types and post types, and post body represent to create empty machine, and get ID/services represent to obtain Empty machine list etc..
Illustratively, user has been registered with the controller of an X86, there is computing resource pond, the storage of X86 on controller Resource pool and Internet resources pond.After user logs in cloud pipe platform, during by cloud pipe platform application resource, it can select to be used Controller, computing resource pond, memory resource pool and Internet resources pond, fill in application amount of computational resources, storage occupy stock number With the IP in Internet resources pond, and the operation to be carried out (for example, post body) is filled in, thus obtain resource transfer request. After unified interface layer receives the resource transfer request of cloud pipe platform, call and controller identifier pair in resource transfer request The controller answered, according to the corresponding resource of the operation calls of request (such as according to the operation post body of request complete virtual machine Establishment), realize the use of resource.
Further, cloud pipe platform shows the total amount in user's requested resource pond and currently used situation.Facilitate user Check resource situation.
Specifically, by taking existing virtualization type as an example, a variety of virtualization types are carried out with the division of resource pool, including:
(1) division in computing resource pond
VMware hosts under openstack environment are divided in the first host groups, by the first host groups and Zone (domain) associates, as VMware computing resources pond;
X86 hosts under openstack environment are divided in the second host groups, and by the second host groups and AZ (Availability Zone, available domain) associates, as KVM computing resources pond;
Host is divided by the host aggregation group of PowerVC, the PowerVM under PowerVC system administrations is empty Planization platform as PowerVM computing resources pond and using the PowerKVM virtual platforms under PowerVC system administrations as PowerKVM computing resources pond;
Divide metal bare machine xCAT computing resources pond, the Ironic computing resources pond under openstack environment and Docker Computing resource pond.
According to actual demand, some computing resource ponds can be merged into one, for example, metal bare machine xCAT computing resources pond Ironic computing resources pond under openstack environment, can be merged into bare machine computing resource pond.In addition, it is calculated in division While resource pool, relevant call in computing resource pond can also be completed and set, for example, having which mirror image, template types (flavor), network is the resource created under this computing resource pond, can accordingly be dispatched under this computing resource pond.
(2) division of memory resource pool
A memory resource pool can be divided to each virtualization type or several virtualization types share one A memory resource pool can also be that all virtualization types share a memory resource pool.Memory resource pool and computing resource pond With incidence relation, indicate which memory resource pool some computing resource pond uses.
(3) division in Internet resources pond
An Internet resources pond can be divided to each virtualization type or several virtualization types share one A Internet resources pond can also be that all virtualization types share an Internet resources pond.Likewise, Internet resources pond is with calculating Resource pool can also have incidence relation, indicate which Internet resources pond some computing resource pond uses.
Optionally, sharing for Internet resources pond can be accomplished by the following way:Internet resources pond uses big double layer network, And VLAN patterns are used, by being got through between routing, realize the communication between each Internet resources pond.
Embodiment two
Fig. 2 is the structure diagram of the resource management system of isomery virtual platform provided by Embodiment 2 of the present invention, this reality Applying the resource management system of the isomery virtual platform that example is provided, to can perform the isomery that the embodiment of the present invention one is provided virtual Change the method for managing resource of platform, possess the corresponding function module of execution method and advantageous effect.The identical or phase with embodiment one The term answered explains that the present embodiment repeats no more.
As shown in Fig. 2, the system includes:Cloud pipe platform 210, unified interface layer 220, resource pool 230 and controller 240.
Resource pool 230 is obtained by the division for carrying out resource pool to a variety of virtualization types, and resource pool 230 includes:It calculates Resource pool 231, memory resource pool 232 and Internet resources pond 233;
Unified interface layer 220 is encapsulated on a variety of virtualization types and obtained, and provides REST interfaces;
Controller 240 is that the corresponding virtualization type of the log-on message of user is registered to 220 as controller uniformly to connect Mouth layer obtains, wherein, resource pool 230 of each virtualization type can correspond to multiple controllers 240;
For providing user interface, resource transfer request pair is called by unified interface layer 220 for cloud pipe platform 210 The controller 240 answered to access the 240 corresponding resource pool 230 of controller, realizes resource transfer.
Further, cloud pipe platform 210 is specifically used for:Log-on message, log-on message or the resource transfer for receiving user please It asks, and sends log-on message, log-on message or resource transfer to unified interface layer 220 according to REST forms and ask.
Further, corresponding to the process of registration control, unified interface layer 220 is specifically used for:It is logical to receive cloud pipe platform 210 Cross the log-on message of REST interfaces transmission;Determine the corresponding virtualization type of log-on message, and recognizing according to the virtualization type Demonstrate,prove information (such as the authentication information of the virtualization type is obtained from the BOTTOM LAYER ENVIRONMENT of the virtualization type) to log-on message into Row verification;After being verified, the information of storage log-on message and the virtualization type realizes the virtualization type as controller It is registered to unified interface layer 220.
Further, corresponding to the process for calling resource, unified interface layer 220 is specifically used for:It is logical to receive cloud pipe platform 210 The user login information of REST interfaces transmission is crossed, and carries out user identity verification;After verification passes through, it is logical to receive cloud pipe platform 210 The resource transfer request of REST interfaces transmission is crossed, wherein, resource transfer request includes:Controller identifier and the operation of request;It adjusts With the corresponding controller 240 of above-mentioned controller identifier, according to the operation of above-mentioned request in the 240 corresponding resource pool of controller Requested resource is called in 230, returns to cloud pipe platform 210.
Further, cloud pipe platform 210 is additionally operable to:Show the total amount in user's requested resource pond and currently used feelings Condition.
The resource management system of isomery hybrid virtualization platform provided in this embodiment, isomery virtual platform is subdivided into Resource pool, the available resources being presented to the user in resource pool so that user need to only be concerned about the resource with which kind of resource pool, Required usage amount and available volume of resources, so as to direct the user in the utilization more concerned with business and resource rather than always stop Stay in technology, O&M and problem investigation etc..In addition, by establishing unified interface layer, by a variety of virtualization technologies it is unified by One platform management and control, removes hardware and software platform, simplifies, and solves the Resources Management of isomery virtual platform.
Fig. 3 is the Resource Management Model schematic diagram of isomery virtual platform provided by Embodiment 2 of the present invention, such as Fig. 3 institutes Show, L2 layers are cloud pipe platform;L1 layers are unified interface layer, and REST interfaces are provided to upper strata;WSGI(Web Server Gateway Interface, Web server gateway interface), it is used to implement the L1 layers of access to resource pool.The resource pool of division is as follows: Include PowerVM resource pools and PowerKVM resource pools under PowerVC systems;Include VMware resources under openstack environment Pond and KVM resource pools;Docker resource pools;Metal bare machine xCAT resource pools;Ironic resource pools.Resource pool in figure includes meter Resource pool, memory resource pool and Internet resources pond are calculated, relation is referring to the description in embodiment one, and details are not described herein again.
Embodiment three
Fig. 4 is the structure diagram for the computer equipment that the embodiment of the present invention three provides, as shown in figure 4, the computer is set It is standby to include processor 410 and memory 420;The quantity of processor 410 can be one or more in computer equipment, in Fig. 4 By taking a processor 410 as an example;Processor 410 and memory 420 in computer equipment can pass through bus or other modes It connects, in Fig. 4 exemplified by being connected by bus.
Memory 420 is used as a kind of computer readable storage medium, and journey is can perform available for storage software program, computer Sequence and module, such as the corresponding program instruction/module of the method for managing resource of the isomery virtual platform in the embodiment of the present invention. Processor 410 is stored in software program, instruction and module in memory 420 by operation, so as to perform computer equipment Various function application and data processing, that is, realize the method for managing resource of above-mentioned isomery virtual platform.
Memory 420 can mainly include storing program area and storage data field, wherein, storing program area can store operation system Application program needed for system, at least one function;Storage data field can be stored uses created data etc. according to terminal.This Outside, memory 420 can include high-speed random access memory, can also include nonvolatile memory, for example, at least one Disk memory, flush memory device or other non-volatile solid state memory parts.In some instances, memory 420 can be into one Step is included compared with the remotely located memory of processor 410, these remote memories can pass through network connection to computer Equipment.The example of above-mentioned network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Example IV
The embodiment of the present invention four also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey The method for managing resource of the isomery virtual platform described in any embodiment of the present invention is realized when sequence is executed by processor.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases Good embodiment.Based on such understanding, what technical scheme substantially in other words contributed to the prior art Part can be embodied in the form of software product, which can be stored in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions with so that a computer is set Standby (can be personal computer, server or the network equipment etc.) performs the method described in each embodiment of the present invention.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various apparent variations, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of method for managing resource of isomery virtual platform, which is characterized in that including:
A variety of virtualization types are carried out with the division of resource pool;
Unified interface layer is encapsulated on a variety of virtualization types, wherein, the unified interface layer provides declarative state Transfer REST interfaces;
According to the log-on message of user, the corresponding virtualization type of the log-on message is registered to the unification as controller Interface layer, to establish the correspondence of controller and resource pool;
It is asked according to the resource transfer of the user, by the unified interface layer resource transfer is called to ask corresponding control Device processed to access the corresponding resource pool of the controller, realizes resource transfer.
2. according to the method described in claim 1, it is characterized in that, using the corresponding virtualization type of the log-on message as control Device processed is registered to the unified interface layer, including:
The unified interface layer receives the log-on message that cloud pipe platform is sent by the REST interfaces;
The unified interface layer determines the corresponding virtualization type of the log-on message, and according to the certification of the virtualization type Information verifies the log-on message;
After being verified, the unified interface layer stores the information of the log-on message and the virtualization type, described in realization Virtualization type is registered to the unified interface layer as controller.
3. according to the method described in claim 1, it is characterized in that, call the resource transfer please by the unified interface layer Corresponding controller is sought, to access the corresponding resource pool of the controller, including:
The unified interface layer receives the user login information that cloud pipe platform is sent by the REST interfaces, and carries out user's body Part verification;
After verification passes through, the unified interface layer receives the resource transfer that cloud pipe platform is sent by the REST interfaces please It asks, wherein, the resource transfer request includes:Controller identifier and the operation of request;
The unified interface layer calls the corresponding controller of the controller identifier, according to the operation of the request in the controller Requested resource is called in corresponding resource pool, returns to the cloud pipe platform.
4. according to the method described in claim 1, it is characterized in that, the resource transfer is being called by the unified interface layer Corresponding controller is asked, after accessing the corresponding resource pool of the controller, the method further includes:
Cloud pipe platform shows the total amount in user's requested resource pond and currently used situation.
5. method according to any one of claim 1 to 4, which is characterized in that a variety of virtualization types include: VMware virtualizations, KVM virtualization, PowerVM virtualizations, PowerKVM virtualizations, the virtualization of metal bare machine and Docker are empty Planization.
6. according to the method described in claim 5, it is characterized in that, a variety of virtualization types are carried out with the division of resource pool, bag It includes:
VMware hosts under openstack environment are divided in the first host groups, first host groups are associated with domain, As VMware computing resources pond;
X86 hosts under openstack environment are divided in the second host groups, and second host groups and available domain are closed Connection, as KVM computing resources pond;
Host is divided by the host aggregation group of PowerVC, the PowerVM under PowerVC system administrations is virtualized Platform as PowerVM computing resources pond and using the PowerKVM virtual platforms under PowerVC system administrations as PowerKVM computing resources pond;
Metal bare machine xCAT computing resources pond, the Ironic computing resources pond under openstack environment and Docker is divided to calculate Resource pool;
Memory resource pool is divided, wherein, each virtualization type corresponds to a memory resource pool, alternatively, a variety of virtualizations At least two virtualization types share a memory resource pool in type;
Internet resources pond is divided, wherein, each virtualization type corresponds to an Internet resources pond, alternatively, a variety of virtualizations At least two virtualization types share an Internet resources pond in type.
7. a kind of resource management system of isomery virtual platform, which is characterized in that the resource management system includes cloud Guan Ping Platform, unified interface layer, resource pool and controller;
The resource pool is obtained by the division for carrying out resource pool to a variety of virtualization types;
The unified interface layer is encapsulated on a variety of virtualization types and obtained, and is provided declarative state and is transferred REST interfaces;
The controller is that the corresponding virtualization type of the log-on message of user is registered to the unified interface as controller Layer obtains, wherein, the resource pool of each virtualization type corresponds at least one controller;
The cloud pipe platform for providing user interface, calls resource transfer request to correspond to by the unified interface layer Controller, to access the corresponding resource pool of the controller, realize resource transfer.
8. system according to claim 7, which is characterized in that the unified interface layer is specifically used for:
Receive the log-on message that the cloud pipe platform is sent by the REST interfaces;
Determine the corresponding virtualization type of the log-on message, and according to the authentication information for virtualizing type to the registration Information is verified;
After being verified, the information of the log-on message and the virtualization type is stored, realizes the virtualization type conduct Controller is registered to the unified interface layer.
9. a kind of computer equipment, which is characterized in that the computer equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are performed by one or more of processors so that one or more of processors are real Now such as the method for managing resource of isomery virtual platform according to any one of claims 1 to 6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The method for managing resource such as isomery virtual platform according to any one of claims 1 to 6 is realized during execution.
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 true CN108062248A (en) 2018-05-22
CN108062248B 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)

Cited By (18)

* 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 浪潮电子信息产业股份有限公司 Method, device and equipment for matching software interface and readable storage medium
CN109298926A (en) * 2018-09-29 2019-02-01 阿里巴巴集团控股有限公司 Resource transfers side enters the method, apparatus and electronic equipment of resource transfers platform
CN109450713A (en) * 2018-12-25 2019-03-08 无锡华云数据技术服务有限公司 Virtual platform and cloud platform based on gateway receive Guan Fangfa, equipment, medium
CN109450909A (en) * 2018-11-23 2019-03-08 北京奇安信科技有限公司 A kind of universal process method and device in secure resources pond
CN109889524A (en) * 2019-02-26 2019-06-14 浪潮软件集团有限公司 A kind of authentication device and method of the cloud computing application system based on tree
CN110247978A (en) * 2019-06-21 2019-09-17 北京百度网讯科技有限公司 It is adapted to the job execution method and device of different resource scheduling system
CN110659105A (en) * 2019-08-30 2020-01-07 中国人民财产保险股份有限公司 Virtualized resource processing method, device, equipment and storage medium
CN111124683A (en) * 2019-12-25 2020-05-08 泰康保险集团股份有限公司 Virtual resource creating method, device and system
CN111200507A (en) * 2018-11-19 2020-05-26 中国电信股份有限公司 Heterogeneous virtual network element management method and system, model driving framework and storage medium
CN112003720A (en) * 2020-07-13 2020-11-27 烽火通信科技股份有限公司 Cloud management platform and method for managing multiple firewall resources
CN112286632A (en) * 2020-10-27 2021-01-29 龙芯中科技术股份有限公司 Cloud platform, cloud platform management method and device, electronic equipment and storage medium
CN112346814A (en) * 2019-08-07 2021-02-09 中国石油天然气股份有限公司 Method and platform for realizing unified management and self-service of data center resources
CN112685129A (en) * 2019-10-18 2021-04-20 中移(苏州)软件技术有限公司 Management system and method for multiple virtualization platforms
CN113127147A (en) * 2020-01-16 2021-07-16 上海盛霄云计算技术有限公司 Method for constructing biger cloud mimicry cloud host
CN114443295A (en) * 2022-01-21 2022-05-06 苏州浪潮智能科技有限公司 Heterogeneous cloud resource management scheduling method, device and system
WO2024087810A1 (en) * 2022-10-27 2024-05-02 深圳云豹智能有限公司 Cloud data center management system and electronic device
WO2024093315A1 (en) * 2022-10-31 2024-05-10 华为云计算技术有限公司 Management method for multi-resource-pool network, and cloud management platform and apparatus

Citations (6)

* 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
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
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

Patent Citations (6)

* 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
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
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

Cited By (24)

* 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 浪潮电子信息产业股份有限公司 Method, device and equipment for matching software interface and readable storage medium
CN109298926A (en) * 2018-09-29 2019-02-01 阿里巴巴集团控股有限公司 Resource transfers side enters the method, apparatus and electronic equipment of resource transfers platform
CN111200507B (en) * 2018-11-19 2023-04-18 中国电信股份有限公司 Heterogeneous virtual network element management method and system, model driving framework and storage medium
CN111200507A (en) * 2018-11-19 2020-05-26 中国电信股份有限公司 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
CN109450713A (en) * 2018-12-25 2019-03-08 无锡华云数据技术服务有限公司 Virtual platform and cloud platform based on gateway receive Guan Fangfa, equipment, 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
CN110247978A (en) * 2019-06-21 2019-09-17 北京百度网讯科技有限公司 It is adapted to the job execution method and device of different resource scheduling system
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
CN113127147A (en) * 2020-01-16 2021-07-16 上海盛霄云计算技术有限公司 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
CN112003720A (en) * 2020-07-13 2020-11-27 烽火通信科技股份有限公司 Cloud management platform and method for managing multiple firewall resources
CN112286632A (en) * 2020-10-27 2021-01-29 龙芯中科技术股份有限公司 Cloud platform, cloud platform management method and device, electronic equipment and storage medium
CN114443295A (en) * 2022-01-21 2022-05-06 苏州浪潮智能科技有限公司 Heterogeneous cloud resource management scheduling method, device and system
CN114443295B (en) * 2022-01-21 2024-01-12 苏州浪潮智能科技有限公司 Heterogeneous cloud resource management scheduling method, device and system
WO2024087810A1 (en) * 2022-10-27 2024-05-02 深圳云豹智能有限公司 Cloud data center management system and electronic device
WO2024093315A1 (en) * 2022-10-31 2024-05-10 华为云计算技术有限公司 Management method for multi-resource-pool network, and cloud management platform and apparatus

Also Published As

Publication number Publication date
CN108062248B (en) 2022-07-12

Similar Documents

Publication Publication Date Title
CN108062248A (en) Method for managing resource, system, equipment and the storage medium of isomery virtual platform
CN105897688B (en) So that the method and apparatus that the application disposed in cloud is able to access that internal resource
CN107683461A (en) Multiple agreements are used in virtual desktop infrastructure
CN105579965B (en) Via the client guard station resources control of provider's defining interface
JP6403800B2 (en) Migrating applications between enterprise-based and multi-tenant networks
CN106209402B (en) A kind of telescopic method and equipment of virtual network function
CN105446793B (en) The method and apparatus for migrating fictitious assets
CN103635882B (en) Controlling network is utilized
CN104320418B (en) Local security network access to remote service is provided
US9129052B2 (en) Metering resource usage in a cloud computing environment
US10628231B2 (en) Multiple service classes in a shared cloud
CN109962940A (en) A kind of virtualization example scheduling system and dispatching method based on cloud platform
CN108228316A (en) A kind of method and apparatus of encryption device virtualization
CN107357660A (en) The distribution method and device of a kind of virtual resource
US9866547B2 (en) Controlling a discovery component, within a virtual environment, that sends authenticated data to a discovery engine outside the virtual environment
Goyal Enterprise usability of cloud computing environments: issues and challenges
US20180152392A1 (en) Hybrid cloud management
CN108255497A (en) The dispositions method and device of a kind of application
CN108429768A (en) Cloud data analysis service manages system, method and cloud server
CN103747107B (en) A kind of compatible cloud operating platform and its implementation
CN107342895A (en) A kind of network optimized approach of multi-tenant, system, computing device and storage medium
CN105684357A (en) Management of addresses in virtual machines
CN105554015A (en) Management network and method for multi-tenant container cloud computing system
CN110463163A (en) For providing the on-demand method and system for waking up access to conversation server
CN106385329A (en) Processing method and device of resource pool and equipment

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