Linux server cluster unified peripheral event monitoring method based on netlink

A technology of server cluster and monitoring method, which is applied in the field of computers, can solve problems such as difficulty in realizing peripheral events, poor customizability of udevd, and no method of monitoring peripheral events in linux server clusters, etc., so that the programming method is simple and easy to implement, and the independence is improved. performance, improve the effect of real-time performance

Active Publication Date: 2014-09-10
汪敏
View PDF5 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, there is no unified peripheral event monitoring method in the linux server cluster in the prior art
[0004] Moreover, for the monitoring of peripheral events inside a single server, it mainly relies on the device file system daemon udevd in user space to collect peripheral events to dynamically change the device node information under the device file system directory / dev, and there is no other It is a separate and independent peripheral event user space receiving program, and the device file system daemon udevd is poorly customizable, and it is difficult to implement a method of uniformly monitoring all important peripheral events in the server cluster by changing the existing udevd daemon

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Linux server cluster unified peripheral event monitoring method based on netlink
  • Linux server cluster unified peripheral event monitoring method based on netlink
  • Linux server cluster unified peripheral event monitoring method based on netlink

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0044] Such as figure 2 As shown, the linux server cluster is divided into two parts. The first part is the monitoring server cluster. In this embodiment, there are two monitoring servers, and the second part is the monitored server.

[0045] For the first part of the monitoring server cluster, the monitoring process will be run. The main function is to send monitoring requests to the monitored server through socket communication, and receive the returned peripheral events of the monitored server, and then present the peripheral events in a unified manner. to the administrator.

[0046] The second part of the monitored server mainly includes two modules: the monitoring process remote service module in the user space and the peripheral event kernel receiving module in the kernel space.

[0047] Wherein, the monitoring process remote service module includes the monitoring process remote service process opened when the monitoring server-side linux operating system starts. When...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a Linux server cluster unified peripheral event monitoring method based on netlink; the method comprises the steps that: after a monitor request from a monitoring server end is received by the service process of a monitored server end, subprocess verification login account information is created to permit a subprocess to open a relevant peripheral event handling process to monitor a specific netlink multicast group and wait for peripheral events sent by a kernel; a peripheral event kernel receiving module receives the peripheral events sent by a device drive, and sends the same to the user space netlink multicast group according to sequence and priority of the events; a peripheral event handling process transmits the received peripheral events to the service process of a monitored server through the subprocess and then transmitted to the monitoring server end through the network, and thereby the purpose of unified monitoring of the peripheral events is finally achieved. The Linux server cluster unified peripheral event monitoring method based on netlink has the advantages that multiple terminals can be simultaneously monitored, peripheral events in the server can be received in a unified and real-time manner, and the programming method is simple and easy to implement.

Description

technical field [0001] The invention relates to the field of computers, in particular to a netlink-based unified peripheral event monitoring method for Linux server clusters. Background technique [0002] In a linux server cluster, there are usually multiple server terminals, and in a large server architecture, many server terminals are distributed in different geographical locations. Peripheral asynchronous events such as events and unapproved external storage device partition mount events lack an effective and real-time remote and unified monitoring method. [0003] At present, there is no unified peripheral event monitoring method within the Linux server cluster in the prior art. [0004] Moreover, for the monitoring of peripheral events inside a single server, it mainly relies on the device file system daemon udevd in user space to collect peripheral events to dynamically change the device node information under the device file system directory / dev, and there is no oth...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26H04L29/08G06F9/46
Inventor 汪敏
Owner 汪敏
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products