CN114356698A - Machine frame management method, device and system and computer readable storage medium - Google Patents

Machine frame management method, device and system and computer readable storage medium Download PDF

Info

Publication number
CN114356698A
CN114356698A CN202111565461.XA CN202111565461A CN114356698A CN 114356698 A CN114356698 A CN 114356698A CN 202111565461 A CN202111565461 A CN 202111565461A CN 114356698 A CN114356698 A CN 114356698A
Authority
CN
China
Prior art keywords
single board
state data
machine frame
data processing
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111565461.XA
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.)
Beijing Rongxun Technology Co ltd
Original Assignee
Beijing Rongxun 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 Beijing Rongxun Technology Co ltd filed Critical Beijing Rongxun Technology Co ltd
Priority to CN202111565461.XA priority Critical patent/CN114356698A/en
Publication of CN114356698A publication Critical patent/CN114356698A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method, a device and a system for managing a machine frame and a computer readable storage medium, wherein the method comprises the following steps: acquiring state data corresponding to each single board in a machine frame, and analyzing the state data through a data processing single board in the machine frame to obtain an analysis result; if the abnormal condition is determined to occur according to the analysis result, the state data is sent to an application layer platform through the data processing single board and an alarm is given; the invention acquires the state data corresponding to each single board in the machine frame, analyzes the state data through the data processing single board in the machine frame, sends the state data to the application layer platform through the data processing single board and alarms if the abnormal condition is determined, timely acquires and analyzes the state information of each single board, and timely sends the alarm when the abnormal condition occurs, thereby improving the machine frame management efficiency.

Description

Machine frame management method, device and system and computer readable storage medium
Technical Field
The invention relates to the technical field of computers, in particular to a machine frame management method, a machine frame management device, a machine frame management system and a computer readable storage medium.
Background
In order to save the installation space of equipment and flexibly configure the equipment, under more and more conditions, the equipment deployment uses the mode of inserting the single board into the machine frame, and then brings a series of machine frame management requirements, but the software and the hardware of the single board in the machine frame are different, and each single board is an independent system, so that the state information of each single board cannot be timely acquired and analyzed, an alarm cannot be timely sent out when abnormal conditions occur, and the management efficiency of the machine frame is seriously influenced.
Disclosure of Invention
The invention mainly aims to provide a machine frame management method, a device, a system and a computer readable storage medium, aiming at solving the problems of how to timely acquire and analyze the state information of each single board and timely send out an alarm when an abnormal condition occurs, thereby improving the machine frame management efficiency.
In order to achieve the above object, the present invention provides a machine frame management method, which comprises the following steps:
acquiring state data corresponding to each single board in a machine frame, and analyzing the state data through a data processing single board in the machine frame to obtain an analysis result;
and if the abnormal condition is determined to occur according to the analysis result, sending the state data to an application layer platform through the data processing single board and giving an alarm.
Preferably, before the step of obtaining status data corresponding to each board in the machine frame and analyzing the status data by the data processing board in the machine frame to obtain an analysis result, the machine frame management method includes:
when a selection instruction is detected, acquiring configuration data of each single board in a machine frame, and determining a data processing single board and a standby data processing single board set in the single boards of the machine frame according to the configuration data and a preset selection rule.
Preferably, before the step of analyzing the state data by the data processing board in the machine frame to obtain an analysis result, the machine frame management method includes:
detecting whether the working state of the data processing single board is abnormal or not;
if the working state of the data processing single board is detected to be abnormal, acquiring a standby data processing single board in the standby data processing single board set as the data processing single board, and executing the following steps: analyzing the state data through a data processing single board in the machine frame to obtain an analysis result;
if the working state of the data processing single board is detected to be normal, executing the following steps: and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result.
Preferably, the step of analyzing the state data by the data processing board in the machine frame to obtain an analysis result includes:
acquiring a preset state data table through a data processing single board in the machine frame, and comparing the state data corresponding to each single board in the machine frame with the state data in the preset state data table to obtain a comparison result;
if the comparison result is that the difference value between the state data and the state data in the preset state data table is larger than a preset difference value, determining that the analysis result is an abnormal condition;
and if the comparison result is that the difference value between the state data and the state data in the preset state data table is not larger than a preset difference value, determining that the analysis result is that no abnormal condition occurs.
Preferably, the step of sending the state data to an application layer platform and performing an alarm by the data processing board includes:
sending the state data to an application layer platform through the data processing single board, and displaying the state data through the application layer platform;
and determining an alarm level corresponding to the abnormal condition based on the abnormal condition and a preset alarm level table through the data processing single board, and giving an alarm according to the alarm level.
Preferably, the step of determining the alarm level corresponding to the abnormal condition and performing an alarm according to the alarm level includes:
if the alarm level corresponding to the abnormal condition is determined to be a first alarm level, sending alarm information to the application layer platform;
if the alarm level corresponding to the abnormal condition is determined to be a second alarm level, sending alarm information to the application layer platform, and driving the machine frame to send an alarm light prompt and/or an alarm sound prompt;
and if the alarm level corresponding to the abnormal condition is determined to be a third alarm level, sending alarm information to the application layer platform, and performing power-off processing on the position where the abnormal condition occurs.
Preferably, after the step of obtaining status data corresponding to each board in the machine frame and analyzing the status data by the data processing board in the machine frame to obtain an analysis result, the machine frame management method includes:
and if the abnormal condition is determined not to occur according to the analysis result, the state data is sent to an application layer platform through the data processing single board, or relevant operation is carried out on the corresponding single board in the machine frame when a control instruction sent by the application layer platform is received.
In addition, to achieve the above object, the present invention further provides a machine frame management apparatus, including:
the analysis module is used for acquiring state data corresponding to each single board in the machine frame and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result;
and the determining module is used for sending the state data to an application layer platform through the data processing single board and giving an alarm if the abnormal condition is determined to occur according to the analysis result.
Further, the analysis module further comprises a selection module, and the selection module is configured to:
when a selection instruction is detected, acquiring configuration data of each single board in a machine frame, and determining a data processing single board and a standby data processing single board set in the single boards of the machine frame according to the configuration data and a preset selection rule.
Further, the analysis module is further configured to:
detecting whether the working state of the data processing single board is abnormal or not;
if the working state of the data processing single board is detected to be abnormal, acquiring a standby data processing single board in the standby data processing single board set as the data processing single board, and executing the following steps: analyzing the state data through a data processing single board in the machine frame to obtain an analysis result;
if the working state of the data processing single board is detected to be normal, executing the following steps: and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result.
Further, the analysis module is further configured to:
acquiring a preset state data table through a data processing single board in the machine frame, and comparing the state data corresponding to each single board in the machine frame with the state data in the preset state data table to obtain a comparison result;
if the comparison result is that the difference value between the state data and the state data in the preset state data table is larger than a preset difference value, determining that the analysis result is an abnormal condition;
and if the comparison result is that the difference value between the state data and the state data in the preset state data table is not larger than a preset difference value, determining that the analysis result is that no abnormal condition occurs.
Further, the alarm module is further configured to:
sending the state data to an application layer platform through the data processing single board, and displaying the state data through the application layer platform;
and determining an alarm level corresponding to the abnormal condition based on the abnormal condition and a preset alarm level table through the data processing single board, and giving an alarm according to the alarm level.
Further, the alarm module is further configured to:
if the alarm level corresponding to the abnormal condition is determined to be a first alarm level, sending alarm information to the application layer platform;
if the alarm level corresponding to the abnormal condition is determined to be a second alarm level, sending alarm information to the application layer platform, and driving the machine frame to send an alarm light prompt and/or an alarm sound prompt;
and if the alarm level corresponding to the abnormal condition is determined to be a third alarm level, sending alarm information to the application layer platform, and performing power-off processing on the position where the abnormal condition occurs.
Further, the analysis module further comprises a sending and receiving module for:
and if the abnormal condition is determined not to occur according to the analysis result, the state data is sent to an application layer platform through the data processing single board, or relevant operation is carried out on the corresponding single board in the machine frame when a control instruction sent by the application layer platform is received.
In addition, to achieve the above object, the present invention further provides a machine frame management system, including: a memory, a processor, and a subrack hypervisor stored on the memory and executable on the processor, the subrack hypervisor when executed by the processor implementing the steps of the subrack management method as described above.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, where the computer readable storage medium is a computer readable storage medium, and the readable storage medium stores a subrack management program, and the subrack management program, when executed by a processor, implements the steps of the subrack management method described above.
The machine frame management method provided by the invention obtains the state data corresponding to each single board in the machine frame, and analyzes the state data through the data processing single board in the machine frame to obtain an analysis result; if the abnormal condition is determined to occur according to the analysis result, the state data is sent to an application layer platform through the data processing single board and an alarm is given; the invention acquires the state data corresponding to each single board in the machine frame, analyzes the state data through the data processing single board in the machine frame, sends the state data to the application layer platform through the data processing single board and alarms if the abnormal condition is determined, timely acquires and analyzes the state information of each single board, and timely sends the alarm when the abnormal condition occurs, thereby improving the machine frame management efficiency.
Drawings
FIG. 1 is a schematic diagram of an apparatus architecture of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a subrack management method according to the present invention;
fig. 3 is a schematic flow chart of determining a set of a data processing board and a standby data processing board according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic device structure diagram of a hardware operating environment according to an embodiment of the present invention.
The device of the embodiment of the invention can be a PC or a server device.
As shown in fig. 1, the apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 1 is not intended to be limiting of the apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a subrack management program therein.
The operating system is a program for managing and controlling the portable storage equipment and software resources and supports the running of a network communication module, a user interface module, a machine frame management program and other programs or software; the network communication module is used for managing and controlling the network interface 1002; the user interface module is used to manage and control the user interface 1003.
In the storage device shown in fig. 1, the storage device calls a subrack management program stored in a memory 1005 through a processor 1001 and performs operations in various embodiments of a subrack management method described below.
Based on the hardware structure, the embodiment of the machine frame management method is provided.
Referring to fig. 2, fig. 2 is a schematic flowchart of a first embodiment of a subrack management method according to the present invention, where the method includes:
step S10, obtaining state data corresponding to each single board in the machine frame, and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result;
step S20, if it is determined that an abnormal condition occurs according to the analysis result, sending the state data to an application layer platform through the data processing board and performing an alarm.
The machine frame management method is applied to machine frame management equipment of an equipment management mechanism, and the machine frame management equipment can be a PC (personal computer), a mobile phone or a mobile terminal and the like; the machine frame management equipment comprises a machine frame and an application layer platform, wherein all single boards in the machine frame are connected with a machine frame management equipment chain through an I2C bus, for convenience of description, the machine frame management equipment is taken as an example for description, the machine frame management equipment acquires state data corresponding to each single board in the machine frame according to a preset time period, acquires a preset state data table through a data processing single board in the machine frame, and compares the state data corresponding to each single board in the machine frame with the state data in the preset state data table to obtain a comparison result; if the comparison result is that the difference value between the state data and the state data in the preset state data table is larger than the preset difference value, determining that the analysis result is in an abnormal condition; if the comparison result is that the difference value between the state data and the state data in the preset state data table is not larger than the preset difference value, determining that the analysis result is that no abnormal condition occurs; if the machine frame management equipment determines that an abnormal condition occurs in the machine frame according to the analysis result, the state data is sent to the application layer platform through the data processing single board, and the state data is displayed through the application layer platform; and determining an alarm level corresponding to the abnormal condition through the data processing single board based on the abnormal condition and a preset alarm level table, and giving an alarm according to the alarm level. If the machine frame management equipment determines that no abnormal condition occurs according to the analysis result, the machine frame management equipment sends the state data to the application layer platform through the data processing single board, or performs related operations on the corresponding single board in the machine frame when receiving a control instruction sent by the application layer platform. It should be noted that, a single board is an intelligent device, and each single board includes modules such as an external network port, a processor, a memory, a power supply, and a cooling fan; the I2C bus is a communication bus.
The machine frame management method of the embodiment obtains state data corresponding to each single board in the machine frame, and analyzes the state data through a data processing single board in the machine frame to obtain an analysis result; if the abnormal condition is determined to occur according to the analysis result, the state data is sent to the application layer platform through the data processing single board and an alarm is given; the invention acquires the state data corresponding to each single board in the machine frame, analyzes the state data through the data processing single board in the machine frame, sends the state data to the application layer platform through the data processing single board and alarms if the abnormal condition is determined, acquires and analyzes the state information of each single board in time, and sends an alarm in time when the abnormal condition occurs.
The respective steps will be described in detail below:
step S10, obtaining state data corresponding to each single board in the machine frame, and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result;
in this embodiment, the machine frame management device obtains state data corresponding to each single board in the machine frame according to a preset time period, and analyzes the state data through a data processing single board in the machine frame to obtain an analysis result; such as: setting a preset time period to be 1 second according to actual conditions, acquiring state data corresponding to each single board in a machine frame once every 1 second by machine frame management equipment through an I2C bus, and optionally setting different preset time periods for different state data of the single boards so as to acquire the state data corresponding to the single boards in real time according to requirements; the machine frame management equipment sends the acquired state data to a data processing single board in the machine frame, and the state data is analyzed by the data processing single board in the machine frame to obtain an analysis result.
Specifically, the step of analyzing the state data by the data processing board in the machine frame to obtain an analysis result includes:
step a, acquiring a preset state data table through a data processing single board in the machine frame, and comparing the state data corresponding to each single board in the machine frame with the state data in the preset state data table to obtain a comparison result;
in this step, the machine frame management device obtains a preset state data table through a data processing single board in the machine frame, and compares state data corresponding to each single board in the machine frame with state data in the preset state data table to obtain a comparison result; such as: the state data corresponding to each single board acquired by the machine frame management equipment comprises: comparing each different state data with corresponding state data in a preset state data table respectively to obtain a comparison result, wherein the state data comprises external network port state data, processor state data, memory state data, power state data, cooling fan state data, single plate temperature state data, single plate position state data and the like; it should be noted that the preset state data table is set in the subrack management device in advance, and includes normal state data corresponding to each board in the subrack.
B, if the comparison result is that the difference value between the state data and the state data in the preset state data table is larger than a preset difference value, determining that the analysis result is an abnormal condition;
in the step, if the comparison result obtained by the machine frame management equipment is that the difference value between the state data and the state data in the preset state data table is greater than the preset difference value, determining that the analysis result is an abnormal condition; such as: the frame management device compares the state data corresponding to each single board in the frame with the state data in the preset state data table through the data processing single board in the frame to obtain the difference value between the external network port state data, the single board temperature state data and the single board position data of the first single board and the external network port state data, the single board temperature state data and the single board position data in the preset state data table, which are greater than the preset difference value, and at this time, the frame management device determines that the external network port, the temperature and the position corresponding to the first single board are all in abnormal conditions.
And c, if the comparison result is that the difference value between the state data and the state data in the preset state data table is not larger than a preset difference value, determining that the analysis result is that no abnormal condition occurs.
In the step, if the frame management equipment obtains a comparison result that the difference value between the state data and the state data in the preset state data table is not larger than the preset difference value, determining that the analysis result is that an abnormal condition does not occur; such as: the machine frame management equipment acquires the state data corresponding to each single board, and the state data comprises: comparing the external network port state data, the processor state data, the memory state data, the power state data, the cooling fan state data, the single plate temperature state data and the state data in the preset state data table corresponding to the single plate position state data, and if the comparison result is that the difference value between the external network port state data, the processor state data, the memory state data, the power state data, the cooling fan state data, the single plate temperature state data and the difference value between the single plate position state data and the state data in the preset state data table are not more than the preset difference value, determining that the analysis result is that no abnormal condition occurs to each single plate in the machine frame.
Further, step S10 is followed by:
d, if it is determined that no abnormal condition occurs according to the analysis result, the state data is sent to an application layer platform through the data processing single board, or relevant operation is carried out on the corresponding single board in the machine frame when a control instruction sent by the application layer platform is received.
In this step, if the machine frame management device determines that no abnormal condition occurs according to the analysis result, the data processing board sends the state data to the application layer platform, so that relevant personnel can know the real-time state of the machine frame, and when receiving a control instruction sent by the application layer platform, relevant operations are performed on a corresponding board in the machine frame, for example, the board is powered on and powered off and restarted, or sent to a fan for speed regulation, or sent to a power supply for switching operation, so that the relevant personnel can remotely control the machine frame.
Step S20, if it is determined that an abnormal condition occurs according to the analysis result, sending the state data to an application layer platform through the data processing board and performing an alarm.
In this embodiment, if the frame management device determines that there is an abnormal condition of a single board in the frame according to the analysis result, the state data is sent to the application layer platform through the data processing single board and an alarm is given, it can be understood that the contact way of a person in charge corresponding to the frame is prestored in the frame management device, when it determines that there is an abnormal condition of the single board in the frame, the frame management device sends the state data to the application layer platform through the data processing single board, the person in charge can see the abnormal state data through the application layer platform, the frame management device controls the alarm lamp in the frame to flash according to the specific alarm level, controls the alarm buzzer to send an alarm prompt tone, sends alarm information according to the contact way of the person in charge of the frame, or performs power-off processing and alarm on the position where the abnormal condition occurs, and the like, and gives an alarm in various ways, therefore, the responsible person or the related staff can know the occurrence of the abnormal condition at the first time and process the abnormal condition at the first time so as to reduce the loss.
Specifically, the step of sending the state data to an application layer platform and performing an alarm by the data processing board includes:
d, sending the state data to an application layer platform through the data processing single board, and displaying the state data through the application layer platform;
in this step, when it is determined that a single board in the machine frame is in an abnormal state, the machine frame management device sends the state data to the application layer platform through the data processing single board, and the responsible person can see the abnormal state data through the application layer platform.
And e, determining an alarm level corresponding to the abnormal condition based on the abnormal condition and a preset alarm level table through the data processing single board, and giving an alarm according to the alarm level.
In the step, the machine frame management equipment acquires a preset alarm level table, determines an alarm level corresponding to the abnormal condition based on the abnormal condition and the preset alarm level table through the data processing single board, determines a corresponding alarm mode according to the alarm level, and alarms according to the corresponding alarm mode.
Further, the step of determining the alarm level corresponding to the abnormal condition and giving an alarm according to the alarm level includes:
step e1, if the alarm level corresponding to the abnormal condition is determined to be a first alarm level, sending alarm information to the application layer platform;
in this step, the frame management device determines, through the data processing board, based on the abnormal condition and the preset alarm level table, that the alarm level corresponding to the abnormal condition is the first alarm level, and sends alarm information to the application layer platform, it can be understood that the abnormal condition corresponding to the first alarm level is not serious, the frame management device sends the alarm information to the application layer platform through the data processing board, and when the application layer platform receives such alarm information, the specific position of the abnormal condition occurring in the frame can be determined according to the alarm information, and a reset instruction is sent to the specific position of the abnormal condition occurring, so that the abnormal condition returns to normal.
Step e2, if the alarm level corresponding to the abnormal condition is determined to be a second alarm level, sending alarm information to the application layer platform, and driving the machine frame to send out an alarm light prompt and/or an alarm sound prompt;
in this step, the frame management device determines, through the data processing board, based on the abnormal condition and a preset alarm level table, that the alarm level corresponding to the abnormal condition is a second alarm level, and sends an alarm message to the application layer platform, and drives the frame to send an alarm light prompt and/or an alarm sound prompt.
And e3, if the alarm level corresponding to the abnormal condition is determined to be a third alarm level, sending alarm information to the application layer platform, and performing power-off processing based on the position where the abnormal condition occurs.
In the step, the frame management device determines the alarm level corresponding to the abnormal condition as a third alarm level based on the abnormal condition and a preset alarm level table through the data processing single board, sends the alarm information to the application layer platform, performs power-down processing based on the position where the abnormal condition occurs, further controls the alarm lamp in the frame to flash and/or controls the alarm buzzer to send an alarm prompt tone, it can be understood that the abnormal condition corresponding to the third alarm level is very serious and needs to be immediately processed, the frame management device determines the position where the abnormal condition occurs and performs power-down operation on the position to prevent the influence of the abnormal condition from spreading to other positions, and simultaneously the frame management device sends the alarm information to the application layer platform through the data processing single board, controls the alarm lamp in the frame to flash and/or controls the alarm buzzer to send the alarm prompt tone, to remind the responsible or supervisory personnel to handle the abnormal condition.
The machine frame management device of this embodiment acquires state data corresponding to each single board in the machine frame according to a preset time period, acquires a preset state data table through a data processing single board in the machine frame, and compares the state data corresponding to each single board in the machine frame with the state data in the preset state data table to obtain a comparison result; if the comparison result is that the difference value between the state data and the state data in the preset state data table is larger than the preset difference value, determining that the analysis result is in an abnormal condition; if the comparison result is that the difference value between the state data and the state data in the preset state data table is not larger than the preset difference value, determining that the analysis result is that no abnormal condition occurs; if the machine frame management equipment determines that an abnormal condition occurs in the machine frame according to the analysis result, the state data is sent to the application layer platform through the data processing single board, and the state data is displayed through the application layer platform; and determining an alarm level corresponding to the abnormal condition through the data processing single board based on the abnormal condition and a preset alarm level table, and giving an alarm according to the alarm level. If the machine frame management equipment determines that no abnormal condition occurs according to the analysis result, the machine frame management equipment sends the state data to the application layer platform through the data processing single board, or performs related operations on the corresponding single board in the machine frame when receiving a control instruction sent by the application layer platform. The state information of each single board is timely acquired and analyzed, and an alarm is timely sent out when an abnormal condition occurs, so that the machine frame management efficiency is improved.
Further, based on the first embodiment of the subrack management method of the present invention, a second embodiment of the subrack management method of the present invention is proposed.
The second embodiment of the subrack management method differs from the first embodiment of the subrack management method in that, before step S10, the subrack management method further comprises:
and f, when a selection instruction is detected, acquiring configuration data of each single board in the machine frame, and determining a data processing single board and a standby data processing single board set in the single boards of the machine frame according to the configuration data and a preset selection rule.
In this embodiment, when detecting a selection instruction, the machine frame management device obtains configuration data of each board in the machine frame, and determines a data processing board and a standby data processing board set in the boards of the machine frame according to the configuration data and a preset selection rule; such as: the preset selection rule is that whether a single board contains an external network port is determined, then performance data of the single board is determined, then network bandwidth of the single board is determined, then power data of the single board is determined, finally the number of fans of the single board is determined, and then a data processing single board and a standby data processing single board set are selected from all the single boards in a machine frame; as shown in fig. 3, fig. 3 is a schematic flow chart of determining a data processing board and a standby data processing board set, where a machine frame management device obtains external network port data of each board in a machine frame, screens and removes boards not including an external network port based on the external network port data, then obtains performance data of all boards including the external network port, i.e., idle processing and memory resources of the boards, further removes boards whose performance data do not meet preset performance conditions, then obtains power data of all boards whose performance data meet the preset performance conditions, i.e., the number of power sources and the power source capacity supported by the boards, further removes boards whose power data do not meet the preset power source data, then obtains the number of fans of all boards whose power source data meet the preset power source data, further removes boards whose number of fans is lower than the preset number, and finally obtains a centralized management server alignment, i.e., a data processing board and a standby data processing board set, and determining that the first single board sequenced in the alignment of the centralized management server is used as a data processing single board, and the other single boards are used as a standby data processing single board set.
Furthermore, the relevant personnel can set the corresponding data processing single board and the standby data processing single board set.
The machine frame management equipment of the embodiment acquires the configuration data of each single board in the machine frame when detecting the selection instruction, determines the data processing single board and the standby data processing single board set in the single boards of the machine frame according to the configuration data and the preset selection rule, is beneficial to timely acquiring and analyzing the state information of each single board, and timely gives an alarm when an abnormal condition occurs, thereby improving the machine frame management efficiency.
Further, based on the first embodiment and the second embodiment of the subrack management method of the present invention, a third embodiment of the subrack management method of the present invention is proposed.
The third embodiment of the machine frame management method is different from the first embodiment and the second embodiment of the machine frame management method in that before the step of obtaining the analysis result, the machine frame management method comprises the following steps of obtaining the state data corresponding to each single board in the machine frame, and analyzing the state data through the data processing single board in the machine frame:
step g, detecting whether the working state of the data processing single board is abnormal;
step h, if the working state of the data processing single board is detected to be abnormal, a standby data processing single board is obtained from the standby data processing single board set to serve as the data processing single board, and the following steps are executed: analyzing the state data through a data processing single board in the machine frame to obtain an analysis result;
step i, if the working state of the data processing single board is detected to be normal, executing the following steps: and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result.
In this embodiment, the machine frame management device detects a power state, a network state, a performance state, and the like of the current data processing board, and further determines whether the working state of the current data processing board is abnormal, and if the machine frame management device detects that the working state of the data processing board is abnormal, the machine frame management device obtains a standby data processing board ordered first in the standby data processing board set as the current data processing board, and executes the steps of: analyzing the state data through a data processing single board in the machine frame to obtain an analysis result and subsequent steps of the analysis result; if the machine frame management equipment detects that the working state of the data processing single board is normal, executing the following steps: and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result and subsequent steps of the analysis result.
The machine frame management equipment in the embodiment detects whether the working state of the data processing single board is abnormal; if the working state of the data processing single board is detected to be abnormal, acquiring the standby data processing single board from the standby data processing single board set as the data processing single board, and executing the following steps: analyzing the state data through a data processing single board in the machine frame to obtain an analysis result; if the working state of the data processing single board is detected to be normal, executing the following steps: and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result. The data processing single board can be ensured to be in a normal working state, the state information of each single board can be acquired and analyzed timely, an alarm can be sent out timely when an abnormal condition occurs, and the machine frame management efficiency is further improved.
The invention also provides a frame management device. The frame management device of the invention comprises:
the analysis module is used for acquiring state data corresponding to each single board in the machine frame and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result;
and the determining module is used for sending the state data to an application layer platform through the data processing single board and giving an alarm if the abnormal condition is determined to occur according to the analysis result.
Further, the analysis module further comprises a selection module, and the selection module is configured to:
when a selection instruction is detected, acquiring configuration data of each single board in a machine frame, and determining a data processing single board and a standby data processing single board set in the single boards of the machine frame according to the configuration data and a preset selection rule.
Further, the analysis module is further configured to:
detecting whether the working state of the data processing single board is abnormal or not;
if the working state of the data processing single board is detected to be abnormal, acquiring a standby data processing single board in the standby data processing single board set as the data processing single board, and executing the following steps: analyzing the state data through a data processing single board in the machine frame to obtain an analysis result;
if the working state of the data processing single board is detected to be normal, executing the following steps: and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result.
Further, the analysis module is further configured to:
acquiring a preset state data table through a data processing single board in the machine frame, and comparing the state data corresponding to each single board in the machine frame with the state data in the preset state data table to obtain a comparison result;
if the comparison result is that the difference value between the state data and the state data in the preset state data table is larger than a preset difference value, determining that the analysis result is an abnormal condition;
and if the comparison result is that the difference value between the state data and the state data in the preset state data table is not larger than a preset difference value, determining that the analysis result is that no abnormal condition occurs.
Further, the alarm module is further configured to:
sending the state data to an application layer platform through the data processing single board, and displaying the state data through the application layer platform;
and determining an alarm level corresponding to the abnormal condition based on the abnormal condition and a preset alarm level table through the data processing single board, and giving an alarm according to the alarm level.
Further, the alarm module is further configured to:
if the alarm level corresponding to the abnormal condition is determined to be a first alarm level, sending alarm information to the application layer platform;
if the alarm level corresponding to the abnormal condition is determined to be a second alarm level, sending alarm information to the application layer platform, and driving the machine frame to send an alarm light prompt and/or an alarm sound prompt;
and if the alarm level corresponding to the abnormal condition is determined to be a third alarm level, sending alarm information to the application layer platform, and performing power-off processing on the position where the abnormal condition occurs.
Further, the analysis module further comprises a sending and receiving module for:
and if the abnormal condition is determined not to occur according to the analysis result, the state data is sent to an application layer platform through the data processing single board, or relevant operation is carried out on the corresponding single board in the machine frame when a control instruction sent by the application layer platform is received.
The invention also provides a frame management system.
The frame management system includes: a memory, a processor, and a subrack hypervisor stored on the memory and executable on the processor, the subrack hypervisor when executed by the processor implementing the steps of the subrack management method as described above.
The method implemented when the machine frame management program running on the processor is executed may refer to each embodiment of the machine frame management method of the present invention, and details are not described here.
The invention also provides a computer readable storage medium.
The computer readable storage medium has a shelf manager stored thereon, which when executed by the processor implements the steps of the shelf management method described above.
The method implemented when the machine frame management program running on the processor is executed may refer to each embodiment of the machine frame management method of the present invention, and details are not described here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention essentially or contributing to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A machine frame management method is characterized by comprising the following steps:
acquiring state data corresponding to each single board in a machine frame, and analyzing the state data through a data processing single board in the machine frame to obtain an analysis result;
and if the abnormal condition is determined to occur according to the analysis result, sending the state data to an application layer platform through the data processing single board and giving an alarm.
2. The subrack management method according to claim 1, wherein before the step of obtaining status data corresponding to each board in the subrack and analyzing the status data by the data processing board in the subrack to obtain an analysis result, the subrack management method includes:
when a selection instruction is detected, acquiring configuration data of each single board in a machine frame, and determining a data processing single board and a standby data processing single board set in the single boards of the machine frame according to the configuration data and a preset selection rule.
3. The subrack management method of claim 2, wherein before the step of analyzing the state data by the data processing board in the subrack to obtain an analysis result, the subrack management method comprises:
detecting whether the working state of the data processing single board is abnormal or not;
if the working state of the data processing single board is detected to be abnormal, acquiring a standby data processing single board in the standby data processing single board set as the data processing single board, and executing the following steps: analyzing the state data through a data processing single board in the machine frame to obtain an analysis result;
if the working state of the data processing single board is detected to be normal, executing the following steps: and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result.
4. The subrack management method of claim 1, wherein the step of analyzing the state data by the data processing board in the subrack to obtain an analysis result comprises:
acquiring a preset state data table through a data processing single board in the machine frame, and comparing the state data corresponding to each single board in the machine frame with the state data in the preset state data table to obtain a comparison result;
if the comparison result is that the difference value between the state data and the state data in the preset state data table is larger than a preset difference value, determining that the analysis result is an abnormal condition;
and if the comparison result is that the difference value between the state data and the state data in the preset state data table is not larger than a preset difference value, determining that the analysis result is that no abnormal condition occurs.
5. The subrack management method of claim 1, wherein the sending the state data to an application layer platform and performing an alarm via the data processing board comprises:
sending the state data to an application layer platform through the data processing single board, and displaying the state data through the application layer platform;
and determining an alarm level corresponding to the abnormal condition based on the abnormal condition and a preset alarm level table through the data processing single board, and giving an alarm according to the alarm level.
6. The subrack management method of claim 5, wherein the determining an alarm level corresponding to the abnormal condition and performing an alarm according to the alarm level comprises:
if the alarm level corresponding to the abnormal condition is determined to be a first alarm level, sending alarm information to the application layer platform;
if the alarm level corresponding to the abnormal condition is determined to be a second alarm level, sending alarm information to the application layer platform, and driving the machine frame to send an alarm light prompt and/or an alarm sound prompt;
and if the alarm level corresponding to the abnormal condition is determined to be a third alarm level, sending alarm information to the application layer platform, and performing power-off processing on the position where the abnormal condition occurs.
7. The subrack management method according to claim 1, wherein, after the step of obtaining the status data corresponding to each board in the subrack and analyzing the status data by the data processing board in the subrack to obtain the analysis result, the subrack management method includes:
and if the abnormal condition is determined not to occur according to the analysis result, the state data is sent to an application layer platform through the data processing single board, or relevant operation is carried out on the corresponding single board in the machine frame when a control instruction sent by the application layer platform is received.
8. The utility model provides a frame management device, its characterized in that, frame management device includes:
the analysis module is used for acquiring state data corresponding to each single board in the machine frame and analyzing the state data through the data processing single board in the machine frame to obtain an analysis result;
and the determining module is used for sending the state data to an application layer platform through the data processing single board and giving an alarm if the abnormal condition is determined to occur according to the analysis result.
9. A subrack management system, the subrack management system comprising: memory, a processor and a subrack hypervisor stored on the memory and executable on the processor, the subrack hypervisor when executed by the processor implementing the steps of the subrack management method of any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a subrack management program, which when executed by a processor implements the steps of the subrack management method according to any one of claims 1 to 7.
CN202111565461.XA 2021-12-20 2021-12-20 Machine frame management method, device and system and computer readable storage medium Pending CN114356698A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111565461.XA CN114356698A (en) 2021-12-20 2021-12-20 Machine frame management method, device and system and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111565461.XA CN114356698A (en) 2021-12-20 2021-12-20 Machine frame management method, device and system and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN114356698A true CN114356698A (en) 2022-04-15

Family

ID=81101122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111565461.XA Pending CN114356698A (en) 2021-12-20 2021-12-20 Machine frame management method, device and system and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114356698A (en)

Similar Documents

Publication Publication Date Title
CN111045901B (en) Container monitoring method and device, storage medium and electronic equipment
CN107632219B (en) Automatic startup and shutdown test system and test method thereof
CN101690003B (en) Determine the method and system of the physical location of equipment
CN111818132B (en) Control method and device of Internet of things equipment, computer equipment and storage medium
US11662803B2 (en) Control method, apparatus, and electronic device
CN106209412B (en) Resource monitoring system and method thereof
US10469400B2 (en) Method and apparatus for provisioning of resources to support applications and their varying demands
CN111158806B (en) Interface display method, device, computer equipment and storage medium
CN110737322B (en) Information processing method and electronic equipment
CN115113987A (en) Method, device, equipment and medium for allocating non-uniform memory access resources
CN114967887A (en) Energy consumption management method, device and equipment based on industrial intelligence and storage medium
CN109582505B (en) BIOS option default value recovery system, method and device
CN114510134A (en) Method, device and storage medium for adjusting single-board fan
CN114356698A (en) Machine frame management method, device and system and computer readable storage medium
CN102819474B (en) Test method and device for system operation
CN111443791A (en) UPS monitoring method, equipment, storage medium and device based on cloud platform
CN113900911B (en) Health management system
CN115587006A (en) Energy consumption management method and device for data center, terminal equipment and storage medium
CN113672263B (en) Firmware parameter updating control method and device and electronic equipment
KR20060032079A (en) Apparatus and method for controling power saving by devices of executed program
CN110264654B (en) Security-based monitoring management method and device, readable storage medium and system
CN112882749A (en) Method and device for controlling up and down lines of application example and storage medium
CN114443439B (en) ARM server-based control method, ARM server-based control device, ARM server-based control equipment and storage medium
CN117421186B (en) Method, device, system and storage medium for adjusting server operation parameters
CN115865751B (en) Fault detection method and device based on polymorphic data

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