CN113419746A - Method, system, storage medium and equipment for installing render-CSI plug-in - Google Patents

Method, system, storage medium and equipment for installing render-CSI plug-in Download PDF

Info

Publication number
CN113419746A
CN113419746A CN202110556010.3A CN202110556010A CN113419746A CN 113419746 A CN113419746 A CN 113419746A CN 202110556010 A CN202110556010 A CN 202110556010A CN 113419746 A CN113419746 A CN 113419746A
Authority
CN
China
Prior art keywords
csi
plug
palm
installation
command set
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
CN202110556010.3A
Other languages
Chinese (zh)
Other versions
CN113419746B (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.)
Jinan Inspur Data Technology Co Ltd
Original Assignee
Jinan Inspur Data 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 Jinan Inspur Data Technology Co Ltd filed Critical Jinan Inspur Data Technology Co Ltd
Priority to CN202110556010.3A priority Critical patent/CN113419746B/en
Publication of CN113419746A publication Critical patent/CN113419746A/en
Application granted granted Critical
Publication of CN113419746B publication Critical patent/CN113419746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a method, a system, a storage medium and equipment for installing a shader-CSI plug-in, wherein the method comprises the following steps: collecting and packaging configuration parameters required by the palm installation of the circle-CSI plug-in into total parameters, and injecting the total parameters into a palm command to form a palm command set; checking whether the installation environment is abnormal; in response to the normal installation environment, sending the palm command set to a container platform of the circle-CSI plug-in to be installed, executing the template of the circle-CSI plug-in the container platform through the palm command set to generate a POD, and installing the components in the POD; in response to the component installation being complete, sending a notification to the user interface that the sender-CSI plug-in installation is complete. The method and the system enable the deployment of the Cinder-CSI plug-in the container platform to be simple and rapid, reduce the operation of operation and maintenance personnel, save a large amount of operation and maintenance manpower, improve the plug-in deployment efficiency, greatly save the deployment time of the plug-in and further improve the availability of the Cinder.

Description

Method, system, storage medium and equipment for installing render-CSI plug-in
Technical Field
The invention relates to the technical field of cloud platforms, in particular to a method, a system, a storage medium and equipment for installing a shader-CSI plug-in.
Background
In a system of a cloud platform, storage is a basic function of the cloud platform. The storage system with good performance and simple configuration has a great effect of improving the cloud platform. Generally, a cloud platform has a set of storage systems, which can support most of the services thereon, but is limited by storage performance, and if the services want to run more smoothly, the services need a faster and more easily available storage. The cloud platform may support multiple types of storage, such as NFS, iSCSI, and so on. In addition, the cloud platform may also interface to OpenStack, and may use all storage types on OpenStack, such as swift and the like.
Block storage by OpenStack uses binder. Volumes can be quickly created using the renderer, and the created volumes can be provided as persistent storage for use by virtual machines or applications. Cloud platforms are currently deployed based on Kubernates. OpenStack's binder, which wants to be used on a Kubernates based cloud platform, requires the use of a binder-CSI driver. The circle-CSI is a driver compatible with the CSI specification, and the container orchestration by OpenStack manages the entire life cycle of circle. To use under Kubernates, Cinder-CSI needs to be relied upon. When the sender-CSI is used, deployment can be manually executed only through a background command at present, and the configuration file of the sender-CSI can be adapted to the cloud platform only by making certain modification. The whole process comprises the following steps: changing a configuration file Secret and filling an access mode of OpenStack; using the helm to install the plug-in unit; some configuration parameters within the installed circle-CSI are modified. The whole process is complicated if manual deployment is carried out, manual deployment is needed when an environment is deployed once or a new OpenStack is docked, a large amount of manpower and material resources are wasted, the use is not easy, the operation of a user is not facilitated, commands and operations are multiple, and once an error occurs, irreparable loss can be caused.
Disclosure of Invention
In view of this, the present invention provides a method, a system, a storage medium, and a device for installing a shader-CSI plug-in, so as to solve the problem that the installation of the shader-CSI plug-in the prior art is complicated and inconvenient.
Based on the above purpose, the invention provides a Cinder-CSI plug-in mounting method, which comprises the following steps:
collecting and packaging configuration parameters required by the palm installation of the circle-CSI plug-in into total parameters, and injecting the total parameters into a palm command to form a palm command set;
checking whether the installation environment is abnormal;
in response to the normal installation environment, sending the palm command set to a container platform of the circle-CSI plug-in to be installed, executing the template of the circle-CSI plug-in the container platform through the palm command set to generate a POD, and installing the components in the POD;
in response to the component installation being complete, sending a notification to the user interface that the sender-CSI plug-in installation is complete.
In some embodiments, collecting and packaging the configuration parameters required to install the circle-CSI plug-in by helm as a total parameter includes: respectively collecting configuration parameters required by the palm installation of the circle-CSI plug-in through each interface, and putting the collected configuration parameters into a parameter receiver and packaging the parameters into total parameters; the total parameters are formatted by the parameter receiver and the formatted total parameters are loaded into the helm command to form the helm command set.
In some embodiments, checking whether the installation environment is abnormal includes: checking whether the connectivity of the container platform and each node in the installation environment is abnormal; and checking whether the amount of the underlying resources in the installation environment meets a preset threshold.
In some embodiments, wherein executing the template of the sender-CSI plugin with the helm command set in the container platform to generate the POD comprises: acquiring a template of a sender-CSI plug-in, downloading a corresponding mirror image according to the template, and creating a configuration file by executing the template; and generating a corresponding POD based on the image and the configuration file.
In some embodiments, the method further comprises: in response to an installation environment exception, operation of the palm command set is stopped.
In some embodiments, the method further comprises: and monitoring the component installation progress in the process of installing the components in the POD, and displaying the monitoring result to a user interface.
In some embodiments, the method further comprises: and receiving an instruction of installing the folder-CSI plug-in through an operation button on the user interface.
In another aspect of the present invention, there is also provided a sender-CSI plug-in installation system, including:
the palm command set forming module is configured to collect and package configuration parameters required by the palm for installing the circle-CSI plug-in into total parameters, and inject the total parameters into the palm command to form a palm command set;
an installation environment checking module configured to check whether an installation environment is abnormal;
the palm command set execution module is configured to respond to the normal installation environment, send the palm command set to a container platform of the circle-CSI plug-in to be installed, execute a template of the circle-CSI plug-in the container platform through the palm command set to generate a POD (POD), and install components in the POD; and
an installation completion module configured to send a notification to the user interface that the movie creator-CSI plug-in installation is complete in response to the component installation being complete.
In yet another aspect of the present invention, there is also provided a computer readable storage medium storing computer program instructions which, when executed, implement any one of the methods described above.
In yet another aspect of the present invention, a computer device is provided, which includes a memory and a processor, the memory storing a computer program, the computer program executing any one of the above methods when executed by the processor.
The invention has at least the following beneficial technical effects:
configuration parameters are collected and packaged, and the packaged total parameters are injected into a palm command to start installation, so that convenience is provided for plug-in installation; the installation environment is checked, so that the installation process is smoother and safer; the method and the system enable the deployment of the Cinder-CSI plug-in the container platform to be simple and rapid, reduce the operation of operation and maintenance personnel, save a large amount of operation and maintenance manpower, improve the plug-in deployment efficiency, greatly save the deployment time of the plug-in and further improve the availability of the Cinder.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic diagram of a sender-CSI plug-in installation method provided in accordance with an embodiment of the present invention;
fig. 2 is a schematic diagram of a render-CSI plug-in mounting system provided in accordance with an embodiment of the present invention;
fig. 3 is a schematic diagram of a computer-readable storage medium for implementing a shader-CSI plug-in installation method according to an embodiment of the present invention;
fig. 4 is a schematic hardware structure diagram of a computer device for executing the shader-CSI plug-in installation method according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two non-identical entities with the same name or different parameters, and it is understood that "first" and "second" are only used for convenience of expression and should not be construed as limiting the embodiments of the present invention. Furthermore, the terms "comprises" and "comprising," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements does not include all of the other steps or elements inherent in the list.
Based on the above purpose, the first aspect of the embodiment of the present invention provides an embodiment of a method for installing a shader-CSI plug-in. Fig. 1 is a schematic diagram illustrating an embodiment of a sender-CSI plug-in installation method provided by the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s10, collecting and packaging configuration parameters required by the palm for installing the circle-CSI plug-in into total parameters, and injecting the total parameters into a palm command to form a palm command set;
step S20, checking whether the installation environment is abnormal;
step S30, responding to the normal installation environment, sending the palm command set to a container platform of the circle-CSI plug-in to be installed, executing the template of the circle-CSI plug-in the container platform through the palm command set to generate a POD, and installing the components in the POD;
and step S40, responding to the installation completion of the component, and sending a notice that the installation of the sender-CSI plug-in is completed to the user interface.
The shader is a resource management system and can provide persistent block storage for the virtual machine; secondly, it encapsulates different back-end storage and provides a uniform API to the outside; thirdly, it provides storage services according to different backend stored drives using a plug-in approach. At the heart of circle is the management of volumes, which can handle volumes, volume types, and volume snapshots. Users have strict requirements on the operation of a volume: firstly, if a new space is added for a virtual machine or an application, a required volume needs to be generated quickly, an existing data volume needs to be mounted on the virtual machine for use, and data cannot be lost; secondly, space can be expanded as required, and rapid data backup and recovery can be supported; thirdly, important data can be safely stored, and unimportant data can be safely deleted. With respect to these characteristics, a renderer supports well, and through the renderer, a user can manage data volumes of a virtual machine quickly and conveniently. Therefore, circle is used in the cloud platform.
Cloud platforms are currently deployed based on Kubernates. Kubernates K8s for short is an open source and is used for managing containerized applications on a plurality of hosts in a cloud platform, the goal of Kubernates is to make the application of deploying containerization simple and efficient, and Kubernates provides a mechanism for application deployment, planning, updating and maintenance. OpenStack's binder, which wants to be used on a Kubernates based cloud platform, requires the use of a binder-CSI driver. The OpenStack is an open-source cloud computing management platform project and is a combination of a series of software open-source projects. The circle-CSI is a driver compatible with the CSI specification, and the container orchestration by OpenStack manages the entire life cycle of circle. The focus of CSI is the protocol between the container orchestration system and the plug. To use under Kubernates, Cinder-CSI needs to be relied upon.
helm is a common method of plug-in installation. Using the helm installation plug-in requires that the helm be deployed in advance and that the helm template be edited. The palm is also executed through a series of commands during installation, and since the commands are complicated and difficult for non-professional operation and maintenance personnel, the commands are packaged and invisible for users, so that the convenience of installing the folder-CSI plug-in can be improved from the user perspective.
POD is a simplified version of the operating system and can be managed by Kubernates.
According to the embodiment of the invention, the configuration parameters are collected and packaged, and the packaged total parameters are injected into the palm command to start to execute installation, so that convenience is provided for the installation of the plug-in; the installation environment is checked, so that the installation process is smoother and safer; the method and the system enable the deployment of the Cinder-CSI plug-in the container platform to be simple and rapid, reduce the operation of operation and maintenance personnel, save a large amount of operation and maintenance manpower, improve the plug-in deployment efficiency, greatly save the deployment time of the plug-in and further improve the availability of the Cinder. By combining the bottom layer operations and asynchronous operations in the deployment process into one method, all resources in the process are integrated, and the simplicity of the plug-in deployment is greatly improved.
In some embodiments, collecting and packaging the configuration parameters required to install the circle-CSI plug-in by helm as a total parameter includes: respectively collecting configuration parameters required by the palm installation of the circle-CSI plug-in through each interface, and putting the collected configuration parameters into a parameter receiver and packaging the parameters into total parameters; the total parameters are formatted by the parameter receiver and the formatted total parameters are loaded into the helm command to form the helm command set.
In this embodiment, the configuration parameters required for installing the shader-CSI plug-in include: a CPU (central processing unit) architecture and IP (internet protocol) address of the installation environment, network information, a mirror repository and mirror tag, a template repository, a template name, OpenStack authentication parameters, and a target item to be installed. The source of these parameters is different, the CPU architecture and IP address of the installation environment need to be obtained from the bottom layer of the cluster, the network information needs to be obtained from the installation environment and OpenStack, the mirror repository and the tag need to be obtained from the configuration file, the template repository and the template name are stored in the database, but need to be connected to the real bottom repository to verify the availability, and the OpenStack authentication parameters need to be queried from the OpenStack environment. After all the parameters are obtained, the parameters are uniformly packaged into a parameter receiver, and after the parameter receiver obtains all the parameters, the parameters are formatted (namely, the parameters are converted into a format which can be identified by a bottom layer). After the parameters are packed, they are injected into the hell command to be executed.
Specifically, the CPU architecture and the IP address are obtained from commands of the bottom container platform and are provided to the parameter receiver through an interface; the network information is obtained according to a network interface of the container platform and is provided to the parameter receiver after being obtained; the mirror image warehouse and the mirror image label information are stored in the database in advance, after the mirror image warehouse and the mirror image label information need to be taken out of the database, the container platform is used for inquiring whether the mirror image warehouse exists or not and whether a mirror image needed by the sender-CSI exists or not, if yes, the parameters are sent to the parameter receiver, and if not, the installation is finished; the template warehouse exists in a single storage, whether the template warehouse is communicated or not needs to be tested through a method, whether the template exists or not is inquired according to the template name and the label, and the parameter information is sent to the parameter receiver under the condition that the template exists; and finally, the authentication parameters of the OpenStack are needed, which are obtained through an interface of the OpenStack, and a target project of the OpenStack, namely a project to which the plug is to be installed finally, is inquired.
In some embodiments, checking whether the installation environment is abnormal includes: checking whether the connectivity of the container platform and each node in the installation environment is abnormal; and checking whether the amount of the underlying resources in the installation environment meets a preset threshold.
In some embodiments, the method further comprises: in response to an installation environment exception, operation of the palm command set is stopped.
The installation environment is checked to ensure the normal of the installation environment. The checking of the installation environment comprises checking of a network state, checking of a bottom layer resource state, checking of a mirror image and a template, and checking of an OpenStack environment. The network state is checked to ensure that the network is connected, and connectivity of each part of the network needs to be tested, such as connectivity of a container platform and an OpenStack environment, and connectivity of the container platform and a mirror image warehouse and a template warehouse. The checking of the bottom layer resource state is to ensure the existence of the resource and the sufficiency of the resource, such as the sufficiency of the memory, the storage and the CPU resource. The mirror image and the template are checked to check whether the mirror image exists, whether a template warehouse exists and whether a needed template exists in the warehouse. And in the process of checking the installation environment, if one item does not exist or is abnormal, stopping the installation process.
Specifically, by calling interfaces of each module, connectivity of each resource is tested, and intercommunication of each node of the container platform is ensured, it is required to ensure that the container platform and the OpenStack environment are the same, and unidirectional access can be achieved between the container platform and each warehouse. The checking of connectivity is performed by an interface and a command. If the connectivity with the OpenStack is checked, the environment can be normal by calling an interface of the OpenStack and if the connectivity can be called; checking the connectivity of the warehouse may be performed by executing a warehouse instruction, such as a query instruction of the warehouse, and determining the connectivity status based on the returned result of the instruction. For the abnormal connection condition, a prompt is provided for the user to inform the user of the abnormal connection condition, so that the user can conveniently troubleshoot the problems. After these are normal checks, just can go to carry out the installation, otherwise, if the installation environment is abnormal, then the installation can fail to unable complete installation on container platform bottom layer environment, after the installation fails in addition, also can be more loaded down with trivial details to the uninstallation of plug-in components, produce a lot of residual files, lead to the installation failure next time.
In some embodiments, executing the template of the sender-CSI plug-in the container platform through the helm command set to generate the POD comprises: acquiring a template of a sender-CSI plug-in, downloading a corresponding mirror image according to the template, and creating a configuration file by executing the template; and generating a corresponding POD based on the image and the configuration file.
In some embodiments, the method further comprises: and monitoring the component installation progress in the process of installing the components in the POD, and displaying the monitoring result to a user interface.
The component installation progress monitoring is to check whether installation of each component at the bottom layer is completed in the execution process, the components comprise some Deployments, Demoset, roles and the like of the Cinder-CSI, the progress can be increased when each component is completed, and after all the components are installed, application, pod states and the like on the components need to be monitored, and after all the components are installed, Deployment completion can be declared. Since plug-in deployment is a very time-consuming process, the method is executed in an asynchronous task mode, and every time a latest schedule is collected, the latest schedule is returned to the user interface, so that the user interface can check the installation schedule of the plug-ins at any time.
In some embodiments, the method further comprises: and receiving an instruction of installing the folder-CSI plug-in through an operation button on the user interface.
The user interface of the container platform provides an operation entrance for a user, and an operation button can be arranged, and the operation button issues an installation instruction to start the installation of the sender-CSI plug-in. After the plug-in deployment is completed, the plug-in state on the user interface is made available, and then the OpenStack volume can be created using the render-CSI. The one-key deployment method is more user-friendly, the container platform user can use the render storage more conveniently, the storage diversity and usability are improved, and the performance of the container platform is also enhanced.
In a second aspect of the embodiments of the present invention, a sender-CSI plug-in installation system is also provided. Fig. 2 is a schematic diagram of an embodiment of the render-CSI plug-in mounting system provided by the present invention. A render-CSI plug-in mounting system comprising: a palm command set forming module 10 configured to collect and package configuration parameters required for installing a circle-CSI plug-in by a palm into total parameters, and load the total parameters into the palm command to form a palm command set; an installation environment checking module 20 configured to check whether an installation environment is abnormal; the palm command set execution module 30 is configured to respond to a normal installation environment, send the palm command set to a container platform where the circle-CSI plug-in is to be installed, execute a template of the circle-CSI plug-in the container platform through the palm command set to generate a POD, and perform component installation in the POD; and an installation completion module 40 configured to send a notification to the user interface that the movie nder-CSI plugin installation is complete in response to the component installation being complete.
According to the Cinder-CSI plug-in installation system provided by the embodiment of the invention, the configuration parameters are collected and packaged, and the packaged total parameters are injected into the palm command to start installation, so that convenience is provided for plug-in installation; the installation environment is checked, so that the installation process is smoother and safer; the method and the system enable the deployment of the Cinder-CSI plug-in the container platform to be simple and rapid, reduce the operation of operation and maintenance personnel, save a large amount of operation and maintenance manpower, improve the plug-in deployment efficiency, greatly save the deployment time of the plug-in and further improve the availability of the Cinder.
In some embodiments, the palm command set forming module 10 includes an encapsulating module configured to collect configuration parameters required for installing the circle-CSI plug-in through the palm via each interface, respectively, and place the collected configuration parameters into the parameter receiver and encapsulate them as total parameters; the total parameters are formatted by the parameter receiver and the formatted total parameters are loaded into the helm command to form the helm command set.
In some embodiments, installation environment checking module 20 is further configured to check whether there is an anomaly in the connectivity of the container platform to the nodes in the installation environment; and checking whether the amount of the underlying resources in the installation environment meets a preset threshold.
In some embodiments, the palm command set execution module 30 includes a POD generation module configured to acquire a template of the sender-CSI plug-in, download a corresponding image according to the template, and create a configuration file by executing the template; and generating a corresponding POD based on the image and the configuration file.
In some embodiments, the system further includes an installation environment exception module configured to cease operation of the palm command set in response to an installation environment exception.
In some embodiments, the system further comprises a progress monitoring module configured to monitor progress of component installation during component installation in the POD, and to display a monitoring result to the user interface.
In some embodiments, the system further comprises an instruction receiving module configured to receive an instruction of the movie der-CSI plug-in installation through an operation button on the user interface.
In a third aspect of the embodiment of the present invention, a computer-readable storage medium is further provided, and fig. 3 is a schematic diagram of a computer-readable storage medium for implementing a shader-CSI plug-in installation method according to an embodiment of the present invention. As shown in fig. 3, the computer-readable storage medium 3 stores computer program instructions 31, the computer program instructions 31 when executed implement the steps of:
collecting and packaging configuration parameters required by the palm installation of the circle-CSI plug-in into total parameters, and injecting the total parameters into a palm command to form a palm command set;
checking whether the installation environment is abnormal;
in response to the normal installation environment, sending the palm command set to a container platform of the circle-CSI plug-in to be installed, executing the template of the circle-CSI plug-in the container platform through the palm command set to generate a POD, and installing the components in the POD;
in response to the component installation being complete, sending a notification to the user interface that the sender-CSI plug-in installation is complete.
In some embodiments, collecting and packaging the configuration parameters required to install the circle-CSI plug-in by helm as a total parameter includes: respectively collecting configuration parameters required by the palm installation of the circle-CSI plug-in through each interface, and putting the collected configuration parameters into a parameter receiver and packaging the parameters into total parameters; the total parameters are formatted by the parameter receiver and the formatted total parameters are loaded into the helm command to form the helm command set.
In some embodiments, checking whether the installation environment is abnormal includes: checking whether the connectivity of the container platform and each node in the installation environment is abnormal; and checking whether the amount of the underlying resources in the installation environment meets a preset threshold.
In some embodiments, wherein executing the template of the sender-CSI plugin with the helm command set in the container platform to generate the POD comprises: acquiring a template of a sender-CSI plug-in, downloading a corresponding mirror image according to the template, and creating a configuration file by executing the template; and generating a corresponding POD based on the image and the configuration file.
In some embodiments, the steps further comprise: in response to an installation environment exception, operation of the palm command set is stopped.
In some embodiments, the steps further comprise: and monitoring the component installation progress in the process of installing the components in the POD, and displaying the monitoring result to a user interface.
In some embodiments, the steps further comprise: and receiving an instruction of installing the folder-CSI plug-in through an operation button on the user interface.
It should be understood that all the embodiments, features and advantages set forth above with respect to the shader-CSI plug-in installation method according to the present invention are equally applicable to the shader-CSI plug-in installation system and storage medium according to the present invention without conflicting with each other.
In a fourth aspect of the embodiments of the present invention, there is further provided a computer device, including a memory 402 and a processor 401, where the memory stores a computer program, and the computer program, when executed by the processor, implements the method of any one of the above embodiments.
Fig. 4 is a schematic diagram of a hardware structure of an embodiment of a computer device for executing the shader-CSI plug-in installation method provided by the present invention. Taking the computer device shown in fig. 4 as an example, the computer device includes a processor 401 and a memory 402, and may further include: an input device 403 and an output device 404. The processor 401, the memory 402, the input device 403 and the output device 404 may be connected by a bus or other means, and fig. 4 illustrates an example of a connection by a bus. The input device 403 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the shader-CSI plug-in mounting system. The output device 404 may include a display device such as a display screen.
The memory 402, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the sender-CSI plug-in installation method in the embodiment of the present application. The memory 402 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created by use of the sender-CSI plug-in installation method, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 402 may optionally include memory located remotely from processor 401, which may be connected to local modules via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The processor 401 executes various functional applications of the server and data processing by running the nonvolatile software programs, instructions, and modules stored in the memory 402, that is, implements the render-CSI plug-in installation method of the above-described method embodiment.
Finally, it should be noted that the computer-readable storage medium (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items. The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (10)

1. A method for installing a shader-CSI plug-in, comprising the steps of:
collecting and encapsulating configuration parameters required by the palm to install the circle-CSI plug-in into total parameters, and injecting the total parameters into a palm command to form a palm command set;
checking whether the installation environment is abnormal;
in response to the normal installation environment, sending the helm command set to a container platform of a circle-CSI plug-in to be installed, executing a template of the circle-CSI plug-in the container platform through the helm command set to generate a POD, and installing components in the POD;
in response to the component installation being complete, sending a notification to the user interface that the sender-CSI plug-in installation is complete.
2. The method of claim 1, wherein collecting and encapsulating configuration parameters required for the circle-CSI plugin installed by helm as overall parameters comprises:
respectively collecting configuration parameters required by the palm installation of the circle-CSI plug-in through each interface, putting the collected configuration parameters into a parameter receiver and packaging the configuration parameters into total parameters;
and formatting the total parameters through the parameter receiver, and loading the formatted total parameters into the palm command to form a palm command set.
3. The method of claim 1, wherein checking whether the installation environment is abnormal comprises:
checking whether the connectivity of the container platform and each node in the installation environment is abnormal;
and checking whether the bottom layer resource quantity in the installation environment meets a preset threshold value.
4. The method of claim 1, wherein executing, in the container platform, a template of a circle-CSI plugin with the helm command set to generate a POD comprises:
acquiring a template of a sender-CSI plug-in, downloading a corresponding mirror image according to the template, and creating a configuration file by executing the template;
and generating a corresponding POD based on the image and the configuration file.
5. The method of claim 1, further comprising:
in response to an installation environment exception, ceasing operation of the palm command set.
6. The method of claim 1, further comprising:
and monitoring the component installation progress in the process of installing the components in the POD, and displaying the monitoring result to the user interface.
7. The method of claim 1, further comprising:
and receiving an instruction of installing the sender-CSI plug-in through an operation button on the user interface.
8. A binder-CSI plug-in mounting system, comprising:
the palm command set forming module is configured for collecting and packaging configuration parameters required by the palm for installing the circle-CSI plug-in into total parameters, and injecting the total parameters into the palm command to form a palm command set;
an installation environment checking module configured to check whether an installation environment is abnormal;
the palm command set execution module is configured to respond to the normal installation environment, send the palm command set to a container platform of a circle-CSI plug-in to be installed, execute a template of the circle-CSI plug-in the container platform through the palm command set to generate a POD (platform POD), and install components in the POD; and
an installation completion module configured to send a notification to the user interface that the movie creator-CSI plug-in installation is complete in response to the component installation being complete.
9. A computer-readable storage medium, characterized in that computer program instructions are stored which, when executed, implement the method according to any one of claims 1-7.
10. A computer device comprising a memory and a processor, characterized in that the memory has stored therein a computer program which, when executed by the processor, performs the method according to any one of claims 1-7.
CN202110556010.3A 2021-05-21 2021-05-21 Method, system, storage medium and equipment for installing render-CSI plug-in Active CN113419746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110556010.3A CN113419746B (en) 2021-05-21 2021-05-21 Method, system, storage medium and equipment for installing render-CSI plug-in

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110556010.3A CN113419746B (en) 2021-05-21 2021-05-21 Method, system, storage medium and equipment for installing render-CSI plug-in

Publications (2)

Publication Number Publication Date
CN113419746A true CN113419746A (en) 2021-09-21
CN113419746B CN113419746B (en) 2022-11-08

Family

ID=77712650

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110556010.3A Active CN113419746B (en) 2021-05-21 2021-05-21 Method, system, storage medium and equipment for installing render-CSI plug-in

Country Status (1)

Country Link
CN (1) CN113419746B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102782648A (en) * 2010-03-04 2012-11-14 微软公司 Virtual environment for server applications, such as WEB applications
CN103365667A (en) * 2012-03-26 2013-10-23 国际商业机器公司 Method and device for installing operating system in host system
US20150121375A1 (en) * 2013-10-30 2015-04-30 Oracle International Corporation System and method for providing a physical plugin for use in a cloud platform environment
WO2017161984A1 (en) * 2016-03-24 2017-09-28 中兴通讯股份有限公司 Method, device and system for deploying data clusters, and computer storage medium
US20170364342A1 (en) * 2016-06-15 2017-12-21 Red Hat Israel, Ltd. Plugin for software deployment
US20180088932A1 (en) * 2016-09-29 2018-03-29 Hewlett Packard Enterprise Development Lp Multi-platform installer
CN110502577A (en) * 2019-08-15 2019-11-26 苏州浪潮智能科技有限公司 A kind of method, equipment and the medium of the application of cloud management Platform deployment container
US10534595B1 (en) * 2017-06-30 2020-01-14 Palantir Technologies Inc. Techniques for configuring and validating a data pipeline deployment
US10635437B1 (en) * 2019-04-25 2020-04-28 Capital One Services, Llc Techniques to deploy an application as a cloud computing service
US20200351367A1 (en) * 2019-05-03 2020-11-05 Sap Se Generic command line interface to an extensible list of cloud platform services
CN112579108A (en) * 2020-12-28 2021-03-30 上海欣方智能***有限公司 Automatic deployment method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102782648A (en) * 2010-03-04 2012-11-14 微软公司 Virtual environment for server applications, such as WEB applications
CN103365667A (en) * 2012-03-26 2013-10-23 国际商业机器公司 Method and device for installing operating system in host system
US20150121375A1 (en) * 2013-10-30 2015-04-30 Oracle International Corporation System and method for providing a physical plugin for use in a cloud platform environment
WO2017161984A1 (en) * 2016-03-24 2017-09-28 中兴通讯股份有限公司 Method, device and system for deploying data clusters, and computer storage medium
CN107229646A (en) * 2016-03-24 2017-10-03 中兴通讯股份有限公司 Dispositions method, the apparatus and system of data cluster
US20170364342A1 (en) * 2016-06-15 2017-12-21 Red Hat Israel, Ltd. Plugin for software deployment
US20180088932A1 (en) * 2016-09-29 2018-03-29 Hewlett Packard Enterprise Development Lp Multi-platform installer
US10534595B1 (en) * 2017-06-30 2020-01-14 Palantir Technologies Inc. Techniques for configuring and validating a data pipeline deployment
US10635437B1 (en) * 2019-04-25 2020-04-28 Capital One Services, Llc Techniques to deploy an application as a cloud computing service
US20200351367A1 (en) * 2019-05-03 2020-11-05 Sap Se Generic command line interface to an extensible list of cloud platform services
CN110502577A (en) * 2019-08-15 2019-11-26 苏州浪潮智能科技有限公司 A kind of method, equipment and the medium of the application of cloud management Platform deployment container
CN112579108A (en) * 2020-12-28 2021-03-30 上海欣方智能***有限公司 Automatic deployment method and device

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
MINKOO KANG: "Frame Packing for Minimizing the Bandwidth Consumption of the FlexRay Static Segment", <IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS> *
张琦: "基于Docker的CaaS管理平台架构研究与设计", 《计算机应用与软件》 *
杜磊: "基于OpenStack和Kubernetes的双向部署技术研究", 《电脑知识与技术》 *
杨秀芳: "OpenStack 在学校教学私有云搭建中的应用", 《数据库与信息管理》 *

Also Published As

Publication number Publication date
CN113419746B (en) 2022-11-08

Similar Documents

Publication Publication Date Title
US11630646B2 (en) Software defined network controller
US11924068B2 (en) Provisioning a service
CN112035228B (en) Resource scheduling method and device
CN106886434B (en) Distributed application installation method and device
CN110727446A (en) Automatic deployment method, device, equipment and medium
CN106844213A (en) A kind of front end method of testing and device
CN111966465B (en) Method, system, equipment and medium for modifying host configuration parameters in real time
CN111651352B (en) Warehouse code merging method and device
CN112860282B (en) Cluster plug-in upgrading method, device and server
US20230214229A1 (en) Multi-tenant java agent instrumentation system
CN110928554A (en) Deployment method, device, equipment and storage medium
CN112558930B (en) Software generation system and method for container service
CN113419746B (en) Method, system, storage medium and equipment for installing render-CSI plug-in
CN112130889A (en) Resource management method and device, storage medium and electronic device
CN115357198B (en) Mounting method and device of storage volume, storage medium and electronic equipment
US10635467B1 (en) Deployable console-based virtual application deployment and configuration systems and methods
CN110955537B (en) Method and device for containing pipes by physical machine
CN112764825A (en) Service integration system, corresponding device and storage medium
CN112685102A (en) Gateway plug-in hot loading method, device, equipment and medium
CN112199161A (en) Cloud platform service management method and device and related components
CN111897565A (en) Data processing method, device and equipment based on Internet of things
CN115473799B (en) System and method for automatically deploying micro-service application of virtual machine
US11487606B2 (en) Automated alert augmentation for deployments of software-defined storage
Dolstra et al. Charon: Declarative provisioning and deployment
CN117857578A (en) Multi-scene compatible mirror synchronization method, device, equipment and 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