CN111107120B - Redis cluster construction method and system - Google Patents

Redis cluster construction method and system Download PDF

Info

Publication number
CN111107120B
CN111107120B CN201811267414.5A CN201811267414A CN111107120B CN 111107120 B CN111107120 B CN 111107120B CN 201811267414 A CN201811267414 A CN 201811267414A CN 111107120 B CN111107120 B CN 111107120B
Authority
CN
China
Prior art keywords
server
redis
starting
cluster
instance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811267414.5A
Other languages
Chinese (zh)
Other versions
CN111107120A (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.)
Bright Oceans Inter Telecom Co Ltd
Original Assignee
Bright Oceans Inter Telecom 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 Bright Oceans Inter Telecom Co Ltd filed Critical Bright Oceans Inter Telecom Co Ltd
Priority to CN201811267414.5A priority Critical patent/CN111107120B/en
Publication of CN111107120A publication Critical patent/CN111107120A/en
Application granted granted Critical
Publication of CN111107120B publication Critical patent/CN111107120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)

Abstract

The Redis instance management server obtains a prestored Redis instance starting configuration template from a Zookeeper server, can control a target server to automatically start a Redis instance, avoids manual configuration, then sends starting success information fed back after the target server starts the Redis instance to the Zookeeper server for recording, so that the Redis cluster management server judges whether the number of the main node starting success information reaches a first preset starting number according to the starting success information obtained from the Zookeeper server in real time, and if so, automatically constructs a Redis cluster by a plurality of target servers corresponding to the starting success information, thereby effectively reducing the human resource consumption and time cost in the cluster construction process and improving the cluster construction efficiency.

Description

Redis cluster construction method and system
Technical Field
The invention relates to the technical field of computers, in particular to a method and a system for constructing a Redis cluster.
Background
For internet companies, in order to increase the response speed of websites, it is customary in business to store hot-point data with a high access amount in a memory, rather than directly in a back-end database. The stability and persistence support functions of Redis have become more and more memories used in the industry for storing hot spot data.
As the Redis of the single machine easily encounters the problems of insufficient memory, overlarge concurrent flow and the like, the construction of the Redis cluster is very common. At present, the most common method for constructing a Redis cluster is mainly to manually deploy a Redis program on each machine, modify a configuration file in the Redis program, then start the Redis program on each machine, and manually construct a Redis cluster from a plurality of machines on which the Redis program is started. Therefore, by adopting the existing construction method of the Redis cluster, a large number of construction links need to be manually completed, so that the human resource consumption and the time cost in the cluster construction process are increased, and the cluster construction efficiency is reduced.
Disclosure of Invention
In view of this, the invention provides a method and a system for constructing a Redis cluster, which reduce manual configuration operations, further reduce human resource consumption and time cost in a cluster construction process, and effectively improve cluster construction efficiency.
In order to achieve the purpose, the invention provides the following technical scheme:
a construction method of a Redis cluster comprises the following steps:
the Redis instance management server sends a Redis instance starting configuration template acquired from a Zookeeper server to a plurality of target servers, controls the starting of Redis instances on the target servers based on the Redis instance starting configuration template, and sends starting success information to the Zookeeper server when receiving starting success information from the target servers, wherein the starting success information comprises main node starting success information and standby node starting success information;
the Zookeeper server receives and records the starting success information;
and the Redis cluster management server acquires the recorded startup success information from the Zookeeper server, judges whether the number of the main node startup success information reaches a first preset startup number, and constructs a target server corresponding to the startup success information into a Redis cluster if the number of the main node startup success information reaches the first preset startup number.
Preferably, the controlling, by the Redis instance management server, the start of the Redis instance on the target server based on the Redis instance start configuration template includes:
the Redis instance management server controls the target server to carry out port initialization;
the Redis instance management server controls the target server to match corresponding configuration information to the Redis instance starting configuration template according to the Redis instance starting configuration template, and Redis instance starting configuration information is generated;
the Redis instance management server judges whether the starting times of the Redis instance on the target server are zero or not;
if the starting times of the Redis instance on the target server are not zero, the Redis instance management server controls the target server to delete the historical starting file of the Redis instance;
and the Redis instance management server controls the Redis instance of the target server and starts according to the Redis instance starting configuration information.
Preferably, the Redis cluster management server constructs the target server corresponding to the startup success information as a Redis cluster, including:
the Redis cluster management server groups the target servers corresponding to the successful starting information to obtain a plurality of groups of server groups, wherein each group of server groups comprises a main server and at least one standby server, the main server corresponds to the successful starting information of the main node, and the standby server corresponds to the successful starting information of the standby node;
the Redis cluster management server utilizes the master server to construct an initial Redis cluster;
and the Redis cluster management server connects the standby server belonging to the same server group with the main server in the initial Redis cluster to the corresponding main server to construct the Redis cluster.
Preferably, the construction method further comprises:
the Redis cluster management server constructs the Redis cluster and judges whether a server to be deleted in a deletion operation instruction is a main server in the Redis cluster or not when the Redis cluster management server receives the deletion operation instruction;
if the server to be deleted in the deletion operation instruction is a main server in the Redis cluster, the Redis cluster management server judges whether the server to be deleted has a connected standby server;
if the server to be deleted has a connected standby server, the Redis cluster management server performs active-standby switching operation on the server to be deleted and the connected standby server, and deletes the server to be deleted from the Redis cluster.
Preferably, the construction method further comprises:
when the Redis cluster management server judges that the server to be deleted does not have a connected standby server, judging whether the number of the main servers in the Redis cluster reaches a second preset starting number or not;
if the number of the main servers in the Redis cluster reaches the second preset starting number, deleting the servers to be deleted from the Redis cluster by the Redis cluster management server, wherein the second preset starting number is 1 greater than the first preset starting number;
and if the number of the main servers in the Redis cluster does not reach the second preset starting number, the Redis cluster management server controls the Redis instance on the server to be deleted to stop running.
Preferably, the construction method further comprises:
after the Redis cluster management server constructs the target server corresponding to the successful starting information into a Redis cluster, the Redis instance management server receives cluster information from a feedback server and sends the cluster information to the Zookeeper server, wherein the feedback server is any target server in the Redis cluster;
and the Zookeeper server receives and records the cluster information.
Preferably, the construction method further comprises:
the Redis cluster management server receives an adding operation instruction after the Zookeeper server receives and records the cluster information, acquires the cluster information from the Zookeeper server, and judges whether a new server in the adding operation instruction exists in the cluster information;
and if the newly added server in the adding operation instruction does not exist in the cluster information, the Redis cluster management server adds the newly added server to the Redis cluster.
A build system for a Redis cluster, comprising:
the system comprises a Redis instance management server, a Zookeeper server, a Redis cluster management server and a plurality of target servers;
the Redis instance management server is used for sending Redis instance starting configuration templates acquired from the Zookeeper server to the target servers, controlling the Redis instances on the target servers to be started based on the Redis instance starting configuration templates, and sending starting success information to the Zookeeper server when receiving starting success information from the target servers, wherein the starting success information comprises main node starting success information and standby node starting success information;
the Zookeeper server is used for receiving and recording the starting success information;
the Redis cluster management server is used for acquiring the recorded startup success information from the Zookeeper server, judging whether the number of the main node startup success information reaches a first preset startup number, and if the number of the main node startup success information reaches the first preset startup number, constructing a target server corresponding to the startup success information into a Redis cluster.
Preferably, the Redis instance management server controls the start of the Redis instance on the target server based on the Redis instance start configuration template, and specifically includes:
controlling the target server to carry out port initialization;
controlling the target server to match corresponding configuration information to the Redis instance starting configuration template according to the Redis instance starting configuration template, and generating Redis instance starting configuration information;
judging whether the starting times of the Redis instance on the target server are zero or not;
if the starting times of the Redis instance on the target server are not zero, controlling the target server to delete the historical starting file of the Redis instance;
and controlling the Redis instance of the target server, and starting according to the Redis instance starting configuration information.
Preferably, the Redis cluster management server constructs the target server corresponding to the startup success information as a Redis cluster, and specifically includes:
grouping the target servers corresponding to the successful starting information to obtain a plurality of groups of server groups, wherein each group of server groups comprises a main server and at least one standby server, the main server corresponds to the successful starting information of the main node, and the standby server corresponds to the successful starting information of the standby node;
constructing an initial Redis cluster by using the master server;
and connecting the standby server belonging to the same server group with the main server in the initial Redis cluster to the corresponding main server to construct the Redis cluster.
Preferably, the Redis cluster management server is further configured to:
when the Redis cluster is constructed and a deletion operation instruction is received, judging whether a server to be deleted in the deletion operation instruction is a main server in the Redis cluster;
if the server to be deleted in the deletion operation instruction is the main server in the Redis cluster, judging whether the server to be deleted has a connected standby server;
and if the server to be deleted has a connected standby server, performing active-standby switching operation on the server to be deleted and the connected standby server, and deleting the server to be deleted from the Redis cluster.
Preferably, the Redis cluster management server is further configured to:
when judging that the server to be deleted does not have a connected standby server, judging whether the number of the main servers in the Redis cluster reaches a second preset starting number or not;
if the number of the main servers in the Redis cluster reaches the second preset starting number, deleting the servers to be deleted from the Redis cluster, wherein the second preset starting number is 1 larger than the first preset starting number;
and if the number of the main servers in the Redis cluster does not reach the second preset starting number, controlling the Redis instance on the server to be deleted to stop running.
According to the technical scheme, compared with the prior art, the Redis cluster building method and the Redis cluster building system are provided, the Redis instance management server acquires the pre-stored Redis instance starting configuration template from the Zookeeper server, and then sends the Redis instance starting configuration template to a plurality of target servers, so that the Redis instance on each target server is controlled to be started according to the Redis instance starting configuration template, when the starting success information fed back by the target servers is received, the starting success information is sent to the Zookeeper server to be recorded and stored, then the Redis cluster management server acquires the recorded starting success information from the Zookeeper server, and when the number of the main node starting success information is judged to reach the first preset starting number, the target servers corresponding to the starting success information are built into the Redis cluster; therefore, the Redis instance management server is used for obtaining the Redis instance starting configuration template stored in advance from the Zookeeper server, the Redis instance can be controlled by the target server to automatically start the Redis instance, manual configuration is avoided, starting success information fed back after the Redis instance is started by the target server is sent to the Zookeeper server to be recorded, the Redis cluster management server can be facilitated to automatically construct a Redis cluster by a plurality of target servers corresponding to the starting success information in time, manpower resource consumption and time cost in a cluster construction process are effectively reduced, and cluster construction efficiency is improved.
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, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method for constructing a Redis cluster according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for controlling a start of a Redis instance of a target server according to an embodiment of the present invention;
fig. 3 is a flowchart of a method for constructing another Redis cluster according to an embodiment of the present invention;
fig. 4 is a flowchart of a method for constructing another Redis cluster according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for constructing another Redis cluster according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a system for constructing a Redis cluster according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a construction method of a Redis cluster, please refer to the attached figure 1, and the method specifically comprises the following steps:
s101: the Redis instance management server sends a Redis instance starting configuration template acquired from a Zookeeper server to a plurality of target servers, controls the starting of Redis instances on the target servers based on the Redis instance starting configuration template, and sends starting success information to the Zookeeper server when receiving starting success information from the target servers, wherein the starting success information comprises main node starting success information and standby node starting success information;
specifically, the Redis instance starting configuration template can be pre-stored in the Zookeeper server, and mainly comprises a server information list for constructing a Redis cluster and related template information required by the Redis instance on the starting server; the server information list comprises an IP (Internet protocol), a user name, a password, an SSH (secure Shell) port, an application deployment path and the like of each server; the relevant template information required to start a Redis instance on the server may include memory size, port name, cache block size, heartbeat speed, etc.
The target server refers to a server recorded by a server information list in a Redis instance starting configuration template prestored by the Zookeeper server, and the Redis instance management server can respectively send the Redis instance starting configuration template to each target server according to the Redis instance starting configuration template.
The Redis instance on each target server may be obtained by pre-installing a Redis instance installation package, which may be sent by the Redis cluster management server to the target servers.
The successful start information is information generated after the Redis instance on the target server is started, and can include information such as an IP (Internet protocol), a port, a start state, an instance name and the like of the target server; each target server can generate main node starting success information or standby node starting success information according to the characteristics of the target server, and the main node starting success information or the standby node starting success information is fed back to the Redis instance management server. The instance name of the target server generating the information that the master node is successfully started is the master node, and the instance name of the target server generating the information that the backup node is successfully started is composed of the backup node and the master node to which the backup node belongs.
S102: and the Zookeeper server receives and records the starting success information.
S103: the Redis cluster management server acquires the recorded startup success information from the Zookeeper server, and judges whether the number of the main node startup success information reaches a first preset startup number, if so, S104 is executed, and if not, S105 is executed;
specifically, the first preset starting number may be preset, and is mainly used for judging whether the number of the target servers currently feeding back the master node starting success information reaches the minimum standard for building the Redis cluster. Generally, the first preset starting number is often set to 3. That is to say, when the number of the master node startup success information recorded by the Zookeeper server is 3, the Redis cluster construction operation may be performed on the target servers corresponding to all the startup success information recorded in the Zookeeper server.
It should be noted that the Redis cluster management server obtains the recorded startup success information from the Zookeeper server in real time, so that manual configuration can be effectively avoided, and manpower resource consumption and time cost in the cluster construction process are saved; and after judging that the number of the host node successfully started information reaches the first preset starting number, the Redis cluster management server automatically performs cluster construction operation, so that automation of Redis cluster construction is realized, and cluster construction efficiency is improved.
S104: the Redis cluster management server constructs a target server corresponding to the starting success information into a Redis cluster;
it should be noted that only the target server corresponding to the information that the start success is recorded in the Zookeeper server is successfully started, so that the Redis cluster management server performs the cluster construction operation only on the target server corresponding to the information that the start success is recorded; that is, the Redis cluster management server performs cluster construction operations only on target servers that are successfully started.
S105: and (6) ending.
The invention provides a construction method of a Redis cluster, which comprises the steps that a Redis instance management server obtains a pre-stored Redis instance starting configuration template from a Zookeeper server, the Redis instance starting configuration template is further sent to a plurality of target servers, so that Redis instances on each target server are controlled to be started according to the Redis instance starting configuration template, when starting success information fed back by the target servers is received, the starting success information is sent to the Zookeeper server to be recorded and stored, then the Redis cluster management server obtains the recorded starting success information from the Zookeeper server, and when the number of main node starting success information is judged to reach a first preset starting number, the target servers corresponding to the starting success information are constructed into the Redis cluster; therefore, the Redis instance management server is used for obtaining the Redis instance starting configuration template stored in advance from the Zookeeper server, the Redis instance can be controlled by the target server to automatically start the Redis instance, manual configuration is avoided, starting success information fed back after the Redis instance is started by the target server is sent to the Zookeeper server to be recorded, the Redis cluster management server can be facilitated to automatically construct a Redis cluster by a plurality of target servers corresponding to the starting success information in time, manpower resource consumption and time cost in a cluster construction process are effectively reduced, and cluster construction efficiency is improved.
For S101 in the embodiment corresponding to fig. 1: the Redis instance management server controls the Redis instance on the target server to be started based on the Redis instance starting configuration template, the embodiment of the invention discloses a method for controlling the starting of the Redis instance of the target server, please refer to FIG. 2, and the method specifically includes the following steps:
s201: the Redis instance management server controls the target server to carry out port initialization;
specifically, a parent-child process is formed between the Redis instance management server and any target server through binding, port initialization operation is performed on the target server, and then the Redis instance management server can control any target server to execute related operations.
S202: and the Redis instance management server controls the target server to match corresponding configuration information to the Redis instance starting configuration template according to the Redis instance starting configuration template, and generates Redis instance starting configuration information.
S203: and the Redis instance management server judges whether the starting times of the Redis instance on the target server are zero, if not, S204 is executed, and if so, S205 is executed.
S204: the Redis instance management server controls the target server to delete the history starting file of the Redis instance, and S205 is executed;
specifically, the historical startup file of the Redis instance mainly includes files with suffixes of. conf,. rdb, and. log.
S205: and the Redis instance management server controls the Redis instance of the target server and starts according to the Redis instance starting configuration information.
Specifically, after the historical starting file of the Redis instance of the target server is deleted, the Redis instance management server controls the Redis instance of the target server, and the Redis instance management server starts operation according to the Redis instance starting configuration information, so that the link of manually modifying the Redis instance configuration file is effectively avoided.
In the embodiment of the invention, each target server is controlled by the Redis instance management server to sequentially carry out port initialization and generate Redis instance starting configuration information, when the starting times of the Redis instance on the target server are judged to be not zero, a historical starting file of the Redis instance is deleted, and then the Redis instance on the target server is controlled to be started according to the Redis instance starting configuration information, so that the Redis instance on each target server is automatically started; therefore, the Redis instance management server is used for controlling the Redis instances on the target servers to be started, the purpose of simultaneously starting the Redis instances on the target servers can be achieved, the time required by cluster construction is further shortened, and the cluster construction efficiency is improved.
For S103 in the embodiment corresponding to fig. 1: the Redis cluster management server constructs a target server corresponding to the successful start information into a Redis cluster, an embodiment of the present invention discloses another construction method of a Redis cluster, please refer to FIG. 3, and the method specifically includes the following steps:
s301: the Redis cluster management server groups the target servers corresponding to the successful starting information to obtain a plurality of groups of server groups, wherein each group of server groups comprises a main server and at least one standby server, the main server corresponds to the successful starting information of the main node, and the standby server corresponds to the successful starting information of the standby node;
specifically, the Redis cluster management server may divide the target server into a plurality of groups of server groups according to the instance name in the startup success information. For example, the target server corresponding to the master node startup success information with the instance name "master node 1" and the target server corresponding to the backup node startup success information with the instance name containing "master node 1" are divided into a group of server groups.
It should be noted that each group of servers at least includes a primary server and a backup server, which can ensure data consistency and security.
S302: the Redis cluster management server utilizes the master server to construct an initial Redis cluster;
specifically, the constructed initial Redis cluster is composed of master servers in all server groups, and a communication link is established between any two master servers in the initial Redis cluster.
S303: the Redis cluster management server connects a standby server belonging to the same server group with the main server in the initial Redis cluster to the corresponding main server to construct the Redis cluster;
specifically, after the initial Redis cluster is constructed, the Redis cluster management server connects the standby servers belonging to each main server in the initial Redis cluster to the corresponding main server, so that all target servers feeding back the startup success information are constructed into one Redis cluster.
In the embodiment of the invention, target servers corresponding to successful starting information are grouped through a Redis cluster management server to obtain a plurality of groups of server groups, then a primary server in each group of server groups is utilized to construct an initial Redis cluster, and then a standby server belonging to the same server group as the primary server in the initial Redis cluster is connected to the corresponding primary server to further obtain the Redis cluster; it can be seen that the Redis cluster management server firstly utilizes all the grouped main servers to construct an initial Redis cluster, and then connects the standby servers to the corresponding main servers respectively to construct the Redis cluster, so that the Redis cluster is quickly and efficiently constructed, and the consistency and the safety of data in the Redis cluster are ensured.
On the basis of the embodiment corresponding to fig. 3, the embodiment of the present invention discloses another method for constructing a Redis cluster, and referring to fig. 4, the method specifically includes the following steps:
s401: the Redis instance management server sends a Redis instance starting configuration template acquired from a Zookeeper server to a plurality of target servers, controls the starting of Redis instances on the target servers based on the Redis instance starting configuration template, and sends starting success information to the Zookeeper server when receiving starting success information from the target servers, wherein the starting success information comprises main node starting success information and standby node starting success information.
S402: and the Zookeeper server receives and records the starting success information.
S403: and the Redis cluster management server acquires the recorded startup success information from the Zookeeper server, and judges whether the number of the main node startup success information reaches a first preset startup number, if so, S404 is executed, and if not, the process is ended.
S404: the Redis cluster management server groups the target servers corresponding to the successful start information to obtain a plurality of groups of server groups, wherein each group of server groups comprises a main server and at least one standby server, the main server corresponds to the successful start information of the main node, and the standby server corresponds to the successful start information of the standby node, and S405 is executed;
s405: the Redis cluster management server constructs an initial Redis cluster by using the master server, and executes S406.
S406: the Redis cluster management server connects a standby server belonging to the same server group as the primary server in the initial Redis cluster to the corresponding primary server to construct the Redis cluster, and executes S407.
S407: the Redis cluster management server constructs the Redis cluster, and when receiving a deletion operation instruction, judges whether a server to be deleted in the deletion operation instruction is a main server in the Redis cluster, if so, executes S408, and if not, executes S409;
specifically, the deletion operation instruction may be sent from the client to the Redis cluster management server, and is mainly used to delete a certain target server in the Redis cluster, that is, a server to be deleted.
S408: the Redis cluster management server judges whether the server to be deleted has a connected standby server, if so, S410 is executed, and if not, S411 is executed;
s409: the Redis cluster management server deletes the server to be deleted from the Redis cluster;
specifically, when the Redis cluster management server determines that the to-be-deleted server in the deletion operation instruction is not the main server in the Redis cluster, that is, the to-be-deleted server is the standby server, the to-be-deleted server can be directly deleted from the Redis cluster without affecting the normal operation in the Redis cluster.
S410: the Redis cluster management server performs active-standby switching operation on the server to be deleted and the standby server connected with the server to be deleted, and deletes the server to be deleted from the Redis cluster;
specifically, when the Redis cluster management server determines that the server to be deleted in the deletion operation instruction is the primary server in the Redis cluster, it is necessary to select one of the standby servers connected to the server to be deleted and perform a switching operation with the selected standby server, so as to ensure that the normal operation in the Redis cluster is not affected after the server to be deleted is deleted from the Redis cluster.
S411: judging whether the number of the main servers in the Redis cluster reaches a second preset starting number, wherein the second preset starting number is 1 greater than the first preset starting number, if so, executing S412, and if not, executing S413;
specifically, the second preset starting number may be preset, and is mainly used as a standard for judging whether the server to be deleted can be directly deleted from the Redis cluster. In general, when the first preset number of starts is set to 3, the second preset number of starts is set to 4.
S412: the Redis cluster management server deletes the server to be deleted from the Redis cluster;
specifically, when the Redis cluster management server judges that the number of the main servers in the Redis cluster reaches the second preset starting number, the servers to be deleted are deleted, so that at least 3 main servers still exist in the deleted Redis cluster, and the basic condition for constructing the Redis cluster is met.
S413: and the Redis cluster management server controls the Redis instance on the server to be deleted to stop running.
The invention provides a construction method of a Redis cluster, which comprises the steps of receiving a deletion operation instruction through a Redis cluster management server, carrying out main-standby switching operation on a server to be deleted and a standby server connected with the server to be deleted when the server to be deleted in the deletion operation instruction is judged to be a main server in the Redis cluster and the server to be deleted has the connected standby server, and then directly deleting the server to be deleted from the Redis cluster; when the server to be deleted in the deletion operation instruction is judged to be a main server in the Redis cluster, but the server to be deleted does not have a connected standby server, judging whether the number of the main servers in the Redis cluster reaches a second preset starting number, and if so, deleting the server to be deleted from the Redis cluster; therefore, the Redis cluster management server is used for judging whether the server to be deleted can be directly deleted from the Redis cluster or not, so that manual participation can be effectively avoided, and the speed of deleting the server in the Redis cluster is increased.
On the basis of the embodiment corresponding to fig. 1, the embodiment of the present invention discloses another method for constructing a Redis cluster, please refer to fig. 5, where the method specifically includes the following steps:
s501: the Redis instance management server sends a Redis instance starting configuration template acquired from a Zookeeper server to a plurality of target servers, controls the starting of Redis instances on the target servers based on the Redis instance starting configuration template, and sends starting success information to the Zookeeper server when receiving starting success information from the target servers, wherein the starting success information comprises main node starting success information and standby node starting success information.
S502: and the Zookeeper server receives and records the starting success information.
S503: and the Redis cluster management server acquires the recorded startup success information from the Zookeeper server, and judges whether the number of the main node startup success information reaches a first preset startup number, if so, S504 is executed, and if not, the process is ended.
S504: and the Redis cluster management server constructs the target server corresponding to the startup success information into a Redis cluster, and executes S505.
S505: the Redis instance management server receives cluster information from a feedback server, and sends the cluster information to the Zookeeper server, where the feedback server is any target server in the Redis cluster, and executes S506;
specifically, the cluster information includes related information of each target server in the Redis cluster, such as an IP and port information of each target server.
Any two target servers in the Redis cluster can be communicated with each other, so that each target server in the Redis cluster has the related information of all other target servers except the target server, and therefore any target server in the Redis cluster can be used as a feedback server to send cluster information to the Redis instance management server.
S506: and the Zookeeper server receives and records the cluster information, and executes S507.
S507: the Redis cluster management server receives an adding operation instruction, acquires the cluster information from the Zookeeper server, and judges whether a newly added server in the adding operation instruction exists in the cluster information, if not, S508 is executed, and if so, S509 is executed;
specifically, the adding operation instruction may be sent from the client to the Redis cluster management server, and is mainly used to add a target server (newly added server) to the Redis cluster.
Since the cluster information records information of all target servers in the Redis cluster, the information related to the newly added server and the target servers in the cluster information can be compared to determine whether the newly added server exists in the Redis cluster before. For example, the IP of the newly added server may be compared with the IP information of the target server in the cluster information; the port information of the new server may be compared with the port information of the target server in the cluster information, which is not limited herein.
S508: and the Redis cluster management server adds the new server to the Redis cluster.
S509: and (6) ending.
The invention provides a construction method of a Redis cluster, which comprises the steps that after a Redis cluster management server constructs a Redis cluster, the Redis instance management server receives cluster information from a feedback server and sends the cluster information to a Zookeeper server for recording, and then when the Redis cluster management server receives an adding operation instruction, whether a newly added server in the adding operation instruction exists in the obtained cluster information or not is judged, and if not, the newly added server is added to the Redis cluster so as to realize the expansion of the Redis cluster; therefore, cluster information is recorded by using the Zookeeper server, verification of a newly added server is facilitated, and further the phenomenon that a repeated target server is added to a Redis cluster is effectively avoided.
The embodiment of the invention discloses a system for constructing a Redis cluster, please refer to FIG. 6, which includes:
a Redis instance management server 601, a Zookeeper server 602, a Redis cluster management server 603, and a plurality of target servers 604;
the Redis instance management server 601 is configured to send a Redis instance start configuration template obtained from the Zookeeper server to the multiple target servers, control the start of a Redis instance on the target servers based on the Redis instance start configuration template, and send start success information to the Zookeeper server when start success information is received from the target servers, where the start success information includes master node start success information and backup node start success information;
the Zookeeper server 602 is configured to receive and record the start success information;
the Redis cluster management server 603 is configured to obtain the recorded startup success information from the Zookeeper server 602, determine whether the number of the master node startup success information reaches a first preset startup number, and construct a target server corresponding to the startup success information into a Redis cluster if the number of the master node startup success information reaches the first preset startup number.
The invention provides a Redis cluster construction system, which comprises the steps that a Redis instance management server 601 obtains a Redis instance starting configuration template prestored in a Zookeeper server 602, the Redis instance starting configuration template is further sent to a plurality of target servers 604, so that Redis instances on each target server are controlled to be started according to the Redis instance starting configuration template, when starting success information fed back by the target servers is received, the starting success information is sent to the Zookeeper server 602 to be recorded and stored, then a Redis cluster management server 603 obtains recorded starting success information from the Zookeeper server 602, and when the number of main node starting success information is judged to reach a first preset starting number, a plurality of target servers corresponding to the starting success information are constructed into a Redis cluster; therefore, the Redis instance management server 601 is used for obtaining the Redis instance starting configuration template stored in advance from the Zookeeper server 602, the Redis instance can be controlled to be automatically started by the target server, manual configuration is avoided, the starting success information fed back after the Redis instance is started by the target server is sent to the Zookeeper server 602 for recording, the Redis cluster management server 603 can be facilitated to automatically construct a Redis cluster by a plurality of target servers corresponding to the starting success information in time, the human resource consumption and the time cost in the cluster construction process are effectively reduced, and the cluster construction efficiency is improved.
Please refer to a method flowchart corresponding to fig. 1 for the working process of each module provided in the embodiment of the present invention, and detailed description of the working process is omitted.
The Redis instance management server 601 in the embodiment corresponding to fig. 6 controls the Redis instance on the target server to be started based on the Redis instance starting configuration template, and specifically includes:
controlling the target server to carry out port initialization;
controlling the target server to match corresponding configuration information to the Redis instance starting configuration template according to the Redis instance starting configuration template, and generating Redis instance starting configuration information;
judging whether the starting times of the Redis instance on the target server are zero or not;
if the starting times of the Redis instance on the target server are not zero, controlling the target server to delete the historical starting file of the Redis instance;
and controlling the Redis instance of the target server, and starting according to the Redis instance starting configuration information.
In the embodiment of the invention, each target server is controlled by the Redis instance management server 602 to sequentially perform port initialization and generate Redis instance starting configuration information, and when the starting times of the Redis instances on the target servers are judged not to be zero, the historical starting files of the Redis instances are deleted, and then the Redis instances on the target servers are controlled to be started according to the Redis instance starting configuration information, so that the Redis instances on each target server are automatically started; therefore, the Redis instance management server 601 is used for controlling the Redis instances on the target servers 604 to be started, the purpose of simultaneously starting the Redis instances on the target servers 604 can be realized, the time required by cluster construction is further shortened, and the cluster construction efficiency is improved.
Please refer to a method flowchart corresponding to fig. 2 for the working process of each module provided in the embodiment of the present invention, and detailed description of the working process is omitted.
The Redis cluster management server 603 in the embodiment corresponding to fig. 6 constructs the target server corresponding to the start success information into a Redis cluster, which specifically includes:
grouping the target servers corresponding to the successful starting information to obtain a plurality of groups of server groups, wherein each group of server groups comprises a main server and at least one standby server, the main server corresponds to the successful starting information of the main node, and the standby server corresponds to the successful starting information of the standby node;
constructing an initial Redis cluster by using the master server;
and connecting the standby server belonging to the same server group with the main server in the initial Redis cluster to the corresponding main server to construct the Redis cluster.
In the embodiment of the invention, target servers corresponding to successful start information are grouped through a Redis cluster management server 603 to obtain a plurality of groups of server groups, then a primary server in each group of server groups is utilized to construct an initial Redis cluster, and then a standby server belonging to the same server group as the primary server in the initial Redis cluster is connected to the corresponding primary server to further obtain the Redis cluster; as can be seen, the Redis cluster management server 603 first constructs an initial Redis cluster by using all the grouped main servers, and then connects the standby servers to the corresponding main servers, respectively, to construct a Redis cluster, thereby not only realizing rapid and efficient construction of the Redis cluster, but also ensuring consistency and security of data in the Redis cluster.
Please refer to a method flowchart corresponding to fig. 3 for the working process of each module provided in the embodiment of the present invention, and detailed description of the working process is omitted.
On the basis of the foregoing embodiment, the Redis cluster management server 603 is further configured to:
when the Redis cluster is constructed and a deletion operation instruction is received, judging whether a server to be deleted in the deletion operation instruction is a main server in the Redis cluster;
if the server to be deleted in the deletion operation instruction is the main server in the Redis cluster, judging whether the server to be deleted has a connected standby server;
and if the server to be deleted has a connected standby server, performing active-standby switching operation on the server to be deleted and the connected standby server, and deleting the server to be deleted from the Redis cluster.
The invention provides a construction system of a Redis cluster, which receives a deletion operation instruction through a Redis cluster management server 603, and when the server to be deleted in the deletion operation instruction is judged to be a main server in the Redis cluster and a standby server connected with the server to be deleted exists, the main-standby switching operation is carried out on the server to be deleted and the standby server connected with the server to be deleted, and then the server to be deleted is directly deleted from the Redis cluster; therefore, the Redis cluster management server is used for judging whether the server to be deleted can be directly deleted from the Redis cluster or not, so that manual participation can be effectively avoided, and the speed of deleting the server in the Redis cluster is increased.
Please refer to a method flowchart corresponding to fig. 4 for the working process of each module provided in the embodiment of the present invention, and detailed description of the working process is omitted.
On the basis of the foregoing embodiment, the Redis cluster management server 603 is further configured to:
when judging that the server to be deleted does not have a connected standby server, judging whether the number of the main servers in the Redis cluster reaches a second preset starting number or not;
if the number of the main servers in the Redis cluster reaches the second preset starting number, deleting the servers to be deleted from the Redis cluster, wherein the second preset starting number is 1 larger than the first preset starting number;
and if the number of the main servers in the Redis cluster does not reach the second preset starting number, controlling the Redis instance on the server to be deleted to stop running.
The invention provides a construction system of a Redis cluster, which is characterized in that when a Redis cluster management server 603 judges that a server to be deleted in a deletion operation instruction is a main server in the Redis cluster but the server to be deleted does not have a connected standby server, whether the number of the main servers in the Redis cluster reaches a second preset starting number or not is judged, and if so, the server to be deleted is deleted from the Redis cluster; therefore, the Redis cluster management server is used for judging whether the server to be deleted can be directly deleted from the Redis cluster or not, so that manual participation can be effectively avoided, and the speed of deleting the server in the Redis cluster is increased.
Please refer to a method flowchart corresponding to fig. 4 for the working process of each module provided in the embodiment of the present invention, and detailed description of the working process is omitted.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. A construction method of a Redis cluster is characterized by comprising the following steps:
the Redis instance management server sends a Redis instance starting configuration template acquired from a Zookeeper server to a plurality of target servers, controls the starting of Redis instances on the target servers based on the Redis instance starting configuration template, and sends starting success information to the Zookeeper server when receiving starting success information from the target servers, wherein the starting success information comprises main node starting success information and standby node starting success information;
the Zookeeper server receives and records the starting success information;
and the Redis cluster management server acquires the recorded startup success information from the Zookeeper server, judges whether the number of the main node startup success information reaches a first preset startup number, and constructs a target server corresponding to the startup success information into a Redis cluster if the number of the main node startup success information reaches the first preset startup number.
2. The build method according to claim 1, wherein the Redis instance management server controls Redis instance startup on the target server based on the Redis instance startup configuration template, comprising:
the Redis instance management server controls the target server to carry out port initialization;
the Redis instance management server controls the target server to match corresponding configuration information to the Redis instance starting configuration template according to the Redis instance starting configuration template, and Redis instance starting configuration information is generated;
the Redis instance management server judges whether the starting times of the Redis instance on the target server are zero or not;
if the starting times of the Redis instance on the target server are not zero, the Redis instance management server controls the target server to delete the historical starting file of the Redis instance;
and the Redis instance management server controls the Redis instance of the target server and starts according to the Redis instance starting configuration information.
3. The constructing method according to claim 1, wherein the Redis cluster management server constructs the target server corresponding to the startup success information as a Redis cluster, including:
the Redis cluster management server groups the target servers corresponding to the successful starting information to obtain a plurality of groups of server groups, wherein each group of server groups comprises a main server and at least one standby server, the main server corresponds to the successful starting information of the main node, and the standby server corresponds to the successful starting information of the standby node;
the Redis cluster management server utilizes the master server to construct an initial Redis cluster;
and the Redis cluster management server connects the standby server belonging to the same server group with the main server in the initial Redis cluster to the corresponding main server to construct the Redis cluster.
4. The building method according to claim 3, further comprising:
the Redis cluster management server constructs the Redis cluster and judges whether a server to be deleted in a deletion operation instruction is a main server in the Redis cluster or not when the Redis cluster management server receives the deletion operation instruction;
if the server to be deleted in the deletion operation instruction is a main server in the Redis cluster, the Redis cluster management server judges whether the server to be deleted has a connected standby server;
if the server to be deleted has a connected standby server, the Redis cluster management server performs active-standby switching operation on the server to be deleted and the connected standby server, and deletes the server to be deleted from the Redis cluster.
5. The building method according to claim 4, further comprising:
when the Redis cluster management server judges that the server to be deleted does not have a connected standby server, judging whether the number of the main servers in the Redis cluster reaches a second preset starting number or not;
if the number of the main servers in the Redis cluster reaches the second preset starting number, deleting the servers to be deleted from the Redis cluster by the Redis cluster management server, wherein the second preset starting number is 1 greater than the first preset starting number;
and if the number of the main servers in the Redis cluster does not reach the second preset starting number, the Redis cluster management server controls the Redis instance on the server to be deleted to stop running.
6. The building method according to claim 1, further comprising:
after the Redis cluster management server constructs the target server corresponding to the successful starting information into a Redis cluster, the Redis instance management server receives cluster information from a feedback server and sends the cluster information to the Zookeeper server, wherein the feedback server is any target server in the Redis cluster;
and the Zookeeper server receives and records the cluster information.
7. The building method according to claim 6, further comprising:
the Redis cluster management server receives an adding operation instruction after the Zookeeper server receives and records the cluster information, acquires the cluster information from the Zookeeper server, and judges whether a new server in the adding operation instruction exists in the cluster information;
and if the newly added server in the adding operation instruction does not exist in the cluster information, the Redis cluster management server adds the newly added server to the Redis cluster.
8. A system for building a Redis cluster, comprising:
the system comprises a Redis instance management server, a Zookeeper server, a Redis cluster management server and a plurality of target servers;
the Redis instance management server is used for sending a Redis instance starting configuration template acquired from the Zookeeper server to the target servers, controlling the Redis instance on the target servers to be started based on the Redis instance starting configuration template, and sending starting success information to the Zookeeper server when receiving starting success information from the target servers, wherein the starting success information comprises main node starting success information and standby node starting success information;
the Zookeeper server is used for receiving and recording the starting success information;
the Redis cluster management server is used for acquiring the recorded startup success information from the Zookeeper server, judging whether the number of the main node startup success information reaches a first preset startup number, and if the number of the main node startup success information reaches the first preset startup number, constructing a target server corresponding to the startup success information into a Redis cluster.
9. The building system according to claim 8, wherein the Redis instance management server controls the start of the Redis instance on the target server based on the Redis instance start configuration template, specifically including:
controlling the target server to carry out port initialization;
controlling the target server to match corresponding configuration information to the Redis instance starting configuration template according to the Redis instance starting configuration template, and generating Redis instance starting configuration information;
judging whether the starting times of the Redis instance on the target server are zero or not;
if the starting times of the Redis instance on the target server are not zero, controlling the target server to delete the historical starting file of the Redis instance;
and controlling the Redis instance of the target server, and starting according to the Redis instance starting configuration information.
10. The building system according to claim 8, wherein the Redis cluster management server builds a target server corresponding to the startup success information into a Redis cluster, specifically including:
grouping the target servers corresponding to the successful starting information to obtain a plurality of groups of server groups, wherein each group of server groups comprises a main server and at least one standby server, the main server corresponds to the successful starting information of the main node, and the standby server corresponds to the successful starting information of the standby node;
constructing an initial Redis cluster by using the master server;
and connecting the standby server belonging to the same server group with the main server in the initial Redis cluster to the corresponding main server to construct the Redis cluster.
11. The build system of claim 10, wherein the Redis cluster management server is further configured to:
when the Redis cluster is constructed and a deletion operation instruction is received, judging whether a server to be deleted in the deletion operation instruction is a main server in the Redis cluster;
if the server to be deleted in the deletion operation instruction is the main server in the Redis cluster, judging whether the server to be deleted has a connected standby server;
and if the server to be deleted has a connected standby server, performing active-standby switching operation on the server to be deleted and the connected standby server, and deleting the server to be deleted from the Redis cluster.
12. The build system of claim 11, wherein the Redis cluster management server is further configured to:
when judging that the server to be deleted does not have a connected standby server, judging whether the number of the main servers in the Redis cluster reaches a second preset starting number or not;
if the number of the main servers in the Redis cluster reaches the second preset starting number, deleting the servers to be deleted from the Redis cluster, wherein the second preset starting number is 1 larger than the first preset starting number;
and if the number of the main servers in the Redis cluster does not reach the second preset starting number, controlling the Redis instance on the server to be deleted to stop running.
CN201811267414.5A 2018-10-29 2018-10-29 Redis cluster construction method and system Active CN111107120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811267414.5A CN111107120B (en) 2018-10-29 2018-10-29 Redis cluster construction method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811267414.5A CN111107120B (en) 2018-10-29 2018-10-29 Redis cluster construction method and system

Publications (2)

Publication Number Publication Date
CN111107120A CN111107120A (en) 2020-05-05
CN111107120B true CN111107120B (en) 2022-09-02

Family

ID=70420214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811267414.5A Active CN111107120B (en) 2018-10-29 2018-10-29 Redis cluster construction method and system

Country Status (1)

Country Link
CN (1) CN111107120B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527780A (en) * 2020-12-23 2021-03-19 平安银行股份有限公司 Redis cluster creating and managing method, system, computer device and storage medium
CN114567644B (en) * 2022-02-21 2023-10-20 深圳希施玛数据科技有限公司 Data synchronization method and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177130A1 (en) * 2015-05-07 2016-11-10 中兴通讯股份有限公司 Method and device for selecting communication node
CN106210151A (en) * 2016-09-27 2016-12-07 深圳市彬讯科技有限公司 A kind of zedis distributed caching and server cluster monitoring method
CN106357449A (en) * 2016-09-27 2017-01-25 深圳市彬讯科技有限公司 zedis distributed type buffer method
CN106506191A (en) * 2016-09-23 2017-03-15 郑州云海信息技术有限公司 The automatically dispose serviced based on virtual platform Redis and maintaining method
CN106534328A (en) * 2016-11-28 2017-03-22 网宿科技股份有限公司 Node connection method and distributed computing system
CN106713458A (en) * 2016-12-23 2017-05-24 智者四海(北京)技术有限公司 Zookeeper cluster deployment method, Zookeeper cluster deployment device, Zookeeper instance deployment method, Zookeeper instance deployment device, and Zookeeper cluster management platform
CN106936623A (en) * 2015-12-31 2017-07-07 五八同城信息技术有限公司 The management method of distributed cache system and cache cluster
CN108206779A (en) * 2016-12-16 2018-06-26 北京金山云网络技术有限公司 A kind of cluster accesses system, method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016177130A1 (en) * 2015-05-07 2016-11-10 中兴通讯股份有限公司 Method and device for selecting communication node
CN106936623A (en) * 2015-12-31 2017-07-07 五八同城信息技术有限公司 The management method of distributed cache system and cache cluster
CN106506191A (en) * 2016-09-23 2017-03-15 郑州云海信息技术有限公司 The automatically dispose serviced based on virtual platform Redis and maintaining method
CN106210151A (en) * 2016-09-27 2016-12-07 深圳市彬讯科技有限公司 A kind of zedis distributed caching and server cluster monitoring method
CN106357449A (en) * 2016-09-27 2017-01-25 深圳市彬讯科技有限公司 zedis distributed type buffer method
CN106534328A (en) * 2016-11-28 2017-03-22 网宿科技股份有限公司 Node connection method and distributed computing system
CN108206779A (en) * 2016-12-16 2018-06-26 北京金山云网络技术有限公司 A kind of cluster accesses system, method and device
CN106713458A (en) * 2016-12-23 2017-05-24 智者四海(北京)技术有限公司 Zookeeper cluster deployment method, Zookeeper cluster deployment device, Zookeeper instance deployment method, Zookeeper instance deployment device, and Zookeeper cluster management platform

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
A Distributed Framework for Use in the UCWW;Zhanlin Ji等;《IEEE COMPUTER SOCIETY》;20141231;全文 *
一种高效的Redis Cluster的分布式缓存系统;李等;《计算机系统应用》;20181015(第10期);全文 *
基于Bully算法的Redis集群选举方案优化;王芬等;《计算机科学》;20171015(第10期);全文 *
基于Redis技术的常用联系人集群架构优化;梅巧玲等;《铁路计算机应用》;20181025(第10期);全文 *
基于Redis的分布式消息服务的设计与实现;曾泉匀;《中国优秀硕士学位论文全文数据库信息科技辑》;20150430;全文 *
基于zookeeper管理redis集群,LCMPS框架(二);ccfeng2008;《blog.csdn.net/ccfeng2008/article/details/51285676》;20160430;全文 *

Also Published As

Publication number Publication date
CN111107120A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
CN108829459B (en) Nginx server-based configuration method and device, computer equipment and storage medium
CN110311831B (en) Container cloud-based system resource monitoring method and related equipment
CN101217571B (en) Write/read document operation method applied in multi-copy data grid system
CN107566165B (en) Method and system for discovering and deploying available resources of power cloud data center
CN111666129B (en) Container mirror image processing method, electronic device, storage medium and system
CN112291298B (en) Data transmission method, device, computer equipment and storage medium of heterogeneous system
CN103152390B (en) The node configuration method of distributed memory system, device, node and system
CN106970810A (en) Firmware burning method and system
CN107689976B (en) File transmission method and device
CN110389766B (en) HBase container cluster deployment method, system, equipment and computer readable storage medium
CN105407117A (en) Distributed data backup method, device and system
CN111107120B (en) Redis cluster construction method and system
CN113238835B (en) Virtual machine configuration method, device, server and system
CN103227836A (en) Off-line downloading method and off-line downloading server
CN113778463A (en) Business service deployment method and device
CN110119387A (en) A kind of file delet method, device, equipment and readable storage medium storing program for executing
CN110855746A (en) Middleware management method, electronic device and storage medium
CN112306471A (en) Task scheduling method and device
CN109697112B (en) Distributed intensive one-stop operating system and implementation method
CN111582824A (en) Cloud resource synchronization method, device, equipment and storage medium
CN110933192A (en) Local area network IP address allocation method, device, system and computer equipment
CN109714208A (en) A kind of equipment is included in method, storage medium and the electronic equipment of network management
US20180322675A1 (en) Image Processing Method and Computing Device
CN112130889A (en) Resource management method and device, storage medium and electronic device
CN109460278B (en) Cloud desktop building design software management method and device and computer equipment

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