CN111949668B - Management method for enabling cloud platform to support multiple storage modes - Google Patents
Management method for enabling cloud platform to support multiple storage modes Download PDFInfo
- Publication number
- CN111949668B CN111949668B CN202011009787.XA CN202011009787A CN111949668B CN 111949668 B CN111949668 B CN 111949668B CN 202011009787 A CN202011009787 A CN 202011009787A CN 111949668 B CN111949668 B CN 111949668B
- Authority
- CN
- China
- Prior art keywords
- package
- software
- plug
- cloud platform
- installation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2291—User-Defined Types; Storage management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention relates to the storage field of cloud platforms, in particular to a management method for enabling the cloud platforms to support multiple storage modes, which comprises the following steps of S1, creating a software warehouse, placing storage software in the software warehouse in a plug-in package mode, and configuring access addresses of the software warehouse; s2, the installation client acquires a plug-in package list in the software warehouse and creates an index file; s3, the installation client acquires the name of the appointed plug-in package, searches index files with the same name, and acquires corresponding access addresses in the software warehouse according to the addresses of the index files after successful matching; s4, the installation client downloads the plug-in package in the access address acquired in the step S3 and triggers an installation script of the plug-in package; s5, a user designates a deployment node of the stored software in the plug-in package, and installs the stored software; the method solves the problems that the storage mode of the container cloud platform is fixed in advance and cannot be changed dynamically, and only the third party storage software is used and supported and the third party storage software is not installed and supported.
Description
Technical Field
The invention relates to the field of storage of cloud platforms, in particular to a management method for enabling a cloud platform to support multiple storage modes.
Background
At present, a flow required by a cloud platform to support various storage modes is as follows:
reading official documents of a target storage cluster, knowing the mode and details of an installation process, manually deploying the target storage cluster on a machine for storage according to the steps introduced by the official documents, if processing errors are processed in the installation process, needing retrospective solution, installing an installation client required by the target storage on a physical machine of a container cloud environment, configuring the container cloud environment, and debugging and using.
The above process has the following technical problems:
1. the storage mode supported by the container cloud platform is usually fixed in advance and cannot be changed dynamically, if a corresponding storage mode is required to be added, the corresponding document needs to be read from the head and the installation details need to be known, and time and labor are wasted;
2. the container cloud platform has usage support for third party stored software, but has no installation support.
Disclosure of Invention
Based on the problems, the invention provides a management method for enabling a cloud platform to support multiple storage modes, and solves the problems that the storage modes of a container cloud platform are fixed in advance and cannot be changed dynamically, and only use support and no installation support are available for third party storage software.
In order to solve the technical problems, the invention adopts the following technical scheme:
a management method for enabling a cloud platform to support multiple storage modes comprises the following steps
S1, creating a software warehouse, placing storage software in the software warehouse in the form of a plug-in package, and configuring an access address of the software warehouse;
s2, the installation client acquires a plug-in package list in the software warehouse and creates an index file;
s3, the installation client acquires the name of the appointed plug-in package, searches index files with the same name, and acquires corresponding access addresses in the software warehouse according to the addresses of the index files after successful matching;
s4, the installation client downloads the plug-in package in the access address acquired in the step S3 and triggers an installation script of the plug-in package;
s5, the user designates a deployment node for storing the software in the plug-in package, and installs the stored software.
Further, in the step S2, the installation client obtains the package list, and creates an index file in the file of each package in the package list.
Further, in step S3, the installation client obtains the name of the designated package through the download command, searches the index files with the same name according to the name of the designated package, and if the search is successful, the installation client obtains the access address of the corresponding index file.
Further, in step S4, the package of the access address is downloaded by the installation client and then stored in the local directory, and when the package is repeatedly installed next time, the package is installed by the package cached in the local directory.
In step S4, the installation client decompresses the package, performs dependency check on the package, and uses the installation command to trigger the installation script of the package, if the dependency check fails, prompts the user that the obtained package cannot be installed.
Further, in step S5, the user designates that the software stored in the plug-in package is deployed at the node inside the cloud platform, and installs the software stored in the plug-in package, the user designates that the software stored in the plug-in package is deployed at the node outside the cloud platform, and the user needs to input the login key and then installs the software stored in the plug-in package.
Further, the method also comprises the following steps:
s6, deleting the installed storage software;
and S7, updating the storage software at regular time.
Further, in the step S6, the installation client uses the deletion command to delete the installed storage software.
Further, the method for managing a cloud platform to support multiple storage modes according to claim 7 is characterized in that: in the step S7, the installation client updates the index file in the step S2 by using the update command, and if a new package is found, the installation client executes steps S3 to S6 on the package.
Compared with the prior art, the invention has the beneficial effects that:
1. various storage modes are uniformly installed and processed in a plug-in package mode, hot plug is supported, and the storage modes supported by the cloud platform can be dynamically changed;
2. the version of the storage plug-in is maintained uniformly, only one piece of storage software is required to be maintained in the software warehouse, and each cloud platform depending on the software warehouse can be updated by one key without maintaining one piece of storage software for each cluster.
3. The method well shields the installation details of different storage software, so that a user only cares about the using steps without knowing the installation details, and the operation complexity of the cloud platform is greatly reduced.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The invention is further described below with reference to the accompanying drawings. Embodiments of the present invention include, but are not limited to, the following examples.
As shown in FIG. 1, a method for managing a cloud platform to support multiple storage modes includes
S1, creating a software warehouse, placing storage software in the software warehouse in the form of a plug-in package, and configuring an access address of the software warehouse;
the package is generated after being packed and compressed by a special script, and the package is in the format of an npkg file, wherein the npkg file contains specified storage software and dependence thereof, and an installation script for triggering the package to be installed; the installation client is a binary file of the cloud platform, and the binary file provides functions of inquiring, updating, installing, deleting and the like of the plug-in package in the software warehouse; the storage software is the storage software installed by the installation client, and can be installed on the internal node of the cloud platform or the external node of the cloud platform, wherein the specific installation position depends on the node address appointed by a user during installation.
S2, the installation client acquires a plug-in package list in the software warehouse and creates an index file;
the method comprises the steps that an installation client obtains a plug-in package list in a software warehouse, an index file is created in a file of each plug-in package in the plug-in package list, the name of the index file is identical to that of the plug-in package, the index file is created to avoid the need of completely traversing the plug-in package of the software warehouse once every time of inquiry, the pressure of the plug-in package on a server is further reduced, an index result is conveniently returned directly during inquiry through the index file, and an access address of a target plug-in package is returned according to the index result.
S3, the installation client acquires the name of the appointed plug-in package, searches index files with the same name, and acquires corresponding access addresses in the software warehouse according to the addresses of the index files after successful matching;
the installation client obtains the name of the appointed plug-in package through a downloading command, namely a pkgdlowload command, searches index files with the same name according to the name of the appointed plug-in package, and if the search is successful, the installation client obtains the access address of the corresponding index file so as to determine the access address of the target plug-in package.
S4, the installation client downloads the plug-in package in the access address acquired in the step S3 and triggers an installation script of the plug-in package;
the method comprises the steps that a target plug-in package of an access address is downloaded by an installation client, if the target plug-in package is downloaded for the first time, the target plug-in package is cached in a local catalogue, and when the target plug-in package is repeatedly installed next time, the target plug-in package cached in the local catalogue is installed; after the installation client obtains the target plug-in package, firstly decompressing the target plug-in package, performing dependency check on the target plug-in package, wherein the dependency check is successful, triggering an installation script of the target plug-in package by using an installation command, namely a pkg install command, and prompting a user if the dependency check fails, wherein the obtained target plug-in package cannot be installed.
S5, a user designates a deployment node of the stored software in the plug-in package, and installs the stored software;
the method comprises the steps that when a user designates that plug-in package storage software is deployed at a cloud platform internal node, storage software is directly installed, when the user designates that plug-in package storage software is deployed at a cloud platform external node, the user needs to input a login key, and then the storage software is installed.
S6, deleting the installed storage software;
the installation client uses the deletion command, namely the pkgdelete command, to delete the installed storage software and clear the corresponding dependence through the dependence relationship.
S7, updating the storage software at regular time;
and (3) updating the index file by executing an update command, namely a pkg update command, at regular time by the installation client, and executing steps S3 to S6 for the plug-in package when the new version of storage software is found.
Through the steps 1 to 7, various storage modes are uniformly installed and processed in the form of plug-in packages in the invention, and the storage mode of the container cloud platform is not determined in a preset fixed mode, so that the problem that the container cloud platform cannot dynamically change the storage mode is solved, if a new storage mode is required to be added, the storage software can be installed by installing a client to a software warehouse to obtain, and the problem that the container cloud platform only uses and supports the third party storage software and has no installation support is solved.
The above is an embodiment of the present invention. The above embodiments and specific parameters in the embodiments are only for clearly describing the inventive verification process of the inventor, and are not intended to limit the scope of the invention, which is defined by the claims, and all equivalent structural changes made by applying the descriptions and the drawings of the invention are included in the scope of the invention.
Claims (9)
1. A management method for enabling a cloud platform to support multiple storage modes is characterized by comprising the following steps: comprising
S1, creating a software warehouse, placing storage software in the software warehouse in the form of a plug-in package, and configuring an access address of the software warehouse;
the plug-in package is in the format of an npkg file, which contains specified storage software and dependence thereof, and an installation script for triggering the installation of the plug-in package;
s2, the installation client acquires a plug-in package list in the software warehouse and creates an index file;
the installation client is a binary file of the cloud platform, and the binary file provides the functions of inquiring, updating, installing and deleting plug-in packages in the software warehouse;
s3, the installation client acquires the name of the appointed plug-in package, searches index files with the same name, and acquires corresponding access addresses in the software warehouse according to the addresses of the index files after successful matching;
s4, the installation client downloads the plug-in package in the access address acquired in the step S3 and triggers an installation script of the plug-in package;
s5, the user designates a deployment node for storing the software in the plug-in package, and installs the stored software.
2. The method for managing a cloud platform to support multiple storage modes according to claim 1, wherein the method comprises the following steps: in the step S2, the installation client acquires the package list, and creates an index file in the file of each package in the package list.
3. The method for managing a cloud platform to support multiple storage modes according to claim 1, wherein the method comprises the following steps: in step S3, the installation client obtains the name of the designated package through the download command, searches the index files with the same name according to the name of the designated package, and if the search is successful, the installation client obtains the access address of the corresponding index file.
4. The method for managing a cloud platform to support multiple storage modes according to claim 1, wherein the method comprises the following steps: in step S4, the package of the access address is downloaded by the installation client and then stored in the local directory, and when the package is repeatedly installed next time, the package is installed through the package cached in the local directory.
5. The method for enabling a cloud platform to support multiple storage modes according to claim 4, wherein the method comprises the following steps: in step S4, the installation client decompresses the package, performs dependency check on the package, and uses the installation command to trigger the installation script of the package, if the dependency check fails, prompts the user that the obtained package cannot be installed.
6. The method for managing a cloud platform to support multiple storage modes according to claim 1, wherein the method comprises the following steps: in step S5, the user designates that the software stored in the plug-in package is deployed at the node inside the cloud platform, and installs the software stored in the plug-in package, the user designates that the software stored in the plug-in package is deployed at the node outside the cloud platform, and the user needs to input a login key and then installs the software stored in the plug-in package.
7. The method for managing a cloud platform to support multiple storage modes according to claim 1, wherein the method comprises the following steps: the method also comprises the following steps:
s6, deleting the installed storage software;
and S7, updating the storage software at regular time.
8. The method for enabling a cloud platform to support multiple storage modes according to claim 7, wherein the method comprises the following steps: in step S6, the installation client uses the deletion command to delete the installed storage software.
9. The method for enabling a cloud platform to support multiple storage modes according to claim 7, wherein the method comprises the following steps: in the step S7, the installation client updates the index file in the step S2 by using the update command, and if a new package is found, the installation client executes steps S3 to S6 on the package.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011009787.XA CN111949668B (en) | 2020-09-23 | 2020-09-23 | Management method for enabling cloud platform to support multiple storage modes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011009787.XA CN111949668B (en) | 2020-09-23 | 2020-09-23 | Management method for enabling cloud platform to support multiple storage modes |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111949668A CN111949668A (en) | 2020-11-17 |
CN111949668B true CN111949668B (en) | 2023-05-05 |
Family
ID=73356517
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011009787.XA Active CN111949668B (en) | 2020-09-23 | 2020-09-23 | Management method for enabling cloud platform to support multiple storage modes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111949668B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567051A (en) * | 2011-12-14 | 2012-07-11 | 中标软件有限公司 | Method and device for preparing graphical installation system of Loongson platform |
CN106484458A (en) * | 2016-09-08 | 2017-03-08 | 上海斐讯数据通信技术有限公司 | A kind of open software warehouse management system and its management method |
US9747091B1 (en) * | 2014-03-31 | 2017-08-29 | Amazon Technologies, Inc. | Isolated software installation |
CN111190629A (en) * | 2020-01-03 | 2020-05-22 | 重庆长安汽车股份有限公司 | Embedded terminal upgrading software package and analysis method thereof |
CN111221562A (en) * | 2019-12-31 | 2020-06-02 | 深圳晶泰科技有限公司 | Medicine research and development software warehouse and software package management system thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9152643B2 (en) * | 2012-12-21 | 2015-10-06 | Zetta Inc. | Distributed data store |
-
2020
- 2020-09-23 CN CN202011009787.XA patent/CN111949668B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102567051A (en) * | 2011-12-14 | 2012-07-11 | 中标软件有限公司 | Method and device for preparing graphical installation system of Loongson platform |
US9747091B1 (en) * | 2014-03-31 | 2017-08-29 | Amazon Technologies, Inc. | Isolated software installation |
CN106484458A (en) * | 2016-09-08 | 2017-03-08 | 上海斐讯数据通信技术有限公司 | A kind of open software warehouse management system and its management method |
CN111221562A (en) * | 2019-12-31 | 2020-06-02 | 深圳晶泰科技有限公司 | Medicine research and development software warehouse and software package management system thereof |
CN111190629A (en) * | 2020-01-03 | 2020-05-22 | 重庆长安汽车股份有限公司 | Embedded terminal upgrading software package and analysis method thereof |
Non-Patent Citations (2)
Title |
---|
Oracle10g数据库的安装优化方法研究;黄宏志;信息技术(第12期);92-96 * |
开源平台下软件管理技术的研究;顾昊等;《计算机应用研》(第08期);112-115 * |
Also Published As
Publication number | Publication date |
---|---|
CN111949668A (en) | 2020-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109391664B (en) | System and method for multi-cluster container deployment | |
CN105302920B (en) | Cloud storage data optimization management method and system | |
CN104182255A (en) | Method and terminal for upgrading library files of system application | |
CN106371881B (en) | Method and system for updating program version in server | |
CN103559065B (en) | Method and system for OTA (Over-the-Air Technology) upgrade | |
CN104836843A (en) | Client application program updating method and device | |
CN102200915B (en) | Method and device for version migration of software package | |
CN104820602A (en) | Method, device and system for publishing software package | |
CN102073512A (en) | JAVA cluster application system code loading and upgrading device and method | |
CN106897103B (en) | Method for quickly and thermally updating version of mobile terminal network game | |
CN103902696A (en) | Method and device for loading resource files | |
CN105335187A (en) | Application processing method and apparatus | |
CN105867973A (en) | Loading method and system for so file in application program | |
CN106371875B (en) | Mobile phone application updating method based on HTML5 | |
CN112882729A (en) | Application image upgrading method and device, computer equipment and storage medium | |
CN104932887A (en) | Plug-in management method of platform system and platform system | |
CN106302592A (en) | The update method of terminal applies, server and terminal | |
CN104699511A (en) | Plug-in upgrading method and plug-in upgrading device | |
CN111932207A (en) | Project data processing method and device, computer equipment and storage medium | |
CN110333876A (en) | A kind of data clearing method and control equipment | |
CN113126893A (en) | Method, device, storage medium and computer equipment for expanding system partition | |
CN112149035A (en) | Website static resource processing method and device | |
CN102520994A (en) | Method and system for steaming loading virtual files | |
CN102541593A (en) | Rapid comparison method of versions of remote files | |
CN105677425A (en) | Updating method of software system of C/S system structure |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
PE01 | Entry into force of the registration of the contract for pledge of patent right |
Denomination of invention: A management method that enables cloud platforms to support multiple storage methods Effective date of registration: 20230719 Granted publication date: 20230505 Pledgee: Bank of Chengdu science and technology branch of Limited by Share Ltd. Pledgor: CHENGDU GHOSTCLOUD TECHNOLOGY CO.,LTD. Registration number: Y2023980049104 |
|
PE01 | Entry into force of the registration of the contract for pledge of patent right |