CN114553660A - Distributed system and operation and maintenance method for efficient operation and maintenance - Google Patents
Distributed system and operation and maintenance method for efficient operation and maintenance Download PDFInfo
- Publication number
- CN114553660A CN114553660A CN202210023236.1A CN202210023236A CN114553660A CN 114553660 A CN114553660 A CN 114553660A CN 202210023236 A CN202210023236 A CN 202210023236A CN 114553660 A CN114553660 A CN 114553660A
- Authority
- CN
- China
- Prior art keywords
- distributed
- maintenance
- module
- commands
- data
- 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.)
- Pending
Links
- 238000012423 maintenance Methods 0.000 title claims abstract description 40
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000010276 construction Methods 0.000 claims description 11
- 230000001360 synchronised effect Effects 0.000 claims description 4
- 238000007689 inspection Methods 0.000 abstract description 6
- 230000002159 abnormal effect Effects 0.000 abstract description 4
- 238000012545 processing Methods 0.000 abstract description 4
- 230000008569 process Effects 0.000 description 4
- 238000009434 installation Methods 0.000 description 3
- 238000004140 cleaning Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 101000643431 Homo sapiens Protein phosphatase Slingshot homolog 2 Proteins 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000003252 repetitive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/04—Network management architectures or arrangements
- H04L41/042—Network management architectures or arrangements comprising distributed management centres cooperatively managing the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0677—Localisation of faults
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a distributed system and an operation and maintenance method for high-efficiency operation and maintenance.A WEB interface login module provides a system login interface and an entrance and provides a server rear-end login interface and an entrance in the system; the back-end storage module is used for storing the information of all the distributed servers at the back end and storing the connection operation linked lists of all the distributed servers; the command constructing and editing module is used for synchronously editing commands in batches or editing commands of a specified server and constructing new operation commands to increase the operation functions of the distributed system; the data output module is used for outputting data, carrying a source IP prefix aiming at the output data, and directly pushing the output data to all the distributed servers in an SSH mode. According to the technical scheme, the abnormal points and the log information of the system can be quickly positioned and checked, the fault processing speed is convenient to improve, professional operation and personalized operation and maintenance management can be performed on different systems, and the daily inspection speed can be accelerated.
Description
Technical Field
The present invention relates to the field of distributed system technologies, and in particular, to a distributed system for efficient operation and maintenance and an efficient operation and maintenance method for the distributed system.
Background
At present, generally, not too many distributed server groups are provided, and operation and maintenance personnel adopt a terminal command line tool to log in one by one to perform command operation when processing services and platform maintenance work, which is time-consuming and repetitive.
At present, a common distributed operation and maintenance system mainly solves the operation and maintenance of related services, mainly focuses on starting and stopping processes, log cleaning, performance space inspection and the like, and has limited supported functions and limited operation space. The function support degree of the line type of the commands which need deep analysis, monitoring, searching, calculation, file operation and the like is not high.
Generally, a special service operation and maintenance system is developed for 10 hosts on a large distributed server, and partial operation and maintenance functions such as log query, routing inspection, cleaning and the like can be realized, but a high-level graphical operation and maintenance system cannot comprehensively cover functional commands of servers such as Linux or Unix, so that the operation and maintenance are inflexible, and sometimes operation and maintenance operation processing has to be performed through command line login.
Disclosure of Invention
Aiming at the problems, the invention provides a distributed system with high efficiency operation and maintenance, which adopts a WEB interface for login, reduces the installation and login process of an SSH tool, accelerates the daily inspection speed, configures any cloud distributed server group in a background, flexibly combines the cloud distributed server group for batch login and operation and maintenance, can quickly locate and find out and investigate abnormal points and log information of the system from the cloud distributed system by carrying a source IP in output data, is convenient for improving the fault processing speed, and can carry out professional operation and personalized operation and maintenance management on different systems by constructing a new operation command in a self-defined way.
In order to achieve the above object, the present invention provides a distributed system with high efficiency, comprising: the system comprises a WEB interface login module, a rear-end storage module, a command construction and editing module and a data output module;
the WEB interface login module provides a system login interface and an entrance and provides a server rear-end login interface and an entrance;
the back-end storage module is used for storing the information of all the distributed servers at the back end and storing the connection operation linked lists of all the distributed servers;
the command construction and editing module is used for synchronously editing commands in batches or editing commands of a specified server and constructing new operation commands to increase the operation functions of the distributed system;
the data output module is used for outputting data, carrying a source IP prefix aiming at the output data and directly pushing the output data to all the distributed servers in an SSH mode.
In the above technical solution, preferably, the command construction and editing module supports all shell commands.
In the above technical solution, preferably, the system login entry provides a login manner based on an IP segment or an IP group, and the server backend login entry provides a login manner based on a command line.
In the above technical solution, preferably, the command constructing and editing module provides a command line input and a command line output data window.
In the above technical solution, preferably, the data output module outputs data in a pull data mode.
The invention also provides an efficient operation and maintenance method of the distributed system, which is applied to the distributed system disclosed by any one of the technical schemes and comprises the following steps:
logging in the distributed system by a WEB interface login module in an IP section or an IP group, and logging in a distributed server group in a command line mode;
storing the information of all the distributed servers at the back end, and storing the connection of all the distributed servers to an operation linked list;
carrying out batch synchronous editing commands on all distributed servers or editing commands on specified distributed servers;
constructing and editing a new operation command according to the operation function requirement of the distributed system;
and directly pushing output data carrying the source IP prefix to all the distributed servers by SSH.
In the above technical solution, preferably, all shell commands are supported for commands edited by the distributed server.
In the above technical solution, preferably, the command is edited in the command line input and command line output data windows, and the data is output in a command line manner.
In the above technical solution, preferably, the output data adopts a pull data mode.
Compared with the prior art, the invention has the following beneficial effects: the method has the advantages that the WEB interface is adopted for logging, the installation and logging processes of SSH tools are reduced, the daily inspection speed is accelerated, any clouded distributed server group is configured in the background, the batch logging and the operation and maintenance are flexibly combined, the source IP is carried in output data, so that abnormal points and log information of the system can be quickly positioned, found out and checked from the clouded distributed system, the fault handling speed is convenient to improve, in addition, a new operation command is constructed by self-definition, and professional operation and personalized operation and maintenance management can be carried out on different systems.
Drawings
FIG. 1 is a block diagram of a distributed system for efficient operation and maintenance according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an efficient operation and maintenance method for a distributed system according to an embodiment of the present invention.
In the drawings, the correspondence between each component and the reference numeral is:
11, a WEB interface login module, 12, a back-end storage module, 13, a command construction and editing module, 14 and a data output module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
The invention is described in further detail below with reference to the attached drawing figures:
as shown in fig. 1 and fig. 2, the distributed system for efficient operation and maintenance provided in accordance with the present invention includes: a WEB interface login module 11, a back-end storage module 12, a command construction and editing module 13 and a data output module 14;
the WEB interface login module 11 provides a system login interface and an entrance and provides a server rear-end login interface and an entrance;
the back-end storage module 12 is used for storing the information of all the distributed servers at the back end and storing the connection operation linked lists of all the distributed servers;
the command construction and editing module 13 is used for synchronously editing commands in batches or editing commands of a specified server and constructing new operation commands to increase the operation functions of the distributed system;
the data output module 14 is configured to output data, carry a source IP prefix for the output data, and directly push the output data to all the distributed servers in SSH.
In the embodiment, a WEB interface is adopted for logging, the installation and logging processes of SSH tools are reduced, the daily inspection speed is accelerated, any cloud distributed server group is configured in a background, batch logging and operation and maintenance are flexibly combined, the source IP is carried in output data, so that abnormal points and log information of the system can be quickly positioned, found out and checked from the cloud distributed system, the fault handling speed is convenient to improve, in addition, a new operation command is constructed by self-definition, and professional operation and personalized operation and maintenance management can be carried out on different systems.
Specifically, in the above embodiment, it is preferable that the system login portal provides an IP segment-based login manner or an IP group-based login manner, so that an operator can quickly log in the server in batches without cumbersome other preparations or repeated operations.
Then, the system stores the information of all distributed servers at the back end, including packet names, IPs, usernames, passwords, SSH ports, and so on.
Then, logging in the distributed server group by adopting a command line type back end logging such as SSH/SSH2 and the like, storing all the connected operation linked lists, wherein the logged WEB front end provides a command line input function and a command line output data window, and the output data adopts a data pulling mode, so that a user feels that the operation is carried out by using a tool similar to SecureCRT.
Because the output data carries the prefix of the source IP, the problem of positioning and data analysis during operation and maintenance are facilitated. The input command defaults to the global SSH linked list to issue the command, and simultaneously supports the IP single-issue command aiming at a certain server, thereby improving the flexible operability.
In the above embodiment, since the command line is directly SSH pushed to all servers, preferably, the command construction and editing module supports all shell commands in principle, which greatly improves operation and maintenance flexibility and convenience.
The batch synchronous editing mode can be separately supported or the server editing mode can be specified for partial editing type commands such as vi \ crontab-e and the like.
In order to increase the operability of the operation and maintenance operation distributed system, a new command function, for example, difffile 10.105.2.29/offon/app.cfg, may be constructed, which indicates that, in comparison with the contents of/offon/app.cfg files on all servers, information of file contents differing from the file on other servers is output based on the file of 10.105.2.29 server.
The invention further provides an efficient operation and maintenance method of a distributed system, which is applied to the distributed system disclosed by any one of the above embodiments, and the method comprises the following steps:
logging in a distributed system by a WEB interface login module in an IP section or an IP group, and logging in a distributed server group in a command line mode;
storing the information of all the distributed servers at the back end, and storing the connection of all the distributed servers to an operation linked list;
carrying out batch synchronous editing commands on all distributed servers or editing commands on specified distributed servers;
constructing and editing a new operation command according to the operation function requirement of the distributed system;
and directly pushing output data carrying the source IP prefix to all the distributed servers by SSH.
Specifically, the background system integrates a server group of the distributed cloud system, and the foreground WEB performs one-key login. After the login is completed, preferably, commands such as linux/unix are edited in the command line input and command line output data windows, and data is output in a command line mode.
By inputting a corresponding command, the condition (ping) \ performance condition (vmstat) of the cloud system server and the three-party network can be obtained in batch.
According to the source IP prefix in the output data, the host position of the transaction request log in the distributed system can be quickly positioned.
In the above embodiment, it is preferable that all shell commands are supported for commands edited by the distributed server.
In the above embodiment, preferably, the output data is in a pull data mode.
In the above embodiment, the personalized custom command is executed (difffile main file IP filename), and the file difference on other hosts is compared according to the file of the main file IP, and is often used in scenarios such as configuration file difference comparison.
The above is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes will occur to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (9)
1. A distributed, operation-and-maintenance-efficient system, comprising: the system comprises a WEB interface login module, a rear-end storage module, a command construction and editing module and a data output module;
the WEB interface login module provides a system login interface and an entrance and provides a server rear-end login interface and an entrance;
the back-end storage module is used for storing the information of all the distributed servers at the back end and storing the connection operation linked lists of all the distributed servers;
the command construction and editing module is used for synchronously editing commands in batches or editing commands of a specified server and constructing new operation commands to increase the operation functions of the distributed system;
the data output module is used for outputting data, carrying a source IP prefix aiming at the output data and directly pushing the output data to all the distributed servers in an SSH mode.
2. The distributed operation and maintenance efficient system according to claim 1, wherein the command construction and editing module supports all shell commands.
3. The distributed operation and maintenance efficient system according to claim 1, wherein said system login portal provides login based on IP segments or IP groups, and said server backend login portal provides login based on command lines.
4. The distributed operation and maintenance efficient system according to claim 1, wherein said command construction and editing module provides a command line input and a command line output data window.
5. The distributed operation and maintenance efficient system according to claim 1, wherein the data output module outputs data in a pull data mode.
6. An efficient operation and maintenance method for a distributed system, applied to the distributed system of any one of claims 1 to 5, comprising:
logging in the distributed system by a WEB interface login module in an IP section or an IP group, and logging in a distributed server group in a command line mode;
storing the information of all the distributed servers at the back end, and storing the connection of all the distributed servers to an operation linked list;
carrying out batch synchronous editing commands on all distributed servers or editing commands on specified distributed servers;
constructing and editing a new operation command according to the operation function requirement of the distributed system;
and directly pushing output data carrying the source IP prefix to all the distributed servers by SSH.
7. The method for efficient operation and maintenance of a distributed system according to claim 6, wherein the commands edited for the distributed server support all shell commands.
8. The method of claim 6 or 7, wherein the commands are edited in a command line input and command line output data window, and the data is output in a command line mode.
9. The method for efficient operation and maintenance of a distributed system according to claim 8, wherein the output data is in a pull data mode.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210023236.1A CN114553660A (en) | 2022-01-10 | 2022-01-10 | Distributed system and operation and maintenance method for efficient operation and maintenance |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210023236.1A CN114553660A (en) | 2022-01-10 | 2022-01-10 | Distributed system and operation and maintenance method for efficient operation and maintenance |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114553660A true CN114553660A (en) | 2022-05-27 |
Family
ID=81670348
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210023236.1A Pending CN114553660A (en) | 2022-01-10 | 2022-01-10 | Distributed system and operation and maintenance method for efficient operation and maintenance |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114553660A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532756A (en) * | 2013-10-15 | 2014-01-22 | 上海寰创通信科技股份有限公司 | Command line system and command line operation method based on webmaster system |
CN105337756A (en) * | 2014-08-13 | 2016-02-17 | 中兴通讯股份有限公司 | Centralized operation and maintenance method and device |
CN107193543A (en) * | 2017-03-31 | 2017-09-22 | 北京奇艺世纪科技有限公司 | A kind of batch operation performs method and device |
CN112437047A (en) * | 2020-11-05 | 2021-03-02 | 北京浪潮数据技术有限公司 | Remote server management method, system and related device |
CN113282374A (en) * | 2021-06-25 | 2021-08-20 | 马上消费金融股份有限公司 | Server control method, device and system |
CN113381877A (en) * | 2020-12-24 | 2021-09-10 | 国电南瑞科技股份有限公司 | Operation and maintenance method and system supporting cross-power security access area |
-
2022
- 2022-01-10 CN CN202210023236.1A patent/CN114553660A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103532756A (en) * | 2013-10-15 | 2014-01-22 | 上海寰创通信科技股份有限公司 | Command line system and command line operation method based on webmaster system |
CN105337756A (en) * | 2014-08-13 | 2016-02-17 | 中兴通讯股份有限公司 | Centralized operation and maintenance method and device |
CN107193543A (en) * | 2017-03-31 | 2017-09-22 | 北京奇艺世纪科技有限公司 | A kind of batch operation performs method and device |
CN112437047A (en) * | 2020-11-05 | 2021-03-02 | 北京浪潮数据技术有限公司 | Remote server management method, system and related device |
CN113381877A (en) * | 2020-12-24 | 2021-09-10 | 国电南瑞科技股份有限公司 | Operation and maintenance method and system supporting cross-power security access area |
CN113282374A (en) * | 2021-06-25 | 2021-08-20 | 马上消费金融股份有限公司 | Server control method, device and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112506799B (en) | Business abnormality positioning method and device, electronic equipment, medium and product | |
CN109039788B (en) | Port configuration method and device of network equipment and storage medium | |
CN109039743B (en) | Centralized management method of distributed storage ceph cluster network | |
JP2009169609A (en) | Fault management program, fault management device and fault management method | |
CN105224396A (en) | A kind of business data processing method and device | |
EP2800306A1 (en) | Rule set arrangement processing method and apparatus, and trunking data system | |
CN105243012A (en) | Linux based cluster network performance evaluating method | |
CN111580869A (en) | Data communication method and system based on OPC UA | |
CN114553660A (en) | Distributed system and operation and maintenance method for efficient operation and maintenance | |
EP3905591A1 (en) | Server abnormality processing method and management device | |
WO2016095716A1 (en) | Fault information processing method and related device | |
CN111046007A (en) | Method, apparatus and computer program product for managing a storage system | |
CN110727441A (en) | Method, system and storage medium for installing flash agent | |
CN111522617A (en) | Method and device for maintaining system and electronic equipment | |
CN107193654B (en) | Resource operation method and device of distributed system and distributed system | |
CN112860496A (en) | Fault repair operation recommendation method and device and storage medium | |
CN112671567B (en) | 5G core network topology discovery method and device based on service interface | |
CN113032209B (en) | Operation monitoring method, device, server and medium | |
CN109639476B (en) | Method and device for acquiring information of network card equipment of server | |
CN114090514A (en) | Log retrieval method and device for distributed system | |
US20150142960A1 (en) | Information processing apparatus, information processing method and information processing system | |
CN112579165A (en) | Batch operation execution method and device, readable medium and electronic equipment | |
CN107135284B (en) | Query method and system for terminal equipment in enterprise system | |
CN112436993B (en) | VPN private line discovery method and device based on configuration file analysis | |
CN112383613B (en) | Method and device for managing container cluster system |
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 |