CN109413162A - A kind of UDP based on distributed storage reports service control method and system - Google Patents

A kind of UDP based on distributed storage reports service control method and system Download PDF

Info

Publication number
CN109413162A
CN109413162A CN201811166213.6A CN201811166213A CN109413162A CN 109413162 A CN109413162 A CN 109413162A CN 201811166213 A CN201811166213 A CN 201811166213A CN 109413162 A CN109413162 A CN 109413162A
Authority
CN
China
Prior art keywords
script
udp
node
disk
distributed storage
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
Application number
CN201811166213.6A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811166213.6A priority Critical patent/CN109413162A/en
Publication of CN109413162A publication Critical patent/CN109413162A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • 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
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1044Group management mechanisms 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/164Adaptation or special uses of UDP protocol

Abstract

The present invention relates to a kind of UDP based on distributed storage to report service control method and system, comprising the following steps: S1: will test script and activation script is put under node/path icfs/plugins/monitor;S2: installation detection script and activation script are executed under all nodes;S3: after the completion of all node upgradings, one of node is selected, UDP is set by taking inspur01 as an example and receives client information, order example: icfs-check-hardware--ip 188.188.0.51--port 3333--time 30;Ip is receiving end IP address;Port is receiving end listening port;Time is to send udp message interval time;Receiving end IP, port, interval time can be modified according to the actual situation.

Description

A kind of UDP based on distributed storage reports service control method and system
Technical field
Service technology field is reported the invention belongs to distributed memory system, and in particular to one kind is based on distributed storage UDP report service control method and system.
Background technique
UDP(User Data Protocol, User Datagram Protocol) it is agreement corresponding with TCP.It is towards non- The agreement of connection, source and terminal do not establish connection before transmitting data, just go crawl from program application when it thinks transmission Data.
In transmitting terminal, the speed that UDP transmits data is only that speed, the ability of computer of data are generated by application program With the limitation of transmission bandwidth;In receiving end, UDP is put each message section in the queue, and application program reads one from queue every time A message section.
Since it is not belonging to connecting-type agreement, thus have resource consumption small, the fast advantage of processing speed, so answering extensively For in multimedia application, such as video, the Internet phone software product etc..These characteristics based on UDP, can be UDP Reporting functions be applied to distributed storage in report disk, network card status of cluster etc., can be with timing receipt by receiving end Collect the information such as disk and the network card status of group terminal, break down or can inform administrative staff when there is exception in time, reduces Loss discovers problems and solve them.
In view of this, present invention offer designs a kind of UDP based on distributed storage and reports service control method and system; To realize remotely monitoring, it is detached from computer room, mitigates administrative staff's burden, improved computer lab management level, reduce maintenance cost.
Summary of the invention
It is an object of the present invention to be deposited in view of the above-mentioned drawbacks of the prior art, providing and designing one kind based on distribution The UDP of storage reports service control method and system, to solve the above technical problems.
To achieve the above object, the present invention provides following technical scheme:
A kind of UDP based on distributed storage reports service control method, which comprises the following steps:
S1: will test script and activation script is put under node/path icfs/plugins/monitor;
S2: installation detection script and activation script are executed under all nodes;
S3: after the completion of all node upgradings, selecting one of node, and UDP is arranged by taking inspur01 as an example and receives client information, order Example: icfs-check-hardware -- ip 188.188.0.51 -- port 3333 -- time 30;
Ip is receiving end IP address;Port is receiving end listening port;Time is to send udp message interval time;
Receiving end IP, port, interval time can be modified according to the actual situation, and wherein ip need to follow validity, port number 0 Otherwise < port < 65536,0 < time < 3600 then export ip or port format error(ip or port number mistake).
Preferably, in the step S1, the health status (Heath, sos) of detection script detection cluster disk, in detail Information, position, disk sum and slot state (empty slot (disk out) is either inserted into disk (disk in)); Network interface card title, network card status and groove position where network interface card are detected simultaneously, and the above results are saved into specified file, and Message form in the form of xml is exported;
Define corresponding UDP open, close, the order of state and background operation state at this time, collecting for staff Group terminal carries out inquiry understanding to the real time execution situation of UDP.
Preferably, activation script will test script and be copied in specified file, and will test in the step S1 Script, which assigns, executes permission, then sets booting from opening for the function, upgrades to cluster;Script can appointing in cluster The operation of one node, and support the modification of the IP of the receiving end UDP, port numbers and transmission time interval.
A kind of UDP based on distributed storage reports operation control system characterized by comprising
Script storage module, will test script and activation script is put under node/path icfs/plugins/monitor;
Installation script module is executed, installation detection script and activation script are executed under all nodes;
The receiving end UDP information module is arranged to select one of node after the completion of all node upgradings, set by taking inspur01 as an example It sets UDP and receives client information, order example: icfs-check-hardware -- ip 188.188.0.51 -- port 3333 -- time 30;
Ip is receiving end IP address;Port is receiving end listening port;Time is to send udp message interval time.
Preferably, in the script storage module, the health status of detection script detection cluster disk (Heath, Sos), (empty slot (disk out) is either inserted into disk for details, position, disk sum and slot state (disk in));Network interface card title, network card status and groove position where network interface card are detected simultaneously, and the above results are saved to finger Determine in file, and the message form in the form of xml is exported;
Define corresponding UDP open, close, the order of state and background operation state at this time, collecting for staff Group terminal carries out inquiry understanding to the real time execution situation of UDP.
Preferably, activation script will test script and be copied in specified file in the script storage module, and It will test script and assign execution permission, then set booting from opening for the function, cluster is upgraded;Script can collect Any one node operation of group, and support the modification of the IP of the receiving end UDP, port numbers and transmission time interval.
In the technical program,
Script realizes querying command, inputs following order line in collection group terminal and is inquired:
Icfs-check-hardware -- udp on opens udp service;
Icfs-check-hardware -- udp off closes udp service;
Icfs-check-hardware -- udp status inquires udp state (running(operation) or off(stops));
Icfs-check-hardware -- udp deamon inquires udp service in running background situation.
The beneficial effects of the present invention are, receiving end can timing receipt disk, network card status, can find the problem, subtract in time Few loss;Script automation, can save a lot of manpower and time, promote working efficiency;Receiving end remotely monitors, and mitigates management Personnel's burden, reduces maintenance cost;The script can be applied in any distributed storage cluster network, and script peace is uploaded when needing Dress, it is convenient and simple, it installs on demand.
In addition, design principle of the present invention is reliable, structure is simple, has very extensive application prospect.
It can be seen that compared with prior art, the present invention have substantive distinguishing features outstanding and it is significant ground it is progressive, implementation Beneficial effect be also obvious.
Detailed description of the invention
Fig. 1 is the flow chart that a kind of UDP based on distributed storage provided by the invention reports service control method.
Fig. 2 is the functional block diagram that a kind of UDP based on distributed storage provided by the invention reports operation control system.
Specific embodiment
The present invention will be described in detail with reference to the accompanying drawing and by specific embodiment, and following embodiment is to the present invention Explanation, and the invention is not limited to following implementation.
Embodiment 1:
As shown in Figure 1, a kind of UDP based on distributed storage provided by the invention reports service control method, which is characterized in that The following steps are included:
S1: will test script and activation script is put under node/path icfs/plugins/monitor;
S2: installation detection script and activation script are executed under all nodes;
S3: after the completion of all node upgradings, selecting one of node, and UDP is arranged by taking inspur01 as an example and receives client information, order Example: icfs-check-hardware -- ip 188.188.0.51 -- port 3333 -- time 30;
Ip is receiving end IP address;Port is receiving end listening port;Time is to send udp message interval time;
Receiving end IP, port, interval time can be modified according to the actual situation, and wherein ip need to follow validity, port number 0 Otherwise < port < 65536,0 < time < 3600 then export ip or port format error(ip or port number mistake).
In the present embodiment, in the step S1, detection script detection cluster disk health status (Heath, sos), in detail (empty slot (disk out) is either inserted into disk (disk for thin information, position, disk sum and slot state In));Network interface card title, network card status and groove position where network interface card are detected simultaneously, and the above results are saved to specified file In, and the message form in the form of xml is exported;
Define corresponding UDP open, close, the order of state and background operation state at this time, collecting for staff Group terminal carries out inquiry understanding to the real time execution situation of UDP.
In the present embodiment, in the step S1, activation script will test script and be copied in specified file, and will inspection It surveys script and assigns execution permission, then set booting from opening for the function, cluster is upgraded;Script can be in cluster The operation of any one node, and support the modification of the IP of the receiving end UDP, port numbers and transmission time interval.
Embodiment 2:
As shown in Fig. 2, a kind of UDP based on distributed storage provided by the invention reports operation control system, which is characterized in that Include:
Script storage module, will test script and activation script is put under node/path icfs/plugins/monitor;
Installation script module is executed, installation detection script and activation script are executed under all nodes;
The receiving end UDP information module is arranged to select one of node after the completion of all node upgradings, set by taking inspur01 as an example It sets UDP and receives client information, order example: icfs-check-hardware -- ip 188.188.0.51 -- port 3333 -- time 30;
Ip is receiving end IP address;Port is receiving end listening port;Time is to send udp message interval time.
In the present embodiment, in the script storage module, detection script detection cluster disk health status (Heath, Sos), (empty slot (disk out) is either inserted into disk for details, position, disk sum and slot state (disk in));Network interface card title, network card status and groove position where network interface card are detected simultaneously, and the above results are saved to finger Determine in file, and the message form in the form of xml is exported;
Define corresponding UDP open, close, the order of state and background operation state at this time, collecting for staff Group terminal carries out inquiry understanding to the real time execution situation of UDP.
In the present embodiment, in the script storage module, activation script will test script and be copied in specified file, And will test script and assign execution permission, booting then is set from opening by the function, and cluster is upgraded;Script can be Any one node of cluster is run, and supports the modification of the IP of the receiving end UDP, port numbers and transmission time interval.
Disclosed above is only the preferred embodiment of the present invention, but the present invention is not limited to this, any this field What technical staff can think does not have creative variation, and without departing from the principles of the present invention made by several improvement and Retouching, should all be within the scope of the present invention.

Claims (6)

1. a kind of UDP based on distributed storage reports service control method, which comprises the following steps:
S1: will test script and activation script is put under node/path icfs/plugins/monitor;
S2: installation detection script and activation script are executed under all nodes;
S3: after the completion of all node upgradings, one of node is selected, setting UDP receives client information.
2. a kind of UDP based on distributed storage according to claim 1 reports service control method, which is characterized in that In the step S1, the health status of detection script detection cluster disk, details, position, disk are total and slotting Channel-shaped state is either inserted into disk;Groove position where detecting network interface card title, network card status and network interface card simultaneously, and by above-mentioned knot Fruit saves into specified file, and the message form in the form of xml is exported.
3. a kind of UDP based on distributed storage according to claim 2 reports service control method, which is characterized in that In the step S1, activation script will test script and be copied in specified file, and will test script and assign execution permission, Then booting is set from opening by the function, cluster is upgraded.
4. a kind of UDP based on distributed storage reports operation control system characterized by comprising
Script storage module, will test script and activation script is put under node/path icfs/plugins/monitor;
Installation script module is executed, installation detection script and activation script are executed under all nodes;
The receiving end UDP information module is set, after the completion of all node upgradings, selects one of node, the setting receiving end UDP is believed Breath.
5. a kind of UDP based on distributed storage according to claim 4 reports operation control system, which is characterized in that In the script storage module, the health status of detection script detection cluster disk, details, position, disk sum And slot state is either inserted into disk;Network interface card title, network card status and groove position where network interface card are detected simultaneously, and will The above results are saved into specified file, and the message form in the form of xml is exported.
6. a kind of UDP based on distributed storage according to claim 5 reports operation control system, which is characterized in that In the script storage module, activation script will test script and be copied in specified file, and will test script imparting and hold Then row permission sets booting from opening for the function, upgrades to cluster.
CN201811166213.6A 2018-10-08 2018-10-08 A kind of UDP based on distributed storage reports service control method and system Pending CN109413162A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811166213.6A CN109413162A (en) 2018-10-08 2018-10-08 A kind of UDP based on distributed storage reports service control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811166213.6A CN109413162A (en) 2018-10-08 2018-10-08 A kind of UDP based on distributed storage reports service control method and system

Publications (1)

Publication Number Publication Date
CN109413162A true CN109413162A (en) 2019-03-01

Family

ID=65466783

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811166213.6A Pending CN109413162A (en) 2018-10-08 2018-10-08 A kind of UDP based on distributed storage reports service control method and system

Country Status (1)

Country Link
CN (1) CN109413162A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302697A (en) * 2015-11-13 2016-02-03 中国建设银行股份有限公司 Running state monitoring method and system of density data model database
CN105490868A (en) * 2015-11-17 2016-04-13 世纪龙信息网络有限责任公司 Bidirectional synchronous monitoring method and system for remote computer room data
CN105530145A (en) * 2015-12-23 2016-04-27 中国电子科技集团公司第三十研究所 Agentless equipment monitoring network based on ZABBIX framework, networking method and monitoring method
CN107623745A (en) * 2017-10-12 2018-01-23 郑州市景安网络科技股份有限公司 A kind of monitoring method, system and computer-readable recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302697A (en) * 2015-11-13 2016-02-03 中国建设银行股份有限公司 Running state monitoring method and system of density data model database
CN105490868A (en) * 2015-11-17 2016-04-13 世纪龙信息网络有限责任公司 Bidirectional synchronous monitoring method and system for remote computer room data
CN105530145A (en) * 2015-12-23 2016-04-27 中国电子科技集团公司第三十研究所 Agentless equipment monitoring network based on ZABBIX framework, networking method and monitoring method
CN107623745A (en) * 2017-10-12 2018-01-23 郑州市景安网络科技股份有限公司 A kind of monitoring method, system and computer-readable recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胡长春: "基于UDP协议的设备状态监控的实现", 《内蒙古科技与经济》 *

Similar Documents

Publication Publication Date Title
KR102328938B1 (en) Management of log data in electronic systems
CN109144813B (en) System and method for monitoring server node fault of cloud computing system
CN105357273B (en) SOCKET communications and management of process general-purpose platform and method under asynchronous communication model
CN110855493B (en) Application topological graph drawing device for mixed environment
CN104182288A (en) Method for automatically testing power consumption of server cluster system
CN105610983A (en) Distributive network monitoring method and system
CN107800565A (en) Method for inspecting, device, system, computer equipment and storage medium
CN108681488A (en) A kind of platform of internet of things terminal data report method
CN111400127B (en) Service log monitoring method and device, storage medium and computer equipment
CN103546343A (en) Network flow display method and system for network flow analyzing systems
US8140614B2 (en) Distributed computing environment with remote data collection management
CN109271256A (en) A kind of cloud resource management and monitoring system and method based on distributed deployment
CN101741661A (en) Method and apparatus for reconfiguring application services in home network environment
CN102769533A (en) Data processing method and data processing device
CN103326902A (en) Configurable monitoring system and monitoring method for distributed type mainframe performance testing data
CN111158865A (en) Method for realizing multiplexing virtual serial port
CN112180757B (en) Intelligent household system and strategy management method thereof
CN101539765B (en) High-speed acquisition method and system of industrial process data
CN108111578B (en) Method for accessing power distribution terminal data acquisition platform into terminal equipment based on NIO
CN109413162A (en) A kind of UDP based on distributed storage reports service control method and system
CN104714875A (en) Distributed automatic collecting method
CN111278022A (en) Internet of things WiFi module performance test method and system
CN110377478B (en) Agent-based host asset management system
CN106911662B (en) System and method for high-interaction to low-interaction conversion of malicious sample culture
CN112422349B (en) Network management system, method, equipment and medium for NFV

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190301