CN111506473A - Server monitoring system and server monitoring method - Google Patents
Server monitoring system and server monitoring method Download PDFInfo
- Publication number
- CN111506473A CN111506473A CN202010291088.2A CN202010291088A CN111506473A CN 111506473 A CN111506473 A CN 111506473A CN 202010291088 A CN202010291088 A CN 202010291088A CN 111506473 A CN111506473 A CN 111506473A
- Authority
- CN
- China
- Prior art keywords
- server
- monitored
- serial port
- network
- monitoring platform
- 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
- 238000012544 monitoring process Methods 0.000 title claims abstract description 134
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000004891 communication Methods 0.000 claims abstract description 158
- 239000000758 substrate Substances 0.000 claims abstract description 30
- 238000001514 detection method Methods 0.000 abstract description 5
- 230000009286 beneficial effect Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3006—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3058—Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
- G06F11/3476—Data logging
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/04—Processing captured monitoring data, e.g. for logfile generation
- H04L43/045—Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Mining & Analysis (AREA)
- Mathematical Physics (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Hardware Design (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a server monitoring system, which comprises a management server and a server to be monitored, wherein the management server and the server to be monitored are mutually connected; a substrate management controller, a serial port interface and a network port interface are arranged in the server to be monitored; the management server is provided with a network communication module and a serial port communication module, the network communication module is in communication connection with the network port interface through a network card, and the serial port communication module is in communication connection with the serial port interface through a cable; and a monitoring platform is built in the management server. The management server is connected with the server to be monitored through two lines, wherein one line is connected with a network, and the other line is connected with a serial port. A user can input a currently required line selection instruction through a monitoring platform built in a management server to select a line meeting the current situation, so that the detection of the server to be monitored is realized, and the server to be monitored has higher applicability. The invention also provides a server monitoring method, which also has the beneficial effects.
Description
Technical Field
The present invention relates to the technical field of servers, and in particular, to a server monitoring system and a server monitoring method.
Background
With the rapid development of information technology, the development of server technology is also coming up with a new revolution. The server is highly favored by users because of its reliability, availability, expansibility, usability, manageability, etc. Based on this, the stability and reliability of the server are of great importance, and the monitoring management of the working state of the server is an intuitive expression for ensuring the normal work of the server. The monitoring and management mode of the current server is mainly logging in a BMC (baseboard management controller), i.e. a baseboard management controller, through a Web. The BMC is logged in through the Web, and the configuration information, the firmware information, the voltage, the temperature, the fan rotating speed and other data of the server can be visually displayed. However, the problem of low applicability is that the BMC is logged in through the Web. For example, in some special cases, when the network cannot be used, the information of the monitoring server cannot be waited for monitoring in time. Therefore, how to provide a server monitoring system with better applicability is an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a server monitoring system, which has higher applicability; another object of the present invention is to provide a server monitoring method, which has higher applicability.
In order to solve the technical problem, the invention provides a server monitoring system, which comprises a management server and a server to be monitored, wherein the management server and the server to be monitored are connected with each other; a substrate management controller, a serial port interface and a network port interface are arranged in the server to be monitored; the management server is provided with a network communication module and a serial port communication module, the network communication module is in communication connection with the network port interface through a network card, and the serial port communication module is in communication connection with the serial port interface through a cable; a monitoring platform is built in the management server;
the monitoring platform is used for:
acquiring a line selection instruction input by a user;
when the line selection instruction is a network communication instruction, accessing the substrate management controller through the network communication module and the network port interface according to the network communication instruction so as to acquire to-be-detected data of the server to be monitored;
when the circuit selection instruction is a serial port communication instruction, accessing the substrate management controller through the serial port communication module and the serial port interface according to the serial port communication instruction so as to obtain to-be-detected data of the server to be monitored;
and displaying the acquired data to be detected.
Optionally, the data to be detected includes power consumption data of each device in the server to be monitored;
the monitoring platform is specifically configured to:
generating a corresponding power consumption curve according to the power consumption data;
and displaying the power consumption curve.
Optionally, the data to be detected includes boot log data and operation log data of the server to be monitored.
Optionally, the monitoring platform is a monitoring platform built by L abeview.
Optionally, the management server is connected with a plurality of servers to be monitored; the monitoring platform is provided with a plurality of equipment tabs, and the equipment tabs correspond to the servers to be monitored.
The invention also provides a server monitoring method, which comprises the following steps:
acquiring a line selection instruction input by a user through a monitoring platform set up in a management server; the management server is connected with a server to be monitored, and a substrate management controller, a serial port interface and a network port interface are arranged in the server to be monitored; the management server is provided with a network communication module and a serial port communication module, the network communication module is in communication connection with the network port interface through a network card, and the serial port communication module is in communication connection with the serial port interface through a cable;
when the line selection instruction is a network communication instruction, sequentially calling the network communication module and the network port interface to access the substrate management controller through the monitoring platform according to the network communication instruction so as to acquire to-be-detected data of the server to be monitored;
when the line selection instruction is a serial port communication instruction, sequentially calling the serial port communication module and the serial port interface to access the substrate management controller through the monitoring platform according to the serial port communication instruction so as to obtain to-be-detected data of the server to be monitored;
and displaying the acquired data to be detected through the monitoring platform.
Optionally, the data to be detected includes power consumption data of each device in the server to be monitored;
the displaying the acquired data to be detected through the monitoring platform comprises:
generating a corresponding power consumption curve according to the power consumption data;
and displaying the power consumption curve through the monitoring platform.
Optionally, the data to be detected includes boot log data and operation log data of the server to be monitored.
Optionally, the monitoring platform is a monitoring platform built by L abeview.
Optionally, the management server is connected with a plurality of servers to be monitored; the monitoring platform is provided with a plurality of equipment tabs, and the equipment tabs correspond to the servers to be monitored.
The invention provides a server monitoring system, which comprises a management server and a server to be monitored, wherein the management server and the server to be monitored are mutually connected; a substrate management controller, a serial port interface and a network port interface are arranged in the server to be monitored; the management server is provided with a network communication module and a serial port communication module, the network communication module is in communication connection with the network port interface through a network card, and the serial port communication module is in communication connection with the serial port interface through a cable; a monitoring platform is built in the management server; the monitoring platform is used for acquiring a line selection instruction input by a user; when the line selection instruction is a network communication instruction, accessing the substrate management controller through the network communication module and the network port interface according to the network communication instruction so as to acquire to-be-detected data of the server to be monitored; when the line selection instruction is a serial port communication instruction, accessing a substrate management controller through a serial port communication module and a serial port interface according to the serial port communication instruction so as to obtain to-be-detected data of the server to be monitored; and displaying the acquired data to be detected.
The management server is connected with the server to be monitored through two lines, wherein one line is connected with a network, and the other line is connected with a serial port. A user can input a currently required line selection instruction through a monitoring platform built in a management server to select a line meeting the current situation, so that the detection of the server to be monitored is realized, and the server to be monitored has higher applicability.
The invention also provides a server monitoring method, which has the beneficial effects and is not repeated herein.
Drawings
In order to more clearly illustrate the embodiments or technical solutions of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly described 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 based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a server monitoring system according to an embodiment of the present invention;
fig. 2 is a flowchart of a server monitoring method according to an embodiment of the present invention;
fig. 3 is a flowchart of a specific server monitoring method according to an embodiment of the present invention.
In the figure: 1. the system comprises a management server, 2 a server to be monitored, 3 a monitoring platform, 11 a network communication module, 12 a serial communication module, 21 an internet access interface, 22 a serial interface, 23 a baseboard management controller.
Detailed Description
The core of the invention is to provide a server monitoring system. In the prior art, the problem of low applicability exists in logging in the BMC through the Web. For example, in some special cases, when the network cannot be used, the information of the monitoring server cannot be waited for monitoring in time.
The server monitoring system provided by the invention comprises a management server and a server to be monitored, which are mutually connected; a substrate management controller, a serial port interface and a network port interface are arranged in the server to be monitored; the management server is provided with a network communication module and a serial port communication module, the network communication module is in communication connection with the network port interface through a network card, and the serial port communication module is in communication connection with the serial port interface through a cable; a monitoring platform is built in the management server; the monitoring platform is used for acquiring a line selection instruction input by a user; when the line selection instruction is a network communication instruction, accessing the substrate management controller through the network communication module and the network port interface according to the network communication instruction so as to acquire to-be-detected data of the server to be monitored; when the line selection instruction is a serial port communication instruction, accessing a substrate management controller through a serial port communication module and a serial port interface according to the serial port communication instruction so as to obtain to-be-detected data of the server to be monitored; and displaying the acquired data to be detected.
The management server is connected with the server to be monitored through two lines, wherein one line is connected with a network, and the other line is connected with a serial port. A user can input a currently required line selection instruction through a monitoring platform built in a management server to select a line meeting the current situation, so that the detection of the server to be monitored is realized, and the server to be monitored has higher applicability.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the 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.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a server monitoring system according to an embodiment of the present invention.
Referring to fig. 1, in the embodiment of the present invention, a server monitoring system includes a management server 1 and a server to be monitored 2 that are connected to each other; a substrate management controller 23, a serial port interface 22 and a network port interface 21 are arranged in the server 2 to be monitored; the management server 1 is provided with a network communication module 11 and a serial port communication module 12, the network communication module 11 is in communication connection with the network port interface 21 through a network card, and the serial port communication module 12 is in communication connection with the serial port interface 22 through a cable; a monitoring platform 3 is built in the management server 1; the monitoring platform 3 is configured to: acquiring a line selection instruction input by a user; when the line selection instruction is a network communication instruction, accessing the baseboard management controller 23 through the network communication module 11 and the network port interface 21 according to the network communication instruction to obtain to-be-detected data of the server 2 to be monitored; when the line selection instruction is a serial port communication instruction, accessing the substrate management controller 23 through the serial port communication module 12 and the serial port interface 22 according to the serial port communication instruction to acquire to-be-detected data of the server 2 to be monitored; and displaying the acquired data to be detected.
In the embodiment of the present invention, the server 2 to be monitored is provided with a baseboard management controller 23(BMC), and a user can query the data to be detected of the server 2 to be monitored by logging in the BMC of the server 2 to be monitored, so as to monitor the server 2 to be monitored. For the specific functions and the specific structure of the BMC, reference may be made to the prior art, and details are not described herein. The server 2 to be monitored is further provided with a serial port interface 22 and a network port interface 21, wherein the serial port interface 22 enables the server 2 to be monitored to communicate with other servers through a UART (Universal asynchronous receiver Transmitter/Transmitter), and the network port interface 21 enables the server 2 to be monitored to communicate with other servers through a network. As for the rest of the structure in the server 2 to be monitored, reference may be made to the prior art, and details thereof are not repeated herein.
The management server 1 is internally provided with a network communication module 11 and a serial port communication module 12, and the network communication module 11 is in communication connection with a network port interface 21 in the server 2 to be monitored through a network card, so that the management server 1 can access the BMC in the server 2 to be monitored through a network line by virtue of the network communication module 11; the serial communication module 12 is in communication connection with the serial interface 22 in the server 2 to be monitored through a cable, so that the management server 1 can access the BMC in the server 2 to be monitored through the cable, i.e., the UART line, by means of the serial communication module 12. As for the rest of the structure in the management server 1, reference may be made to the prior art, and the description thereof is omitted.
The management server 1 is built with a monitoring platform 3, and a user can monitor the server 2 to be monitored through the monitoring platform 3. Specifically, the monitoring platform 3 is configured to obtain a line selection instruction input by a user; when the line selection instruction is a network communication instruction, accessing the baseboard management controller 23 through the network communication module 11 and the network port interface 21 according to the network communication instruction to obtain to-be-detected data of the server 2 to be monitored; when the line selection instruction is a serial communication instruction, accessing the substrate management controller 23 through the serial communication module 12 and the serial interface 22 according to the serial communication instruction to acquire to-be-detected data of the server 2 to be monitored; and displaying the acquired data to be detected.
The line selection instruction comprises a network communication instruction and a serial port communication instruction, and a user can input a required line selection instruction in the monitoring platform 3 to select a corresponding line to acquire information in the server 2 to be monitored. When a user inputs a network communication instruction, the monitoring platform 3 may call the network communication module 11 to connect to the corresponding portal interface 21, that is, access the baseboard management controller 23 of the server 2 to be monitored through a network line, and obtain the data to be detected of the server 2 to be monitored.
When a user inputs a serial port communication instruction, the monitoring platform 3 may call the serial port communication module 12 to connect to the corresponding serial port interface 22, that is, access the substrate management controller 23 of the server 2 to be monitored through a serial port line, and obtain the data to be detected of the server 2 to be monitored. The details of the data to be detected will be described in detail in the following embodiments of the invention, and will not be described herein again. In the embodiment of the present invention, the monitoring platform 3 displays the acquired data to be monitored, so that the user can conveniently see the state of the server to be monitored.
The server monitoring system provided by the embodiment of the invention comprises a management server 1 and a server to be monitored 2 which are connected with each other; a substrate management controller 23, a serial port interface 22 and a network port interface 21 are arranged in the server 2 to be monitored; the management server 1 is provided with a network communication module 11 and a serial port communication module 12, the network communication module 11 is in communication connection with a network interface 21 through a network card, and the serial port communication module 12 is in communication connection with a serial port interface 22 through a cable; a monitoring platform 3 is built in the management server 1; the monitoring platform 3 is used for acquiring a line selection instruction input by a user; when the line selection instruction is a network communication instruction, accessing the baseboard management controller 23 through the network communication module 11 and the network port interface 21 according to the network communication instruction to obtain to-be-detected data of the server 2 to be monitored; when the line selection instruction is a serial communication instruction, accessing the substrate management controller 23 through the serial communication module 12 and the serial interface 22 according to the serial communication instruction to acquire to-be-detected data of the server 2 to be monitored; and displaying the acquired data to be detected.
The management server 1 and the server 2 to be monitored are connected through two lines, one is network connection, and the other is serial connection. The user can input a currently required line selection instruction through the monitoring platform 3 built in the management server 1 to select a line meeting the current situation, so that the detection of the server 2 to be monitored is realized, and the server has higher applicability.
The following embodiments of the present invention will be described in detail with reference to a server monitoring system.
Different from the above embodiment of the invention, the embodiment of the invention is further to specifically limit the content of the server monitoring system on the basis of the above embodiment of the invention. The rest of the contents are already described in detail in the above embodiments of the present invention, and are not described herein again.
In the embodiment of the invention, the monitoring platform 3 is a monitoring platform 3 built by L abdiews, L abdiews are laboratory virtual instrument engineering platforms, the monitoring platform 3 built by L abdiews in the management server 1 has a strong data processing function, stable connection between the management server 1 and the server 2 to be monitored can be realized, the occurrence of a disconnection situation can be avoided, and specific contents related to L abdiews can refer to the prior art and are not described herein again.
In the embodiment of the present invention, the data to be detected includes power consumption data of each device in the server 2 to be monitored; the monitoring platform 3 is specifically configured to: generating a corresponding power consumption curve according to the power consumption data; and displaying the power consumption curve. The data to be detected acquired by the monitoring platform 3 usually includes power consumption data of each device in the server 2 to be monitored, for example, real-time power consumption of a CPU, a memory, and a hard disk lamp device in the server 2 to be monitored, and is displayed in a curved form so as to facilitate viewing by a user.
In the embodiment of the present invention, the data to be detected includes boot log data and operation log data of the server 2 to be monitored. That is, in the embodiment of the present invention, the user can directly check the boot log data and the operation log of the server 2 to be monitored through the monitoring platform 3 to know the current operation state of the server 2 to be monitored. Specifically, in the embodiment of the present invention, the data to be detected generally includes configuration information, a firmware version, online user information, and management device (BMC) information of the server 2 to be monitored, where the configuration information generally includes related operation data such as a CPU, a memory, a device list, a power supply, a motherboard temperature, a fan, and a voltage. Of course, the specific content of the data to be detected is not particularly limited in the embodiment of the present invention, and is determined according to the specific situation.
Specifically, in the embodiment of the present invention, the monitoring platform 3 generally has a remote control function, that is, the monitoring platform 3 may receive content input by a user, and control the network communication module 11 or the serial communication module 12 to send a corresponding instruction to the BMC of the server 2 to be monitored, so as to implement remote control of the server 2 to be monitored.
Specifically, in the embodiment of the present invention, the data to be detected may further include fault information, and based on the remote control function, the monitoring platform 3 may send a corresponding instruction to the BMC of the server 2 to be monitored according to the fault information, so as to repair a fault in the server 2 to be monitored, and enable the server 2 to be monitored to operate normally.
In the embodiment of the present invention, the management server 1 is connected to a plurality of servers 2 to be monitored; the monitoring platform 3 is provided with a plurality of device tabs, and the device tabs correspond to the server 2 to be monitored. That is, the management server 1 may be specifically connected to a plurality of servers 2 to be monitored, and two communication lines, one being a network line and the other being a serial line, are used between each server 2 to be monitored and the management server 1 for communication connection. A plurality of device tabs are correspondingly arranged in the monitoring platform 3, and each device tab corresponds to a server 2 to be monitored. The user can select different servers 2 to be monitored by clicking different device tabs to acquire and display the data to be detected of the servers 2 to be monitored, so as to monitor the servers 2 to be monitored. Specifically, the user may input an IP address or protocol corresponding to the server 2 to be monitored in the device tab to complete the corresponding connection to the server 2 to be monitored.
According to the server monitoring system provided by the embodiment of the invention, the management server 1 can be stably connected with the server 2 to be monitored by building the monitoring platform 3 through L bview, the disconnection condition is avoided, the power consumption curve of each device in the server 2 to be monitored can be conveniently checked by a user through generating and displaying, the management server 1 is connected with a plurality of servers 2 to be monitored, and a plurality of device option cards are arranged in the monitoring platform 3, so that the user can conveniently detect different servers 2 to be monitored.
In the following, a server monitoring method provided by an embodiment of the present invention is introduced, and the server monitoring method described below and the server monitoring system described above may be referred to correspondingly.
Referring to fig. 2, fig. 2 is a flowchart of a server monitoring method according to an embodiment of the present invention.
Referring to fig. 2, in the embodiment of the present invention, a server monitoring method includes:
s101: and acquiring a line selection instruction input by a user through a monitoring platform set up in the management server.
In the embodiment of the invention, the management server is connected with a server to be monitored, and a substrate management controller, a serial port interface and a network port interface are arranged in the server to be monitored; the management server is provided with a network communication module and a serial port communication module, the network communication module is in communication connection with the network port interface through a network card, and the serial port communication module is in communication connection with the serial port interface through a cable. The detailed contents of the management server and the server to be monitored have been described in detail in the above embodiments of the present invention, and are not described herein again.
In this step, the line selection instruction input by the user is obtained through the monitoring platform set up in the management server, that is, the user can input the line selection instruction through the monitoring platform to select the line meeting the current use environment. The line selection instruction includes a network communication instruction and a serial communication instruction, and specific contents related to the network communication instruction and the serial communication instruction are described in detail in the embodiments of the present invention, and are not described herein again.
S102: when the line selection instruction is a network communication instruction, the monitoring platform calls the network communication module and the network port interface in sequence to access the substrate management controller according to the network communication instruction so as to acquire to-be-detected data of the server to be monitored.
In this step, when a user inputs a network communication instruction in the monitoring platform, the monitoring platform calls the network communication module according to the network communication instruction, and accesses the baseboard management controller of the server to be monitored through the network port interface, so as to obtain the data to be detected of the server to be monitored through the baseboard management controller. The details of the detected data are described in detail in the above embodiments of the invention, and are not described herein again.
S103: when the line selection instruction is a serial port communication instruction, the monitoring platform calls the serial port communication module and the serial port interface in sequence to access the substrate management controller according to the serial port communication instruction so as to acquire to-be-detected data of the server to be monitored.
In this step, when a user inputs a serial communication instruction in the monitoring platform, the monitoring platform calls the serial communication module according to the serial communication instruction, and accesses the baseboard management controller of the server to be monitored through the serial interface, so as to acquire the data to be detected of the server to be monitored through the baseboard management controller. It should be noted that this step and the above-mentioned S102 are usually executed in parallel, that is, there is no sequence between this step and S102 in execution.
S104: and displaying the acquired data to be detected through the monitoring platform.
In this step, when the monitoring platform acquires the data to be monitored, the data to be monitored can be displayed through the display device, so that the data can be conveniently viewed by a user.
In the server monitoring method provided by the embodiment of the invention, the management server and the server to be monitored are connected through two lines, namely network connection and serial connection. A user can input a currently required line selection instruction through a monitoring platform built in a management server to select a line meeting the current situation, so that the detection of the server to be monitored is realized, and the server to be monitored has higher applicability.
The following embodiments of the present invention will be described in detail with reference to a specific example of a server monitoring method provided by the present invention.
Referring to fig. 3, fig. 3 is a flowchart illustrating a specific server monitoring method according to an embodiment of the present invention.
Referring to fig. 3, in the embodiment of the present invention, a server monitoring method includes:
s201: and acquiring a line selection instruction input by a user through a monitoring platform set up in the management server.
S202: when the line selection instruction is a network communication instruction, the monitoring platform calls the network communication module and the network port interface in sequence to access the substrate management controller according to the network communication instruction so as to acquire to-be-detected data of the server to be monitored.
S203: when the line selection instruction is a serial port communication instruction, the monitoring platform calls the serial port communication module and the serial port interface in sequence to access the substrate management controller according to the serial port communication instruction so as to acquire to-be-detected data of the server to be monitored.
S201 to S203 are substantially the same as S101 to S103 in the above embodiment of the invention, and for details, reference is made to the above embodiment of the invention, which is not repeated herein.
S204: and generating a corresponding power consumption curve according to the power consumption data.
In the embodiment of the present invention, the data to be detected includes power consumption data of each device in the server to be monitored. The details of the power consumption data are described in detail in the above embodiments of the invention, and are not described herein again. In this step, the monitoring platform calculates real-time power consumption of each device in the server to be monitored according to the power consumption data, and then generates a power consumption curve corresponding to each device by using the time axis as the abscissa.
S205: and displaying the power consumption curve through the monitoring platform.
In this step, the monitoring platform can display the power consumption curve through the display device, so that the user can monitor the server to be monitored conveniently.
Specifically, in the embodiment of the present invention, the data to be detected may include boot log data and running log data of the server to be monitored. Correspondingly, in the step, the monitoring platform can display the startup log data and the running log data through the display equipment so as to change the user query.
The monitoring platform built by L abview in the management server has a strong data processing function, so that the management server can be stably connected with the server to be monitored, and the occurrence of a disconnection situation is avoided.
In the embodiment of the invention, the management server is connected with a plurality of servers to be monitored; the monitoring platform is provided with a plurality of equipment tabs, and the equipment tabs correspond to the servers to be monitored. That is, in the embodiment of the present invention, the management server may be specifically connected to a plurality of servers to be monitored, and each server to be monitored and the management server are in communication connection through two communication lines, one is a network line, and the other is a serial line. Correspondingly, a plurality of device tabs are arranged in the monitoring platform, and each device tab corresponds to a server to be monitored. The user can select different servers to be monitored by clicking different equipment option cards to acquire and display the data to be detected of the servers to be monitored, so that the servers to be monitored are monitored. Specifically, the user may input an IP address or protocol corresponding to the server to be monitored in the device tab to complete the corresponding connection of the server to be monitored.
According to the server monitoring method provided by the embodiment of the invention, the L abview is used for building the monitoring platform, so that the management server can be stably connected with the server to be monitored, the disconnection condition is avoided, the power consumption curve of each device in the server to be monitored can be conveniently checked by a user through generation and display, the management server is connected with a plurality of servers to be monitored, and a plurality of device option cards are arranged in the monitoring platform, so that the user can conveniently detect different servers to be monitored.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The server monitoring system and the server monitoring method provided by the invention are described in detail above. The principles and embodiments of the present invention are explained herein using specific examples, which are presented only to assist in understanding the method and its core concepts. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.
Claims (10)
1. A server monitoring system is characterized by comprising a management server and a server to be monitored which are connected with each other; a substrate management controller, a serial port interface and a network port interface are arranged in the server to be monitored; the management server is provided with a network communication module and a serial port communication module, the network communication module is in communication connection with the network port interface through a network card, and the serial port communication module is in communication connection with the serial port interface through a cable; a monitoring platform is built in the management server;
the monitoring platform is used for:
acquiring a line selection instruction input by a user;
when the line selection instruction is a network communication instruction, accessing the substrate management controller through the network communication module and the network port interface according to the network communication instruction so as to acquire to-be-detected data of the server to be monitored;
when the circuit selection instruction is a serial port communication instruction, accessing the substrate management controller through the serial port communication module and the serial port interface according to the serial port communication instruction so as to obtain to-be-detected data of the server to be monitored;
and displaying the acquired data to be detected.
2. The system according to claim 1, wherein the data to be detected comprises power consumption data of each device in the server to be monitored;
the monitoring platform is specifically configured to:
generating a corresponding power consumption curve according to the power consumption data;
and displaying the power consumption curve.
3. The system according to claim 2, wherein the data to be detected comprises boot log data and running log data of the server to be monitored.
4. The system of claim 1, wherein the monitoring platform is a monitoring platform built by L abeview.
5. The system according to claim 1, wherein a plurality of the servers to be monitored are connected to the management server; the monitoring platform is provided with a plurality of equipment tabs, and the equipment tabs correspond to the servers to be monitored.
6. A server monitoring method, comprising:
acquiring a line selection instruction input by a user through a monitoring platform set up in a management server; the management server is connected with a server to be monitored, and a substrate management controller, a serial port interface and a network port interface are arranged in the server to be monitored; the management server is provided with a network communication module and a serial port communication module, the network communication module is in communication connection with the network port interface through a network card, and the serial port communication module is in communication connection with the serial port interface through a cable;
when the line selection instruction is a network communication instruction, sequentially calling the network communication module and the network port interface to access the substrate management controller through the monitoring platform according to the network communication instruction so as to acquire to-be-detected data of the server to be monitored;
when the line selection instruction is a serial port communication instruction, sequentially calling the serial port communication module and the serial port interface to access the substrate management controller through the monitoring platform according to the serial port communication instruction so as to obtain to-be-detected data of the server to be monitored;
and displaying the acquired data to be detected through the monitoring platform.
7. The method according to claim 6, wherein the data to be detected comprises power consumption data of each device in the server to be monitored;
the displaying the acquired data to be detected through the monitoring platform comprises:
generating a corresponding power consumption curve according to the power consumption data;
and displaying the power consumption curve through the monitoring platform.
8. The method according to claim 7, wherein the data to be detected comprises boot log data and running log data of the server to be monitored.
9. The method of claim 6, wherein the monitoring platform is a monitoring platform built by L abeview.
10. The method according to claim 6, wherein a plurality of the servers to be monitored are connected to the management server; the monitoring platform is provided with a plurality of equipment tabs, and the equipment tabs correspond to the servers to be monitored.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010291088.2A CN111506473A (en) | 2020-04-14 | 2020-04-14 | Server monitoring system and server monitoring method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010291088.2A CN111506473A (en) | 2020-04-14 | 2020-04-14 | Server monitoring system and server monitoring method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111506473A true CN111506473A (en) | 2020-08-07 |
Family
ID=71877468
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010291088.2A Pending CN111506473A (en) | 2020-04-14 | 2020-04-14 | Server monitoring system and server monitoring method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111506473A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112925685A (en) * | 2021-02-19 | 2021-06-08 | 山东英信计算机技术有限公司 | Handheld server field operation and maintenance tool |
CN112953788A (en) * | 2021-01-22 | 2021-06-11 | 浪潮电子信息产业股份有限公司 | Network state detection method and device, BMC and storage medium |
CN113608992A (en) * | 2021-06-29 | 2021-11-05 | 苏州浪潮智能科技有限公司 | Remote debugging system and method for edge server |
CN114895968A (en) * | 2022-04-29 | 2022-08-12 | 苏州浪潮智能科技有限公司 | Server maintenance method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1463119A (en) * | 2003-06-27 | 2003-12-24 | 沈阳工业学院 | Dual independent interconnected system monitored through Ethernet |
WO2007103065A2 (en) * | 2006-03-01 | 2007-09-13 | Lantronix, Inc. | Universal computer management interface |
CN101577698A (en) * | 2008-05-09 | 2009-11-11 | 中兴通讯股份有限公司 | System with external intelligent management server and method for monitoring server and processing commands |
CN103687052A (en) * | 2012-09-17 | 2014-03-26 | 联想(北京)有限公司 | Data transmission method and electronic equipment |
-
2020
- 2020-04-14 CN CN202010291088.2A patent/CN111506473A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1463119A (en) * | 2003-06-27 | 2003-12-24 | 沈阳工业学院 | Dual independent interconnected system monitored through Ethernet |
WO2007103065A2 (en) * | 2006-03-01 | 2007-09-13 | Lantronix, Inc. | Universal computer management interface |
CN101577698A (en) * | 2008-05-09 | 2009-11-11 | 中兴通讯股份有限公司 | System with external intelligent management server and method for monitoring server and processing commands |
CN103687052A (en) * | 2012-09-17 | 2014-03-26 | 联想(北京)有限公司 | Data transmission method and electronic equipment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112953788A (en) * | 2021-01-22 | 2021-06-11 | 浪潮电子信息产业股份有限公司 | Network state detection method and device, BMC and storage medium |
CN112925685A (en) * | 2021-02-19 | 2021-06-08 | 山东英信计算机技术有限公司 | Handheld server field operation and maintenance tool |
CN113608992A (en) * | 2021-06-29 | 2021-11-05 | 苏州浪潮智能科技有限公司 | Remote debugging system and method for edge server |
CN113608992B (en) * | 2021-06-29 | 2023-07-18 | 苏州浪潮智能科技有限公司 | Remote debugging system and method for edge server |
CN114895968A (en) * | 2022-04-29 | 2022-08-12 | 苏州浪潮智能科技有限公司 | Server maintenance method, device, equipment and storage medium |
CN114895968B (en) * | 2022-04-29 | 2023-08-11 | 苏州浪潮智能科技有限公司 | Server maintenance method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111506473A (en) | Server monitoring system and server monitoring method | |
EP3575975A1 (en) | Method and apparatus for operating smart network interface card | |
GB2518052A (en) | Group server performance correction via actions to server subset | |
CN113645071B (en) | Cluster deployment method, system, medium and electronic terminal | |
CN101771565B (en) | Analogy method for realizing multitudinous or different baseboard management controllers by single server | |
CN110708366A (en) | Plug-in process management method, related method and related device | |
CN110244963B (en) | Data updating method and device and terminal equipment | |
CN114389969A (en) | Client test method and device, electronic equipment and storage medium | |
CN110730244A (en) | Networking method and system of DHT (distributed hash table) system, network equipment and storage medium | |
CN111274104B (en) | Data processing method, device, electronic equipment and computer readable storage medium | |
CN111245948A (en) | DHT network connection method, electronic device, and medium | |
CN116545905A (en) | Service health detection method and device, electronic equipment and storage medium | |
CN108768807B (en) | Virtual-real interconnection method and device for cloud platform | |
CN111444074A (en) | Data monitoring method and device, electronic equipment and readable storage medium | |
CN113849356A (en) | Equipment testing method and device, electronic equipment and storage medium | |
CN111124781A (en) | Display card testing method and device, electronic equipment and storage medium | |
CN115860877A (en) | Product marketing method, device, equipment and medium | |
CN105163336A (en) | Method and system for optimizing stability of wireless network | |
CN111431764B (en) | Node determining method, device, system and medium | |
CN113656378A (en) | Server management method, device and medium | |
CN113778780A (en) | Application stability determination method and device, electronic equipment and storage medium | |
CN114124475A (en) | Network asset port scanning and service identification method and device | |
CN110008706B (en) | Host security state management method and device and terminal equipment | |
CN111610935B (en) | Access control method, device, equipment and medium | |
CN114876780B (en) | Simulation monitoring method for infusion pump, computer equipment and storage medium |
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 |