CN109582464B - Method and device for managing multiple virtualization platforms by cloud platform - Google Patents

Method and device for managing multiple virtualization platforms by cloud platform Download PDF

Info

Publication number
CN109582464B
CN109582464B CN201811464816.4A CN201811464816A CN109582464B CN 109582464 B CN109582464 B CN 109582464B CN 201811464816 A CN201811464816 A CN 201811464816A CN 109582464 B CN109582464 B CN 109582464B
Authority
CN
China
Prior art keywords
virtual
virtualization
original
hypervisor
platform
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
CN201811464816.4A
Other languages
Chinese (zh)
Other versions
CN109582464A (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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811464816.4A priority Critical patent/CN109582464B/en
Publication of CN109582464A publication Critical patent/CN109582464A/en
Application granted granted Critical
Publication of CN109582464B publication Critical patent/CN109582464B/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/45595Network integration; Enabling network access in virtual machine instances

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)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for managing multiple virtualization platforms by a cloud platform, wherein the method comprises the following steps: when a virtualization platform is accessed to a cloud platform, the cloud platform adapts the accessed virtual resources of the virtualization platform to virtual resources of a preset virtual type, and adapts a Hypervisor layer of a virtual machine monitor of the accessed virtualization platform to a Hypervisor layer of the preset Hypervisor type; and the cloud platform performs service processing or management through the adapted virtual resources and/or the Hypervisor layer.

Description

Method and device for managing multiple virtualization platforms by cloud platform
Technical Field
The application relates to the technical field of computers, in particular to a method and a device for managing multiple virtualization platforms by a cloud platform.
Background
At present, the variety of virtualization platforms is numerous, and in practical application, in order to adapt to different business requirements, users often need to use multiple virtualization platforms. Generally, the usage and operation flow of different types of virtualization platforms are different, and the logic structure of the virtualized resources is also different, which brings much inconvenience to the user in management and use.
In order to solve the technical problems, it is of great practical significance to find a method which can access different types of virtualization platforms and uniformly manage the accessed virtualization platforms.
Disclosure of Invention
The main purpose of the present application is to provide a method and an apparatus for managing multiple virtualization platforms by a cloud platform, which can implement unified access and management of virtualization platforms of different types, meet actual service requirements of users, and make the cloud platform have better applicability.
In order to solve the above technical problem, the present application provides a method for managing multiple virtualization platforms by a cloud platform, including:
when a virtualization platform is accessed to a cloud platform, the cloud platform adapts the accessed virtual resources of the virtualization platform to virtual resources of a preset virtual type, and adapts a Hypervisor layer of a virtual machine monitor of the accessed virtualization platform to a Hypervisor layer of the preset Hypervisor type;
and the cloud platform performs service processing or management through the adapted virtual resources and/or the Hypervisor layer.
In an exemplary embodiment, after the cloud platform adapts the accessed virtual resources of the virtualization platform to virtual resources of a preset virtual type, the method further includes:
allocating a new resource identification ID for the accessed virtual resource, and storing the corresponding relation between the original resource identification ID, the original virtual type and the new resource ID of the accessed virtual resource;
after the cloud platform adapts the Hypervisor layer of the accessed virtualization platform to the Hypervisor layer of the preset Hypervisor type, the method further includes:
and storing the corresponding relation between the original Hypervisor type of the Hypervisor layer and the identification ID of the virtualization platform to which the Hypervisor layer belongs.
In an exemplary embodiment, the performing, by the cloud platform, service processing or management through the adapted virtual resource includes:
when the service is processed or managed, the service processing message or the management message containing the new resource identification ID is issued, the service processing message or the management message is analyzed to obtain the new resource identification ID, the new resource identification ID is used for inquiring the corresponding relation of the original resource identification ID, the original virtual type and the new resource ID of the accessed virtual resource to obtain the original resource identification ID and the original virtual type corresponding to the new resource identification ID, and the service processing or management is executed according to the original resource identification ID and the original virtual type.
In another exemplary embodiment, the performing, by the cloud platform, service processing or management through the adapted Hypervisor layer includes:
when service processing or management is carried out, the Hypervisor layer message containing the virtualization platform ID is issued through the adapted Hypervisor layer, the Hypervisor layer message is analyzed to obtain the virtualization platform ID, the virtualization platform ID is used for inquiring the corresponding relation between the original Hypervisor type and the identification ID of the virtualization platform to which the Hypervisor layer belongs to obtain the original Hypervisor type, and service processing or management is carried out according to the original Hypervisor type.
In another exemplary embodiment, the method further comprises:
when a virtualization platform accesses to a cloud platform, the cloud platform acquires a logic structure of virtual resources of the virtualization platform, compares the logic structure of the virtual resources with a preset logic structure, and if the comparison result shows that the logic structure of the virtual resources lacks one or more levels of structures in the preset logic structure, the cloud platform allocates resources corresponding to the one or more levels of structures for the virtual resources; if the comparison result is that the logic structure of the virtual resource is one-level or multi-level structure more than the preset logic structure, the cloud platform deletes the one-level or multi-level structure more than the preset logic structure for the virtual resource according to the preset logic structure; the preset logic structure comprises a five-level structure and is a virtual control center-cluster-virtual data center-virtual application service-virtual resource.
In order to solve the above problem, the present application further provides an apparatus for managing multiple virtualization platforms by a cloud platform, including: a memory and a processor; wherein:
the memory is used for storing programs of various virtualization platforms managed by the cloud platform;
the processor is used for reading and executing the program for storing the multiple virtualization platforms managed by the cloud platform and executing the following operations:
when a virtualization platform is accessed to a cloud platform, the cloud platform adapts the accessed virtual resources of the virtualization platform to virtual resources of a preset virtual type, and adapts a Hypervisor layer of a virtual machine monitor of the accessed virtualization platform to a Hypervisor layer of the preset Hypervisor type;
and the cloud platform performs service processing or management through the adapted virtual resources and/or the Hypervisor layer.
In an exemplary embodiment, the processor reads and executes the program for the storage cloud platform to manage a plurality of virtualization platforms, and further performs the following operations:
after the cloud platform adapts the accessed virtual resources of the virtualization platform to virtual resources of a preset virtual type, allocating a new resource Identification (ID) for the accessed virtual resources, and storing the corresponding relation between the original resource Identification (ID) and the original virtual type of the accessed virtual resources and the new resource ID; and
after the cloud platform adapts the accessed Hypervisor layer of the virtualization platform to the Hypervisor layer of the preset Hypervisor type, the corresponding relation between the original Hypervisor type of the Hypervisor layer and the identification ID of the virtualization platform to which the Hypervisor layer belongs is saved.
In an exemplary embodiment, the performing, by the cloud platform, service processing or management through the adapted virtual resource includes:
when the service is processed or managed, the service processing message or the management message containing the new resource identification ID is issued, the service processing message or the management message is analyzed to obtain the new resource identification ID, the new resource identification ID is used for inquiring the corresponding relation of the original resource identification ID, the original virtual type and the new resource ID of the accessed virtual resource to obtain the original resource identification ID and the original virtual type corresponding to the new resource identification ID, and the service processing or management is executed according to the original resource identification ID and the original virtual type.
In another exemplary embodiment, the performing, by the cloud platform, service processing or management through the adapted Hypervisor layer includes:
when service processing or management is carried out, the Hypervisor layer message containing the virtualization platform ID is issued through the adapted Hypervisor layer, the Hypervisor layer message is analyzed to obtain the virtualization platform ID, the virtualization platform ID is used for inquiring the corresponding relation between the original Hypervisor type and the identification ID of the virtualization platform to which the Hypervisor layer belongs to obtain the original Hypervisor type, and service processing or management is carried out according to the original Hypervisor type.
In another exemplary embodiment, the processor reads and executes the program for the storage cloud platform to manage a plurality of virtualization platforms, and further performs the following operations:
when a virtualization platform accesses to a cloud platform, the cloud platform acquires a logic structure of virtual resources of the virtualization platform, compares the logic structure of the virtual resources with a preset logic structure, and if the comparison result shows that the logic structure of the virtual resources lacks one or more levels of structures in the preset logic structure, the cloud platform allocates resources corresponding to the one or more levels of structures for the virtual resources; if the comparison result is that the logic structure of the virtual resource is one-level or multi-level structure more than the preset logic structure, the cloud platform deletes the one-level or multi-level structure more than the preset logic structure for the virtual resource according to the preset logic structure; the preset logic structure comprises a five-level structure and is a virtual control center-cluster-virtual data center-virtual application service-virtual resource.
In summary, according to the method and the device for managing multiple virtualization platforms by a cloud platform provided by the embodiment of the present invention, when a virtualization platform accesses the cloud platform, the cloud platform adapts the accessed virtual resources of the virtualization platform to the virtual resources of the preset virtual type, and adapts the Hypervisor layer of the accessed virtual machine monitor of the virtualization platform to the Hypervisor layer of the preset Hypervisor type; and the cloud platform performs service processing or management through the adapted virtual resources and/or the Hypervisor layer. The method for managing multiple virtualization platforms by the cloud platform can realize the unified access and management of different types of virtualization platforms, meet the actual business requirements of users and enable the cloud platform to have better applicability.
Drawings
Fig. 1 is a flowchart of a method for managing multiple virtualization platforms by a cloud platform according to an embodiment of the present invention.
Fig. 2 is a schematic structural diagram of an apparatus for managing multiple virtualization platforms by a cloud platform according to an embodiment of the present invention.
FIG. 3 is a diagram of a management architecture for managing multiple virtualization platforms in accordance with an exemplary embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 1 is a flowchart of a method for managing multiple virtualization platforms by a cloud platform according to an embodiment of the present invention. According to the flowchart of fig. 1, the method for managing multiple virtualization platforms by a cloud platform of the embodiment includes the following steps:
step S1: when the virtualization platform is connected to the cloud platform, the cloud platform adapts the virtual resources of the connected virtualization platform to virtual resources of a preset virtual type, and adapts a Hypervisor layer of a virtual machine monitor of the connected virtualization platform to a Hypervisor layer of the preset Hypervisor type.
Step S2: and the cloud platform performs service processing or management through the adapted virtual resources and/or the Hypervisor layer.
In an exemplary embodiment, the step S1 can be implemented by adding an adaptation layer.
In an exemplary embodiment, the virtualized resources of the accessed virtualization platform may include computing resources, storage resources, and network resources.
In an exemplary embodiment, when a virtualization platform accesses a cloud platform, the cloud platform may obtain information such as an identification ID of the virtualization platform, a type of a Hypervisor layer of the virtualization platform, and a type of a virtual resource of the virtualization platform and an identification ID of the virtual resource before the cloud platform adapts a virtual resource of the accessed virtualization platform and the Hypervisor layer of the accessed virtualization platform.
In another exemplary embodiment, when the virtualization platform accesses the cloud platform, after the cloud platform acquires the information of the virtualization platform, the cloud platform may check the acquired information, and if the check fails, the cloud platform may return an access failure message to the virtualization platform, and not perform adaptation operation on the virtual resources of the accessed virtualization platform and the Hypervisor layer of the accessed virtualization platform. The verification operation can enhance the safety and the robustness of the cloud platform, and can play an effective safety protection role when being attacked by a network. In addition, when the virtualization platform accesses the cloud platform, other security protection modes can be adopted, for example, information interaction by using an encryption algorithm and the like. The embodiment of the present invention is not particularly limited to this.
In an exemplary embodiment, the preset virtual type may be the same virtual type as that of a certain virtualization platform, or may be a virtual type different from that of a virtualization platform, which is customized by the cloud platform. In another exemplary embodiment, when the preset virtual type is the same virtual type as that of a certain virtualization platform, the certain virtualization platform may refer to a virtualization type of a virtual resource of a virtualization platform of the first access cloud platform. The embodiment of the present invention does not specifically limit the setting of the preset virtual type.
Similarly, in an exemplary embodiment, the preset Hypervisor type may also be the same Hypervisor type as that of a certain virtualization platform, or may be a different Hypervisor type customized by the cloud platform. In another exemplary embodiment, when the preset Hypervisor type is the same Hypervisor type as that of a certain virtualization platform, the certain virtualization platform may refer to the Hypervisor type of the Hypervisor layer of the virtualization platform of the first access cloud platform. The embodiment of the present invention does not specifically limit the setting of the preset Hypervisor type.
In an exemplary embodiment, after the cloud platform adapts the accessed virtual resources of the virtualization platform to virtual resources of a preset virtual type, the method further includes:
allocating a new resource identification ID for the accessed virtual resource, and storing the corresponding relation between the original resource identification ID, the original virtual type and the new resource ID of the accessed virtual resource;
after the cloud platform adapts the Hypervisor layer of the accessed virtualization platform to the Hypervisor layer of the preset Hypervisor type, the method further includes:
and storing the corresponding relation between the original Hypervisor type of the Hypervisor layer and the identification ID of the virtualization platform to which the Hypervisor layer belongs.
Wherein the new resource identification ID is unique on the cloud platform.
In an exemplary embodiment, the performing, by the cloud platform, service processing or management through the adapted virtual resource includes:
when the service is processed or managed, the service processing message or the management message containing the new resource identification ID is issued, the service processing message or the management message is analyzed to obtain the new resource identification ID, the new resource identification ID is used for inquiring the corresponding relation of the original resource identification ID, the original virtual type and the new resource ID of the accessed virtual resource to obtain the original resource identification ID and the original virtual type corresponding to the new resource identification ID, and the service processing or management is executed according to the original resource identification ID and the original virtual type.
In an exemplary embodiment, the performing, by the cloud platform, service processing or management through the adapted Hypervisor layer includes:
when service processing or management is carried out, the Hypervisor layer message containing the virtualization platform ID is issued through the adapted Hypervisor layer, the Hypervisor layer message is analyzed to obtain the virtualization platform ID, the virtualization platform ID is used for inquiring the corresponding relation between the original Hypervisor type and the identification ID of the virtualization platform to which the Hypervisor layer belongs to obtain the original Hypervisor type, and service processing or management is carried out according to the original Hypervisor type.
In another exemplary embodiment, during service processing or management, after receiving or acquiring the message of the original Hypervisor layer, the adapted Hypervisor layer sends the Hypervisor layer message to the upper layer in a unified Hypervisor layer message format. Wherein, the unified Hypervisor layer message format is a preset Hypervisor type message format.
In another exemplary embodiment, the method further comprises:
when a virtualization platform accesses to a cloud platform, the cloud platform acquires a logic structure of virtual resources of the virtualization platform, compares the logic structure of the virtual resources with a preset logic structure, and if the comparison result shows that the logic structure of the virtual resources lacks one or more levels of structures in the preset logic structure, the cloud platform allocates resources corresponding to the one or more levels of structures for the virtual resources; if the comparison result is that the logic structure of the virtual resource is one-level or multi-level structure more than the preset logic structure, the cloud platform deletes the one-level or multi-level structure more than the preset logic structure for the virtual resource according to the preset logic structure; the preset logic structure comprises a five-level structure and is a virtual control center-cluster-virtual data center-virtual application service-virtual resource.
All the virtual resources are managed according to a unified logic structure, so that the cloud platform adopts a unified operation interface and a unified display interface, the management of the cloud platform on various virtualization platforms is simplified, the management efficiency is improved, the resources occupied by the management are saved, and the user satisfaction is improved.
According to the method for managing the multiple virtualization platforms by the cloud platform provided by the embodiment of the invention, when the virtualization platform is accessed to the cloud platform, the cloud platform adapts the accessed virtual resources of the virtualization platform to the virtual resources of the preset virtual type, and adapts the Hypervisor layer of the accessed virtual machine monitor of the virtualization platform to the Hypervisor layer of the preset Hypervisor type; and the cloud platform performs service processing or management through the adapted virtual resources and/or the Hypervisor layer. The method for managing multiple virtualization platforms by the cloud platform can realize the unified access and management of different types of virtualization platforms, meet the actual business requirements of users and enable the cloud platform to have better applicability.
Fig. 2 is a schematic structural diagram of an apparatus for managing multiple virtualization platforms by a cloud platform according to an embodiment of the present invention. According to the schematic diagram shown in fig. 2, the cloud platform of the present embodiment manages multiple virtualization platforms, including a memory 100 and a processor 200. Wherein:
the memory is used for storing programs of various virtualization platforms managed by the cloud platform;
the processor is used for reading and executing the program for storing the multiple virtualization platforms managed by the cloud platform and executing the following operations:
when a virtualization platform is accessed to a cloud platform, the cloud platform adapts the accessed virtual resources of the virtualization platform to virtual resources of a preset virtual type, and adapts a Hypervisor layer of a virtual machine monitor of the accessed virtualization platform to a Hypervisor layer of the preset Hypervisor type;
and the cloud platform performs service processing or management through the adapted virtual resources and/or the Hypervisor layer.
In an exemplary embodiment, the step S1 can be implemented by adding an adaptation layer.
In an exemplary embodiment, the virtualized resources of the accessed virtualization platform may include computing resources, storage resources, and network resources.
In an exemplary embodiment, when a virtualization platform accesses a cloud platform, the cloud platform may obtain information such as an identification ID of the virtualization platform, a type of a Hypervisor layer of the virtualization platform, and a type of a virtual resource of the virtualization platform and an identification ID of the virtual resource before the cloud platform adapts a virtual resource of the accessed virtualization platform and the Hypervisor layer of the accessed virtualization platform.
In another exemplary embodiment, when the virtualization platform accesses the cloud platform, after the cloud platform acquires the information of the virtualization platform, the cloud platform may check the acquired information, and if the check fails, the cloud platform may return an access failure message to the virtualization platform, and not perform adaptation operation on the virtual resources of the accessed virtualization platform and the Hypervisor layer of the accessed virtualization platform. The verification operation can enhance the safety and the robustness of the cloud platform, and can play an effective safety protection role when being attacked by a network. In addition, when the virtualization platform accesses the cloud platform, other security protection modes can be adopted, for example, information interaction by using an encryption algorithm and the like. The embodiment of the present invention is not particularly limited to this.
In an exemplary embodiment, the preset virtual type may be the same virtual type as that of a certain virtualization platform, or may be a virtual type different from that of a virtualization platform, which is customized by the cloud platform. In another exemplary embodiment, when the preset virtual type is the same virtual type as that of a certain virtualization platform, the certain virtualization platform may refer to a virtualization type of a virtual resource of a virtualization platform of the first access cloud platform. The embodiment of the present invention does not specifically limit the setting of the preset virtual type.
Similarly, in an exemplary embodiment, the preset Hypervisor type may also be the same Hypervisor type as that of a certain virtualization platform, or may be a different Hypervisor type customized by the cloud platform. In another exemplary embodiment, when the preset Hypervisor type is the same Hypervisor type as that of a certain virtualization platform, the certain virtualization platform may refer to the Hypervisor type of the Hypervisor layer of the virtualization platform of the first access cloud platform. The embodiment of the present invention does not specifically limit the setting of the preset Hypervisor type.
In an exemplary embodiment, the processor 200 reads and executes the program for managing the plurality of virtualization platforms by the storage cloud platform, and further performs the following operations:
after the cloud platform adapts the accessed virtual resources of the virtualization platform to virtual resources of a preset virtual type, allocating a new resource Identification (ID) for the accessed virtual resources, and storing the corresponding relation between the original resource Identification (ID) and the original virtual type of the accessed virtual resources and the new resource ID; and
after the cloud platform adapts the accessed Hypervisor layer of the virtualization platform to the Hypervisor layer of the preset Hypervisor type, the corresponding relation between the original Hypervisor type of the Hypervisor layer and the identification ID of the virtualization platform to which the Hypervisor layer belongs is saved.
Wherein the new resource identification ID is unique on the cloud platform.
In an exemplary embodiment, the performing, by the cloud platform, service processing or management through the adapted virtual resource includes:
when the service is processed or managed, the service processing message or the management message containing the new resource identification ID is issued, the service processing message or the management message is analyzed to obtain the new resource identification ID, the new resource identification ID is used for inquiring the corresponding relation of the original resource identification ID, the original virtual type and the new resource ID of the accessed virtual resource to obtain the original resource identification ID and the original virtual type corresponding to the new resource identification ID, and the service processing or management is executed according to the original resource identification ID and the original virtual type.
In another exemplary embodiment, the performing, by the cloud platform, service processing or management through the adapted Hypervisor layer includes:
when service processing or management is carried out, the Hypervisor layer message containing the virtualization platform ID is issued through the adapted Hypervisor layer, the Hypervisor layer message is analyzed to obtain the virtualization platform ID, the virtualization platform ID is used for inquiring the corresponding relation between the original Hypervisor type and the identification ID of the virtualization platform to which the Hypervisor layer belongs to obtain the original Hypervisor type, and service processing or management is carried out according to the original Hypervisor type.
In another exemplary embodiment, during service processing or management, after receiving or acquiring the message of the original Hypervisor layer, the adapted Hypervisor layer sends the Hypervisor layer message to the upper layer in a unified Hypervisor layer message format. Wherein, the unified Hypervisor layer message format is a preset Hypervisor type message format.
In an exemplary embodiment, the processor reads and executes the program for the storage cloud platform to manage a plurality of virtualization platforms, and further performs the following operations:
when a virtualization platform accesses to a cloud platform, the cloud platform acquires a logic structure of virtual resources of the virtualization platform, compares the logic structure of the virtual resources with a preset logic structure, and if the comparison result shows that the logic structure of the virtual resources lacks one or more levels of structures in the preset logic structure, the cloud platform allocates resources corresponding to the one or more levels of structures for the virtual resources; if the comparison result is that the logic structure of the virtual resource is one-level or multi-level structure more than the preset logic structure, the cloud platform deletes the one-level or multi-level structure more than the preset logic structure for the virtual resource according to the preset logic structure; the preset logic structure comprises a five-level structure and is a virtual control center-cluster-virtual data center-virtual application service-virtual resource.
All the virtual resources are managed according to a unified logic structure, so that the cloud platform adopts a unified operation interface and a unified display interface, the management of the cloud platform on various virtualization platforms is simplified, the management efficiency is improved, the resources occupied by the management are saved, and the user satisfaction is improved.
The method for the cloud platform to manage multiple virtualization platforms is further described below by using a specific application example.
In the application example, a management architecture for managing multiple virtualization platforms is provided according to the method for managing multiple virtualization platforms by a cloud platform, and the management architecture is shown in fig. 3 and comprises a virtualization platform management layer, a virtualization adaptation layer and a virtualization layer. The following is a specific description of a method for managing multiple virtualization platforms by the management framework cloud platform shown in fig. 3.
The method comprises the following steps: when a virtualization platform is accessed to a cloud platform, a virtualization adaptation layer acquires information such as an identification ID of the virtualization platform, a type of a Hypervisor layer of the virtualization platform, a type of virtual resources of the virtualization platform, an identification ID of the virtual resources, a logical structure of the virtual resources of the virtualization platform and the like; and checking the acquired information, if the checking fails, the cloud platform can return a message of access failure to the virtualization platform, the process is ended, if the checking succeeds, the cloud platform can return a message of access success to the virtualization platform, and the second step is executed.
Wherein the virtualization layer in fig. 3 includes multiple types of virtualization platforms that are accessed.
Step two: the virtualization adaptation layer adapts the accessed virtualization platform, specifically comprising: the server resource ServerResource adaptation module of the virtualization adaptation layer adapts the accessed virtual resources of the virtualization platform to virtual resources of a preset virtual type, and the Hypervisor adaptation module of the virtualization adaptation layer adapts the accessed Hypervisor layer of the virtualization platform to a Hypervisor layer of the preset Hypervisor type.
Step three: the virtualization adaptation layer also allocates a new resource identification ID for the accessed virtual resource, and stores the corresponding relation between the original resource identification ID, the original virtual type and the new resource ID of the accessed virtual resource; storing the corresponding relation between the original Hypervisor type of the Hypervisor layer and the identification ID of the virtualization platform to which the Hypervisor layer belongs; and the virtualization adaptation layer reports the new resource identification ID and the logic structure of the virtual resource corresponding to the resource identification ID to the virtualization platform management layer.
Step four: the virtualization platform management layer integrates the virtual resources according to a preset logic structure, and specifically comprises the following steps: comparing the logic structure of the virtual resource with a preset logic structure, and if the comparison result shows that the logic structure of the virtual resource lacks one or more levels of structures in the preset logic structure, allocating resources corresponding to the one or more levels of structures for the virtual resource by the virtualization platform management layer; if the comparison result is that the logic structure of the virtual resource is one-level or multi-level structure more than the preset logic structure, the virtualization platform management layer deletes the one-level or multi-level structure more than the preset logic structure for the virtual resource according to the preset logic structure; the preset logic structure comprises a five-level structure and is a virtual control center-cluster-virtual data center-virtual application service-virtual resource.
Step five: the cloud platform performs service processing or management through the adapted virtual resources and/or the Hypervisor layer, specifically: when the service is processed or managed, the virtualization platform management layer issues a service processing message or a management message containing a new resource identification ID, the virtualization adaptation layer analyzes the service processing message or the management message to obtain the new resource identification ID, and the virtualization adaptation layer queries the corresponding relation between the original resource identification ID, the original virtual type and the new resource ID of the accessed virtual resource by using the new resource identification ID to obtain the original resource identification ID and the original virtual type corresponding to the new resource identification ID; and/or when service processing or management is carried out, the virtualization platform management layer issues a Hypervisor layer message containing a virtualization platform ID, the Hypervisor adaptation module analyzes the Hypervisor layer message to obtain the virtualization platform ID, and the virtualization platform ID is used for inquiring the corresponding relation between the original Hypervisor type and the identification ID of the virtualization platform to which the Hypervisor layer belongs to obtain the original Hypervisor type.
Step six: and the virtualization adaptation layer sends the obtained original resource identification ID and the original virtual type and/or the original Hypervisor type to the virtualization layer to execute service processing or management.
Step seven: the cloud platform manages the virtual resources through a unified logic structure, for example, a unified operation interface, a unified display interface, and the like are adopted.
In the above specific application example, there is no strict execution sequence between each step, and those skilled in the art can reasonably arrange the execution sequence of each step as needed.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by instructing the relevant hardware through a program, and the program may be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits. Accordingly, each module/unit in the above embodiments may be implemented in the form of hardware, and may also be implemented in the form of a software functional module. The present application is not limited to any specific form of hardware or software combination.
While the foregoing is directed to the preferred embodiment of the present application, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow.

Claims (8)

1. A method for managing multiple virtualization platforms by a cloud platform is applied to the cloud platforms of the multiple virtualization platforms, the cloud platform comprises a virtualization platform management layer, a virtualization adaptation layer and a virtualization layer, and the method comprises the following steps:
when a virtualization platform is accessed to a cloud platform, a virtualization adaptation layer in the cloud platform adapts virtual resources of the virtualization platform accessed by a virtualization layer to virtual resources of a preset virtual type, and adapts a Hypervisor layer of a virtual machine monitor of the accessed virtualization platform to a Hypervisor layer of the preset Hypervisor type; allocating a new resource identification ID for the accessed virtual resource, and storing the corresponding relation of the original resource identification ID, the original virtual type and the new resource identification ID of the accessed virtual resource; reporting the new resource identification ID and the logic structure of the virtual resource corresponding to the resource identification ID to a virtualization platform management layer; storing the corresponding relation between the original Hypervisor type of a Hypervisor layer and the identification ID of the virtualization platform to which the Hypervisor layer belongs;
after the virtualization platform management layer obtains the logic structure of the virtual resources, integrating the virtual resources according to a preset logic structure; the cloud platform performs service processing or management through the adapted virtual resources and/or Hypervisor layer, and the service processing or management includes:
the virtualization adaptation layer acquires the integrated virtual resources from a virtualization platform management layer, determines the original resource identification ID and the original virtual type and/or the original Hypervisor type of the virtual machine by utilizing the stored corresponding relation of the original resource identification ID, the original virtual type and the new resource identification ID of the accessed virtual resources and the corresponding relation of the original Hypervisor type of the Hypervisor layer and the identification ID of the virtualization platform to which the Hypervisor layer belongs, and sends the determined original resource identification ID and the original virtual type and/or the original Hypervisor type to the virtualization adaptation layer.
2. The method of claim 1, wherein the cloud platform performing business processing or management through the adapted virtual resources comprises:
when the service is processed or managed, the virtualization platform management layer issues a service processing message or a management message containing a new resource identification ID, analyzes the service processing message or the management message to obtain the new resource identification ID, uses the new resource identification ID to inquire the corresponding relation of the original resource identification ID, the original virtual type and the new resource identification ID of the accessed virtual resource, obtains the original resource identification ID and the original virtual type corresponding to the new resource identification ID, and executes service processing or management according to the original resource identification ID and the original virtual type.
3. The method of claim 1, wherein the performing, by the cloud platform, business processing or management through the adapted Hypervisor layer comprises:
when service processing or management is carried out, the virtualization adaptation layer issues a Hypervisor layer message containing a virtualization platform identification ID through the adapted Hypervisor layer, analyzes the Hypervisor layer message to obtain the virtualization platform identification ID, uses the virtualization platform identification ID to inquire the corresponding relation between the original Hypervisor type and the identification ID of the virtualization platform to which the Hypervisor layer belongs to obtain the original Hypervisor type, and executes service processing or management according to the original Hypervisor type.
4. The method of claim 1, wherein the method further comprises:
when a virtualization platform accesses to a cloud platform, the virtualization platform management layer in the cloud platform acquires a logic structure of virtual resources of the virtualization platform, compares the logic structure of the virtual resources with a preset logic structure, and if the comparison result shows that the logic structure of the virtual resources lacks one or more levels of structures in the preset logic structure, the cloud platform allocates resources corresponding to the one or more levels of structures for the virtual resources; if the comparison result is that the logic structure of the virtual resource is one-level or multi-level structure more than the preset logic structure, the cloud platform deletes the one-level or multi-level structure more than the preset logic structure for the virtual resource according to the preset logic structure; the preset logic structure comprises a five-level structure and is a virtual control center-cluster-virtual data center-virtual application service-virtual resource.
5. An apparatus for managing multiple virtualization platforms by a cloud platform is applied to the cloud platforms of the multiple virtualization platforms, the cloud platform comprises a virtualization platform management layer, a virtualization adaptation layer and a virtualization layer, and the apparatus comprises: a memory and a processor; wherein:
the memory is used for storing programs of various virtualization platforms managed by the cloud platform;
the processor is used for reading and executing the program for storing the multiple virtualization platforms managed by the cloud platform and executing the following operations:
when a virtualization platform is accessed to a cloud platform, calling a virtualization adaptation layer in the cloud platform to adapt virtual resources of the virtualization platform accessed by the virtualization layer to virtual resources of a preset virtual type, and adapting a Hypervisor layer of a virtual machine monitor of the accessed virtualization platform to a Hypervisor layer of the preset Hypervisor type; allocating a new resource identification ID for the accessed virtual resource, and storing the corresponding relation of the original resource identification ID, the original virtual type and the new resource identification ID of the accessed virtual resource; reporting the new resource identification ID and the logic structure of the virtual resource corresponding to the resource identification ID to a virtualization platform management layer; storing the corresponding relation between the original Hypervisor type of a Hypervisor layer and the identification ID of the virtualization platform to which the Hypervisor layer belongs;
after the virtual platform management layer is called to obtain the logic structure of the virtual resources, the virtual resources are integrated according to a preset logic structure; the cloud platform performs service processing or management through the adapted virtual resources and/or Hypervisor layer, and the service processing or management includes:
the virtualization adaptation layer acquires the integrated virtual resources from the virtualization platform management layer, determines the original resource identification ID and the original virtual type and/or the original Hypervisor type of the virtual machine by utilizing the stored corresponding relation of the original resource identification ID, the original virtual type and the new resource identification ID of the accessed virtual resources and the corresponding relation of the original Hypervisor type of the Hypervisor layer and the identification ID of the virtualization platform to which the Hypervisor layer belongs, and sends the determined original resource identification ID and the original virtual type and/or the original Hypervisor type to the virtualization adaptation layer.
6. The apparatus of claim 5, wherein the cloud platform performing business processing or management through the adapted virtual resources comprises:
when the service is processed or managed, the virtualization platform management layer is called to send a service processing message or a management message containing a new resource identification ID, the service processing message or the management message is analyzed to obtain the new resource identification ID, the new resource identification ID is used for inquiring the corresponding relation of the original resource identification ID, the original virtual type and the new resource identification ID of the accessed virtual resource to obtain the original resource identification ID and the original virtual type corresponding to the new resource identification ID, and the service processing or management is executed according to the original resource identification ID and the original virtual type.
7. The apparatus of claim 5, wherein the cloud platform conducting business processing or management through the adapted Hypervisor layer comprises:
when service processing or management is carried out, the virtualization adaptation layer is called to issue a Hypervisor layer message containing a virtualization platform identification ID through the adapted Hypervisor layer, the Hypervisor layer message is analyzed to obtain the virtualization platform identification ID, the virtualization platform identification ID is used for inquiring the corresponding relation between the original Hypervisor type and the identification ID of the virtualization platform to which the Hypervisor layer belongs, the original Hypervisor type is obtained, and service processing or management is carried out according to the original Hypervisor type.
8. The apparatus of claim 7, wherein the processor reads and executes the program for the storage cloud platform to manage multiple virtualization platforms, further performing the following:
when a virtualization platform is accessed to a cloud platform, calling a virtualization platform management layer in the cloud platform to acquire a logic structure of a virtual resource of the virtualization platform, comparing the logic structure of the virtual resource with a preset logic structure, and if the comparison result shows that the logic structure of the virtual resource lacks one or more levels of structures in the preset logic structure, allocating the resource corresponding to the one or more levels of structures for the virtual resource by the cloud platform; if the comparison result is that the logic structure of the virtual resource is one-level or multi-level structure more than the preset logic structure, the cloud platform deletes the one-level or multi-level structure more than the preset logic structure for the virtual resource according to the preset logic structure; the preset logic structure comprises a five-level structure and is a virtual control center-cluster-virtual data center-virtual application service-virtual resource.
CN201811464816.4A 2018-12-03 2018-12-03 Method and device for managing multiple virtualization platforms by cloud platform Active CN109582464B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811464816.4A CN109582464B (en) 2018-12-03 2018-12-03 Method and device for managing multiple virtualization platforms by cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811464816.4A CN109582464B (en) 2018-12-03 2018-12-03 Method and device for managing multiple virtualization platforms by cloud platform

Publications (2)

Publication Number Publication Date
CN109582464A CN109582464A (en) 2019-04-05
CN109582464B true CN109582464B (en) 2021-04-30

Family

ID=65926893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811464816.4A Active CN109582464B (en) 2018-12-03 2018-12-03 Method and device for managing multiple virtualization platforms by cloud platform

Country Status (1)

Country Link
CN (1) CN109582464B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502392A (en) * 2019-07-17 2019-11-26 华东计算技术研究所(中国电子科技集团公司第三十二研究所) Cloud platform management and monitoring system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118125A (en) * 2013-02-22 2013-05-22 浪潮电子信息产业股份有限公司 Design method of cross-platform cloud computing resource management system
CN104410535A (en) * 2014-12-23 2015-03-11 浪潮电子信息产业股份有限公司 Intelligent cloud resource monitoring and warning method
CN104579732A (en) * 2013-10-21 2015-04-29 华为技术有限公司 Method, device and system for managing virtualized network function network elements
CN106897111A (en) * 2017-02-23 2017-06-27 郑州云海信息技术有限公司 The management system and management method of a kind of virtual platform
CN107295074A (en) * 2017-06-13 2017-10-24 郑州云海信息技术有限公司 It is a kind of to realize the method and apparatus that cloud resource is shown

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011091056A1 (en) * 2010-01-19 2011-07-28 Servicemesh, Inc. System and method for a cloud computing abstraction layer
US10630559B2 (en) * 2011-09-27 2020-04-21 UST Global (Singapore) Pte. Ltd. Virtual machine (VM) realm integration and management

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103118125A (en) * 2013-02-22 2013-05-22 浪潮电子信息产业股份有限公司 Design method of cross-platform cloud computing resource management system
CN104579732A (en) * 2013-10-21 2015-04-29 华为技术有限公司 Method, device and system for managing virtualized network function network elements
CN104410535A (en) * 2014-12-23 2015-03-11 浪潮电子信息产业股份有限公司 Intelligent cloud resource monitoring and warning method
CN106897111A (en) * 2017-02-23 2017-06-27 郑州云海信息技术有限公司 The management system and management method of a kind of virtual platform
CN107295074A (en) * 2017-06-13 2017-10-24 郑州云海信息技术有限公司 It is a kind of to realize the method and apparatus that cloud resource is shown

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
云海OS云资源管理系统的设计与实现;王理想;《中国优秀硕士学位论文全文数据库信息科技辑2016年第04期》;20160430;正文第5-54页 *

Also Published As

Publication number Publication date
CN109582464A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
US9450940B2 (en) Intelligent system for enabling automated secondary authorization for service requests in an agile information technology environment
US9003239B2 (en) Monitoring and resolving deadlocks, contention, runaway CPU and other virtual machine production issues
WO2019179026A1 (en) Electronic device, method for automatically generating cluster access domain name, and storage medium
US20160139949A1 (en) Virtual machine resource management system and method thereof
US20110010691A1 (en) Distributed Software Testing Using Cloud Computing Resources
US11924117B2 (en) Automated local scaling of compute instances
US20060235664A1 (en) Model-based capacity planning
US9710292B2 (en) Allowing management of a virtual machine by multiple cloud providers
US9612942B2 (en) Verification of a computer program in respect to an unexpected response to an access request
WO2021022713A1 (en) Distributed module update method, device, and storage medium
CN106777394B (en) Cluster file system
KR20150020221A (en) Network based management of protected data sets
CN109582464B (en) Method and device for managing multiple virtualization platforms by cloud platform
US11635948B2 (en) Systems and methods for mapping software applications interdependencies
CN108776611B (en) Cloud host management method and device based on cloud management platform
US20220335047A1 (en) System and method for dynamic memory allocation for query execution
CN115576626A (en) Method, device and storage medium for safe mounting and dismounting of USB (Universal Serial bus) device
CN115774742A (en) Data storage newly-increased method, device, equipment, medium and product of private cloud
US11663349B2 (en) System and method for managing data object creation
US10013273B1 (en) Virtual machine termination management
US11483205B1 (en) Defragmentation of licensed resources in a provider network
WO2021004320A1 (en) Service resource license management method and related device
US10572805B2 (en) Service modeling and execution
CN117472516B (en) Virtual resource scheduling method, device, cluster system, electronic equipment and medium
RU2820753C1 (en) Method and system for controlling objects and processes in computing environment

Legal Events

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