CN111949668A - 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 PDF

Info

Publication number
CN111949668A
CN111949668A CN202011009787.XA CN202011009787A CN111949668A CN 111949668 A CN111949668 A CN 111949668A CN 202011009787 A CN202011009787 A CN 202011009787A CN 111949668 A CN111949668 A CN 111949668A
Authority
CN
China
Prior art keywords
plug
package
software
installation
cloud platform
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011009787.XA
Other languages
Chinese (zh)
Other versions
CN111949668B (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.)
Chengdu Ghostcloud Technology Co ltd
Original Assignee
Chengdu Ghostcloud Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Ghostcloud Technology Co ltd filed Critical Chengdu Ghostcloud Technology Co ltd
Priority to CN202011009787.XA priority Critical patent/CN111949668B/en
Publication of CN111949668A publication Critical patent/CN111949668A/en
Application granted granted Critical
Publication of CN111949668B publication Critical patent/CN111949668B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

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, which comprises the steps of S1, creating a software warehouse, placing storage software in the software warehouse in a plug-in package mode, 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 obtains the name of the appointed plug-in package, searches the index files with the same name, and obtains the corresponding access address in the software warehouse according to the address of the index file after matching successfully; s4, downloading the plug-in package in the access address acquired in the step S3 by the installation client, and triggering an installation script of the plug-in package; s5, the user appoints a deployment node of the storage software in the plug-in package, and the storage software is installed; the method and the device solve the problems that a container cloud platform storage mode is fixed in advance and cannot be changed dynamically, and only use support and no installation support are provided for third-party storage software.

Description

Management method for enabling cloud platform to support multiple storage modes
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
The flow required by one current cloud platform to support multiple storage modes is as follows:
reading official documents of the target storage cluster, knowing the mode and details of the 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 occur in the installation process, backtracking to solve the problem, installing an installation client required by target storage on a physical machine of a container cloud environment, configuring the container cloud environment, and debugging for use.
The above process has the following technical problems:
1. the storage mode supported by the container cloud platform is often fixed in advance and cannot be changed dynamically, and if a storage mode needs to be added correspondingly, reading of corresponding documents and understanding of installation details need to be started from the beginning, which is time-consuming and labor-consuming;
2. the container cloud platform has usage support for third-party storage 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 mode of a container cloud platform is fixed in advance and cannot be changed dynamically, and third-party storage software only has use support and is not installed and supported.
In order to solve the technical problems, the technical scheme adopted by the invention is as follows:
a management method for enabling a cloud platform to support multiple storage modes comprises
S1, creating a software warehouse, placing the storage software in the software warehouse in the form of plug-in packages, 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 obtains the name of the appointed plug-in package, searches the index files with the same name, and obtains the corresponding access address in the software warehouse according to the address of the index file after matching successfully;
s4, downloading the plug-in package in the access address acquired in the step S3 by the installation client, and triggering an installation script of the plug-in package;
and S5, the user specifies the deployment node of the storage software in the plug-in package, and the storage software is installed.
Further, in step S2, the installation client obtains the plug-in package list, and creates an index file in the file of each plug-in package in the plug-in package list.
Further, in step S3, the installation client obtains the name of the specified plug-in package through the download command, and searches for the index file with the same name according to the name of the specified plug-in package, and if the search is successful, the installation client obtains the access address of the corresponding index file.
Further, in step S4, the plug-in package downloaded by the client to the access address is installed and stored in the local directory, and when the installation is repeated next time, the plug-in package cached in the local directory is used for installation.
Further, in step S4, the installation client decompresses the plug-in package, performs dependency check on the plug-in package, and if the dependency check is successful, triggers the installation script of the plug-in package using the installation command, and if the dependency check fails, prompts the user that the obtained plug-in package cannot be installed.
Further, in step S5, if the user specifies that the storage software in the plug-in package is deployed at the internal node of the cloud platform, the storage software is installed, the user specifies that the storage software in the plug-in package is deployed at the external node of the cloud platform, and the user needs to input the login key and then install the storage software.
Further, the method also comprises the following steps:
s6, deleting the installed storage software;
and S7, updating the stored software at regular time.
Further, in step S6, the installation client deletes the installed storage software using the delete command.
Further, the management method for enabling a cloud platform to support multiple storage modes according to claim 7 is characterized in that: in step S7, the installation client updates the index file in step S2 with an update command, and if a new plug-in package is found, performs steps S3 to S6 on the plug-in 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 plugging is supported, and the storage mode supported by the cloud platform can be dynamically changed;
2. the versions of the storage plug-ins are maintained uniformly, only one piece of storage software needs to be maintained in a software warehouse, all cloud platforms depending on the software warehouse can be updated in a one-key mode, and one piece of storage software does not need to be maintained by each cluster.
3. The method and the device well shield the installation details of different storage software, so that a user only cares about the use 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 will be further described 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 management method for enabling a cloud platform to support multiple storage modes includes
S1, creating a software warehouse, placing the storage software in the software warehouse in the form of plug-in packages, and configuring an access address of the software warehouse;
the plug-in package is generated by packaging and compressing special scripts, and the format of the plug-in package is npkg file, and the plug-in package comprises appointed storage software, dependence of the storage software and an installation script for triggering the installation of the plug-in package; 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 installed through an installation client, the storage software can be installed on an internal node of the cloud platform or an external node of the cloud platform, and the specific installation position depends on a node address specified 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 installation client side obtains a plug-in package list in the software warehouse, an index file is created in files of each plug-in package in the plug-in package list, the name of the index file is the same as that of the plug-in package, the creation of the index file aims to avoid the situation that the plug-in package of the software warehouse needs to be completely traversed once during each query, the pressure of the plug-in package on the server is further reduced, the index result can be conveniently and directly returned during the query through the index file, and the access address of the target plug-in package is returned according to the index result.
S3, the installation client obtains the name of the appointed plug-in package, searches the index files with the same name, and obtains the corresponding access address in the software warehouse according to the address of the index file after matching successfully;
the installation client obtains the name of the appointed plug-in package through a download command, namely a pkg download 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 an access address corresponding to the index files so as to determine the access address of the target plug-in package.
S4, downloading the plug-in package in the access address acquired in the step S3 by the installation client, and triggering an installation script of the plug-in package;
the target plug-in package of the access address is downloaded by the installation client, if the target plug-in package is downloaded for the first time, the target plug-in package is cached in the local directory, and when the target plug-in package is repeatedly installed for the next time, the target plug-in package cached in the local directory is installed; after the installation client side obtains the target plug-in package, firstly decompressing the target plug-in package, carrying out dependency check on the target plug-in package, triggering an installation script of the target plug-in package by using an installation command, namely a pkg install command, if the dependency check fails, prompting a user that the obtained target plug-in package cannot be installed.
S5, the user appoints a deployment node of the storage software in the plug-in package, and the storage software is installed;
the storage software is directly installed when the user specifies that the storage software in the plug-in package is deployed at an internal node of the cloud platform, the user specifies that the storage software in the plug-in package is deployed at an external node of the cloud platform, and the user needs to input a login key and then install the storage software.
S6, deleting the installed storage software;
the installation client deletes the installed storage software by using a deletion command, namely a pkg delete command, and clears corresponding dependence through the dependence relation.
S7, updating the stored software at regular time;
and (4) installing a pkg update command which is an execution update command of the client at regular time, updating the index file, and executing the steps S3-S6 to install the plug-in package when a new version of the stored software is found.
Through the steps 1 to S7, 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 predetermined fixed mode, so that the problem that the storage mode of the container cloud platform cannot be dynamically changed is solved.
The above is an embodiment of the present invention. The specific parameters in the above embodiments and examples are only for the purpose of clearly illustrating the invention 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 using the contents of the specification and the drawings of the present invention should be covered by the scope of the present invention.

Claims (9)

1. A management method for enabling a cloud platform to support multiple storage modes is characterized in that: comprises that
S1, creating a software warehouse, placing the storage software in the software warehouse in the form of plug-in packages, 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 obtains the name of the appointed plug-in package, searches the index files with the same name, and obtains the corresponding access address in the software warehouse according to the address of the index file after matching successfully;
s4, downloading the plug-in package in the access address acquired in the step S3 by the installation client, and triggering an installation script of the plug-in package;
and S5, the user specifies the deployment node of the storage software in the plug-in package, and the storage software is installed.
2. The management method for enabling a cloud platform to support multiple storage modes according to claim 1, wherein: in step S2, the installation client obtains the plug-in package list, and creates an index file in the file of each plug-in package in the plug-in package list.
3. The management method for enabling a cloud platform to support multiple storage modes according to claim 1, wherein: in step S3, the installation client obtains the name of the specified plug-in package through the download command, and searches for the index file with the same name according to the name of the specified plug-in package, and if the search is successful, the installation client obtains the access address of the corresponding index file.
4. The management method for enabling a cloud platform to support multiple storage modes according to claim 1, wherein: in step S4, the plug-in package of the access address downloaded by the client is installed and stored in the local directory, and when the installation is repeated next time, the plug-in package cached in the local directory is used for installation.
5. The management method for enabling a cloud platform to support multiple storage modes according to claim 4, wherein: in step S4, the installation client decompresses the plug-in package and performs dependency check on the plug-in package, the dependency check is successful, the installation script of the plug-in package is triggered by using the installation command, and if the dependency check fails, the user is prompted that the obtained plug-in package cannot be installed.
6. The management method for enabling a cloud platform to support multiple storage modes according to claim 1, wherein: in step S5, if the user specifies that the storage software in the plug-in package is deployed at the internal node of the cloud platform, the storage software is installed, the user specifies that the storage software in the plug-in package is deployed at the external node of the cloud platform, and the user needs to input the login key and then install the storage software.
7. The management method for enabling a cloud platform to support multiple storage modes according to claim 1, wherein: also comprises the following steps:
s6, deleting the installed storage software;
and S7, updating the stored software at regular time.
8. The management method for enabling a cloud platform to support multiple storage modes according to claim 7, wherein: in step S6, the installation client deletes the installed storage software using the delete command.
9. The management method for enabling a cloud platform to support multiple storage modes according to claim 7, wherein: in step S7, the installation client updates the index file in step S2 with an update command, and if a new plug-in package is found, performs steps S3 to S6 on the plug-in package.
CN202011009787.XA 2020-09-23 2020-09-23 Management method for enabling cloud platform to support multiple storage modes Active CN111949668B (en)

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 true CN111949668A (en) 2020-11-17
CN111949668B 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 (6)

* Cited by examiner, † Cited by third party
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
US20140181041A1 (en) * 2012-12-21 2014-06-26 Zetta, Inc. Distributed data store
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
US20140181041A1 (en) * 2012-12-21 2014-06-26 Zetta, Inc. Distributed data store
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)

* Cited by examiner, † Cited by third party
Title
顾昊等: "开源平台下软件管理技术的研究", 《计算机应用研》 *
黄宏志: "Oracle10g数据库的安装优化方法研究", 信息技术 *

Also Published As

Publication number Publication date
CN111949668B (en) 2023-05-05

Similar Documents

Publication Publication Date Title
CN107797817B (en) Application updating method and device
US8296758B2 (en) Deployment and versioning of applications
CN111381858B (en) Application program upgrading method, server and terminal equipment
CN106371881B (en) Method and system for updating program version in server
CN102073512A (en) JAVA cluster application system code loading and upgrading device and method
CN105867973A (en) Loading method and system for so file in application program
CN106371875B (en) Mobile phone application updating method based on HTML5
CN104932887A (en) Plug-in management method of platform system and platform system
CN111932207A (en) Project data processing method and device, computer equipment and storage medium
CN110333876A (en) A kind of data clearing method and control equipment
CN110413292B (en) Light application installation method of application program, mobile terminal and storage medium
US9854429B2 (en) Mobile terminal configuration method and system
CN111949668A (en) Management method for enabling cloud platform to support multiple storage modes
CN104158907A (en) Method and device of downloading application program file
CN112328284A (en) Application program upgrading method, system, equipment and storage medium
CN111984279A (en) Application software upgrading method, system and storage medium
CN111949298A (en) Generation method and device of upgrade package, server and computer storage medium
CN115543429A (en) Project environment building method, electronic equipment and computer readable storage medium
CN106598663B (en) Web application updating method and web server
CN112947956B (en) Application software upgrading method
CN112579129A (en) Software updating method, device, equipment and storage medium based on server
CN112685102A (en) Gateway plug-in hot loading method, device, equipment and medium
CN106528057B (en) Method and device for realizing running environment adaptation
CN115408047B (en) Version release method and device and electronic equipment
CN112965714B (en) Method, device and equipment for quickly updating code 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
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right
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