Method and device for creating cloud host containing MinIO application and OpenStack cloud platform
Through the connection between the OpenStack cloud platform and MinIO, the Heat orchestration service is used to generate and expand cloud hosts, which solves the problems of complex distributed storage deployment and centralized storage that does not provide object storage services in the OpenStack cloud platform, and realizes the ease of use of object storage services. sex and effective expansion.
Patent Information
- Application Number
- CN202410259169.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-07
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-03-07
AI Technical Summary
The deployment of distributed storage in the OpenStack cloud platform is complex, centralized storage does not provide object storage services, and the object storage service based on OpenStack Swift is complex to deploy and lacks ease of use.
Through the connection between the OpenStack cloud platform and MinIO, the Heat orchestration service is used to generate cloud hosts based on the MinIO image, and the cloud hosts are automatically created or expanded based on storage conditions to expand object storage services and meet storage needs.
It simplifies the deployment of object storage services, improves ease of use, realizes effective expansion of object storage services, and meets the storage needs of the OpenStack cloud platform.
Smart Images

Figure CN118646753A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of object storage services, and in particular to a cloud host creation method and device including a MinIO application, and an OpenStack cloud platform. Background Art
[0002] The storage methods in the OpenStack cloud platform can include the following three types: distributed storage (such as Ceph), centralized storage, and object storage service based on OpenStack Swift. Among them, centralized storage refers to a storage architecture used in data centers or enterprises, which provides shared storage functions for multiple servers through centralized management and access to data; OpenStack Swift is a component of the OpenStack cloud platform and an open source object storage system that aims to provide scalable and highly available object storage services.
[0003] However, the deployment of distributed storage in the first storage method is more complicated, the second storage method usually does not provide object storage services, and the third storage method has complex deployment and lacks ease of use. Summary of the invention
[0004] The present invention provides a cloud host creation method and device including MinIO application and OpenStack cloud platform, so as to solve the defects in the prior art that the deployment of distributed storage is relatively complex, centralized storage usually does not provide object storage service, and the object storage service based on OpenStack Swift has the defects of complex deployment and insufficient usability. Since the object storage service of MinIO is easy to use and can be deployed independently and in a simple manner, the object storage service is expanded for the OpenStack cloud platform through the docking method between the OpenStack cloud platform and MinIO, so as to effectively realize the object storage service to meet the storage demand.
[0005] The present invention provides a method for creating a cloud host including a MinIO application, comprising:
[0006] Through the Heat orchestration service of the OpenStack cloud platform, a cloud host containing the MinIO application is generated based on the image containing MinIO;
[0007] When the storage situation of the cloud host meets the preset conditions, the cloud host is automatically created for the Nova computing service of the OpenStack cloud platform, or the cloud host is automatically expanded for the Cinder block storage service of the OpenStack cloud platform.
[0008] According to a cloud host creation method including a MinIO application provided by the present invention, the storage situation includes a computing resource utilization rate and a disk space utilization rate, and the preset condition includes a first threshold value and a second threshold value; when the storage situation of the cloud host meets the preset condition, the cloud host is automatically created for the Nova computing service of the OpenStack cloud platform, or the cloud host is automatically expanded for the Cinder block storage service of the OpenStack cloud platform, including: when the computing resource utilization rate is greater than the first threshold value, the cloud host is automatically created for the Nova computing service of the OpenStack cloud platform, wherein the computing resource utilization rate includes: central processing unit CPU utilization rate or memory utilization rate; when the disk space utilization rate is greater than the second threshold value, the cloud host is automatically expanded for the Cinder block storage service of the OpenStack cloud platform.
[0009] According to a method for creating a cloud host including a MinIO application provided by the present invention, the image including MinIO is uploaded to the Glance image service of the OpenStack cloud platform, and the cloud host including the MinIO application is generated according to the image including MinIO, including: downloading the image including MinIO from the Glance image service; generating the cloud host including the MinIO application according to the image.
[0010] According to a method for creating a cloud host including a MinIO application provided by the present invention, the method further includes: when the Heat orchestration service sends a monitoring instruction to the platform monitoring service, the storage status of the cloud host is monitored in real time through the platform monitoring service based on the monitoring instruction.
[0011] According to a method for creating a cloud host including a MinIO application provided by the present invention, the image including MinIO is produced based on relevant parameters of the MinIO, and the relevant parameters at least include: the Linux distribution version required by the MinIO, the dependent software of the MinIO, the executable file of the MinIO, and the configuration information of the MinIO.
[0012] According to a method for creating a cloud host including a MinIO application provided by the present invention, the format of the image including MinIO is a raw disk Raw format or a Qcow2 format.
[0013] The present invention also provides a cloud host creation device including a MinIO application, including:
[0014] The cloud host generation module is used to generate a cloud host containing the MinIO application based on an image containing MinIO through the Heat orchestration service of the OpenStack cloud platform;
[0015] The cloud host creation module is used to automatically create the cloud host for the Nova computing service of the OpenStack cloud platform when the storage situation of the cloud host meets the preset conditions, or to automatically expand the cloud host for the Cinder block storage service of the OpenStack cloud platform.
[0016] The present invention also provides an OpenStack cloud platform, including a Heat orchestration service, a Nova computing service and a Cinder block storage service. The Heat orchestration service is used to generate a cloud host including a MinIO application based on an image including MinIO; when the storage situation of the cloud host meets preset conditions, the cloud host is automatically created for the Nova computing service, or the cloud host is automatically expanded for the Cinder block storage service.
[0017] The present invention also provides another OpenStack cloud platform, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the cloud host creation method including the MinIO application as described in any one of the above methods is implemented.
[0018] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a cloud host creation method including a MinIO application as described in any one of the above.
[0019] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for creating a cloud host including a MinIO application as described in any one of the above is implemented.
[0020] The cloud host creation method, device and OpenStack cloud platform including MinIO application provided by the present invention generate a cloud host including MinIO application according to the image including MinIO through the Heat orchestration service of the OpenStack cloud platform; when the storage situation of the cloud host meets the preset conditions, the cloud host is automatically created for the Nova computing service of the OpenStack cloud platform, or the cloud host is automatically expanded for the Cinder block storage service of the OpenStack cloud platform. In this method, since the object storage service of MinIO is easy to use and can be deployed separately and the deployment method is simple, the object storage service is expanded for the OpenStack cloud platform through the docking method between the OpenStack cloud platform and MinIO, and the object storage service is effectively realized to meet the storage demand. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 It is a flow chart of a method for creating a cloud host including a MinIO application provided by the present invention;
[0023] Figure 2a It is a schematic diagram of a scenario for generating a cloud host including a MinIO application provided by the present invention;
[0024] Figure 2b It is a schematic diagram of a scenario for creating or expanding a cloud host including a MinIO application provided by the present invention;
[0025] Figure 3 It is a structural schematic diagram of a cloud host creation device including a MinIO application provided by the present invention;
[0026] Figure 4 This is one of the structural diagrams of the OpenStack cloud platform provided by the present invention;
[0027] Figure 5 This is the second structural diagram of the OpenStack cloud platform provided by the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] It should be noted that the execution subject involved in the embodiment of the present invention can be a cloud host creation device including a MinIO application, or an OpenStack cloud platform, which is not specifically limited here.
[0030] The following further illustrates the embodiment of the present invention by taking the OpenStack cloud platform as an example.
[0031] like Figure 1 FIG. 1 is a flow chart of a method for creating a cloud host including a MinIO application provided by the present invention, which may include:
[0032] 101. Use the Heat orchestration service of the OpenStack cloud platform to generate a cloud host containing the MinIO application based on the image containing MinIO.
[0033] Among them, the OpenStack cloud platform is an open source cloud computing platform consisting of a series of interrelated services, designed to provide scalable and rich Infrastructure as a Service (IaaS), suitable for building and managing private cloud environments and / or public cloud environments.
[0034] Heat orchestration service, also known as OpenStack Heat, is a component of the OpenStack cloud platform and an open source Infrastructure as Code tool for automating and orchestrating the deployment and management of cloud infrastructure.
[0035] MinIO is an open source object storage server that focuses on high performance and scalability and can be deployed independently. MinIO is a lightweight, cloud-native storage solution designed to provide reliable object storage services for applications corresponding to the OpenStack cloud platform. In addition, MinIO is relatively simple to deploy and can be deployed in any environment (such as local servers, cloud platforms, and containerized environments). It can be quickly started and configured, while providing a high-availability design and providing data redundancy and reliability through data replication and erasure coding.
[0036] The object storage service involved in MinIO is a storage model for storing and managing large-scale unstructured data. Unlike traditional file systems or block storage, the object storage service can organize data into objects, each of which contains the data itself and metadata related to the data. In addition, the ease of use of the object storage service involved in MinIO is higher than that of the object storage services involved in Openstack Swift and Ceph in the existing technology.
[0037] Cloud hosting with MinIO application is a cloud computing-based virtual hosting service with MinIO as storage. This virtual hosting service can provide a simple, efficient and scalable way to use computing resources.
[0038] In some embodiments, the image containing MinIO is produced based on relevant parameters of MinIO, and the relevant parameters include at least: the Linux distribution version required by MinIO, MinIO's dependent software, MinIO's executable file, and MinIO's configuration information.
[0039] The relevant parameters are used to characterize the environment information of MinIO, which serves as the basic information for making an image containing MinIO.
[0040] The Linux distribution versions are obtained by searching from MinIO's official documentation or GitHub repository, such as Ubuntu, CentOS, and Debian.
[0041] Dependent software is necessary software installed according to the Linux distribution, such as system updates, package managers, and other software packages.
[0042] The executable file is the binary file corresponding to the Linux distribution downloaded from the official documentation or GitHub repository of MinIO.
[0043] The configuration information may be a configuration file that defines the behavior and settings of the above image, such as operating parameters, listening addresses, and storage paths.
[0044] In some embodiments, the format of the image containing MinIO is a raw disk Raw format or a (QEMU copy-on-write, Qcow2) format.
[0045] The Raw format refers to an unformatted disk.
[0046] The Qcow2 format is a disk image format supported by the QEMU emulator, which can represent a fixed-size block device disk in the form of a file.
[0047] In some embodiments, an image containing MinIO is uploaded to the Glance image service of the OpenStack cloud platform, and the OpenStack cloud platform generates a cloud host containing the MinIO application based on the image containing MinIO, which may include: the OpenStack cloud platform downloads the image containing MinIO from the Glance image service; and the OpenStack cloud platform generates a cloud host containing the MinIO application based on the image.
[0048] Among them, Glance Image Service is the image service component of the OpenStack cloud platform, which provides services such as discovery, registration and retrieval of cloud host images.
[0049] For example, Figure 2a , which is a schematic diagram of a scenario for generating a cloud host including a MinIO application provided by the present invention. Figure 2a As can be seen, after other devices have made an image containing MinIO based on MinIO's relevant parameters, they can upload the image to the Glance image service of the OpenStack cloud platform; users interact with the OpenStack cloud platform to create an object storage service; then, the OpenStack cloud platform downloads the image containing MinIO from the Glance image service through the Nova computing service, and then generates a cloud host containing the MinIO application based on the image containing MinIO through the Heat orchestration service.
[0050] Among them, Nova computing service is a core component in the OpenStack cloud platform, responsible for managing and maintaining computing resources in the cloud environment. Nova computing service manages the entire life cycle of virtual machine instances for a single user or user group, and is responsible for managing all resources, networks, authentication, and scalability.
[0051] The number of cloud hosts containing MinIO applications is unlimited. When there are multiple cloud hosts containing MinIO applications, the capacity expansion method is simpler and can effectively support distributed deployment, thereby storing data in multiple nodes in a dispersed manner. This can effectively replace the object storage service integration provided by distributed storage in the prior art to provide object storage services for the OpenStack cloud platform.
[0052] 102. When the storage situation of the cloud host meets the preset conditions, automatically create a cloud host for the Nova computing service of the OpenStack cloud platform, or automatically expand the capacity of the cloud host for the Cinder block storage service of the OpenStack cloud platform.
[0053] Among them, Cinder block storage service is an important component of the OpenStack cloud platform. It provides block storage services and can provide virtual disk management functions for virtual machine instances. It is an indispensable component in the virtual infrastructure.
[0054] The OpenStack cloud platform can monitor the storage status of the cloud host in real time and adopt an elastic strategy, that is, to determine whether the storage status meets the preset conditions: if not, no operation is performed; if it is satisfied, a cloud host is automatically created for the Nova computing service, or a cloud host is automatically expanded for the Cinder block storage service.
[0055] Optionally, the storage situation includes computing resource utilization and disk space utilization, and the preset conditions include a first threshold and a second threshold; the storage situation meets the preset conditions if the computing resource utilization is greater than the first threshold, or the disk space utilization is greater than the second threshold.
[0056] The computing resource utilization rate includes: central processing unit (CPU) utilization rate or memory utilization rate.
[0057] Among them, the utilization rate is usually expressed as a percentage.
[0058] The computing resource utilization rate refers to the utilization degree of various computing resources in the cloud host within a certain period of time; the disk space utilization rate refers to the utilization degree of disk space in the cloud host within a certain period of time.
[0059] CPU usage refers to the degree of CPU utilization in a cloud host within a certain period of time; memory usage refers to the degree of memory utilization in a cloud host within a certain period of time.
[0060] Optionally, the first threshold and the second threshold may be set before the OpenStack cloud platform leaves the factory, or may be set when the user interacts with the OpenStack cloud platform to create an object storage service, and may be the same or different, and are not specifically limited here.
[0061] Exemplarily, the first threshold is 80% and the second threshold is 80%.
[0062] In some embodiments, before step 102, the method may further include: when the Heat orchestration service sends a monitoring instruction to the platform monitoring service, the OpenStack cloud platform monitors the storage status of the cloud host in real time through the platform monitoring service based on the monitoring instruction.
[0063] Among them, the platform monitoring service is to monitor, analyze and evaluate the operating status of the cloud host in real time to ensure the stable, safe and efficient operation of the cloud host.
[0064] In the OpenStack cloud platform, the Heat orchestration service interacts with the platform monitoring service. During the interaction, the Heat orchestration service can issue monitoring instructions to the platform monitoring service. Based on the monitoring instructions, the platform monitoring service monitors the cloud host in real time and records the storage status of the cloud host in real time, thereby improving the security of the subsequent authentication service of the OpenStack cloud platform.
[0065] In some embodiments, when the storage situation of the cloud host meets preset conditions, a cloud host is automatically created for the Nova computing service of the OpenStack cloud platform, or the cloud host is automatically expanded for the Cinder block storage service of the OpenStack cloud platform, which may include: when the computing resource utilization rate is greater than a first threshold, a cloud host is automatically created for the Nova computing service of the OpenStack cloud platform; when the disk space utilization rate is greater than a second threshold, the cloud host is automatically expanded for the Cinder block storage service of the OpenStack cloud platform.
[0066] For example, Figure 2b , which is a schematic diagram of a scenario for creating or expanding a cloud host including a MinIO application provided by the present invention. Figure 2b It can be seen that after the OpenStack cloud platform sets the elastic policy when creating the object storage service, it can create a policy template through the Heat orchestration service. Specifically, it interacts with the platform monitoring service and sends monitoring instructions to the platform monitoring service. Based on the monitoring instructions, the platform monitoring service monitors the storage status of the cloud host in real time and determines whether the storage status meets the preset conditions: when the computing resource utilization rate is greater than the first threshold, it indicates that the computing resources are insufficient, and a cloud host is automatically created for the Nova computing service; or, when the disk space utilization rate is greater than the second threshold, it indicates that the disk space is insufficient, and the cloud host is automatically expanded for the Cinder block storage service.
[0067] In an embodiment of the present invention, a cloud host including MinIO application is generated according to an image including MinIO through Heat orchestration service of OpenStack cloud platform; when the storage situation of cloud host meets preset conditions, cloud host is automatically created for Nova computing service of OpenStack cloud platform, or cloud host is automatically expanded for Cinder block storage service of OpenStack cloud platform. In this method, since MinIO's object storage service is easy to use and can be deployed separately and in a simple way, object storage service is expanded for OpenStack cloud platform through docking between OpenStack cloud platform and MinIO, so as to effectively realize object storage service to meet storage demand.
[0068] The cloud host creation device including the MINIO application provided by the present invention is described below. The cloud host creation device including the MinIO application described below and the cloud host creation method including the MinIO application described above can correspond to each other.
[0069] like Figure 3 FIG. 1 is a schematic diagram of a structure of a cloud host creation device including a MinIO application provided by the present invention, which may include:
[0070] The cloud host generation module 301 is used to generate a cloud host including the MinIO application according to the image including MinIO through the Heat orchestration service of the OpenStack cloud platform;
[0071] The cloud host creation module 302 is used to automatically create the cloud host for the Nova computing service of the OpenStack cloud platform when the storage situation of the cloud host meets the preset conditions, or to automatically expand the cloud host for the Cinder block storage service of the OpenStack cloud platform.
[0072] Optionally, the cloud host creation module 302 is specifically used for the storage situation including computing resource utilization and disk space utilization, and the preset condition includes a first threshold and a second threshold; when the computing resource utilization is greater than the first threshold, the cloud host is automatically created for the Nova computing service of the OpenStack cloud platform, wherein the computing resource utilization includes: central processing unit CPU utilization or memory utilization; when the disk space utilization is greater than the second threshold, the cloud host is automatically expanded for the Cinder block storage service of the OpenStack cloud platform.
[0073] Optionally, the image containing MinIO is uploaded to the Glance image service of the OpenStack cloud platform, and the cloud host generation module 301 is specifically used to download the image containing MinIO from the Glance image service; and generate the cloud host containing the MinIO application according to the image.
[0074] Optionally, the method further includes: when the Heat orchestration service sends a monitoring instruction to the platform monitoring service, the platform monitoring service monitors the storage status of the cloud host in real time based on the monitoring instruction.
[0075] Optionally, the image containing MinIO is produced based on relevant parameters of the MinIO, and the relevant parameters include at least: the Linux distribution version required by the MinIO, the dependent software of the MinIO, the executable file of the MinIO, and the configuration information of the MinIO.
[0076] Optionally, the image containing MinIO is in raw disk format or Qcow2 format.
[0077] like Figure 4 As shown, it is a schematic diagram of the structure of the OpenStack cloud platform provided by the present invention, which may include: Heat orchestration service 401, Nova computing service 402 and Cinder block storage service 403, and may also include: Glance image service 404 and platform monitoring service 405.
[0078] Heat orchestration service 401 is used to generate a cloud host containing MinIO application based on an image containing MinIO; when the storage situation of the cloud host meets the preset conditions, it automatically creates a cloud host for the Nova computing service 402 of the OpenStack cloud platform, or automatically expands the cloud host for the Cinder block storage service 403 of the OpenStack cloud platform.
[0079] Optionally, Heat orchestration service 401 is specifically used for storage conditions including computing resource utilization and disk space utilization, and preset conditions include a first threshold and a second threshold; when the computing resource utilization is greater than the first threshold, a cloud host is automatically created for Nova computing service 402 of the OpenStack cloud platform, wherein the computing resource utilization includes: central processing unit CPU utilization or memory utilization; when the disk space utilization is greater than the second threshold, the cloud host is automatically expanded for Cinder block storage service 403 of the OpenStack cloud platform.
[0080] Optionally, Glance image service 404 is used to store images containing MinIO; Heat orchestration service 401 is specifically used to download images containing MinIO from Glance image service 404; and generate a cloud host containing MinIO application according to the image.
[0081] Optionally, when the Heat orchestration service 401 sends a monitoring instruction to the platform monitoring service 405, the platform monitoring service 405 is used to monitor the storage status of the cloud host in real time based on the monitoring instruction.
[0082] Optionally, the image containing MinIO is made based on MinIO's relevant parameters, which include at least: the Linux distribution version required by MinIO, MinIO's dependent software, MinIO's executable file, and MinIO's configuration information.
[0083] Optionally, the image containing MinIO is in Raw format or Qcow2 format.
[0084] like Figure 5As shown, it is a structural schematic diagram of the OpenStack cloud platform provided by the present invention, and the OpenStack cloud platform may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 complete mutual communication through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute a method for creating a cloud host including a MinIO application, the method comprising: generating a cloud host including a MinIO application according to an image including MinIO through the Heat orchestration service of the OpenStack cloud platform; when the storage condition of the cloud host meets the preset conditions, automatically creating the cloud host for the Nova computing service of the OpenStack cloud platform, or automatically expanding the capacity of the cloud host for the Cinder block storage service of the OpenStack cloud platform.
[0085] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
[0086] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the cloud host creation method containing the MinIO application provided by the above methods, the method including: generating a cloud host containing the MinIO application according to an image containing MinIO through the Heat orchestration service of the OpenStack cloud platform; when the storage situation of the cloud host meets the preset conditions, automatically creating the cloud host for the Nova computing service of the OpenStack cloud platform, or automatically expanding the capacity of the cloud host for the Cinder block storage service of the OpenStack cloud platform.
[0087] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute the cloud host creation method containing the MinIO application provided by the above-mentioned methods, the method comprising: generating a cloud host containing the MinIO application according to an image containing MinIO through the Heat orchestration service of the OpenStack cloud platform; when the storage situation of the cloud host meets the preset conditions, automatically creating the cloud host for the Nova computing service of the OpenStack cloud platform, or automatically expanding the capacity of the cloud host for the Cinder block storage service of the OpenStack cloud platform.
[0088] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0089] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for creating a cloud host including a MinIO application, characterized in that: include: Through the Heat orchestration service of the OpenStack cloud platform, a cloud host containing the MinIO application is generated based on the image containing MinIO; When the storage situation of the cloud host meets the preset conditions, the cloud host is automatically created for the Nova computing service of the OpenStack cloud platform, or the cloud host is automatically expanded for the Cinder block storage service of the OpenStack cloud platform.
2. The method according to claim 1, characterized in that The storage situation includes computing resource usage and disk space usage, and the preset condition includes a first threshold and a second threshold; when the storage situation of the cloud host meets the preset condition, automatically creating the cloud host for the Nova computing service of the OpenStack cloud platform, or automatically expanding the capacity of the cloud host for the Cinder block storage service of the OpenStack cloud platform, includes: When the computing resource usage is greater than the first threshold, automatically creating the cloud host for the Nova computing service of the OpenStack cloud platform, wherein the computing resource usage includes: central processing unit CPU usage or memory usage; When the disk space usage rate is greater than the second threshold, the cloud host is automatically expanded for the Cinder block storage service of the OpenStack cloud platform.
3. The method according to claim 1, characterized in that: The image containing MinIO is uploaded to the Glance image service of the OpenStack cloud platform, and the cloud host containing the MinIO application is generated according to the image containing MinIO, including: Download the image containing MinIO from the Glance image service; According to the image, the cloud host including the MinIO application is generated.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the Heat orchestration service sends a monitoring instruction to the platform monitoring service, the platform monitoring service monitors the storage status of the cloud host in real time based on the monitoring instruction.
5. The method according to claim 1, characterized in that The image containing MinIO is produced based on relevant parameters of MinIO, and the relevant parameters at least include: the Linux distribution version required by MinIO, the dependent software of MinIO, the executable file of MinIO, and the configuration information of MinIO.
6. The method according to claim 1 or 5, characterized in that: The image containing MinIO is in the format of a raw disk or Qcow2 format.
7. A cloud host creation device including a MinIO application, characterized in that: include: The cloud host generation module is used to generate a cloud host containing the MinIO application based on an image containing MinIO through the Heat orchestration service of the OpenStack cloud platform; The cloud host creation module is used to automatically create the cloud host for the Nova computing service of the OpenStack cloud platform when the storage situation of the cloud host meets the preset conditions, or to automatically expand the cloud host for the Cinder block storage service of the OpenStack cloud platform.
8. An OpenStack cloud platform, comprising Heat orchestration service, Nova computing service and Cinder block storage service, characterized in that: The Heat orchestration service is used to generate a cloud host containing the MinIO application based on an image containing MinIO; when the storage situation of the cloud host meets the preset conditions, the cloud host is automatically created for the Nova computing service, or the cloud host is automatically expanded for the Cinder block storage service.
9. An OpenStack cloud platform, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the cloud host creation method including the MinIO application as described in any one of claims 1 to 6 is implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for creating a cloud host including a MinIO application as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Heat-based cloud application deployment scheme
CN106020931A
Expansion method and device for data volume of virtual machine based on cloud platform
CN108804201A
Capacity expansion method and device based on MINIO cloud storage and electronic equipment
CN112835527A
Parkinson's disease auxiliary diagnosis system and method based on edge calculation
CN113241175A
Cloudization method for large-scale engineering design software
CN113722047A
Cited By
Cloud platform storage system, method, equipment and medium
CN119892855A
A cloud platform storage system, method, device and medium
CN119892855B
