Server monitoring device and monitoring method

A server and equipment technology, applied in the field of Internet network, can solve the problems of manual operation omission, omission of reset consistency, omission of records, etc., achieving the effect of strong intelligence, high reliability, and reduced labor costs

Inactive Publication Date: 2017-05-24
PHICOMM (SHANGHAI) CO LTD
View PDF5 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The Chinese patent application number is CN201410425645.X. This invention discloses a file recovery method and device of a linux system, which is used to recover Ext4 files accidentally deleted by rm on a linux server, so as to avoid huge losses caused by loss of important server data
If there are many servers, manual operations are prone to problems such as missing checks, missing records, missing reset consistency after restarting, etc.

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
  • Server monitoring device and monitoring method
  • Server monitoring device and monitoring method
  • Server monitoring device and monitoring method

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0065] Such as figure 1 It is shown in the schematic diagram of the first embodiment (main) flow chart of the present invention:

[0066] A method for monitoring the running state of a server, the method steps comprising:

[0067] S200: Before the server is about to be shut down (or the restart process starts), the recording module records various service process states, various control states and / or various operating parameter states of the (linux) server;

[0068] S400: After the server is powered on (or the restart process is completed), the recording module records various service process states, various control states and / or various operating parameter states of the (linux) server;

[0069] S600: Compare the record content of the recording module before the server is powered off with the record content of the recording module after the server is powered on, and form a difference record.

[0070] Preferably, the method for monitoring the running state of the server,

[...

no. 2 example

[0098] This embodiment includes at least three parts: an interceptor 110 , a recorder 150 , and a comparator 160 .

[0099] Interceptor 110: need to intercept restart and shutdown commands, including reboot, shutdown, init, halt, poweroff, etc.

[0100] Each command has corresponding parameters. What the interceptor 110 has to do is to cover these commands. The effect of the cover is to capture these commands and corresponding parameters, and after calling the 120 recorder, continue to call these original commands of the system. Take the reboot command as an example. According to the help manual provided by linux, only when the command has the parameter -w, it means that it is a test, not a real restart. Therefore, when the w parameter does not exist, it can be considered as a restart:

[0101]

[0102] So according to the custom api provided by linux, develop a reboot command and place it in a path such as / root / , and finally set the environment variable Path= / root / :$Path...

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 server monitoring device and a monitoring method, and relates to an Internet network technology field, especially relates to a technology of maintaining consistency of a service / operation state of a Linux server in switching on / off states. The monitoring method of the server operation states comprises steps that S200: before the server is switched off (or restarting of a process is about to begin), a recording module is used to record the various service process states, the various control states, and / or the various operation parameter states of the Linux server; S400: after the server is switched on (or the restarting of the process is completed), the recording module is used to record the various service process states, the various control states, and / or the various operation parameter states of the Linux server; S600: by comparing the content recorded by the recording module before the switching-off of the server with the content recorded by the recording module after the switching-on of the server, a difference record is formed.

Description

technical field [0001] This patent application relates to the field of Internet network technology, in particular to the consistent technology of maintaining the service / running status of Linux servers before and after switching on and off. Background technique [0002] The Linux system is a set of Unix-like operating systems that are free to use and spread freely. It is a multi-user, multi-tasking, multi-threading and multi-CPU operating system based on POSIX (Portable Operating System Interface) and Unix . It can run major Unix tools, applications and network protocols, and it supports 32-bit and 64-bit hardware. Linux inherits Unix's network-centric design idea and is a multi-user network operating system with stable performance. There are many operating systems based on the Linux open source language on the market, such as SUSELinux Enterprise10 (SUSE10 for short) produced by Novell, Red Hat Enterprise Linux5 (Red Hat5 for short) produced by Red Hat, and UNIX series pr...

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/26H04L12/24
CPCH04L43/0817H04L41/0661
Inventor 周维
Owner PHICOMM (SHANGHAI) CO LTD
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