CN110795113A - Redis cluster service installation method, server and medium - Google Patents

Redis cluster service installation method, server and medium Download PDF

Info

Publication number
CN110795113A
CN110795113A CN201910977856.7A CN201910977856A CN110795113A CN 110795113 A CN110795113 A CN 110795113A CN 201910977856 A CN201910977856 A CN 201910977856A CN 110795113 A CN110795113 A CN 110795113A
Authority
CN
China
Prior art keywords
redis
service
installation package
management server
servers
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
CN201910977856.7A
Other languages
Chinese (zh)
Other versions
CN110795113B (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.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen 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 Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910977856.7A priority Critical patent/CN110795113B/en
Publication of CN110795113A publication Critical patent/CN110795113A/en
Application granted granted Critical
Publication of CN110795113B publication Critical patent/CN110795113B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The embodiment of the application discloses an installation method, a server and a medium of Redis cluster service, wherein the method is applied to an installation system of the Redis cluster service, and the system comprises one or more management servers, a compiling server and one or more Redis servers. The method comprises the following steps: the management server installs a service tool in the management server, wherein the service tool is an application for installing Redis cluster service; under the condition that the service tool is successfully installed, remotely controlling the compiling server to generate a Redis service installation package; then, remotely controlling the one or more Redis servers to deploy the Redis service installation package; and finally, remotely controlling the one or more Redis servers to install Redis cluster services according to the Redis service installation package. By adopting the method and the device, the installation efficiency of the Redis cluster service can be improved.

Description

Redis cluster service installation method, server and medium
Technical Field
The invention relates to the technical field of computers, in particular to an installation method, a server and a medium of Redis cluster service.
Background
Redis is an open source log-type and Key-Value database which is written by using ANSI C language, supports network, can be based on memory and can also be persistent, provides an Application Programming Interface (API) of multiple languages, and is generally called a data structure server, because values (Value) can be five types of strings (String), hashes (Hash/Map), lists (list), sets (sets) and ordered sets (sorted sets), and is very convenient to operate. Redis is a memory database, which is very high-speed in reading and writing, but the capacity of storing data cannot exceed the size of a host memory. Therefore, a Redis clustering mode is required for an application scene with a huge data volume.
Offline installation and deployment of Redis clusters is very cumbersome. First, the installation of Redis needs to be done at each server. If the server is a linux system, the method of compiling the source code and then installing the tool needs to be adopted, and time and labor are consumed. Therefore, how to improve the installation efficiency of the Redis cluster service is an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
The embodiment of the application provides an installation method, a server and a medium of Redis cluster service.
In a first aspect, an embodiment of the present application provides an installation method for a Redis cluster service, which is applied to an installation system for the Redis cluster service, where the system includes one or more management servers, a compiling server, and one or more Redis servers, and the method includes:
the management server installs a service tool in the management server, wherein the service tool is an application for installing Redis cluster service;
under the condition that the service tool is successfully installed in the management server, the management server remotely controls the compiling server to generate a Redis service installation package, wherein the Redis service installation package is a file compression package for installing Redis services on the one or more Redis servers;
the management server remotely controls the one or more Redis servers to deploy the Redis service installation package;
and the management server remotely controls the one or more Redis servers to install Redis cluster services according to the Redis service installation package.
In the embodiment of the application, one service tool is installed in the management service, and the Redis cluster service is installed through the tool, so that the installation efficiency of the Redis cluster service is greatly improved.
In one possible implementation, the remotely controlling, by the management server, the compiling server to generate a Redis service installation package includes:
the management server transmits resources for generating the Redis service installation package to the compiling server through a first remote control command, wherein the resources comprise a source code package, a Redis plug-in and a Redis source code package of a Redis service operation environment;
and the management server controls the compiling server to generate the Redis service installation package according to the resource through a second remote control command.
In the embodiment of the application, the generation efficiency is improved by remotely controlling the generation of the Redis service installation package based on the service tool.
In one possible implementation, the remotely controlling, by the management server, the one or more Redis servers to deploy the Redis service installation package includes:
the management server transmits the Redis service installation package to the one or more Redis servers through a third remote control command;
and the management server controls the one or more Redis servers to deploy the Redis service installation package through a fourth remote control command.
In the embodiment of the application, deployment of the Redis service installation package on one or more Redis servers is controlled remotely based on the service tool, so that deployment efficiency is improved.
In one possible implementation manner, the remotely controlling, by the management server, the one or more Redis servers to install the Redis cluster service according to the Redis service installation package includes:
the management server respectively controls the one or more Redis servers to install Redis services according to the Redis service installation package through a fifth remote control command;
the management server respectively controls the one or more Redis servers to start the installed Redis services through the fifth remote control command;
and the management server aggregates the started Redis services in the one or more Redis servers to form a Redis cluster service.
In the embodiment of the application, the installation efficiency is improved by remotely controlling the installation of Redis services in one or more Redis servers based on the service tool.
In one possible embodiment, before the management server installs the service tool in the management server, the method further includes:
the management server configures parameters of the service tool, the parameters include attribute parameters and state parameters of the service tool, the attribute parameters include attribute parameters of the compiling server, attribute parameters of the one or more Redis servers, and attribute parameters of source code packages and plug-ins required for installing the Redis cluster service, and the state parameters are parameters for recording the installation state of the Redis cluster service.
In the embodiment of the application, before installing the Redis cluster service, the parameters of the service tool are configured, so that the service tool can install the Redis cluster service quickly according to the parameters, and the installation efficiency is improved.
In one possible implementation manner, the state parameter includes a generation monitoring parameter of the Redis service installation package, and after the management server remotely controls the compiling server to generate the Redis service installation package, and before the management server remotely controls the one or more Redis servers to deploy the Redis service installation package, the method further includes:
the management server inquires the state of the Redis service installation package for generating the monitoring parameter representation;
and under the condition that the generation monitoring parameters of the Redis service installation package represent that the Redis service installation package is not successfully generated, remotely controlling the compiling server to generate the Redis service installation package by the management server again.
In the embodiment of the application, whether the Redis service installation package is successfully generated is determined by inquiring the state represented by the generation monitoring parameter of the Redis service installation package, and the generated operation is executed again under the condition of unsuccessful generation, so that the successful generation of the Redis service installation package is ensured.
In one possible implementation manner, the state parameter includes a deployment monitoring parameter of the Redis service installation package, after the management server remotely controls the one or more Redis servers to deploy the Redis service installation package, and before the management server remotely controls the one or more Redis servers to install a Redis cluster service according to the Redis service installation package, the method further includes:
the management server inquires the state represented by the deployment monitoring parameters of the Redis service installation package;
and under the condition that the deployment monitoring parameters of the Redis service installation package characterize that the Redis service installation package is not successfully deployed to the Redis servers, remotely controlling the Redis servers to deploy the Redis service installation package by the management server again.
In the embodiment of the application, whether the Redis service installation package is successfully deployed is determined by inquiring the state represented by the deployment monitoring parameters of the Redis service installation package, and the deployment operation is executed again under the condition of unsuccessful deployment, so that the successful deployment of the Redis service installation package is ensured.
In one possible implementation manner, the state parameter includes an installation monitoring parameter of the Redis cluster service, and after the management server remotely controls the one or more Redis servers to install the Redis cluster service according to the Redis service installation package, the method further includes:
the management server inquires the state of the installation monitoring parameter representation of the Redis cluster service;
and under the condition that the installation monitoring parameters of the Redis cluster service represent that the Redis cluster service is not successfully installed, remotely controlling the one or more Redis servers to install the Redis cluster service again by the management server according to the Redis service installation package.
In the embodiment of the application, whether the Redis cluster service is successfully installed or not is determined by inquiring the state represented by the installation monitoring parameters of the Redis cluster service, and the installation operation is executed again under the condition of unsuccessful installation, so that the successful installation of the Redis cluster service is ensured.
In a second aspect, an embodiment of the present application provides a server, where the server is a management server in an installation system of a Redis cluster service, the system further includes a compiling server and one or more Redis servers, and the server includes:
the installation unit is used for installing a service tool in the management server, wherein the service tool is an application for installing Redis cluster service;
a remote control unit, configured to, if the service tool is successfully installed in the management server, remotely control the compilation server to generate a Redis service installation package, where the Redis service installation package is a file compression package for installing Redis services on the one or more Redis servers;
the remote control unit is further used for remotely controlling the one or more Redis servers to deploy the Redis service installation package;
the remote control unit is further configured to remotely control the one or more Redis servers to install Redis cluster services according to the Redis service installation package.
In the embodiment of the application, one service tool is installed in the management service, and the Redis cluster service is installed through the tool, so that the installation efficiency of the Redis cluster service is greatly improved.
In one possible implementation manner, the remote control unit is configured to remotely control the compiling server to generate a Redis service installation package, and specifically includes:
the remote control unit transmits resources for generating the Redis service installation package to the compiling server through a first remote control command, wherein the resources comprise a source code package, a Redis plug-in and a Redis source code package of a Redis service operation environment;
and the remote control unit controls the compiling server to generate the Redis service installation package according to the resource through a second remote control command.
In the embodiment of the application, the generation efficiency is improved by remotely controlling the generation of the Redis service installation package based on the service tool.
In one possible implementation manner, the remote control unit is further configured to remotely control the one or more Redis servers to deploy the Redis service installation package, specifically:
the remote control unit transmits the Redis service installation package to the one or more Redis servers through a third remote control command;
the remote control unit controls the one or more Redis servers to deploy the Redis service installation package through a fourth remote control command.
In the embodiment of the application, deployment of the Redis service installation package on one or more Redis servers is controlled remotely based on the service tool, so that deployment efficiency is improved.
In one possible implementation manner, the remote control unit is further configured to remotely control the one or more Redis servers to install a Redis cluster service according to the Redis service installation package, specifically:
the remote control unit respectively controls the one or more Redis servers to install Redis services according to the Redis service installation package through a fifth remote control command;
the remote control unit respectively controls the one or more Redis servers to start the installed Redis services through the fifth remote control command;
the remote control unit aggregates the started Redis services in the one or more Redis servers to form a Redis cluster service.
In the embodiment of the application, the installation efficiency is improved by remotely controlling the installation of Redis services in one or more Redis servers based on the service tool.
In one possible implementation manner, the management server further includes a configuration unit, configured to configure parameters of a service tool before the installation unit installs the service tool in the management server, where the parameters include attribute parameters and state parameters of the service tool, the attribute parameters include attribute parameters of the compilation server, attribute parameters of the one or more Redis servers, and attribute parameters of source code packages and plug-ins required for installing the Redis cluster service, and the state parameters are parameters that record an installation state of the Redis cluster service.
In the embodiment of the application, before installing the Redis cluster service, the parameters of the service tool are configured, so that the service tool can install the Redis cluster service quickly according to the parameters, and the installation efficiency is improved.
In one possible implementation manner, the state parameters include generation monitoring parameters of the Redis service installation package, and the management server further includes a query unit, configured to query a state represented by the generation monitoring parameters of the Redis service installation package before remotely controlling the one or more Redis servers to deploy the Redis service installation package after the remote control unit remotely controls the compiling server to generate the Redis service installation package;
and under the condition that the generation monitoring parameter of the Redis service installation package represents that the Redis service installation package is not successfully generated, the remote control unit is further used for remotely controlling the compiling server again to generate the Redis service installation package.
In the embodiment of the application, whether the Redis service installation package is successfully generated is determined by inquiring the state represented by the generation monitoring parameter of the Redis service installation package, and the generated operation is executed again under the condition of unsuccessful generation, so that the successful generation of the Redis service installation package is ensured.
In one possible implementation manner, the status parameter includes a deployment monitoring parameter of the Redis service installation package, and the querying unit is further configured to query a status represented by the deployment monitoring parameter of the Redis service installation package before remotely controlling the one or more Redis servers to install a Redis cluster service according to the Redis service installation package after the remote control unit remotely controls the one or more Redis servers to deploy the Redis service installation package;
and under the condition that the deployment monitoring parameters of the Redis service installation package characterize that the Redis service installation package is not successfully deployed to the Redis servers, the remote control unit is further configured to remotely control the Redis servers to deploy the Redis service installation package again.
In the embodiment of the application, whether the Redis service installation package is successfully deployed is determined by inquiring the state represented by the deployment monitoring parameters of the Redis service installation package, and the deployment operation is executed again under the condition of unsuccessful deployment, so that the successful deployment of the Redis service installation package is ensured.
In one possible implementation manner, the status parameter includes an installation monitoring parameter of the Redis cluster service, and the querying unit is further configured to query a status represented by the installation monitoring parameter of the Redis cluster service after the remote control unit remotely controls the one or more Redis servers to install the Redis cluster service according to the Redis service installation package;
and under the condition that the installation monitoring parameters of the Redis cluster service represent that the Redis cluster service is not successfully installed, the remote control unit is further used for remotely controlling the one or more Redis servers to install the Redis cluster service again according to the Redis service installation package.
In the embodiment of the application, whether the Redis cluster service is successfully installed or not is determined by inquiring the state represented by the installation monitoring parameters of the Redis cluster service, and the installation operation is executed again under the condition of unsuccessful installation, so that the successful installation of the Redis cluster service is ensured.
In a third aspect, an embodiment of the present application provides a server, including one or more processors, a memory, and a communication module; the memory and the communication module are coupled to the one or more processors, the memory storing a computer program, the processors being configured to invoke the computer program to perform the method of any of the above first aspect and its possible implementations.
In a fourth aspect, the present application provides a computer-readable storage medium, which stores a computer program, where the computer program is executed by a processor to implement the method of any one of the above first aspect and possible implementation manners.
To sum up, the installation of the Redis cluster service is completed through the tool by installing the service tool in the management service, and the installation efficiency of the Redis cluster service is greatly improved.
Drawings
The drawings to be used in the embodiments of the present application will be described below.
Fig. 1 is a schematic diagram of a system architecture according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an installation method of a Redis cluster service according to an embodiment of the present application;
fig. 3 is a schematic logical structure diagram of a server according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a hardware structure of a server according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The system architecture to which the present application relates is described first below. Referring to fig. 1, fig. 1 is a schematic diagram of a system architecture of an installation method of a Redis cluster service provided in an embodiment of the present application. As shown in FIG. 1, the system architecture may include one or more management servers 101 (only one management server is shown in FIG. 1; a plurality of management servers may form a management server cluster), a compilation server 102, and one or more Redis servers 103 (a plurality of Redis servers may form a Redis server cluster), where the management servers 101 may communicate with the compilation server 102, and the management servers 101 may also communicate with the Rdis servers 102.
The management server 101 is mainly used for completing installation of the Redis cluster service in the Redis server 103 and for managing and maintaining the Redis cluster server after installation is completed; the compiling server 102 is mainly used for assisting the management server 101 in completing the installation of Redis cluster services in the Redis server 103; the Redis server 103 is mainly used for bearing Redis cluster services, and smooth operation of the Redis cluster services is guaranteed. The systems of the management server 101, the compilation server 102 and the Redis server 103 may each be a linux system.
In addition, in order to save hardware resources, the management server 101, the compiling server 102 and the Redis server may be the same server, i.e., the functions of the three servers are all completed on the same server.
It should be noted that the system architecture provided by the present application is not limited to the system architecture shown in fig. 1.
Based on a system architecture of an installation method of a Redis cluster service given in FIG. 1, a method for installing a Redis cluster service is provided below, in which a management server first obtains a compressed packet for installing a service tool of the Redis cluster service, decompresses the compressed packet, configures relevant parameters in a configuration file of the Redis cluster service obtained after the decompression, and after the configuration is completed, the management server executes a script file of the Redis cluster service obtained after the decompression to complete the installation of the Redis cluster service.
The flow diagram of the method is shown in fig. 2. The method may comprise the steps of:
s201, the management server installs a service tool in the management server, wherein the service tool is an application for installing Redis cluster service.
In a specific embodiment, the management server first obtains a compressed packet of the service tool and decompresses the compressed packet. The file obtained by the management server decompressing the compressed packet comprises: redis cluster service script file (the command name of the script file may be Redis _ cluster.sh, for example), Redis cluster service configuration file (the command name of the configuration file may be Redis _ cluster.ini, for example), source code package of sshpass (management server dependent tool), source code package and Redis plug-in of Redis server dependent tool ruby, Redis source code package of Redis server, and so on.
Then, the management server installs the service tool on the management server according to the decompressed file.
In one possible implementation, the management server decompresses the compressed packet of the service tool, and configures the parameters of the service tool.
In a specific embodiment, the management server configures parameters in a Redis cluster service configuration file (e.g., Redis _ cluster. Specifically, the management server obtains parameters input by a user on a parameter configuration interface and writes the obtained parameters into the Redis cluster service configuration file. Specifically, the parameters written in the Redis cluster service configuration file include attribute parameters and state parameters of the service tool, the attribute parameters must be configured to complete the tool to be normally used, and the state parameters are used for recording the installation state of the Redis cluster service.
The attribute parameters include: redis server parameters, an installation root directory of Redis services in a Redis server, parameters of a compiling server, an installation root directory of Redis service installation packages in the compiling server, a Redis service source code version number, an Sshpass software source code version number, a version number of a Redis plug-in used by Ruby source codes, a Ruby source code version number, passwords of a Redis service cluster and the like.
The Redis server parameters comprise an Internet protocol address, a user name, a password and an account number of the Redis server. Optionally, parameters of multiple Redis servers may be configured, or parameters of one Redis server may also be configured, and at this time, multiple Redis services may be installed on one server to form a Redis cluster service.
The parameters of the compiling server comprise a compiling server address, a user name and a password. The compiling server is mainly used for compiling software, packaging installation packages and other functions.
The Sshpass software is used for carrying a user name and a password of the server to remotely log in the corresponding server. The Ruby is an operation environment required by the operation of the Redis service.
The state parameters include:
the installation monitoring parameters of the service tool judge whether the service tool is installed and can be normally used according to the values of the parameters;
generating a monitoring parameter of the Redis service installation package, and judging whether the Redis service installation package is successfully generated according to the value of the parameter;
the deployment monitoring parameters of the Redis service installation package judge whether the Redis service installation package is successfully deployed to a Redis server according to the values of the parameters;
and the installation monitoring parameter of the Redis cluster service judges whether the Redis cluster service is successfully installed or not according to the value of the parameter.
In addition, after the parameters are configured, software and hardware resources corresponding to the parameters need to be prepared, namely software resources corresponding to the configured attribute parameters are prepared, and a hardware environment capable of ensuring normal use of all relevant software is prepared.
In the embodiment of the application, before installing the Redis cluster service, the parameters of the service tool are configured, so that the service tool can install the Redis cluster service quickly according to the parameters, and the installation efficiency is improved.
S202, under the condition that the service tool is successfully installed in the management server, the management server remotely controls the compiling server to generate a Redis service installation package.
Specifically, the management server may control the compiling server to generate the Redis service installation package through a remote control command.
In one possible implementation manner, after the management server configures the above parameters, before the management server remotely controls the compiling server to generate a Redis service installation package, the method further includes: the management server inquires whether the service tool is installed successfully and can be used, and if the tool is not installed successfully, the tool is installed on the management server. And if the installation is successful, remotely controlling the compiling server to generate the Redis service installation package.
Specifically, the successful installation and use of the service tool described above requires two conditions to be met, and as long as one condition is not met, the tool cannot be used normally. These two conditions are: the installation monitoring parameter of the service tool in the file obtained after the compression packet is decompressed represents the state that the service tool is successfully installed. If the sshpass command is not found and/or the installation monitoring parameter of the service tool is found to indicate that the tool is not successfully installed, the tool cannot be normally used, and therefore, the management server may complete the installation of the tool again.
And only when the management server inquires that the sshpass command exists and simultaneously inquires that the installation monitoring parameter of the service tool represents the state that the service tool is successfully installed, that is, the service tool can be normally used, the management server can execute the operation of remotely controlling the compiling server to generate the Redis service installation package.
Optionally, the installation monitoring parameter of the service tool may use true to indicate that the service tool has been successfully installed, and false to indicate that the service tool has not been successfully installed.
In one possible implementation, the remotely controlling, by the management server, the compiling server to generate a Redis service installation package includes: the management server transmits resources for generating the Redis service installation package to the compiling server through a first remote control command, wherein the resources comprise a source code package, a Redis plug-in and a Redis source code package of a Redis service operation environment; and the management server controls the compiling server to generate the Redis service installation package according to the resource through a second remote control command.
Specifically, the management server transmits the decompressed ruby source code packet, the Redis plug-in and the Redis source code packet to the compiling server through the sshpass command, the scp command and the ssh command, the management server logs in the compiling server through the sshpass command and the ssh command, then the compiling server is operated to generate the Redis service installation packet, and the Redis service installation packet generated in the compiling server is copied to the management server through the sshpass command and the file transmission command scp command. Specifically, the first remote control command includes a sshpass command, a scp command, and a ssh command. The second remote control command includes a sshpass command and a ssh command.
In a specific embodiment, the management server operates the compiling server to generate a Redis service installation package, specifically: the management server operates the compiling server to compile the decompressed ruby source code package and the Redis source code package, then installs a Redis plug-in, actually, installs a Redis service on the compiling server, wherein a specific installation root directory is a root directory configured by a parameter 'an installation root directory of the Redis service installation package in the compiling server' of the Redis configuration file, and then the management service operation compiling server packages and compresses files of the root directory to obtain the Redis service installation package.
Optionally, after the Redis service installation package is copied to the management server, the management server modifies the generation monitoring parameter of the Redis service installation package to a state representing that the Redis service installation package has been successfully generated. If the Redis service installation package is not successfully generated, the generation monitoring parameters of the Redis service installation package represent the state that the Redis service installation package is not generated. Optionally, the generation monitoring parameter of the Redis service installation package may use true to represent that the Redis service installation package has been successfully generated, and use false to represent that the Redis service installation package has not been generated.
In the embodiment of the application, the generation efficiency is improved by remotely controlling the generation of the Redis service installation package based on the service tool.
In one possible implementation manner, before the management server remotely controls the one or more Redis servers to generate the Redis service installation packages, it may be determined whether the Redis service installation packages have been successfully generated by querying the generation monitoring parameters of the Redis service installation packages in the decompressed Redis cluster service configuration file. And if the parameter is characterized by being not generated, remotely controlling the one or more Redis servers to generate the Redis service installation package.
S203, the management server remotely controls the Redis servers to deploy the Redis service installation packages.
Specifically, the management server may control the one or more Redis servers to deploy the Redis service installation package through a remote control command.
In one possible implementation, the remotely controlling, by the management server, the one or more Redis servers to deploy the Redis service installation package includes: the management server transmits the Redis service installation package to the one or more Redis servers through a third remote control command; and the management server controls the one or more Redis servers to deploy the Redis service installation package through a fourth remote control command.
Specifically, the management server transmits the Redis service installation package to the Redis server through the sshpass command, the scp command and the ssh command, logs in the Redis server through the sshpass command and the ssh command, and then remotely operates the Redis server to complete the deployment of the Redis service installation package. Specifically, the third remote control command includes a sshpass command, a scp command, a ssh command, and the like; the fourth remote control command includes a sshpass command, a ssh command, and the like.
Optionally, after the management server remotely operates the Redis server to complete the deployment of the Redis service installation package, the management server modifies the deployment monitoring parameter of the Redis service installation package to a state representing that the Redis service installation package has been successfully deployed. If the Redis service installation package is not deployed successfully, the deployment monitoring parameters of the Redis service installation package represent the undeployed state of the Redis service installation package. Optionally, the deployment monitoring parameter of the Redis service installation package may use true to represent that the Redis service installation package has been successfully deployed, and false to represent that the Redis service installation package is not deployed.
It should be noted that there may be one or more Redis servers, if there is only one, all the Redis service installation packages may be deployed in the one Redis server, and if there are more, the Redis service installation packages may be distributed and deployed to the multiple Redis servers.
In the embodiment of the application, deployment of the Redis service installation package on one or more Redis servers is controlled remotely based on the service tool, so that deployment efficiency is improved.
In one possible implementation manner, before the management server remotely controls the one or more Redis servers to deploy the Redis service installation package, it may be determined whether the Redis service installation package has been successfully deployed by querying a deployment monitoring parameter of the Redis service installation package in the decompressed Redis cluster service configuration file. And if the parameter represents that the Redis server is not deployed, remotely controlling the one or more Redis servers to deploy the Redis service installation package.
S204, the management server remotely controls the one or more Redis servers to install Redis cluster services according to the Redis service installation package.
Specifically, the management server may control the one or more Redis servers to install the Redis cluster service according to the Redis service installation package through a remote control command.
In one possible implementation manner, the remotely controlling, by the management server, the one or more Redis servers to install the Redis cluster service according to the Redis service installation package includes: the management server respectively controls the one or more Redis servers to install Redis services according to the Redis service installation package through a fifth remote control command; the management server respectively controls the one or more Redis servers to start the installed Redis services through the fifth remote control command; and the management server aggregates the started Redis services in the one or more Redis servers to form a Redis cluster service.
Specifically, the management server logs in the Redis server through the sshpass command and the ssh command, then the Redis server is remotely operated to install and start the Redis service, and after all the Redis servers are installed and started, all the Redis services are aggregated into the cluster service through the cluster service script. Specifically, the fifth remote control command includes a sshpass command, a ssh command, and the like.
Optionally, after the Redis services of the management server are aggregated into the cluster service, the management server modifies the installation monitoring parameter of the Redis cluster service to represent a state in which the Redis cluster service has been successfully installed. If the Redis cluster service is not successfully installed, the installation monitoring parameter of the Redis cluster service characterizes the state that the Redis cluster service is not installed. Optionally, the installation monitoring parameter of the Redis cluster service may use true to represent that the Redis cluster service has been successfully installed, and use false to represent that the Redis cluster service is not installed.
In the embodiment of the application, the installation efficiency is improved by remotely controlling the installation of Redis services in one or more Redis servers based on the service tool.
In one possible implementation manner, before the management server remotely controls the one or more Redis servers to install the Redis cluster service according to the Redis service installation package, it may be determined whether the Redis cluster service has been successfully installed by querying the installation monitoring parameter of the Redis cluster service in the decompressed Redis cluster service configuration file. And if the parameter represents that the parameter is not installed, then executing the operation of installing the Redis cluster service according to the Redis service installation package by the remote control.
In one possible implementation manner, after the management server remotely controls the compiling server to generate a Redis service installation package, and before the management server remotely controls the one or more Redis servers to deploy the Redis service installation package, the method further includes: the management server inquires the state of the Redis service installation package for generating the monitoring parameter representation; and under the condition that the generation monitoring parameters of the Redis service installation package represent that the Redis service installation package is not successfully generated, remotely controlling the compiling server to generate the Redis service installation package by the management server again.
In the embodiment of the present application, specific implementation manners may refer to corresponding descriptions in step S202, and are not described herein again.
Optionally, the management server may remotely control the compilation server to generate the Redis service installation package again by separately executing a script command that remotely controls the compilation server to generate the Redis service installation package. When the management server executes the script command, only the operation of remotely controlling the compiling server to generate the Redis service installation package can be realized. Or, before executing the script command, the management server queries the state of the installation monitoring parameter of the service tool, and when the installation monitoring parameter of the service tool represents the state in which the service tool has been successfully installed, the management server executes the script command to realize the operation of remotely controlling the compiling server to generate the Redis service installation package.
In the embodiment of the application, whether the Redis service installation package is successfully generated is determined by inquiring the state represented by the generation monitoring parameter of the Redis service installation package, and the generated operation is executed again under the condition of unsuccessful generation, so that the successful generation of the Redis service installation package is ensured.
In one possible implementation manner, after the management server remotely controls the one or more Redis servers to deploy the Redis service installation package, before the management server remotely controls the one or more Redis servers to install a Redis cluster service according to the Redis service installation package, the method further includes: the management server inquires the state represented by the deployment monitoring parameters of the Redis service installation package; and under the condition that the deployment monitoring parameters of the Redis service installation package characterize that the Redis service installation package is not successfully deployed to the Redis servers, remotely controlling the Redis servers to deploy the Redis service installation package by the management server again.
In the embodiment of the present application, specific implementation manners may refer to corresponding descriptions in step S203, which are not described herein again.
Optionally, the management server may remotely control the one or more Redis servers to deploy the Redis service installation package again by separately executing a script command that remotely controls the one or more Redis servers to deploy the Redis service installation package. When the management server executes the script command, only the operation of remotely controlling the one or more Redis servers to deploy the Redis service installation package can be realized. Or, before executing the script command, the management server queries the installation monitoring parameter of the service tool and the state of the generation monitoring parameter of the Redis service installation package, and executes the script command to remotely control the one or more Redis servers to deploy the Redis service installation package under the condition that the installation monitoring parameter of the service tool represents the state in which the service tool has been successfully installed and the generation monitoring parameter of the Redis service installation package represents the state in which the Redis service installation package has been successfully generated.
In the embodiment of the application, whether the Redis service installation package is successfully deployed is determined by inquiring the state represented by the deployment monitoring parameters of the Redis service installation package, and the deployment operation is executed again under the condition of unsuccessful deployment, so that the successful deployment of the Redis service installation package is ensured.
In one possible implementation manner, after the remotely controlling, by the management server, the one or more Redis servers to install the Redis cluster service according to the Redis service installation package, the method further includes: the management server inquires the state of the installation monitoring parameter representation of the Redis cluster service; and under the condition that the installation monitoring parameters of the Redis cluster service represent that the Redis cluster service is not successfully installed, remotely controlling the one or more Redis servers to install the Redis cluster service again by the management server according to the Redis service installation package.
In the embodiment of the present application, specific implementation manners may refer to corresponding descriptions in step S204, and are not described herein again.
Optionally, the management server may implement remote control of the one or more Redis servers again to install the Redis cluster service according to the Redis service installation package by separately executing a script command for remotely controlling the one or more Redis servers to install the Redis cluster service according to the Redis service installation package. When the management server executes the script command, only the operation of remotely controlling the one or more Redis servers to install the Redis cluster service according to the Redis service installation package can be realized. Or, before executing the script command, the management server queries the installation monitoring parameter of the service tool, the generation monitoring parameter of the Redis service installation package, and the state of the deployment monitoring parameter of the Redis service installation package, and executes the script command to remotely control the one or more Redis servers to install the Redis cluster service according to the Redis service installation package under the condition that the installation monitoring parameter of the service tool represents the state in which the service tool has been successfully installed, the generation monitoring parameter of the Redis service installation package represents the state in which the Redis service installation package has been successfully generated, and the deployment monitoring parameter of the Redis service installation package represents the state in which the Redis service installation package has been successfully deployed.
In the embodiment of the application, whether the Redis cluster service is successfully installed or not is determined by inquiring the state represented by the installation monitoring parameters of the Redis cluster service, and the installation operation is executed again under the condition of unsuccessful installation, so that the successful installation of the Redis cluster service is ensured.
In one possible embodiment, after the Redis cluster service is installed in the management server, the Redis cluster service may be managed by the service tool, specifically, corresponding management operations may be implemented by executing related management script instructions, for example, refer to the following management script instructions, and different script instructions correspond to different management functions.
And a password setting command, through which the management server can set whether a password is required when the Redis cluster service is used.
Specifically, the step of setting the password for the Redis cluster service or setting the password not required by the Redis cluster service may be to change a parameter corresponding to the password of the Redis service cluster of the configuration file of each Redis service.
A rollback command by which the management server may cause the Redis cluster service to rollback to the last available version. Specifically, when the installation of the currently used Redis cluster service version is executed, the last available version is backed up, and when rollback is required, the version is reinstalled. As for backup, it is true that the installed Redis cluster service folder is copied to a local or direct rename. When the file is recovered, the file folder is copied back or the name of the file folder is changed back. It should be noted that if there are multiple Redis servers, backup and restore of Redis cluster service versions need to be performed on each server.
And starting a command by which the management server can start the Redis cluster service.
And restarting the command, wherein the management server can restart the Redis cluster service through the command.
Specifically, the cluster service is started and restarted, which is to start or restart each Redis service.
And a command is closed, and the management server can close the Redis cluster service through the command.
A Help Help command by which the management server can obtain Help information used by the script.
And a Help function for showing Help information used by the acquisition script. Including which commands to have, the command usage method, etc.
According to the embodiment of the application, the installed Redis cluster service is managed through the service tool, and the management efficiency is improved.
In order to better implement the above solution of the present application, the embodiment of the present application further provides a server 300, where the server 300 may be the management server described in fig. 2. The following detailed description is made with reference to fig. 3:
fig. 3 is a schematic structural diagram of a server 300, where the server 300 may be a management server in an installation system of a Redis cluster service, the system further includes a compiling server and one or more Redis servers, and the server 300 includes: a mounting unit 301 and a remote control unit 302, wherein:
an installation unit 301, configured to install a service tool in the management server, where the service tool is an application for installing a Redis cluster service;
a remote control unit 302, configured to, if the service tool is successfully installed in the management server, remotely control the compilation server to generate a Redis service installation package, where the Redis service installation package is a file compression package for installing a Redis service on the one or more Redis servers;
the remote control unit 302, further configured to remotely control the one or more Redis servers to deploy the Redis service installation package;
the remote control unit 302 is further configured to remotely control the one or more Redis servers to install a Redis cluster service according to the Redis service installation package.
In one possible implementation manner, the remote control unit 302 is configured to remotely control the compiling server to generate a Redis service installation package, specifically:
the remote control unit 302 transmits the resource for generating the Redis service installation package to the compiling server through a first remote control command, wherein the resource comprises a source code package, a Redis plug-in and a Redis source code package of a Redis service running environment;
the remote control unit 302 controls the compiling server to generate the Redis service installation package according to the resource through a second remote control command.
In one possible implementation manner, the remote control unit 302 is further configured to remotely control the one or more Redis servers to deploy the Redis service installation package, specifically:
the remote control unit 302 transmits the Redis service installation package to the one or more Redis servers through a third remote control command;
the remote control unit 302 controls the one or more Redis servers to deploy the Redis service installation package through a fourth remote control command.
In one possible implementation manner, the remote control unit 302 is further configured to remotely control the one or more Redis servers to install a Redis cluster service according to the Redis service installation package, specifically:
the remote control unit 302 respectively controls the one or more Redis servers to install Redis services according to the Redis service installation package through a fifth remote control command;
the remote control unit 302 controls the one or more Redis servers to start the installed Redis services through the fifth remote control command respectively;
the remote control unit 302 aggregates the started Redis services in the one or more Redis servers to form a Redis cluster service.
In one possible implementation manner, the server 300 further includes a configuration unit, configured to configure parameters of a service tool before the installation unit 301 installs the service tool in the management server, where the parameters include attribute parameters and state parameters of the service tool, the attribute parameters include attribute parameters of the compilation server, attribute parameters of the one or more Redis servers, and attribute parameters of source code packages and plug-ins required for installing the Redis cluster service, and the state parameters are parameters that record an installation state of the Redis cluster service.
In one possible implementation manner, the state parameters include generation monitoring parameters of the Redis service installation package, and the server 300 further includes a query unit, configured to query a state represented by the generation monitoring parameters of the Redis service installation package before remotely controlling the one or more Redis servers to deploy the Redis service installation package after the remote control unit 302 remotely controls the compiling server to generate the Redis service installation package;
the remote control unit 302 is further configured to remotely control the compiling server to generate the Redis service installation package again when the generation monitoring parameter of the Redis service installation package indicates that the Redis service installation package is not successfully generated.
In one possible implementation manner, the status parameter includes a deployment monitoring parameter of the Redis service installation package, and the querying unit is further configured to query a status represented by the deployment monitoring parameter of the Redis service installation package before remotely controlling the one or more Redis servers to install a Redis cluster service according to the Redis service installation package after the remote control unit 302 remotely controls the one or more Redis servers to deploy the Redis service installation package;
the remote control unit 302 is further configured to remotely control the one or more Redis servers to deploy the Redis service installation package again when the deployment monitoring parameter of the Redis that the Redis service installation package is not successfully deployed to the one or more Redis servers.
In one possible implementation manner, the status parameter includes an installation monitoring parameter of the Redis cluster service, and the querying unit is further configured to query a status represented by the installation monitoring parameter of the Redis cluster service after the remote control unit 302 remotely controls the one or more Redis servers to install the Redis cluster service according to the Redis service installation package;
when the installation monitoring parameter of the Redis cluster service indicates that the Redis cluster service is not successfully installed, the remote control unit 302 is further configured to remotely control the one or more Redis servers to install the Redis cluster service again according to the Redis service installation package.
The specific implementation and beneficial effects of each unit in the server 300 shown in fig. 3 may correspond to the corresponding descriptions in the method embodiment and possible implementation manners shown in fig. 2, and are not described again here.
Referring to fig. 4, fig. 4 is a server 400 provided by an embodiment of the present application, where the server 400 may be the management server described in fig. 2, and the server 400 includes a processor 401, a memory 402, and a communication interface 403, where the processor 401, the memory 402, and the communication interface 403 are connected to each other through a bus 404.
The memory 402 includes, but is not limited to, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CD-ROM), and the memory 402 is used for storing related instructions and data. The communication interface 403 is used for receiving and transmitting data.
The processor 401 may be one or more Central Processing Units (CPUs), and in the case that the processor 401 is one CPU, the CPU may be a single-core CPU or a multi-core CPU.
The processor 401 in the server 400 is configured to read the computer program stored in the memory 402, and perform the following operations:
installing a service tool in the management server, wherein the service tool is an application for installing Redis cluster service;
under the condition that the service tool is successfully installed in the management server, remotely controlling the compiling server to generate a Redis service installation package, wherein the Redis service installation package is a file compression package for installing Redis services on the one or more Redis servers;
remotely controlling the one or more Redis servers to deploy the Redis service installation package;
and remotely controlling the one or more Redis servers to install Redis cluster services according to the Redis service installation package.
In one possible implementation, the processor 401 remotely controls the compiling server to generate a Redis service installation package, including:
transmitting resources for generating the Redis service installation package to the compiling server through a first remote control command through a communication interface 403, wherein the resources comprise a source code package, a Redis plug-in and a Redis source code package of a Redis service operating environment;
and controlling the compiling server to generate the Redis service installation package according to the resource through a second remote control command.
In one possible implementation, the processor 401 remotely controls the one or more Redis servers to deploy the Redis service installation package, including:
transmitting the Redis service installation package to the one or more Redis servers through a third remote control command through the communication interface 403;
and controlling the one or more Redis servers to deploy the Redis service installation package through a fourth remote control command.
In one possible implementation, the remotely controlling, by the processor 401, the one or more Redis servers to install the Redis cluster service according to the Redis service installation package includes:
respectively controlling the one or more Redis servers to install Redis services according to the Redis service installation package through a fifth remote control command;
respectively controlling the one or more Redis servers to start the installed Redis service through the fifth remote control command;
aggregating the started Redis services in the one or more Redis servers to form a Redis cluster service.
In one possible implementation, before the processor 401 installs the service tool in the management server, the method further includes:
configuring parameters of the service tool, wherein the parameters include attribute parameters and state parameters of the service tool, the attribute parameters include attribute parameters of the compiling server, attribute parameters of the one or more Redis servers, and attribute parameters of source code packages and plug-ins required for installing the Redis cluster service, and the state parameters are parameters for recording the installation state of the Redis cluster service.
In one possible implementation manner, the state parameter includes a generation monitoring parameter of the Redis service installation package, and after the processor 401 remotely controls the compiling server to generate the Redis service installation package, and before the processor 401 remotely controls the one or more Redis servers to deploy the Redis service installation package, the method further includes:
querying the state of the generated monitoring parameter representation of the Redis service installation package;
and under the condition that the generation monitoring parameters of the Redis service installation package represent that the Redis service installation package is not successfully generated, remotely controlling the compiling server again to generate the Redis service installation package.
In one possible implementation, the state parameter includes a deployment monitoring parameter of the Redis service installation package, and after the processor 401 remotely controls the one or more Redis servers to deploy the Redis service installation package, before the processor 401 remotely controls the one or more Redis servers to install the Redis cluster service according to the Redis service installation package, the method further includes:
inquiring the state represented by the deployment monitoring parameters of the Redis service installation package;
and under the condition that the deployment monitoring parameters of the Redis service installation package characterize that the Redis service installation package is not successfully deployed to the Redis servers, remotely controlling the Redis servers to deploy the Redis service installation package again.
In one possible implementation manner, the state parameter includes an installation monitoring parameter of the Redis cluster service, and after the processor 401 remotely controls the one or more Redis servers to install the Redis cluster service according to the Redis service installation package, the method further includes:
inquiring the state of the installation monitoring parameter representation of the Redis cluster service;
and under the condition that the installation monitoring parameters of the Redis cluster service represent that the Redis cluster service is not successfully installed, remotely controlling the one or more Redis servers to install the Redis cluster service again according to the Redis service installation package.
It should be noted that the implementation of each operation described above may also correspond to the corresponding description in the method embodiment and the possible implementation manner shown in fig. 2, and is not described again here.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, where the computer program includes program instructions, and when the program instructions are executed by a processor, the method shown in fig. 2 and the flowchart of a possible implementation manner are implemented.
To sum up, the installation of the Redis cluster service is completed through the tool by installing the service tool in the management service, and the installation efficiency of the Redis cluster service is greatly improved.
One of ordinary skill in the art will appreciate that all or part of the processes in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, and when executed, may include the processes of the above method embodiments.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. An installation method of Redis cluster service, which is applied to an installation system of Redis cluster service, wherein the system comprises one or more management servers, a compiling server and one or more Redis servers, and the method comprises the following steps:
the management server installs a service tool in the management server, wherein the service tool is an application for installing Redis cluster service;
under the condition that the service tool is successfully installed in the management server, the management server remotely controls the compiling server to generate a Redis service installation package, wherein the Redis service installation package is a file compression package for installing Redis services on the one or more Redis servers;
the management server remotely controls the one or more Redis servers to deploy the Redis service installation package;
and the management server remotely controls the one or more Redis servers to install Redis cluster services according to the Redis service installation package.
2. The method of claim 1, wherein the management server remotely controls the compilation server to generate a Redis service installation package, comprising:
the management server transmits resources for generating the Redis service installation package to the compiling server through a first remote control command, wherein the resources comprise a source code package, a Redis plug-in and a Redis source code package of a Redis service operation environment;
and the management server controls the compiling server to generate the Redis service installation package according to the resource through a second remote control command.
3. The method of claim 1, wherein the managing server remotely controls the one or more Redis servers to deploy the Redis service installation package, comprising:
the management server transmits the Redis service installation package to the one or more Redis servers through a third remote control command;
and the management server controls the one or more Redis servers to deploy the Redis service installation package through a fourth remote control command.
4. The method according to any one of claims 1 to 3, wherein the managing server remotely controls the one or more Redis servers to install Redis cluster services according to the Redis service installation package, and comprises:
the management server respectively controls the one or more Redis servers to install Redis services according to the Redis service installation package through a fifth remote control command;
the management server respectively controls the one or more Redis servers to start the installed Redis services through the fifth remote control command;
and the management server aggregates the started Redis services in the one or more Redis servers to form a Redis cluster service.
5. The method of claims 1 to 3, wherein before the management server installs the service tool in the management server, the method further comprises:
the management server configures parameters of the service tool, the parameters include attribute parameters and state parameters of the service tool, the attribute parameters include attribute parameters of the compiling server, attribute parameters of the one or more Redis servers, and attribute parameters of source code packages and plug-ins required for installing the Redis cluster service, and the state parameters are parameters for recording the installation state of the Redis cluster service.
6. The method according to claim 5, wherein the status parameters include generation monitoring parameters of the Redis service installation package, and after the management server remotely controls the compiling server to generate the Redis service installation package and before the management server remotely controls the one or more Redis servers to deploy the Redis service installation package, the method further comprises:
the management server inquires the state of the Redis service installation package for generating the monitoring parameter representation;
and under the condition that the generation monitoring parameters of the Redis service installation package represent that the Redis service installation package is not successfully generated, remotely controlling the compiling server to generate the Redis service installation package by the management server again.
7. The method of claim 5, wherein the status parameters comprise deployment monitoring parameters of the Redis service installation package, and after the management server remotely controls the one or more Redis servers to deploy the Redis service installation package, before the management server remotely controls the one or more Redis servers to install Redis cluster services according to the Redis service installation package, the method further comprises:
the management server inquires the state represented by the deployment monitoring parameters of the Redis service installation package;
and under the condition that the deployment monitoring parameters of the Redis service installation package characterize that the Redis service installation package is not successfully deployed to the Redis servers, remotely controlling the Redis servers to deploy the Redis service installation package by the management server again.
8. The method according to claim 6 or 7, wherein the status parameter comprises an installation monitoring parameter of the Redis cluster service, and after the management server remotely controls the one or more Redis servers to install the Redis cluster service according to the Redis service installation package, the method further comprises:
the management server inquires the state of the installation monitoring parameter representation of the Redis cluster service;
and under the condition that the installation monitoring parameters of the Redis cluster service represent that the Redis cluster service is not successfully installed, remotely controlling the one or more Redis servers to install the Redis cluster service again by the management server according to the Redis service installation package.
9. A server, comprising one or more processors, memory, and a communication module; the memory and the communication module are coupled with the one or more processors, the memory storing a computer program, the processor configured to invoke the computer program to perform the method of any of claims 1 to 8.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed by a processor to implement the method of any one of claims 1 to 8.
CN201910977856.7A 2019-10-15 2019-10-15 Redis cluster service installation method, server and medium Active CN110795113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910977856.7A CN110795113B (en) 2019-10-15 2019-10-15 Redis cluster service installation method, server and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910977856.7A CN110795113B (en) 2019-10-15 2019-10-15 Redis cluster service installation method, server and medium

Publications (2)

Publication Number Publication Date
CN110795113A true CN110795113A (en) 2020-02-14
CN110795113B CN110795113B (en) 2023-08-22

Family

ID=69439176

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910977856.7A Active CN110795113B (en) 2019-10-15 2019-10-15 Redis cluster service installation method, server and medium

Country Status (1)

Country Link
CN (1) CN110795113B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204351A (en) * 2021-07-06 2021-08-03 成都菁蓉联创科技有限公司 Embedded system package management method and using method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8316110B1 (en) * 2003-12-18 2012-11-20 Symantec Operating Corporation System and method for clustering standalone server applications and extending cluster functionality
CN103019776A (en) * 2012-11-30 2013-04-03 浪潮电子信息产业股份有限公司 Method for concurrent installation of various softwares in server cluster
CN106506191A (en) * 2016-09-23 2017-03-15 郑州云海信息技术有限公司 The automatically dispose serviced based on virtual platform Redis and maintaining method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8316110B1 (en) * 2003-12-18 2012-11-20 Symantec Operating Corporation System and method for clustering standalone server applications and extending cluster functionality
CN103019776A (en) * 2012-11-30 2013-04-03 浪潮电子信息产业股份有限公司 Method for concurrent installation of various softwares in server cluster
CN106506191A (en) * 2016-09-23 2017-03-15 郑州云海信息技术有限公司 The automatically dispose serviced based on virtual platform Redis and maintaining method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
赵勇: "服务器集群在发射台平台系统中的应用", 广播电视信息, no. 292, pages 105 - 108 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113204351A (en) * 2021-07-06 2021-08-03 成都菁蓉联创科技有限公司 Embedded system package management method and using method thereof
CN113204351B (en) * 2021-07-06 2021-10-22 成都菁蓉联创科技有限公司 Embedded system package management method and using method thereof

Also Published As

Publication number Publication date
CN110795113B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
KR101143112B1 (en) Applying custom software image updates to non-volatile storage in a failsafe manner
US6408434B1 (en) System and method for using a substitute directory to automatically install an update program
US8924954B2 (en) Application software installation method and application software installation apparatus
JP5781736B2 (en) Method, system and computer readable storage medium for integrating virtualization sublayers
CN101719073B (en) Intelligent client-based on-demand downloading realization method
US9274811B1 (en) System and method for cloud provisioning and application deployment
CN111416821A (en) Internet of things equipment information acquisition method, system and device
KR20120125292A (en) Operating system auto-update procedure
WO2021022713A1 (en) Distributed module update method, device, and storage medium
CN108509215B (en) System software replacing method and device, terminal equipment and storage medium
US8225316B1 (en) Methods and systems for creating and applying patches for virtualized applications
CN111225064A (en) Ceph cluster deployment method, system, device and computer-readable storage medium
CN111737227A (en) Data modification method and system
US10365910B2 (en) Systems and methods for uninstalling or upgrading software if package cache is removed or corrupted
US20120096453A1 (en) Software Package Management Mechanism
CN114024951A (en) Power edge heterogeneous deployment method based on cloud edge collaboration
CN110795113B (en) Redis cluster service installation method, server and medium
CN112748949A (en) Software package management method, device, equipment and storage medium of operating system
CN115344273B (en) Method and system for running application software based on shelf system
US20230176856A1 (en) Repeated collections of vulnerability assessment data from remote machine
CN109254786B (en) Software backup restoration method and system
CN107861761B (en) Starting method and system of physical host
CN116244186A (en) Operating system test management method and device and computing equipment
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
CN113064698A (en) Method for providing product environment and corresponding device, system, 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