CN108600029B - Configuration file updating method and device, terminal equipment and storage medium - Google Patents

Configuration file updating method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN108600029B
CN108600029B CN201810437805.0A CN201810437805A CN108600029B CN 108600029 B CN108600029 B CN 108600029B CN 201810437805 A CN201810437805 A CN 201810437805A CN 108600029 B CN108600029 B CN 108600029B
Authority
CN
China
Prior art keywords
updating
management
node server
configuration file
update
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
CN201810437805.0A
Other languages
Chinese (zh)
Other versions
CN108600029A (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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201810437805.0A priority Critical patent/CN108600029B/en
Publication of CN108600029A publication Critical patent/CN108600029A/en
Application granted granted Critical
Publication of CN108600029B publication Critical patent/CN108600029B/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
    • 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
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • 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/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
    • 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/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for updating a configuration file, terminal equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps that a node server deploys and starts updating monitoring of a Logstash configuration file by using an epoll model, unified management is carried out through a management client established on the management server, if configuration updating operation of a user on the management client is detected, a configuration file updating instruction is generated and sent to the node server, and if the node server receives the configuration file updating instruction which is sent by the management server and contains an updating file, the updating file is used for carrying out synchronous updating on the Logstash configuration file, and updating state information is returned. According to the technical scheme, the synchronous online updating of the Logstash configuration file can be directly completed through the deployed updating monitoring without restarting a node server, so that the human resources are saved, and the updating efficiency and accuracy of the Logstash configuration file are improved.

Description

Configuration file updating method and device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for updating a configuration file, a terminal device, and a storage medium.
Background
With the high-speed development of internet technology and the diversified products of the same type of service, internet companies usually adopt distributed cluster deployment service to improve the management service efficiency, and a server cluster refers to a cluster system in which a plurality of servers are centralized together to perform the same service, and a plurality of computers are used to perform parallel computation to improve the computation speed.
When a new service is accessed, the current Logstash log collection system needs to log in a server provided with the Logstash, and modify the configuration file thereof manually, but often tens or even hundreds of servers in an enterprise-level server cluster need to update the configuration file one by one, and then restart the server to enable the updated configuration file to take effect, which consumes a large amount of human resources and has low updating efficiency, and meanwhile, the configuration files are modified one by one manually to easily cause unpredictable human errors, resulting in the reduction of the stability of the log collection system.
Disclosure of Invention
The embodiment of the invention provides a configuration file updating method, which aims to solve the problems that the updating efficiency of a Logstash configuration file in a server cluster is low, and the log collection accuracy is reduced due to the fact that the Logstash configuration file is updated at present.
In a first aspect, an embodiment of the present invention provides a method for updating a configuration file, including the following steps performed by a node server:
deploying and starting updating monitoring on the Logstash configuration file by using an epoll model;
sending heartbeat packets to a management server at regular time;
receiving a cluster management instruction sent by the management server, and carrying out cluster management according to the cluster management instruction;
if a configuration file updating instruction containing an updating file sent by the management server is received, the logstack configuration file is synchronously updated by using the updating file;
and sending the updated state information to the management server.
In a second aspect, an embodiment of the present invention provides a method for updating a configuration file, including the following steps performed by a management server:
establishing a management client;
receiving a heartbeat packet sent by a node server, and starting heartbeat monitoring on the node server according to the heartbeat packet;
if the management operation of the user at the management client is detected, generating a corresponding cluster management instruction according to the management operation;
sending the cluster management instruction to the node server;
if the configuration updating operation of the user on the management client side is detected, generating a configuration file updating instruction according to the configuration updating operation, and sending the configuration file updating instruction to a node server so that the node server synchronously updates the logstack configuration file according to the configuration file updating instruction, wherein the configuration file updating instruction comprises an updating file;
receiving the updated state information returned by the node server;
outputting the updated state information to the management client.
In a third aspect, an embodiment of the present invention provides a device for updating a configuration file, including a node server, where the node server includes:
the updating monitoring deployment module is used for deploying and starting updating monitoring on the Logstash configuration file by using an epoll model;
the heartbeat information sending module is used for sending heartbeat packets to the management server at regular time;
the management instruction processing module is used for receiving the cluster management instruction sent by the management server and carrying out cluster management according to the cluster management instruction;
the configuration file updating module is used for synchronously updating the Logstash configuration file by using the update file if receiving a configuration file updating instruction which is sent by the management server and contains the update file;
and the update state sending module is used for sending the update state information to the management server.
In a fourth aspect, an embodiment of the present invention provides a configuration file updating apparatus, including a management server, where the management server includes:
the client establishing module is used for establishing a management client;
the heartbeat information receiving module is used for receiving a heartbeat packet sent by a node server and starting heartbeat monitoring on the node server according to the heartbeat packet;
the management instruction generation module is used for generating a corresponding cluster management instruction according to the management operation if the management operation of the user on the management client is detected;
a management instruction sending module, configured to send the cluster management instruction to the node server;
the configuration file sending module is used for generating a configuration file updating instruction according to the configuration updating operation if the configuration updating operation of the user on the management client is detected, and sending the configuration file updating instruction to the node server so that the node server can synchronously update the logstack configuration file according to the configuration file updating instruction, wherein the configuration file updating instruction comprises an updating file;
the update state receiving module is used for receiving the update state information returned by the node server;
and the update state output module is used for outputting the update state information to the management client.
In a fifth aspect, an embodiment of the present invention provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the configuration file updating method when executing the computer program.
In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the steps of the configuration file updating method are implemented.
Compared with the prior art, the configuration file updating method provided by the embodiment of the invention has the following advantages: according to the configuration file updating method, device, terminal equipment and storage medium provided by the embodiment of the invention, the log stack configuration file is deployed and the update monitoring of the log stack configuration file is started by using the epoll model in the node server, the heartbeat packet is sent to the management server at regular time, meanwhile, the management client is established in the management server, the heartbeat packet sent by the node server is received, and the heartbeat monitoring of the node server is started, so that the management client can uniformly manage the node server. And if the management operation of the user on the management client is detected, generating a corresponding cluster management instruction and sending the cluster management instruction to the node server, and the node server receives the cluster management instruction sent by the management server and performs cluster management. And if the configuration updating operation of the user at the management client is detected, generating a configuration file updating instruction and sending the configuration file updating instruction to the node server, so that the node server synchronously updates the logstack configuration file through updating monitoring according to the configuration file updating instruction, sends the updating state information to the management server to establish the management client, and outputs the updating state information to the management client. By deploying and starting the updating monitoring of the Logstash configuration file by using the epoll model, when the Logstash configuration file needs to be updated, the synchronous online updating of the Logstash configuration file can be directly completed through the deployed updating monitoring, and a node server does not need to be restarted, so that the loss caused by untimely or missing log file collection caused by restarting is avoided, human resources are saved, and the updating efficiency of the Logstash configuration file and the accuracy of log collection are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
Fig. 1 is a flowchart of a configuration file update method provided in embodiment 1 of the present invention;
fig. 2 is a flowchart of implementing step S101 in the method for updating a configuration file according to embodiment 1 of the present invention;
fig. 3 is a flowchart of implementing step S104 in the configuration file updating method provided in embodiment 1 of the present invention;
fig. 4 is a flowchart of implementing step S108 in the method for updating configuration files provided in embodiment 1 of the present invention;
fig. 5 is a schematic diagram of a configuration file update apparatus provided in embodiment 2 of the present invention;
fig. 6 is a schematic diagram of a terminal device provided in embodiment 4 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 some, not all, embodiments of the present invention. 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.
Example 1
The configuration file updating method in the embodiment of the invention specifically comprises the following steps executed by the node server:
deploying and starting updating monitoring on the Logstash configuration file by using an epoll model;
sending heartbeat packets to a management server at regular time;
receiving a cluster management instruction sent by a management server, and carrying out cluster management according to the cluster management instruction;
if a configuration file updating instruction containing an updating file sent by a management server is received, the updating file is used for synchronously updating the Logstash configuration file;
and sending the updated state information to the management server.
The configuration file updating method in the embodiment of the invention specifically comprises the following steps executed by the management server:
establishing a management client;
receiving a heartbeat packet sent by a node server, and starting heartbeat monitoring on the node server according to the heartbeat packet;
if the management operation of the user at the management client is detected, generating a corresponding cluster management instruction according to the management operation;
sending a cluster management instruction to a node server;
if the configuration updating operation of a user at the management client is detected, generating a configuration file updating instruction according to the configuration updating operation, and sending the configuration file updating instruction to the node server so that the node server synchronously updates the logstack configuration file according to the configuration file updating instruction, wherein the configuration file updating instruction comprises an updating file;
receiving updated state information returned by the node server;
and outputting the updated state information to the management client.
Referring to fig. 1, fig. 1 shows an implementation flow of the configuration file updating method provided in this embodiment. The configuration file updating method is applied to a Logistash configuration file updating system of each enterprise and public institution, the Logistash configuration file updating system comprises a node server and a management server, wherein the node server can comprise one or more servers, and the management server can simultaneously manage a plurality of servers in the node server. The details are as follows:
s101: and the node server deploys and starts the update monitoring of the Logstash configuration file by using the epoll model.
In the embodiment of the present invention, a node server is a server device in a server cluster, where a server cluster refers to a cluster system that performs the same service in a centralized manner on a plurality of servers and performs parallel computation using a plurality of computers to increase the computation speed, a log is a log collection processing tool in an elastic search log library (ELK) analysis system, and a log collection processing tool is installed on each server in the node servers.
Specifically, the updating monitoring of the pre-designed logstack configuration file is copied to each node server provided with the logstack log collecting and processing tool, the updating monitoring is started after installation and deployment, and the configuration file of the logstack in the node server is monitored and managed.
In the embodiment of the present invention, an epoll model is used to implement update monitoring, an event processing thread is predefined in the epoll model, and is used to process an Input/Output (I/O) event at a network connection port between a management server and a node server, where the event processing thread includes a non-blocking state and a blocking state, the non-blocking state indicates that the event processing thread is running normally, and the blocking state indicates that the event processing thread is to be suspended and enters a suspension queue to wait for wakeup.
Specifically, in the updating monitoring process, a file descriptor is created first, if one or more events connected to the network connection port are detected, the event processing thread is set to be in a non-blocking state, the events are registered in the file descriptor for processing, meanwhile, the processing states of all events registered in the file descriptor are monitored, if the event processing is completed, the state information of all event processing is traversed, and when the event processing is completed, the network connection port is confirmed to be in an idle state, and the event processing thread is set to be in a blocking state. The file descriptor is used for accessing or creating a file and is a nonnegative integer, and the network connection port is a connection end between the node server and the management server.
S102: the node server sends the heartbeat packet to the management server at regular time.
In the embodiment of the present invention, a node server sends a heartbeat packet to a management server at a preset time interval through a heartbeat service, where the heartbeat packet is used to detect a link state of a network connection port, where the heartbeat packet includes, but is not limited to, an IP address of the node server and version information of a logstack configuration file, and specifically, the heartbeat service implements communication connection between the node server and the management server by using a hypertext Transfer Protocol (HTTP) and a Transmission Control Protocol (TCP), where the preset time may be 1 second or 1 minute, and specifically, the preset time may be set according to needs of actual applications, and is not limited here.
S103: the management server establishes a management client.
In the embodiment of the invention, one server is arbitrarily selected as a management server in a cluster server, and a management client is established in the management server so as to manage the node server through the management client.
Further, if the user needs to use the management client to perform a management operation on the node server, the user is required to input a user name and a password at the management client, verify whether corresponding data information is stored in a database of the management server, and if the verification is passed, the user can log in the management client, and ownership of the node server is managed, such as node server management and other operations. If the verification fails, the login fails, information of wrong user names and passwords is output on an interactive interface of the management terminal, the fact that the user does not have the right to log in the management client terminal to perform management operation on the node server is shown, and the security of the cluster system is improved.
S104: and the management server receives the heartbeat packet sent by the node server and starts heartbeat monitoring on the node server according to the heartbeat packet.
In the embodiment of the method, the management server judges whether the link state of the network connection port of the node server corresponding to the heartbeat packet is normal or not by receiving the heartbeat packet sent by the node server, starts heartbeat monitoring on the node server according to the heartbeat packet and monitors the state information of the node server in real time.
Specifically, the management server can timely find an abnormality through heartbeat monitoring, for example, if a heartbeat packet sent by a certain server in the node servers is not received within a period of time, the management server confirms that the link state of the server is abnormal, and timely displays the abnormal condition on an interactive interface of the management client, so that related maintenance personnel can timely analyze and process related abnormal problems appearing on the corresponding node server.
S105: and if the management server detects the management operation of the user on the management client, generating a corresponding cluster management instruction according to the management operation.
In the embodiment of the method, a user inputs some basic management operations on the node server at the management client, and if the management server detects the management operations of the user at the management client, a corresponding cluster management instruction is generated according to the management operations.
Specifically, the management operation includes node server management and profile management, the node server management includes basic management operations such as adding a node server, deleting the node server, checking a link state of the node server and checking a result of the node server executing the cluster management instruction, and the profile management includes basic management operations such as checking a history profile, editing the profile, and uploading an update file.
S106: and the management server sends the cluster management instruction to the node server.
In the embodiment of the method, the cluster management instruction includes identification information of the node server to be managed and a specific operation instruction, and the identification information of the node server may specifically be an IP address of the node server.
For example, if a user needs to delete a certain server in the Node servers, the user may execute a management operation of "delete Node server" in a management operation interface of the management client, fill in an IP address "192.168.0.111" of the Node server that needs to be deleted, and the management client automatically generates a corresponding management instruction "Remove Node 192.168.0.111" according to the management operation and the IP address and sends the corresponding management instruction to the corresponding Node server.
S107: and the node server receives the cluster management instruction sent by the management server and performs cluster management according to the cluster management instruction.
Specifically, when the node server receives a cluster management instruction sent by the management server, the node server analyzes the cluster management instruction and performs corresponding cluster management according to an analysis result.
For example, when receiving a cluster management instruction for viewing the historical configuration file, which is sent by the management server, for the servers with the server IP addresses of "192.168.1.200", "192.168.1.100" and "192.168.0.111", the node server parses the cluster management instruction, obtains the servers to be managed with the server IP addresses of "192.168.1.200", "192.168.1.100" and "192.168.0.111", and obtains the historical configuration file information of the logstack from the servers corresponding to the IP addresses of "192.168.1.200", "192.168.1.100" and "192.168.0.111", and returns the historical configuration file information to the management server.
S108: if the management server detects the configuration updating operation of a user at the management client, a configuration file updating instruction is generated according to the configuration updating operation, and the configuration file updating instruction is sent to the node server, so that the node server synchronously updates the logstack configuration file according to the configuration file updating instruction, wherein the configuration file updating instruction comprises an updating file.
In the embodiment of the method, the configuration updating operation is the updating operation that a user modifies the content of the configuration file of the current logstack to generate an update file, and inputs the IP address of the node server to be updated in an update address.
Specifically, if the function of the logstack log collection system needs to be changed according to the service requirement, if the log information of a new service needs to be added to the current logstack log collection system for collection, or the log information output address of the logstack log collection system needs to be changed, the user performs configuration update operation on the management client according to the service requirement, and updates the content of the current logstack configuration file of the node server in the cluster.
In the embodiment of the invention, a user edits the content of the current Logstash configuration file to obtain an update file, the update file comprises the version information of the Logstash configuration file, the IP address of a node server is obtained from a heartbeat packet, the IP address of the node server to be updated is input in the update address, a management server generates a configuration file update instruction according to the configuration update operation and the update file, and the configuration file update instruction is sent to the node server according to the input IP address of the node server to be updated, so that the configuration update operation is carried out, and the node server synchronously updates the Logstash configuration file through update monitoring according to the configuration file update instruction.
S109: and if receiving a configuration file updating instruction which is sent by the management server and contains an updating file, the node server uses the updating file to synchronously update the Logstash configuration file.
In the embodiment of the method, if a node server receives a configuration file updating instruction which is sent by a management server and contains an updating file, the logstack configuration file is automatically updated synchronously according to the updating file, the synchronous updating can be carried out in a nanosecond updating or dynamic loading updating mode without restarting the node server or an application program, the nanosecond updating is to complete the updating of the logstack configuration file in the node server within nanosecond-level time, the updating operation is completed within short time without influencing the work of a log collection system, the dynamic loading updating is to load the updating file into a memory in the running process of the logstack log collection system, and the updating operation of a historical configuration file is executed, so that the log collection system can run normally, and the instability of a cluster system caused by restarting the node server is avoided.
S110: and the node server sends the updated state information to the management server.
In the embodiment of the method, after the node server synchronously updates the logstack configuration file through updating monitoring according to the configuration file updating instruction, corresponding updating state information is generated and returned to the management server, and the updating state information comprises identification information of the node server, the execution result of the configuration file updating instruction and the version information of the updated configuration file.
S111: and the management server receives the updated state information returned by the node server.
Specifically, the management server receives the updated state information returned by the node server through the HTTP protocol and the TCP protocol.
S112: the management server outputs the updated state information to the management client.
In the embodiment of the method, the management server outputs the update state information to the management client, analyzes the returned update state information, and if the execution of the update instruction of the configuration file fails or the version information of the updated configuration text is not in accordance with the version information of the sent update file, the management server marks and prompts the situation, and related personnel perform maintenance processing according to the identification information of the corresponding node server.
In the embodiment corresponding to fig. 1, a heartbeat packet is sent to a management server at regular time by deploying and starting the update monitoring of the logstack configuration file in the node server by using an epoll model, and meanwhile, a management client is established in the management server, receives the heartbeat packet sent by the node server, and starts the heartbeat monitoring of the node server, so that the management client can perform unified management on the node server. And if the management operation of the user at the management client is detected, generating a corresponding cluster management instruction and sending the cluster management instruction to the node server, and the node server receives the cluster management instruction sent by the management server and performs cluster management. And if the configuration updating operation of the user at the management client is detected, generating a configuration file updating instruction and sending the configuration file updating instruction to the node server, so that the node server synchronously updates the Logstash configuration file through updating monitoring according to the configuration file updating instruction, sends the updating state information to the management server to establish the management client, and outputs the updating state information to the management client. By deploying and starting the updating monitoring of the Logstash configuration file by using the epoll model, when the Logstash configuration file needs to be updated, the synchronous online updating of the Logstash configuration file can be directly completed through the deployed updating monitoring, and a node server does not need to be restarted, so that the loss caused by untimely or missing log file collection caused by restarting is avoided, human resources are saved, and the updating efficiency of the Logstash configuration file and the accuracy of log collection are improved.
Next, based on the corresponding embodiment in fig. 1, a specific embodiment is used to deploy and start the update monitoring on the logstack configuration file for the node server mentioned in step S101 by using an epoll model.
Referring to fig. 2, fig. 2 shows a specific implementation flow of a node server deploying and starting update monitoring on a logstack configuration file by using an epoll model, which is detailed as follows:
s201: the node server creates an epoll file descriptor.
In the embodiment of the method, the node server receives the update monitoring of the logstack configuration file, the update monitoring is designed by using an epoll model, and a large batch of handles can be processed, so that a process can process events of a plurality of connecting ends, wherein the handle is an identifier and is a unique integer for identifying the events established or used by the update monitoring.
Specifically, after installation deployment and update monitoring are started, an epoll handle is created by using an epoll _ create () function provided by an epoll model, and the function returns a corresponding epoll file descriptor, where the file descriptor is a non-negative integer and is used for accessing or creating a file, and the epoll file descriptor is used for processing an event by the update monitoring.
S202: and if the node server detects that one or more events are connected to the network connection port, setting the event processing thread to be in a non-blocking state, and registering the events in the epoll file descriptor for processing.
In the embodiment of the method, if one or more event connections are detected at a network connection port, an event processing thread is set to be in a non-blocking state, a corresponding file descriptor is created according to the event, an epoll _ ctl () function provided by an epoll model is called to register the created file descriptor in the epoll file descriptor for event processing, the event processing specifically comprises event processing such as registering the event, modifying the event, deleting the event and performing read-write operation on the event, if the event processing is successful, an event processing success instruction is returned, otherwise, an event processing failure instruction is returned.
S203: and the node server monitors the processing state information of the event, and sets the event processing thread to be in a blocking state if detecting that the network connection port is in an idle state.
Specifically, an epoll _ wait () function provided by an epoll model is called to monitor Processing state information of all events registered in a file descriptor, a Processing state of an Input/Output (I/O) event is polled based on the events registered in the file descriptor, if an event Processing success instruction or an event Processing failure instruction returned by the epoll _ ctl () function is monitored, state information of all event Processing is traversed, when all event Processing is completed, a network connection port is confirmed to be in an idle state, an event Processing thread is set to be in a blocking state, idle resources are subjected to data information such as handle closing, monitoring process closing, event Processing thread closing and message queue closing, and Central Processing Unit (CPU) destruction resources are released.
In the embodiment corresponding to fig. 2, an epoll file descriptor is created by designing update monitoring using an epoll model, and if it is detected that one or more events are connected at a network connection port, an event processing thread is set to a non-blocking state, a corresponding file descriptor is created according to the events, and the created file descriptor is registered in the epoll file descriptor for event processing, so that a process can be supported to open a large number of file descriptors, and the I/O efficiency for processing data does not decrease linearly with the increase of the number of file descriptors, an I/O event is polled based on the registered event, the processing state information of the event is monitored, the complexity of data transmission processing is greatly reduced, and a connection end in an idle state is set to a blocking state, and the idle resource is monitored, thereby saving CPU resource destruction.
Based on the embodiment corresponding to fig. 1, a detailed description is given below of a specific implementation method for the management server mentioned in step S104 to receive the heartbeat packet sent by the node server and start heartbeat monitoring on the node server according to the heartbeat packet.
Referring to fig. 3, fig. 3 shows a specific implementation process of receiving, by a management server, a heartbeat packet sent by a node server and starting heartbeat monitoring on the node server according to the heartbeat packet, which is detailed as follows:
s301: if the management server receives a heartbeat packet which is sent by the node server and contains the IP address of the node server and the version information of the Logstash configuration file, the state of the node server corresponding to the IP address is determined to be a survival state, updating result information is determined according to the version information, and the IP address, the version information and the updating result information are correspondingly stored as updating state information.
In the embodiment of the method, if a management server receives a heartbeat packet which is sent by a node server and contains the IP address of the node server and the version information of the Logstash configuration file, the management server determines that the state of the node server corresponding to the IP address is a survival state and the link state of a network connection port is normal, determines the updating result information according to the version information, correspondingly stores the IP address, the version information and the updating result information as the updating state information, and simultaneously starts heartbeat monitoring of the node server and monitors the state information of the node server.
S302: and if the management server does not receive the heartbeat packet within a preset time interval, performing problem repair on the node server corresponding to the IP address according to the IP address.
In the embodiment of the method, if the management server does not receive the heartbeat packet within a preset time interval, the heartbeat monitoring acquires the IP address, the installation path and the version information of the node server, outputs the information to the management client or the communication address of the relevant operation and maintenance personnel, and repairs the problem of the node server corresponding to the IP address according to the IP address, wherein the preset time interval can be four times of the sending time interval of the heartbeat packet, can also be set according to the requirement of practical application, and is not limited here.
Specifically, the management server may send a reverse heartbeat packet to determine the cause of the abnormal problem, such as that a link of a network connection port is disconnected or the link is disconnected for a short time due to communication interference, or an operation and maintenance person may detect the cause of the abnormal problem according to the corresponding IP address, such as whether the abnormal problem occurs due to the stop of the logstack or the shutdown of the node server, and timely handle the related abnormal problem occurring on the corresponding node server.
In the embodiment corresponding to fig. 3, by receiving the heartbeat packet sent by the node server, analyzing the heartbeat packet to obtain the IP address and version information of the corresponding node server, starting heartbeat monitoring on the node server, determining the survival state of the node server, and outputting and solving the problem in time if the problem occurs, the network connection port of the node server and the management server can keep a normal link state, thereby avoiding the update failure caused by the link interruption when the update is needed, and updating the configuration file in time.
Based on the embodiment corresponding to fig. 1, a specific implementation method that, if the management server mentioned in step S108 detects a configuration update operation of a user at the management client, generates a configuration file update instruction according to the configuration update operation, and sends the configuration file update instruction to the node server is described in detail below by using a specific embodiment.
Referring to fig. 4, fig. 4 shows a specific implementation flow of generating a configuration file update instruction according to a configuration update operation and sending the configuration file update instruction to a node server if the management server detects the configuration update operation of a user at a management client, which is detailed as follows:
s401: and the management server receives the update file input by the user at the management client.
In the embodiment of the method, an administrator can edit the configuration file on line at the management client, or can directly upload the configured update file to the management client, and the management server receives the update file input by the user at the management client, specifically, the update file includes the configured configuration file content and the version information of the configured configuration file.
S402: and the management server sets an updating task according to the updating file, wherein the updating task comprises the identification information of the node server, the synchronous updating time and the updating file.
In the embodiment of the method, after the management server receives the update file, a user can flexibly set an update task, the update task comprises identification information of the node server, synchronous update time and the update file, the identification information of the node server can be specifically an IP address of the node server, the synchronous update time can be immediately synchronous update, or can be updated at a specified time point through a server command, and specifically can be set according to service log information which needs to be collected, and the method is not limited here, so that the user can update the configuration file of logstack in the specified time for the specified server.
S403: and when the synchronous updating time is reached, the management server sends a configuration file updating instruction containing an updating file to the node server according to the identification information.
Specifically, when the synchronous updating time is reached, the management server sends a configuration file updating instruction containing an updating file to the node server through the HTTP protocol and the TCP protocol according to the identification information.
In the embodiment corresponding to fig. 4, the management server receives the update file input by the user at the management client, and can flexibly set an update task according to the update file, update the configuration file of logstack in the specified time for the specified server, and when the synchronous update time is reached, send the configuration file update instruction containing the update file to the node server according to the identification information, perform synchronous update, avoid the situation of human error caused by modifying the configuration files of logstack in the node server one by one in a manual modification mode, and improve the update efficiency of the logstack configuration file.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example 2
Corresponding to the profile updating method in embodiment 1, fig. 5 shows a profile updating apparatus in one-to-one correspondence with the profile updating method provided in embodiment 1, the profile updating apparatus including a node server and a management server. For convenience of explanation, only portions related to the embodiments of the present invention are shown.
As shown in fig. 5, the node server of the configuration file updating apparatus includes an update monitoring deployment module 110, a heartbeat information sending module 120, a management instruction processing module 130, a configuration file updating module 140, and an update status sending module 150. The detailed description of each functional module is as follows:
an update monitoring deployment module 110, configured to deploy and start update monitoring on the logstack configuration file by using an epoll model;
a heartbeat information sending module 120, configured to send a heartbeat packet to the management server at regular time;
a management instruction processing module 130, configured to receive a cluster management instruction sent by the management server, and perform cluster management according to the cluster management instruction;
a configuration file updating module 140, configured to, if a configuration file updating instruction including an update file sent by the management server is received, perform synchronous updating on the logstack configuration file by using the update file;
and an update status sending module 150, configured to send the update status information to the management server.
Further, the update monitoring deployment module 110 includes:
an identifier creating sub-module 111, configured to create an epoll file descriptor;
the event processing sub-module 112 is configured to set an event processing thread to a non-blocking state and register an event in the epoll file descriptor for processing if it is detected that one or more events are connected to the network connection port;
the event monitoring sub-module 113 is configured to monitor processing state information of an event, and set an event processing thread in a blocking state if it is detected that the network connection port is in an idle state.
Referring to fig. 5, as shown in fig. 5, the management server of the configuration file updating apparatus includes a client establishing module 210, a heartbeat information receiving module 220, a management instruction generating module 230, a management instruction sending module 240, a configuration file sending module 250, an update state receiving module 260, and an update state outputting module 270. The detailed description of each functional module is as follows:
a client establishing module 210, configured to establish a management client;
the heartbeat information receiving module 220 is configured to receive a heartbeat packet sent by the node server, and start heartbeat monitoring on the node server according to the heartbeat packet;
a management instruction generating module 230, configured to generate a corresponding cluster management instruction according to a management operation of a user at a management client if the management operation is detected;
a management instruction sending module 240, configured to send a cluster management instruction to a node server;
a configuration file sending module 250, configured to generate a configuration file updating instruction according to the configuration updating operation if the configuration updating operation of the user at the management client is detected, and send the configuration file updating instruction to the node server, so that the node server synchronously updates the logstack configuration file according to the configuration file updating instruction, where the configuration file updating instruction includes an update file;
an update status receiving module 260, configured to receive update status information returned by the node server;
and an update status output module 270, configured to output the update status information to the management client.
Further, the heartbeat information receiving module 220 includes:
the information analysis sub-module 221 is configured to determine, if a heartbeat packet containing the IP address of the node server and the version information of the logstack configuration file sent by the node server is received, that the state of the node server corresponding to the IP address is a survival state, determine update result information according to the version information, and correspondingly store the IP address, the version information, and the update result information as update state information;
and the problem repairing submodule 222 is configured to, if the heartbeat packet is not received within a preset time interval, perform problem repairing on the node server corresponding to the IP address according to the IP address.
Further, the configuration file sending module 250 includes:
an update file receiving submodule 251, configured to receive an update file input by a user at a management client;
the update task setting submodule 252 is configured to set an update task according to the update file, where the update task includes identification information of the node server, synchronous update time, and the update file;
and the update instruction sending submodule 253 is configured to send a configuration file update instruction containing an update file to the node server according to the identification information when the synchronous update time is reached.
The process of implementing each function by each module in the configuration file updating apparatus provided in this embodiment may specifically refer to the description in embodiment 1, and is not described herein again.
Example 3
The present embodiment provides a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the profile updating method in embodiment 1, or that, when executed by a processor, implements the functions of the modules in the profile updating apparatus in embodiment 2. To avoid repetition, further description is omitted here.
It is to be understood that the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and the like.
Example 4
Fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 6, the terminal device 6 of this embodiment includes: a processor 61, a memory 62 and a computer program 63 stored in the memory 62 and executable on the processor 61. The processor 61 implements the steps of the profile updating method in embodiment 1 described above, such as steps S101 to S112 shown in fig. 1, when executing the computer program 63. Alternatively, the processor 61 implements the functions of the respective modules of the profile updating apparatus in the above-described embodiment 2, such as the functions of the modules 110 to 150 of the node server shown in fig. 5 and the functions of the modules 210 to 270 of the management server, when executing the computer program 63.
Illustratively, the computer program 63 may be divided into one or more modules, which are stored in the memory 62 and executed by the processor 61 to accomplish the present invention. One or more of the modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 63 in the terminal device 6. For example, the computer program 63 may be divided into an update monitoring deployment module, a heartbeat information transmission module, a management instruction processing module, a configuration file update module, and an update state transmission module, and the computer program 63 may be further divided into a client establishing module, a heartbeat information reception module, a management instruction generation module, a management instruction transmission module, a configuration file transmission module, an update state reception module, and an update state output module. The specific functions of each module are as shown in embodiment 2, and are not described herein again to avoid repetition.
The terminal device 6 may be a computing device such as a desktop computer, a notebook, a palm computer, and a cloud server. Terminal equipment 6 may include, but is not limited to, a processor 61, memory 62, and computer programs 63. Those skilled in the art will appreciate that fig. 6 is merely an example of a terminal device 6 and does not constitute a limitation of terminal device 6 and may include more or less components than those shown, or combine certain components, or different components, e.g., terminal device 6 may also include input-output devices, network access devices, buses, etc.
The Processor 61 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 62 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 62 may also be an external storage device of the terminal device 6, such as a plug-in hard disk provided on the terminal device 6, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 62 may also include both an internal storage unit of the terminal device 6 and an external storage device. The memory 62 is used for storing computer programs and other programs and data required by the terminal device 6. The memory 62 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein.

Claims (9)

1. A method for updating a configuration file, the method comprising the following steps performed by a node server:
deploying and starting updating monitoring on the Logstash configuration file by using an epoll model;
sending heartbeat packets to a management server at regular time;
receiving a cluster management instruction sent by the management server, and carrying out cluster management according to the cluster management instruction;
if a configuration file updating instruction containing an updating file sent by the management server is received, the logstack configuration file is synchronously updated by using the updating file;
sending the updated state information to the management server;
if the management server receives a heartbeat packet which is sent by the node server and contains the IP address of the node server and the version information of the Logstash configuration file, the management server determines that the state of the node server corresponding to the IP address is a survival state, determines updating result information according to the version information, and correspondingly stores the IP address, the version information and the updating result information as the updating state information;
and if the management server does not receive the heartbeat packet within a preset time interval, the management server performs problem repair on the node server corresponding to the IP address according to the IP address.
2. The profile update method of claim 1, wherein deploying and initiating update monitoring of the logstack profile using the epoll model comprises:
creating epoll file descriptors;
if one or more events are detected to be connected to the network connection port, setting an event processing thread to be in a non-blocking state, and registering the events to the epoll file descriptor for processing;
monitoring the processing state information of the event, and setting the event processing thread to be in a blocking state if the network connection port is detected to be in an idle state.
3. A method for updating a configuration file, the method comprising the following steps performed by a management server:
establishing a management client;
receiving a heartbeat packet sent by a node server, and starting heartbeat monitoring on the node server according to the heartbeat packet;
if the management operation of the user on the management client is detected, generating a corresponding cluster management instruction according to the management operation;
sending the cluster management instruction to the node server;
if the configuration updating operation of the user on the management client side is detected, generating a configuration file updating instruction according to the configuration updating operation, and sending the configuration file updating instruction to a node server so that the node server synchronously updates the logstack configuration file according to the configuration file updating instruction, wherein the configuration file updating instruction comprises an updating file;
receiving the updated state information returned by the node server;
outputting the update status information to the management client;
the starting of heartbeat monitoring on the node server according to the heartbeat packet includes:
if a heartbeat packet which is sent by a node server and contains the IP address of the node server and the version information of the Logstash configuration file is received, determining that the state of the node server corresponding to the IP address is a survival state, determining updating result information according to the version information, and correspondingly storing the IP address, the version information and the updating result information as the updating state information;
and if the heartbeat packet is not received within a preset time interval, performing problem repair on the node server corresponding to the IP address according to the IP address.
4. The method as claimed in claim 3, wherein the step of generating a profile update command according to the configuration update operation and sending the profile update command to the node server if the configuration update operation of the user at the management client is detected comprises:
receiving the update file input by the user at the management client;
setting an updating task according to the updating file, wherein the updating task comprises identification information of the node server, synchronous updating time and the updating file;
and when the synchronous updating time is reached, sending the configuration file updating instruction containing the updating file to the node server according to the identification information.
5. A profile updating apparatus, comprising a node server, wherein the node server comprises:
the updating monitoring deployment module is used for deploying and starting updating monitoring on the Logstash configuration file by using an epoll model;
the heartbeat information sending module is used for sending heartbeat packets to the management server at regular time;
the management instruction processing module is used for receiving the cluster management instruction sent by the management server and carrying out cluster management according to the cluster management instruction;
a configuration file updating module, configured to, if a configuration file updating instruction including an update file sent by the management server is received, use the update file to perform synchronous updating on the logstack configuration file;
the updating state sending module is used for sending the updating state information to the management server;
if the management server receives a heartbeat packet which is sent by the node server and contains the IP address of the node server and the version information of the Logstash configuration file, the management server determines that the state of the node server corresponding to the IP address is a survival state, determines update result information according to the version information, and correspondingly stores the IP address, the version information and the update result information as the update state information;
and if the management server does not receive the heartbeat packet within a preset time interval, the management server performs problem repair on the node server corresponding to the IP address according to the IP address.
6. The configuration file updating apparatus according to claim 5, wherein the update monitoring deployment module comprises:
the identifier creating submodule is used for creating an epoll file descriptor;
the event processing sub-module is used for setting an event processing thread to be in a non-blocking state and registering the event into the epoll file descriptor for processing if one or more events connected to the network connection port are detected;
and the event monitoring submodule is used for monitoring the processing state information of the event, and setting the event processing thread to be in a blocking state if the network connection port is detected to be in an idle state.
7. A profile updating apparatus, comprising a management server, the management server comprising:
the client establishing module is used for establishing a management client;
the heartbeat information receiving module is used for receiving a heartbeat packet sent by a node server and starting heartbeat monitoring on the node server according to the heartbeat packet;
the management instruction generation module is used for generating a corresponding cluster management instruction according to the management operation if the management operation of the user on the management client is detected;
a management instruction sending module, configured to send the cluster management instruction to the node server;
the update file sending module is used for generating a configuration file update instruction according to the configuration update operation if the configuration update operation of the user on the management client is detected, and sending the configuration file update instruction to a node server so that the node server can synchronously update the logstack configuration file according to the configuration file update instruction, wherein the configuration file update instruction comprises an update file;
the update state receiving module is used for receiving the update state information returned by the node server;
the updating state output module is used for outputting the updating state information to the management client;
the heartbeat information receiving module comprises:
the information analysis submodule is used for determining that the state of the node server corresponding to the IP address is a survival state if a heartbeat packet which is sent by the node server and contains the IP address of the node server and the version information of the Logstash configuration file is received, determining the updating result information according to the version information, and correspondingly storing the IP address, the version information and the updating result information as the updating state information;
and the problem repairing submodule is used for repairing the problem of the node server corresponding to the IP address according to the IP address if the heartbeat packet is not received within the preset time interval.
8. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor when executing the computer program realizes the steps of the profile updating method according to claim 1 or 2, or the processor when executing the computer program realizes the steps of the profile updating method according to any one of claims 3 to 4.
9. A computer-readable storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the profile updating method according to claim 1 or 2, or which computer program, when being executed by a processor, carries out the steps of the profile updating method according to any one of claims 3 to 4.
CN201810437805.0A 2018-05-09 2018-05-09 Configuration file updating method and device, terminal equipment and storage medium Active CN108600029B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810437805.0A CN108600029B (en) 2018-05-09 2018-05-09 Configuration file updating method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810437805.0A CN108600029B (en) 2018-05-09 2018-05-09 Configuration file updating method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108600029A CN108600029A (en) 2018-09-28
CN108600029B true CN108600029B (en) 2022-11-08

Family

ID=63636568

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810437805.0A Active CN108600029B (en) 2018-05-09 2018-05-09 Configuration file updating method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108600029B (en)

Families Citing this family (35)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109582386B (en) * 2018-11-09 2022-02-25 聚好看科技股份有限公司 Service starting processing method and device, electronic equipment and readable storage medium
CN111221547B (en) * 2018-11-23 2023-09-05 义乌市建设投资集团有限公司 Client update progress monitoring method, storage medium, electronic device and system
CN109766235A (en) * 2018-12-13 2019-05-17 深圳壹账通智能科技有限公司 Configuration file detection method, system, equipment and medium based on software supervision
CN109412873B (en) * 2018-12-20 2022-06-03 中国移动通信集团江苏有限公司 Configuration updating method and device, terminal equipment and computer storage medium
WO2020132870A1 (en) * 2018-12-25 2020-07-02 深圳辰锐软件开发有限公司 File update method, file update apparatus and terminal device
CN109783173B (en) * 2019-01-10 2022-04-19 北京北信源软件股份有限公司 Client-oriented multi-server fast switching management method
CN110098960B (en) * 2019-04-24 2022-07-08 苏州浪潮智能科技有限公司 Secret-free automatic configuration method and device for distributed block storage system
CN110309106A (en) * 2019-05-27 2019-10-08 深圳市好成绩网络科技有限公司 Method, apparatus, electronic equipment and the computer storage medium that file updates
CN110244987A (en) * 2019-06-18 2019-09-17 腾讯科技(深圳)有限公司 Configuration data processing method, device, readable storage medium storing program for executing and computer equipment
CN110445835B (en) * 2019-07-03 2023-04-07 平安科技(深圳)有限公司 Redis server connection method, device, computer equipment and storage medium
CN110417870B (en) * 2019-07-05 2022-05-13 北京达佳互联信息技术有限公司 Configuration file management method, device, equipment and storage medium
CN110489391B (en) * 2019-07-25 2022-06-28 深圳壹账通智能科技有限公司 Data processing method and related equipment
CN110597520A (en) * 2019-08-27 2019-12-20 深圳证券交易所 Server, deployment method thereof and computer-readable storage medium
CN110865835A (en) * 2019-10-15 2020-03-06 网联清算有限公司 Configuration file updating method and device, computer equipment and storage medium
CN111147542A (en) * 2019-11-24 2020-05-12 浪潮电子信息产业股份有限公司 Secret-free access setting method, device, equipment and medium
CN111142964A (en) * 2019-12-16 2020-05-12 苏宁云计算有限公司 Loading method and system of configuration file information
CN111193622B (en) * 2019-12-30 2021-11-09 浪潮电子信息产业股份有限公司 Asymmetric configuration management method, device and equipment and readable storage medium
CN111343267B (en) * 2020-02-24 2022-08-12 深圳木成林科技有限公司 Configuration management method and system
CN111381932B (en) * 2020-03-06 2024-03-22 咪咕文化科技有限公司 Method, device, electronic equipment and storage medium for triggering application program change
CN111698283B (en) * 2020-04-29 2024-04-05 中国平安财产保险股份有限公司 Management and control method, device, equipment and storage medium of distributed cluster host
CN112087337A (en) * 2020-09-11 2020-12-15 浪潮思科网络科技有限公司 Switch configuration method and switch configuration system
CN114285744A (en) * 2020-09-17 2022-04-05 北京金山云网络技术有限公司 Configuration information updating method, device, server and storage medium
CN112231010B (en) * 2020-09-28 2023-06-06 四川新网银行股份有限公司 Method for managing and dynamically updating application configuration information based on OSGI (open service gateway initiative) specification
CN112256403A (en) * 2020-11-11 2021-01-22 网易(杭州)网络有限公司 Internal server deployment method, device, framework, medium and equipment
CN112182590A (en) * 2020-11-16 2021-01-05 中国银联股份有限公司 Vulnerability updating method and device for Web application
CN112507267B (en) * 2020-12-03 2023-01-20 上海哔哩哔哩科技有限公司 User preference setting synchronization method, system, device and readable storage medium
CN112688811B (en) * 2020-12-22 2023-03-24 北京天融信网络安全技术有限公司 Wireless local area network management method, device, equipment and storage medium
CN113010229A (en) * 2021-03-25 2021-06-22 中国电子科技集团公司第二十九研究所 Distributed heterogeneous software cluster configuration management framework
CN112732412B (en) * 2021-04-06 2021-08-03 浙江华创视讯科技有限公司 Service configuration file processing method and device, storage medium and electronic equipment
CN113204378A (en) * 2021-04-21 2021-08-03 深圳市广和通无线股份有限公司 Configuration file state synchronization method, device, terminal, server and storage medium
CN113438122B (en) * 2021-05-14 2022-05-17 济南浪潮数据技术有限公司 Heartbeat management method and device for server, computer equipment and medium
CN113630729B (en) * 2021-10-13 2022-02-22 广州市玄武无线科技股份有限公司 Intelligent 5G message transmission system
CN114371888A (en) * 2022-01-14 2022-04-19 中国电信股份有限公司 Method and device for hot updating of log collection plug-in, electronic equipment and readable medium
CN114785767A (en) * 2022-03-17 2022-07-22 中国电信集团工会上海市委员会 Method and system for connecting TDengine without installing client
CN114785686A (en) * 2022-04-22 2022-07-22 北京金山云网络技术有限公司 Configuration updating method and device and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867837A (en) * 2015-12-02 2016-08-17 乐视体育文化产业发展(北京)有限公司 Method, equipment and system for updating configurations of clients in distributed high-speed cache systems
CN106254236A (en) * 2016-08-05 2016-12-21 成都广达新网科技股份有限公司 A kind of multiserver slave method of work based on TCP event
CN106254179B (en) * 2016-08-05 2020-07-24 深圳先进技术研究院 Heartbeat packet asynchronous control method and device
CN106325930A (en) * 2016-08-23 2017-01-11 北京百度网讯科技有限公司 Method and device for notifying change of configuration files
CN106855888B (en) * 2016-12-29 2020-12-22 北京车智赢科技有限公司 Log monitoring system based on Logstash distributed system
CN107465714B (en) * 2017-01-23 2021-01-01 北京思特奇信息技术股份有限公司 Dynamic configuration data updating system and method based on application cluster
CN107908708A (en) * 2017-11-09 2018-04-13 北京锐安科技有限公司 A kind of method, system, equipment and the storage medium of group document synchronization

Also Published As

Publication number Publication date
CN108600029A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
CN108600029B (en) Configuration file updating method and device, terminal equipment and storage medium
CN108549580B (en) Method for automatically deploying Kubernets slave nodes and terminal equipment
CN109634728B (en) Job scheduling method and device, terminal equipment and readable storage medium
US9602599B2 (en) Coordinating application migration processes
US8640096B2 (en) Configuration of componentized software applications
WO2021203979A1 (en) Operation and maintenance processing method and apparatus, and computer device
US20230370500A1 (en) Distributed interface for data capture from multiple sources
CN105099739A (en) Plug-in type software deployment method and apparatus, and application server
CN111698283B (en) Management and control method, device, equipment and storage medium of distributed cluster host
CN110851320A (en) Server downtime supervision method, system, terminal and storage medium
CN111026602A (en) Health inspection scheduling management method and device of cloud platform and electronic equipment
US20090037984A1 (en) Automated password tool and method of use
CN106406980B (en) A kind of dispositions method and device of virtual machine
CN110851471A (en) Distributed log data processing method, device and system
CN112527484A (en) Workflow breakpoint continuous running method and device, computer equipment and readable storage medium
CN111651320A (en) High-concurrency connection method and system
CN111142929A (en) Firmware configuration method, device, equipment and medium in equipment production process
US8380729B2 (en) Systems and methods for first data capture through generic message monitoring
CN112241332B (en) Interface compensation method and device
CN114153668A (en) Automatic testing method and device, electronic equipment and storage medium
CN105765908B (en) A kind of multi-site automatic update method, client and system
CN112003727A (en) Multi-node server power supply testing method, system, terminal and storage medium
CN112749948A (en) Information processing method and device for project management
CN113032054A (en) Service execution method, device, storage medium and electronic device
US8661296B2 (en) Dynamic data store for failed jobs in a systems complex

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