CN114268671A - OpenStack-based private cloud heterogeneous resource management method and system - Google Patents

OpenStack-based private cloud heterogeneous resource management method and system Download PDF

Info

Publication number
CN114268671A
CN114268671A CN202111368026.8A CN202111368026A CN114268671A CN 114268671 A CN114268671 A CN 114268671A CN 202111368026 A CN202111368026 A CN 202111368026A CN 114268671 A CN114268671 A CN 114268671A
Authority
CN
China
Prior art keywords
layer
heterogeneous
management
resource
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
CN202111368026.8A
Other languages
Chinese (zh)
Other versions
CN114268671B (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.)
Aisino Corp
Original Assignee
Aisino Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aisino Corp filed Critical Aisino Corp
Priority to CN202111368026.8A priority Critical patent/CN114268671B/en
Publication of CN114268671A publication Critical patent/CN114268671A/en
Application granted granted Critical
Publication of CN114268671B publication Critical patent/CN114268671B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention discloses a method and a system for managing heterogeneous resources of a private cloud based on OpenStack, wherein the method comprises the following steps: constructing heterogeneous infrastructure layers under different physical environments, and completing adaptation of different platform devices; the method comprises the steps that an isomerization management system of private cloud heterogeneous resources provided by a heterogeneous infrastructure layer is divided into an adapter interface layer, a resource unified management layer and an application service layer; in the adapter interface layer, the operation control on all private cloud heterogeneous resources provided by the heterogeneous infrastructure layer is completed by calling an API (application program interface) provided by OpenStack; an extensible architecture is adopted in a resource unified management layer, capacity expansion and capacity reduction are supported for a storage resource pool, distributed storage and centralized storage of mainstream are supported, operation and maintenance of monitoring, logs, events, alarms and notifications are uniformly carried out, and resource statistical data and usage statistical data are displayed in a partition mode in a graphical interface mode; and in an application service layer, a scene service is provided facing tax business, and various types of applications can be operated.

Description

OpenStack-based private cloud heterogeneous resource management method and system
Technical Field
The invention relates to the technical field of heterogeneous resource management, in particular to a method and a system for managing private cloud heterogeneous resources based on OpenStack.
Background
With the rapid development of artificial intelligence technology, tax payment services are stepping into the intelligent era of "internet + tax". Nearly 200 molecular companies and 1100 basic business units established by aerospace information are distributed all over the country, face enterprise markets, take tickets, properties and taxes as cores, and provide 'housekeeping' service for enterprise tax and financial management. A third-party electronic invoice platform with national influence is built, the annual invoicing amount of the electronic invoice exceeds 30 hundred million, and a tax management informatization solution is customized for 2-thousand super-large enterprises and major industry clients in China. With the continuous expansion of tax affairs and the innovation of cloud computing technology, based on the latest technologies of internet, cloud computing, big data and the like, based on a new business model of social commerce, multiple regional companies launch tax affair industry clouds (called tax clouds for short) of respective regions, the tax clouds provide value-added tax services taking sales management, entry management and tax declaration as cores for enterprises, provide solutions of all tax related links in the operation process for the enterprises, communicate enterprise business, finance and tax data, provide intelligent tax services for the enterprises, help the enterprises to make optimal tax decisions, and establish a plurality of tax cloud platforms with connection, high efficiency and new intelligent characteristics.
Although the public cloud is mature and widely applied at present, the advantages of the private cloud still cannot be replaced, the operation cost can be controlled to be low by using the private cloud, the data security is ensured, and a large amount of data migration from the inside of the system to a public cloud computing platform is avoided, so that the private cloud has a very important position in various business fields such as big data analysis, application deployment, high-performance computing and the like. So that the private cloud is still a lot of enterprises at present
And optimally selecting the cloud computing platform. With the rapid development of informatization construction, a cloud architecture enters an actual application stage in various fields, regional companies participate in construction by multiple local stages and multiple manufacturers, a private cloud platform of tax business is initially built, server virtualization and desktop virtualization are achieved, and meanwhile, a dispersed private cloud heterogeneous multi-resource pool (VMware resource, KVM resource and Ctrix resource pool) is also caused at the current stage. The problem that a unified mode is adopted for monitoring and managing cluster environments under different virtualization technology architectures generally exists.
At present, each department supports management of heterogeneous infrastructures such as an X86 architecture, a domestic ARM architecture server and a Loongson server in tax industry cloud applied in respective data centers or cloud centers based on requirements of own services, and is compatible with heterogeneous virtualized operating systems such as UOS, Galois, winning-bid kylin and centos. For the X86 architecture cloud platform, different technical systems of OpenStack, KVM and Xen are adopted, and for the ARM architecture server and the Loongson server, an OpenStack + KVM technical system is adopted. Therefore, a plurality of cloud centers have servers with different physical environment architectures, and the servers are adapted and deployed, and the integration of cloud platforms of different technical systems under different physical environments and the unified management of multiple clouds is completed on the basis.
Aiming at the technical problems that multiple virtualization software coexist in different areas, a physical resource pool and a virtual resource pool coexist, the resource pools are separated in a dispersing way, the full sharing and unified management of the resource pools cannot be realized, and the overall resource utilization rate of the resource pools is low in the prior art, an effective solution is not provided at present.
Disclosure of Invention
The invention is provided for solving the technical problems that various virtualization software coexists in different areas, a physical resource pool and a virtual resource pool coexist, the resource pools are separated in a dispersing way, the full sharing and unified management of the resource pools cannot be realized, and the overall resource utilization rate of the resource pools is low. The embodiment of the invention provides a method and a system for managing heterogeneous resources of a private cloud based on OpenStack.
According to an aspect of the embodiment of the invention, a method for managing heterogeneous resources of a private cloud based on OpenStack is provided, and the method comprises the following steps:
constructing heterogeneous infrastructure layers under different physical environments, and completing adaptation of different platform devices;
the method comprises the steps that an isomerization management system of private cloud heterogeneous resources provided by a heterogeneous infrastructure layer is divided into an adapter interface layer, a resource unified management layer and an application service layer;
in the adapter interface layer, the operation control on all private cloud heterogeneous resources provided by the heterogeneous infrastructure layer is completed by calling an API (application program interface) provided by OpenStack;
an extensible architecture is adopted in a resource unified management layer, capacity expansion and capacity reduction are supported for a storage resource pool, and distributed storage and centralized storage are supported;
a unified operation and maintenance mechanism is adopted in a resource unified management layer, operation and maintenance of monitoring, logs, events, alarms and notifications are developed in a unified mode, and resource statistical data and usage statistical data are displayed in a partition mode in a graphical interface mode;
and in an application service layer, a scene service is provided facing tax business, and various types of applications can be operated.
Optionally, constructing heterogeneous infrastructure layers in different physical environments to complete adaptation of different platform devices, including:
constructing heterogeneous infrastructure layers under different physical environments, wherein the heterogeneous infrastructure layers can be adapted to different platform devices;
aiming at different platform devices, installing different operating systems, databases and middleware to enable software to be installed and run on the corresponding platform devices;
and performing adaptation test on compatibility, usability and performance of client software installed and running on different platform devices.
Optionally, the method further comprises: in the process of adapting the virtualization technology by the home-made machine of the ARM architecture, a source code is downloaded and modified through rpm-build, and then the source code is recompiled into a new rpm packet and stored, so that the problems of conflict and version incompatibility of a virtualization technology installation packet are solved.
Optionally, in the adapter interface layer, by calling an API interface provided by OpenStack, operation control over all private cloud heterogeneous resources provided by the heterogeneous infrastructure layer is completed, including:
in an adapter interface layer, an object-oriented programming method is adopted, an API (application programming interface) provided by OpenStack is called to be connected to the vCenterServer, parameter configuration is completed, and the full life cycle of the virtual machine is managed;
the Adapter class object is added to reform an old interface, and the open interface is introduced into a new interface one by one, so that further encapsulation and isolation are completed, and a uniform service interface is provided upwards.
Alternatively, the tax services provided at the application service layer are independent of each other but intercommunicate.
Optionally, the method further comprises: the method comprises the steps of gradually forming a service directory by the scene services provided by the application service layer, and adjusting to different degrees according to the running state of the actual service system so as to meet the requirement of tax service development.
Optionally, the application service layer provides the tax business with the scene service, which includes cloud host management, bare metal management service and virtual application, wherein the application service layer provides the tax business with the scene service
The cloud host management can complete the full life cycle management of the cloud host, support single or batch creation and deployment of virtual machines, and start, close and restart operations of the virtual machines;
the bare metal management service provides a special physical server for the application, and the high performance and stability of the core application are guaranteed;
the virtual applications include cluster management, user permissions, image sharing, and quota management.
Optionally, the method further comprises: in the cloud host management process, virtual machine resources are adjusted according to requirements, virtual machine resources of centros/ubuntu KVM, ESXI and domestic KVM are dynamically adjusted, and migration of virtual machines in a cluster is supported.
Optionally, the method further comprises:
after basic server shelving and related preparation work are completed, bare metal equipment is deployed on a UI interface, and a bare metal host can be created by using the bare metal equipment after deployment is completed so as to provide bare metal management service.
Optionally, the method further comprises:
the operation system of the bare metal host is installed in batches in an unattended mode through the pre-configuration template, a service network is configured for the bare metal host, and full life cycle management is carried out on the bare metal host.
According to another aspect of the embodiments of the present invention, there is provided an OpenStack-based private cloud heterogeneous resource management system, including:
the heterogeneous infrastructure layer building module is used for building heterogeneous infrastructure layers under different physical environments and completing adaptation of different platform devices;
the heterogeneous management systemization module is used for dividing the heterogeneous management system of the private cloud heterogeneous resources provided by the heterogeneous infrastructure layer into an adapter interface layer, a resource unified management layer and an application service layer;
the API interface calling module is used for calling an API interface provided by OpenStack at the adapter interface layer to complete operation control on all private cloud heterogeneous resources provided by the heterogeneous infrastructure layer;
the heterogeneous resource integration and use module is used for adopting an expandable architecture on a resource unified management layer, supporting capacity expansion and capacity reduction on a storage resource pool, and supporting distributed storage and centralized storage of a main stream;
the unified operation and maintenance module is used for uniformly developing the operation and maintenance of monitoring, logs, events, alarms and notifications by adopting a unified operation and maintenance mechanism on a resource unified management layer, and displaying resource statistical data and usage statistical data in a partition mode in a graphical interface mode;
and the application service module is used for providing a scene service facing the tax business on an application service layer and can run various types of applications.
According to still another aspect of an embodiment of the present invention, there is provided an electronic apparatus including: a processor; for storing the processor-executable instructions; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method according to any of the above embodiments of the present invention.
According to yet another aspect of embodiments of the present invention, there is provided a computer-readable storage medium storing a computer program for executing the method according to any one of the above-mentioned embodiments of the present invention.
Therefore, the invention provides a private cloud heterogeneous resource management method and system based on Openstack, aiming at the technical problems that in the tax field, private cloud heterogeneous resources of the same or different technical systems adopted by an X86 architecture, a domestic ARM architecture and a Loongson server in different physical environments are dispersed and isolated, the full sharing and unified management of the resources are difficult to realize, and the overall resource utilization rate is low. And carrying out unified admission on heterogeneous resources of different technical systems under different physical environments, and providing a set of heterogeneous infrastructure admission and heterogeneous virtualization environment compatible method and system. The OpenStack-based private cloud heterogeneous resource management method realizes unified management on the distributed resource pools and multiple virtualizations, and solves the problem that the distributed heterogeneous resource pools are difficult to operate and maintain in a unified mode, so that resources are planned more effectively, and the utilization rate of the resources is improved. The invention realizes intensive management on infrastructure resources, reduces the complexity of resource management, improves the effective utilization rate of the resources, reasonably schedules the resources, has positive influence on reducing the operation cost of IT basic resources and improves the management capability of IT operation and maintenance.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing in more detail embodiments of the present invention with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a schematic flowchart of an OpenStack-based private cloud heterogeneous resource management method according to an exemplary embodiment of the present invention;
fig. 2 is a functional structure diagram of an OpenStack-based private cloud heterogeneous resource management system according to an exemplary embodiment of the present invention;
fig. 3 is a schematic structural diagram of an OpenStack-based private cloud heterogeneous resource management system according to an exemplary embodiment of the present invention;
fig. 4 is a structure of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
Hereinafter, example embodiments according to the present invention will be described in detail with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a subset of embodiments of the invention and not all embodiments of the invention, with the understanding that the invention is not limited to the example embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
It will be understood by those of skill in the art that the terms "first," "second," and the like in the embodiments of the present invention are used merely to distinguish one element, step, device, module, or the like from another element, and do not denote any particular technical or logical order therebetween.
It should also be understood that in embodiments of the present invention, "a plurality" may refer to two or more and "at least one" may refer to one, two or more.
It is also to be understood that any reference to any component, data, or structure in the embodiments of the invention may be generally understood as one or more, unless explicitly defined otherwise or stated to the contrary hereinafter.
In addition, the term "and/or" in the present invention is only one kind of association relationship describing the associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In the present invention, the character "/" generally indicates that the preceding and following related objects are in an "or" relationship.
It should also be understood that the description of the embodiments of the present invention emphasizes the differences between the embodiments, and the same or similar parts may be referred to each other, so that the descriptions thereof are omitted for brevity.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Embodiments of the invention are operational with numerous other general purpose or special purpose computing system environments or configurations, and with numerous other electronic devices, such as terminal devices, computer systems, servers, etc. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with electronic devices, such as terminal devices, computer systems, servers, and the like, include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, networked personal computers, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
Exemplary method
Fig. 1 is a flowchart illustrating an OpenStack-based private cloud heterogeneous resource management method 100 according to an exemplary embodiment of the present invention. The embodiment can be applied to an electronic device, as shown in fig. 1, and includes the following steps:
step 101, constructing heterogeneous infrastructure layers in different physical environments, and completing adaptation of different platform devices.
Optionally, constructing heterogeneous infrastructure layers in different physical environments to complete adaptation of different platform devices, including: constructing heterogeneous infrastructure layers under different physical environments, wherein the heterogeneous infrastructure layers can be adapted to different platform devices; aiming at different platform devices, installing different operating systems, databases and middleware to enable software to be installed and run on the corresponding platform devices; and performing adaptation test on compatibility, usability and performance of client software installed and running on different platform devices.
In an embodiment of the invention, heterogeneous infrastructure layers in different physical environments are first constructed. The tax cloud platform completes matching on different platform devices (a domestic X86 architecture, a domestic ARM architecture, a Loongson architecture and the like). Aiming at different technical routes (a domestic X86 architecture, a domestic ARM architecture, a Loongson architecture and the like), different operating systems, databases and middleware are installed, and software can be installed and run on the operating systems, so that the transportability is met. Based on the devices with determined models, for the services accessed by the user by using the browser, the devices with the same model may run different browsers which have differences, and the users can show the expected appearance of most browsers. Compatibility is satisfied for the client software, coexisting with the system and other software in the system. After portability and compatibility are met, the functions of the software need to meet the requirements of users in the physical environment, and usability is met. The software can meet the expected requirements of users by covering more basic function realization. Meanwhile, performance indexes such as the number of concurrent tasks and response time need to be met in the aspect of performance efficiency, and the requirements of users on performance use are met. The adaptation test work of the infrastructure layer can be completed only when the quality requirements are met, so that the use requirements of users on the software can be met.
Optionally, the method further comprises: in the process of adapting the virtualization technology by the home-made machine of the ARM architecture, a source code is downloaded and modified through rpm-build, and then the source code is recompiled into a new rpm packet and stored, so that the problems of conflict and version incompatibility of a virtualization technology installation packet are solved.
In the embodiment of the invention, because the ARM architecture is ecologically poor, the problems of packet conflict and incompatibility can be encountered in the deployment and installation process, at this time, the source code needs to be downloaded, modified and recompiled into a new rpm packet through the rpm-build, and then the new rpm packet is stored. In this way, the problems of conflict and version incompatibility of the virtualization technology installation package are solved. The error reporting problem of # virsh nodeinfo executed by Huawei model is as follows: error, failed to connect to the hypervisor; error is Failed to connect socket to
'/var/run/libvirt/libvirt-sock'. No subcfile or direct, libvirt needs to be updated and compiled, a libvirt source code package is downloaded, and a compiling environment is installed to be dependent.
Step 102, dividing a heterogeneous management system of the private cloud heterogeneous resources provided by the heterogeneous infrastructure layer into an adapter interface layer, a resource unified management layer and an application service layer.
In the embodiment of the invention, after the heterogeneous infrastructure layer is constructed, heterogeneous private cloud base resource management under different architectures needs to be completed. Aiming at the infrastructure of the heterogeneous private cloud, a unified inlet and a management tool for unifying resource pools are provided, and all resources form a service directory. The heterogeneous computing storage network comprises heterogeneous management of technical resources and technical software. The architecture system is shown in figure 2, and the whole structure is divided into 3 layers from bottom to top: the system comprises an adapter interface layer, a resource unified management layer and an application service layer.
Step 103, in the adapter interface layer, by calling the API interface provided by OpenStack, operation control over all private cloud heterogeneous resources provided by the heterogeneous infrastructure layer is completed.
Optionally, in the adapter interface layer, by calling an API interface provided by OpenStack, operation control over all private cloud heterogeneous resources provided by the heterogeneous infrastructure layer is completed, including: in an adapter interface layer, an object-oriented programming method is adopted, an API (application programming interface) provided by OpenStack is called to be connected to the vCenterServer, parameter configuration is completed, and the full life cycle of the virtual machine is managed; the Adapter class object is added to reform an old interface, and the open interface is introduced into a new interface one by one, so that further encapsulation and isolation are completed, and a uniform service interface is provided upwards.
And step 104, adopting an extensible architecture on the resource unified management layer, supporting capacity expansion and capacity reduction for the storage resource pool, and supporting distributed storage and centralized storage.
And 105, uniformly developing the operation and maintenance of monitoring, logging, events, alarms and notifications by adopting a uniform operation and maintenance mechanism on the resource uniform management layer, and displaying the resource statistical data and the usage statistical data in a partition manner in a graphical interface mode.
The embodiment of the invention integrates and uses various heterogeneous resources and deeply integrates with an operation and maintenance system in a resource unified management layer. The resource unified management layer adopts an extensible architecture, can support capacity expansion and capacity reduction for the storage resource pool, and can support distributed storage and centralized storage of mainstream. A unified operation and maintenance mechanism is adopted, operation and maintenance such as monitoring, logging, events, alarming, notification and the like are carried out in a unified mode, resource statistical data and usage statistical data are displayed in a partition mode in a graphical interface mode, multi-dimensional resource categories such as clusters, projects, nodes, CPUs (central processing units), memories, container groups, users, roles and namespaces are covered, and the user can be helped to quickly and comprehensively know the whole resource scale of a platform and the operation condition of resources so as to find faults as soon as possible.
And 106, providing a scene service facing the tax business on an application service layer, and running various types of applications.
Alternatively, the tax services provided at the application service layer are independent of each other but intercommunicate.
Optionally, the method further comprises: the method comprises the steps of gradually forming a service directory by the scene services provided by the application service layer, and adjusting to different degrees according to the running state of the actual service system so as to meet the requirement of tax service development.
In the embodiment of the invention, the application service layer is used for directly providing scene services facing tax services, can run various types of applications, mainly comprises computing resources, storage resources and network resources, and also comprises a service system on the basis, wherein the services are mutually independent but interconnected. The service applications are gradually formed into a service directory, and can be adjusted to different degrees according to the running state of an actual service system, so that the requirement of service development of the tax industry is met.
Optionally, the method further comprises: in the cloud host management process, virtual machine resources are adjusted according to requirements, virtual machine resources of centros/ubuntu KVM, ESXI and domestic KVM are dynamically adjusted, and migration of virtual machines in a cluster is supported.
Optionally, the method further comprises: after basic server shelving and related preparation work are completed, bare metal equipment is deployed on a UI interface, and a bare metal host can be created by using the bare metal equipment after deployment is completed so as to provide bare metal management service.
Optionally, the method further comprises: the operation system of the bare metal host is installed in batches in an unattended mode through the pre-configuration template, a service network is configured for the bare metal host, and full life cycle management is carried out on the bare metal host.
Optionally, referring to fig. 2, the application service layer provides a scenized service for the tax service, where the service includes cloud host management, bare metal management service, and virtual application, where the cloud host management can complete full lifecycle management of the cloud host, support single or batch creation and deployment of virtual machines, and start, close, and restart operations of the virtual machines; the bare metal management service provides a special physical server for the application, and the high performance and stability of the core application are guaranteed; the virtual applications include cluster management, user permissions, image sharing, and quota management.
In the embodiment of the invention, the cloud host management is used for completing the full life cycle management of the cloud host, supporting the operations of single or batch creation and deployment of virtual machines, starting, closing, restarting and the like of the virtual machines, adjusting the resources of the virtual machines (including a CPU, a memory, a network, a disk and the like) according to requirements, dynamically adjusting the resources of the virtual machines (including a CPU, a memory, a network, a disk and the like) such as a centros/ubuntu KVM, an ESXI, a domestic KVM and the like, and supporting the intra-cluster migration of the virtual machines.
The bare metal management service provides a dedicated physical server for the application, and ensures the high performance and stability of the core application. After basic server shelving and related preparation work are completed, bare metal equipment can be deployed on the UI interface, and a bare metal host can be created by using the bare metal equipment after deployment is completed. By pre-configuring the template, the unattended batch installation of the bare metal host operating system can be realized, the configuration of a service network for the bare metal host is supported, and the full life cycle management is carried out on the bare metal host.
In addition, virtual applications are used to service directory management operations, providing some business applications. Such as cluster management, user permissions, image sharing, quota management, etc.
Therefore, compared with the problems that in the existing tax field, the private cloud heterogeneous resources of the same or different technical systems adopted by an X86 architecture, a domestic ARM architecture and a Loongson server in different physical environments are separated and isolated, the full sharing and unified management of the resources are difficult to realize, the overall resource utilization rate is low, and the like, the invention provides the private cloud heterogeneous resource management method and system based on OpenStack, and aims to solve the problem that a dispersed heterogeneous resource pool is difficult to operate and maintain uniformly. The method comprises the steps of firstly constructing a heterogeneous infrastructure layer under a physical environment, and completing the adaptation of an X86 architecture, a domestic ARM architecture server and a Loongson server. And heterogeneous resources of different technical systems in different physical environments are fully shared and uniformly managed, so that a set of heterogeneous infrastructure management and heterogeneous virtualization environment compatible method is provided. The method realizes intensive management on infrastructure resources, reduces the complexity of resource management, improves the effective utilization rate of the resources, reasonably schedules the resources, has positive influence on reducing the operation cost of IT basic resources, and improves the management capability of IT operation and maintenance.
Exemplary System
Fig. 3 is a schematic structural diagram of an OpenStack-based private cloud heterogeneous resource management system according to an exemplary embodiment of the present invention. As shown in fig. 3, the OpenStack-based private cloud heterogeneous resource management system 300 according to this embodiment includes:
a heterogeneous infrastructure layer building module 310, configured to build heterogeneous infrastructure layers in different physical environments, and complete adaptation to different platform devices;
the isomerization management systemization module 320 is used for systemizing the isomerization management of the private cloud heterogeneous resources provided by the heterogeneous infrastructure layer into an adapter interface layer, a resource unified management layer and an application service layer;
the API interface calling module 330 is configured to complete operation control on all private cloud heterogeneous resources provided by the heterogeneous infrastructure layer by calling an API interface provided by the OpenStack in the adapter interface layer;
the heterogeneous resource integration use module 340 is configured to adopt an extensible architecture in the resource unified management layer, support capacity expansion and capacity reduction for the storage resource pool, and support distributed storage and centralized storage of a main stream;
the unified operation and maintenance module 350 is configured to uniformly develop operation and maintenance of monitoring, logging, events, alarms and notifications by using a unified operation and maintenance mechanism in the resource unified management layer, and display resource statistical data and usage statistical data in a partition manner in the form of a graphical interface;
the application service module 360 is used for providing a scene service facing the tax business in an application service layer, and can run various types of applications.
Optionally, the heterogeneous infrastructure layer building module 310 is specifically configured to:
constructing heterogeneous infrastructure layers under different physical environments, wherein the heterogeneous infrastructure layers can be adapted to different platform devices;
aiming at different platform devices, installing different operating systems, databases and middleware to enable software to be installed and run on the corresponding platform devices;
and performing adaptation test on compatibility, usability and performance of client software installed and running on different platform devices.
Optionally, in the process of adapting the virtualization technology to the domestic machine of the ARM architecture, the source code is downloaded and modified by rpm-build, and then is recompiled into a new rpm package and stored, so as to overcome the problems of conflict and version incompatibility of the virtualization technology installation package.
Optionally, the API interface calling module is specifically configured to:
in an adapter interface layer, an object-oriented programming method is adopted, an API (application programming interface) provided by OpenStack is called to be connected to the vCenterServer, parameter configuration is completed, and the full life cycle of the virtual machine is managed;
the Adapter class object is added to reform an old interface, and the open interface is introduced into a new interface one by one, so that further encapsulation and isolation are completed, and a uniform service interface is provided upwards.
Alternatively, the tax services provided at the application service layer are independent of each other but intercommunicate.
Optionally, the scenized services provided by the application service layer are gradually formed into a service directory, and adjustment in different degrees is performed according to the running state of the actual service system, so as to meet the requirement of tax service development.
Optionally, the application service layer provides the tax business with the scene service, which includes cloud host management, bare metal management service and virtual application, wherein the application service layer provides the tax business with the scene service
The cloud host management can complete the full life cycle management of the cloud host, support single or batch creation and deployment of virtual machines, and start, close and restart operations of the virtual machines;
the bare metal management service provides a special physical server for the application, and the high performance and stability of the core application are guaranteed;
the virtual applications include cluster management, user permissions, image sharing, and quota management.
Optionally, in the cloud host management process, the virtual machine resources are adjusted according to requirements, the virtual machine resources of the centros/ubuntu KVM, the ESXI, and the domestic KVM are dynamically adjusted, and migration within the cluster of the virtual machines is supported.
Optionally, after completing basic server shelving and related preparation work, by deploying bare metal devices on the UI interface, a bare metal host may be created using the bare metal devices after deployment is completed, so as to provide bare metal management services.
Optionally, the system realizes unattended batch installation of the operating system of the bare metal hosts through a pre-configured template, configures a service network for the bare metal hosts, and performs full-life-cycle management on the bare metal hosts.
The OpenStack private cloud heterogeneous resource management system 300 according to the embodiment of the present invention corresponds to the OpenStack private cloud heterogeneous resource management method 100 according to another embodiment of the present invention, and details thereof are not repeated here.
Exemplary electronic device
Fig. 4 is a structure of an electronic device according to an exemplary embodiment of the present invention. The electronic device may be either or both of the first device and the second device, or a stand-alone device separate from them, which stand-alone device may communicate with the first device and the second device to receive the acquired input signals therefrom. FIG. 4 illustrates a block diagram of an electronic device in accordance with an embodiment of the disclosure. As shown in fig. 4, electronic device 40 includes one or more processors 41 and memory 42.
The processor 41 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
Memory 42 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by processor 41 to implement the method of information mining of historical change records and/or other desired functionality of the software program of the various embodiments of the present disclosure described above. In one example, the electronic device may further include: an input device 43 and an output device 44, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
The input device 43 may also include, for example, a keyboard, a mouse, and the like.
The output device 44 can output various kinds of information to the outside. The output devices 44 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, for simplicity, only some of the components of the electronic device relevant to the present disclosure are shown in fig. 4, omitting components such as buses, input/output interfaces, and the like. In addition, the electronic device may include any other suitable components, depending on the particular application.
Exemplary computer program product and computer-readable storage Medium
In addition to the above-described methods and apparatus, embodiments of the present disclosure may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the method of information mining of historical change records according to various embodiments of the present disclosure described in the "exemplary methods" section above of this specification.
The computer program product may write program code for carrying out operations for embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform steps in a method of information mining of historical change records according to various embodiments of the present disclosure described in the "exemplary methods" section above in this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present disclosure in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not intended to be limited to the specific details so described.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and systems of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the systems, apparatus and methods of the present disclosure, various components or steps may be decomposed and/or re-combined. These decompositions and/or recombinations are to be considered equivalents of the present disclosure. The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (13)

1. An OpenStack-based private cloud heterogeneous resource management method is characterized by comprising the following steps:
constructing heterogeneous infrastructure layers under different physical environments, and completing adaptation of different platform devices;
the method comprises the steps that an isomerization management system of private cloud heterogeneous resources provided by a heterogeneous infrastructure layer is divided into an adapter interface layer, a resource unified management layer and an application service layer;
in the adapter interface layer, the operation control on all private cloud heterogeneous resources provided by the heterogeneous infrastructure layer is completed by calling an API (application program interface) provided by OpenStack;
an extensible architecture is adopted in a resource unified management layer, capacity expansion and capacity reduction are supported for a storage resource pool, and distributed storage and centralized storage are supported;
a unified operation and maintenance mechanism is adopted in a resource unified management layer, operation and maintenance of monitoring, logs, events, alarms and notifications are developed in a unified mode, and resource statistical data and usage statistical data are displayed in a partition mode in a graphical interface mode;
and in an application service layer, a scene service is provided facing tax business, and various types of applications can be operated.
2. The method of claim 1, wherein constructing heterogeneous infrastructure layers in different physical environments to accomplish adaptation of different platform devices comprises:
constructing heterogeneous infrastructure layers under different physical environments, wherein the heterogeneous infrastructure layers can be adapted to different platform devices;
aiming at different platform devices, installing different operating systems, databases and middleware to enable software to be installed and run on the corresponding platform devices;
and performing adaptation test on compatibility, usability and performance of client software installed and running on different platform devices.
3. The method of claim 2, further comprising: in the process of adapting the virtualization technology by the home-made machine of the ARM architecture, a source code is downloaded and modified through rpm-build, and then the source code is recompiled into a new rpm packet and stored, so that the problems of conflict and version incompatibility of a virtualization technology installation packet are solved.
4. The method of claim 1, wherein in an adapter interface layer, by calling an API interface provided by OpenStack, operation control over all private cloud heterogeneous resources provided by a heterogeneous infrastructure layer is completed, including:
in an adapter interface layer, an object-oriented programming method is adopted, an API (application programming interface) provided by OpenStack is called to be connected to the vCenterServer, parameter configuration is completed, and the full life cycle of the virtual machine is managed;
the Adapter class object is added to reform an old interface, and the open interface is introduced into a new interface one by one, so that further encapsulation and isolation are completed, and a uniform service interface is provided upwards.
5. The method of claim 1, wherein the tax services provided at the application service layer are independent of each other but intercommunicate.
6. The method of claim 5, further comprising: the method comprises the steps of gradually forming a service directory by the scene services provided by the application service layer, and adjusting to different degrees according to the running state of the actual service system so as to meet the requirement of tax service development.
7. The method of claim 1, wherein the application service layer provides scenarized services to tax business comprising cloud hosting, bare metal management services, and virtual applications, wherein
The cloud host management can complete the full life cycle management of the cloud host, support single or batch creation and deployment of virtual machines, and start, close and restart operations of the virtual machines;
the bare metal management service provides a special physical server for the application, and the high performance and stability of the core application are guaranteed;
the virtual applications include cluster management, user permissions, image sharing, and quota management.
8. The method of claim 7, further comprising: in the cloud host management process, virtual machine resources are adjusted according to requirements, virtual machine resources of centros/ubuntu KVM, ESXI and domestic KVM are dynamically adjusted, and migration of virtual machines in a cluster is supported.
9. The method of claim 7, further comprising:
after basic server shelving and related preparation work are completed, bare metal equipment is deployed on a UI interface, and a bare metal host can be created by using the bare metal equipment after deployment is completed so as to provide bare metal management service.
10. The method of claim 9, further comprising:
the operation system of the bare metal host is installed in batches in an unattended mode through the pre-configuration template, a service network is configured for the bare metal host, and full life cycle management is carried out on the bare metal host.
11. An OpenStack-based private cloud heterogeneous resource management system is characterized by comprising:
the heterogeneous infrastructure layer building module is used for building heterogeneous infrastructure layers under different physical environments and completing adaptation of different platform devices;
the heterogeneous management systemization module is used for dividing the heterogeneous management system of the private cloud heterogeneous resources provided by the heterogeneous infrastructure layer into an adapter interface layer, a resource unified management layer and an application service layer;
the API interface calling module is used for calling an API interface provided by OpenStack at the adapter interface layer to complete operation control on all private cloud heterogeneous resources provided by the heterogeneous infrastructure layer;
the heterogeneous resource integration and use module is used for adopting an expandable architecture on a resource unified management layer, supporting capacity expansion and capacity reduction on a storage resource pool, and supporting distributed storage and centralized storage of a main stream;
the unified operation and maintenance module is used for uniformly developing the operation and maintenance of monitoring, logs, events, alarms and notifications by adopting a unified operation and maintenance mechanism on a resource unified management layer, and displaying resource statistical data and usage statistical data in a partition mode in a graphical interface mode;
and the application service module is used for providing a scene service facing the tax business on an application service layer and can run various types of applications.
12. An electronic device, characterized in that the electronic device comprises: a processor and a memory; wherein the content of the first and second substances,
the memory to store the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method of any one of claims 1-10.
13. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for performing the method of any of the preceding claims 1-10.
CN202111368026.8A 2021-11-18 2021-11-18 OpenStack-based private cloud heterogeneous resource management method and system Active CN114268671B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111368026.8A CN114268671B (en) 2021-11-18 2021-11-18 OpenStack-based private cloud heterogeneous resource management method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111368026.8A CN114268671B (en) 2021-11-18 2021-11-18 OpenStack-based private cloud heterogeneous resource management method and system

Publications (2)

Publication Number Publication Date
CN114268671A true CN114268671A (en) 2022-04-01
CN114268671B CN114268671B (en) 2024-06-11

Family

ID=80825203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111368026.8A Active CN114268671B (en) 2021-11-18 2021-11-18 OpenStack-based private cloud heterogeneous resource management method and system

Country Status (1)

Country Link
CN (1) CN114268671B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915460A (en) * 2022-04-28 2022-08-16 中国人民解放军战略支援部队信息工程大学 Heterogeneous dynamic expansion and contraction capacity device and method for container cloud
CN114936043A (en) * 2022-05-20 2022-08-23 浪潮电子信息产业股份有限公司 Method, device, equipment and storage medium for starting pooled heterogeneous resources
CN115080436A (en) * 2022-06-28 2022-09-20 中电金信软件有限公司 Test index determination method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051710A (en) * 2012-12-20 2013-04-17 中国科学院深圳先进技术研究院 Virtual cloud platform management system and method
CN104506620A (en) * 2014-12-23 2015-04-08 西安电子科技大学 Extensible automatic computing service platform and construction method for same
US20150350102A1 (en) * 2014-06-03 2015-12-03 Alberto Leon-Garcia Method and System for Integrated Management of Converged Heterogeneous Resources in Software-Defined Infrastructure
CN106534306A (en) * 2016-11-14 2017-03-22 北京大学(天津滨海)新代信息技术研究院 Extensible heterogeneous cloud platform adaptation method and system
CN109451028A (en) * 2018-11-16 2019-03-08 深圳供电局有限公司 A kind of cloud management system based on adapter technique
CN110855739A (en) * 2019-09-25 2020-02-28 烽火通信科技股份有限公司 Container technology-based remote and heterogeneous resource unified management method and system
CN112748983A (en) * 2020-12-29 2021-05-04 中国人寿保险股份有限公司上海数据中心 OpenStack-based virtual private cloud system and construction method thereof
US20210240497A1 (en) * 2020-01-30 2021-08-05 Hewlett Packard Enterprise Development Lp Plugin framework to support zero touch management of heterogeneous infrastructure elements across distributed data centers

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051710A (en) * 2012-12-20 2013-04-17 中国科学院深圳先进技术研究院 Virtual cloud platform management system and method
US20150350102A1 (en) * 2014-06-03 2015-12-03 Alberto Leon-Garcia Method and System for Integrated Management of Converged Heterogeneous Resources in Software-Defined Infrastructure
CN104506620A (en) * 2014-12-23 2015-04-08 西安电子科技大学 Extensible automatic computing service platform and construction method for same
CN106534306A (en) * 2016-11-14 2017-03-22 北京大学(天津滨海)新代信息技术研究院 Extensible heterogeneous cloud platform adaptation method and system
WO2018086580A1 (en) * 2016-11-14 2018-05-17 北京大学(天津滨海)新一代信息技术研究院 Extensible heterogeneous cloud platform adaptation method and system thereof
CN109451028A (en) * 2018-11-16 2019-03-08 深圳供电局有限公司 A kind of cloud management system based on adapter technique
CN110855739A (en) * 2019-09-25 2020-02-28 烽火通信科技股份有限公司 Container technology-based remote and heterogeneous resource unified management method and system
US20210240497A1 (en) * 2020-01-30 2021-08-05 Hewlett Packard Enterprise Development Lp Plugin framework to support zero touch management of heterogeneous infrastructure elements across distributed data centers
CN112748983A (en) * 2020-12-29 2021-05-04 中国人寿保险股份有限公司上海数据中心 OpenStack-based virtual private cloud system and construction method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵一帆 等: "基于OpenStack 的异构资源池接入方式研究", 《信息通信》, pages 75 - 77 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114915460A (en) * 2022-04-28 2022-08-16 中国人民解放军战略支援部队信息工程大学 Heterogeneous dynamic expansion and contraction capacity device and method for container cloud
CN114915460B (en) * 2022-04-28 2023-05-05 中国人民解放军战略支援部队信息工程大学 Heterogeneous dynamic capacity expansion and contraction device and method for container cloud
CN114936043A (en) * 2022-05-20 2022-08-23 浪潮电子信息产业股份有限公司 Method, device, equipment and storage medium for starting pooled heterogeneous resources
CN114936043B (en) * 2022-05-20 2024-02-09 浪潮电子信息产业股份有限公司 Method, device, equipment and storage medium for starting pooled heterogeneous resources
CN115080436A (en) * 2022-06-28 2022-09-20 中电金信软件有限公司 Test index determination method and device, electronic equipment and storage medium
CN115080436B (en) * 2022-06-28 2023-09-22 中电金信软件有限公司 Test index determining method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114268671B (en) 2024-06-11

Similar Documents

Publication Publication Date Title
US11038778B2 (en) Methods and systems that provision distributed applications that invoke functions provided by a distributed-function-as-a-service feature
US11178207B2 (en) Software version control without affecting a deployed container
CN114268671B (en) OpenStack-based private cloud heterogeneous resource management method and system
US9348623B2 (en) Management of inter-dependent configurations of virtual machines in a cloud
WO2018063803A1 (en) Generating an application programming interface
US10162664B2 (en) Composite virtual machine template for virtualized computing environment
US20190079744A1 (en) Systems and methods for a policy-driven orchestration of deployment of distributed applications
Lee A view of cloud computing
US10931517B2 (en) Methods and systems that synchronize configuration of a clustered application
US11301262B2 (en) Policy enabled application-release-management subsystem
US9384006B2 (en) Apparatus and methods for automatically reflecting changes to a computing solution into an image for the computing solution
CN115964120A (en) Dynamic scaling for workload execution
Schmidt An architectural overview of the scape preservation platform
US20120265879A1 (en) Managing servicability of cloud computing resources
US20200042331A1 (en) Dynamic-link library usage based on memory size
US20230136606A1 (en) Sharing global variables between addressing mode programs
WO2022078060A1 (en) Tag-driven scheduling of computing resources for function execution
Setiawan et al. Commodity cluster using single system image based on Linux/Kerrighed for high-performance computing
US20220382601A1 (en) Configuration map based sharding for containers in a machine learning serving infrastructure
CN115033290A (en) Instruction set-based micro-service splitting method and device and terminal equipment
US10169007B1 (en) Service provider network integrated compilation service and runtime system
US20210406074A1 (en) Dynamic product resource mapping of cloud resources
KR20160081822A (en) Apparatus and method of platform building for providing service of shipping port logistics based on cloud computing
Kumar et al. An open source and practical approach to X2X linux workload migration
CN111176714A (en) Software system development method and device, terminal equipment and storage medium

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