CN110673710B - Server case resetting method, device, equipment and medium - Google Patents

Server case resetting method, device, equipment and medium Download PDF

Info

Publication number
CN110673710B
CN110673710B CN201910866504.4A CN201910866504A CN110673710B CN 110673710 B CN110673710 B CN 110673710B CN 201910866504 A CN201910866504 A CN 201910866504A CN 110673710 B CN110673710 B CN 110673710B
Authority
CN
China
Prior art keywords
reset
local
program
control node
instruction
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.)
Active
Application number
CN201910866504.4A
Other languages
Chinese (zh)
Other versions
CN110673710A (en
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201910866504.4A priority Critical patent/CN110673710B/en
Publication of CN110673710A publication Critical patent/CN110673710A/en
Application granted granted Critical
Publication of CN110673710B publication Critical patent/CN110673710B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1441Resetting or repowering

Abstract

The application discloses a method, a device, equipment and a medium for resetting a server case, wherein the method comprises the following steps: receiving reset requirement information through a local main program, generating a reset instruction according to the reset requirement information, and sending the reset instruction to a local SES program through a preset reset instruction transmission channel; analyzing the reset instruction through the local SES program to determine the reset position of the reset instruction; and if the reset position is not a local control node, transmitting the reset instruction to an external SES program through a preset interaction channel by the local SES program so as to complete the reset of the corresponding object in the external control node, wherein the external control node is a control node except the local control node corresponding to the reset position in the server chassis, and the external SES program is an SES program in the external control node. The method and the device realize automatic and timely reset of the abnormal control node, and enhance the reliability of the server.

Description

Server case resetting method, device, equipment and medium
Technical Field
The present application relates to the field of server chassis management technologies, and in particular, to a method, an apparatus, a device, and a medium for resetting a server chassis.
Background
With the advent of the digital era, production and life are more closely connected with networks, and as a main part of network composition, the workload born by a server is continuously increased, people put higher requirements on the stability and reliability of the server, and how to ensure the continuous stable and reliable operation of the server becomes a subject of important research of researchers in the technical field of the server.
A specially configured control node is often used inside the server to manage various hardware inside the server. In a large server chassis, if a single control node is used to manage and control the entire chassis, the workload borne by the control node is too large, so that a double-control node or multiple-control nodes are usually used to manage and control the entire chassis in the large server chassis, so as to achieve the allocation of workload and accelerate the work efficiency.
Each control node in the server chassis is provided with a main program and an SES program, and if the main program or the SES program on one control node is abnormal and cannot be reset by itself after reaching the preset time, the main program or the SES program needs to be reset by means of external force except for all the control nodes, such as manual reset. In addition, after the main program and the SES program are upgraded, the reset is also needed by external force except for all control nodes. The condition can cause the interruption of the operation of the server, reduce the reliability of the server and influence the stable operation of the server.
Disclosure of Invention
In view of this, an object of the present application is to provide a method, an apparatus, a device, and a medium for resetting a server chassis, which can implement automatic and timely resetting of an abnormal control node in the server chassis, so that a server runs continuously and stably, and stability and reliability of the server are enhanced. The specific scheme is as follows:
in a first aspect, the present application discloses a server chassis resetting method, which is applied to a control node in a server chassis, and includes:
receiving reset requirement information through a local main program, generating a reset instruction according to the reset requirement information, and sending the reset instruction to a local SES program through a preset reset instruction transmission channel;
analyzing the reset instruction through the local SES program to determine the reset position of the reset instruction;
and if the reset position is not a local control node, transmitting the reset instruction to an external SES program through a preset interaction channel by the local SES program so as to complete the reset of the corresponding object in the external control node, wherein the external control node is a control node except the local control node corresponding to the reset position in the server chassis, and the external SES program is an SES program in the external control node.
Optionally, the receiving reset requirement information through the local main program includes:
receiving reset requirement information from a local SES program through a local main program;
and/or receiving reset requirement information from a local main program through the local main program;
and/or receiving reset requirement information from the main system through the local main program;
and/or receiving reset requirement information from a control node except the local control node through the local main program.
Optionally, the receiving, by the local main program, the reset requirement information, and generating the reset instruction according to the reset requirement information includes:
and receiving reset requirement information through a local main program, and generating a reset instruction comprising a reset position field, a reset object field and a log collection field according to the reset requirement information.
Optionally, after the analyzing, by the local SES program, the reset instruction to determine the reset position of the reset instruction, the method further includes:
if the reset position is a local control node, determining a reset object of the reset instruction through the local SES program;
if the reset object is the local main program, the reset instruction is issued to the local CPLD through the local SES program so as to complete the reset operation;
and if the reset object is the local SES program, performing corresponding log collection operation through the local SES program, and calling a self reset function to complete the reset operation.
Optionally, the analyzing, by the local SES program, the reset instruction to determine a reset position of the reset instruction includes:
when the control node in the server chassis is a dual-control node, analyzing the reset instruction through the local SES program, and judging whether the reset position of the reset instruction is the local control node or not so as to determine the reset position of the reset instruction.
Optionally, the analyzing, by the local SES program, the reset instruction to determine a reset position of the reset instruction includes:
when the control nodes in the server chassis are more than two control nodes, the reset instruction is analyzed through the local SES program, and the reset position field is compared with a preset reset position identification library to determine the reset position of the reset instruction.
Optionally, after the analyzing, by the local SES program, the reset instruction to determine the reset position of the reset instruction, the method further includes:
if the reset positions are a local control node and an external control node, the reset instruction is firstly issued to an external SES program through a preset interaction channel through the local SES program, and after a message of successfully receiving the reset instruction fed back by the external SES program is received, the operation aiming at the reset instruction is triggered.
In a second aspect, the present application discloses a server chassis resetting device, including:
the information receiving module is used for receiving reset requirement information through a local main program;
the instruction generating and issuing module is used for generating a reset instruction according to the reset demand information and issuing the reset instruction to a local SES program through a preset reset instruction transmission channel;
the instruction analysis module is used for analyzing the reset instruction through the local SES program so as to determine the reset position of the reset instruction;
and the instruction outward transmission module is used for transmitting the reset instruction to an external SES program through a preset interaction channel through the local SES program to complete the reset of a corresponding object in the external control node if the reset position is not the local control node, wherein the external control node is a control node corresponding to the reset position in the server chassis except the local control node, and the external SES program is an SES program in the external control node.
In a third aspect, the present application discloses a server chassis resetting device, including:
a memory and a processor;
wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the server chassis resetting method disclosed above.
In a fourth aspect, the present application discloses a computer readable storage medium for storing a computer program, wherein the computer program, when executed by a processor, implements the server chassis resetting method disclosed above.
As can be seen, the method and the device receive reset requirement information through a local main program, generate a reset instruction according to the reset requirement information, and send the reset instruction to the local SES program through a preset reset instruction transmission channel; analyzing the reset instruction through the local SES program to determine the reset position of the reset instruction; and if the reset position is not a local control node, transmitting the reset instruction to an external SES program through a preset interaction channel by the local SES program so as to complete the reset of the corresponding object in the external control node, wherein the external control node is a control node except the local control node corresponding to the reset position in the server chassis, and the external SES program is an SES program in the external control node. Therefore, after the reset demand information is acquired, the reset instruction is generated according to the reset demand information and is transmitted to the control node corresponding to the reset position, the abnormal control node is automatically and timely reset, normal operation of the server is maintained, the server is continuously and stably operated, and stability and reliability of the server are enhanced.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a server chassis resetting method disclosed in the present application;
fig. 2 is a schematic diagram of a specific server chassis dual-control node structure disclosed in the present application;
FIG. 3 is a diagram of a specific reset command action path disclosed herein;
FIG. 4 is a diagram of a specific reset command action path disclosed herein;
FIG. 5 is a flow chart of a particular server chassis reset method disclosed herein;
FIG. 6 is a diagram of a specific reset command action path disclosed herein;
FIG. 7 is a diagram of a specific reset command action path disclosed herein;
FIG. 8 is a specific server chassis relocation diagram as disclosed herein;
FIG. 9 is a diagram of a specific reset command action path disclosed herein;
fig. 10 is a schematic structural diagram of a server chassis resetting device disclosed in the present application;
fig. 11 is a schematic structural diagram of a server chassis resetting device disclosed in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
At present, each control node in a server chassis is provided with a main program and an SES program, and if the main program or the SES program on one control node is abnormal and cannot be reset by itself after reaching a preset time, the main program or the SES program needs to be reset by means of external force except for all the control nodes, such as manual reset. In addition, after the main program and the SES program are upgraded, the reset is also needed by external force except for all control nodes. The condition can cause the interruption of the operation of the server, reduce the reliability of the server and influence the stable operation of the server. In view of this, the present application provides a method for resetting a server chassis, which can implement automatic and timely resetting of an abnormal control node in the server chassis, so that the server runs continuously and stably, and stability and reliability of the server are enhanced.
The embodiment of the application discloses a method for resetting a server chassis, which is applied to a control node in the server chassis and is shown in fig. 1, and the method comprises the following steps:
step S11: the method comprises the steps of receiving reset requirement information through a local main program, generating a reset instruction according to the reset requirement information, and sending the reset instruction to the local SES program through a preset reset instruction transmission channel.
In this embodiment, the local main program refers to a main program in the control node. Each control node in the server chassis comprises a main program and an SES program operated on an SAS expander, wherein the main part of the main program is an EM (encryption management) thread, and the main tasks of the EM thread and the SES program are respectively as follows:
the EM thread:
11) receiving data and state sent by the SES program, and updating internal data;
12) when an abnormal state occurs, an alarm which can be visually checked by a user is initiated, and whether the main system needs to perform other processing aiming at the abnormality or not is inquired, for example, whether shutdown protection needs to be performed or not when the temperature of some key elements is ultrahigh;
13) when the main system needs to control a certain hardware in the program operation, the control instruction is issued to the SES program through the EM, and the SES program actually controls the corresponding hardware to perform corresponding operations, such as reading and writing configuration information, turning off or lighting on an abnormal lamp and the like.
SES program:
21) circularly reading state information of peripheral equipment such as a fan, a power supply and the like at high frequency, judging whether the peripheral equipment is abnormal or not according to the read state information, and reporting the abnormal state and corresponding information of the abnormal equipment to an EM thread if the peripheral equipment is abnormal;
22) receiving and executing the issued control instruction;
23) and performing self-control treatment in the self-control device, and automatically adjusting the rotating speed of the fan according to a fan rotating speed strategy when the temperature of the chassis is detected.
In this embodiment, the preset reset instruction transmission channel is a channel for transmitting a reset instruction, which is newly added between the local main program and the SES program, and is different from the EM thread. The preset reset instruction transmission channel comprises an SES protocol transmission channel. Correspondingly, a channel for transmitting a reset instruction is additionally arranged between the main program and the SES program in each control node in the server case. When the preset reset instruction transmission channel is an SES protocol transmission channel, the main program and the SES program communicate through an SES protocol, and each transmitted SES page is received and transmitted in a SED/RECEIVE DIAGNOSTIC page mode so as to transmit information.
It is understood that after a channel for transmitting the reset instruction is added, a format of the reset instruction is further defined, and in this embodiment, the reset instruction includes a reset location field, a reset object field, and a log collection field. Wherein the reset location field is used to determine a control node to be reset; the reset object field is used for determining whether a main program or an SES program needs to be reset; the log collection field is used for determining whether log collection is required, and when the reset object is an SES program, whether log collection is required is determined. When the SES program is abnormal, log collection is needed first, and then reset is needed. And establishing a reset page between the main program and the SES program according to a defined reset instruction format so as to transmit a reset instruction.
In this embodiment, the reset requirement information may be reset requirement information of any one or several items from a local SES program, a local main program itself, a main system, and a control node other than the local control node. For example, the reset requirement information from the local SES program is received through the local main program, or the reset requirement information from the local SES program, the control node other than the local control node, and the main system is received through the local main program.
In addition, after the local main program or the local SES program is upgraded, a reset instruction is also generated through the local main program so as to reset the local main program or the local SES program.
Step S12: and analyzing the reset instruction through the local SES program to determine the reset position of the reset instruction.
It can be understood that, after receiving the reset instruction through the local SES program, the local SES program needs to analyze the reset instruction to obtain a reset position, a reset object, and log collection information corresponding to the reset instruction, so as to determine the reset position of the reset instruction.
Step S13: and if the reset position is not a local control node, transmitting the reset instruction to an external SES program through a preset interaction channel by the local SES program so as to complete the reset of the corresponding object in the external control node, wherein the external control node is a control node except the local control node corresponding to the reset position in the server chassis, and the external SES program is an SES program in the external control node.
It can be understood that, if the reset position is not the local control node corresponding to the local main program and the SES program, the local SES program transmits the reset instruction to an external SES program through a preset interaction channel to reset a corresponding object in the external control node, where the external control node is a control node in the server chassis corresponding to the reset position except the local control node, and the external SES program is an SES program in the external control node.
Fig. 2 is a schematic structural diagram of the server chassis in this embodiment, in which the control node is a dual control node. The control node in the server chassis is divided into a node 10 and a node 20, where the node 10 includes a main program 11, an SES program 12, and a CPLD13(complex programmable logic device), and the node 20 includes a main program 21, an SES program 22, and a CPLD 23. The SES program 12 and the SES program 22 are connected through a preset interaction channel, the main program 11 and the SES program 12, and the main program 21 and the SES program 22 are connected through a preset reset instruction transmission channel, and the CPLD13 and the CPLD23 can respectively reset the main program 11 and the main program 21 by power-off and restart, so that the reset is represented by dotted arrows. The main program 11 is indirectly connected with the main program 21, that is, the main program 11 is connected with the SES program 12 through a preset reset instruction transmission channel, the SES program 12 is connected with the SES program 22 through a preset interaction channel, the SES program 22 is connected with the CPLD23, and the CPLD23 is powered off and restarted on the main program 21 to reset the main program 21, or vice versa.
In this embodiment, after receiving the reset instruction, the external SES program parses the reset instruction to determine a reset object of the reset instruction, and completes a reset operation according to the reset object. And if the reset object is the external SES program, performing corresponding log collection operation through the external SES program, and calling a reset function of the external SES program to complete reset operation. At this time, the path diagram of the reset instruction action is shown in fig. 3, a local main program issues the reset instruction to a local SES program through a preset reset instruction transmission channel, the local SES program analyzes the reset instruction and then transmits the reset instruction to an external SES program through a preset interaction channel, and the external SES program analyzes the reset instruction and then performs corresponding log collection operation according to a log collection field and calls a self reset function to realize the reset of the external SES program. And if the reset object is the external main program, issuing the reset operation instruction to an external CPLD through the external SES program, and restarting the external main program in a power-down manner by the external CPLD so as to complete the reset operation of the external main program. At this time, the path diagram of the reset instruction is shown in fig. 4, a local main program issues a reset instruction to a local SES program through a preset reset instruction transmission channel, the local SES program analyzes the reset instruction and then transmits the reset instruction to an external SES program through a preset interaction channel, the external SES program analyzes the reset instruction and then issues the reset instruction to an external CPLD, and the external CPLD completes the reset operation of the external main program by powering off and restarting the external main program.
As can be seen, the method and the device receive reset requirement information through a local main program, generate a reset instruction according to the reset requirement information, and send the reset instruction to the local SES program through a preset reset instruction transmission channel; analyzing the reset instruction through the local SES program to determine the reset position of the reset instruction; and if the reset position is not a local control node, transmitting the reset instruction to an external SES program through a preset interaction channel by the local SES program so as to complete the reset of the corresponding object in the external control node, wherein the external control node is a control node except the local control node corresponding to the reset position in the server chassis, and the external SES program is an SES program in the external control node. Therefore, after the reset demand information is acquired, the reset instruction is generated according to the reset demand information and is transmitted to the control node corresponding to the reset position, the abnormal control node is automatically and timely reset, normal operation of the server is maintained, the server is continuously and stably operated, and stability and reliability of the server are enhanced.
Referring to fig. 5, an embodiment of the present application discloses a specific server chassis resetting method, which is applied to a control node in a server chassis, and the method includes:
step S21: the method comprises the steps of receiving reset requirement information through a local main program, generating a reset instruction comprising a reset position field, a reset object field and a log collection field according to the reset requirement information, and sending the reset instruction to the local SES program through a preset reset instruction transmission channel.
Step S22: and analyzing the reset instruction through the local SES program to determine the reset position of the reset instruction.
It is understood that the reset instruction includes a reset location field, a reset object field, and a log collection field, and the local SES program may parse the reset instruction to determine the reset control node corresponding to the reset instruction.
In a first specific embodiment, the analyzing, by the local SES program, the reset instruction to determine a reset position of the reset instruction may specifically include: when the control node in the server chassis is a dual-control node, analyzing the reset instruction through the local SES program, and judging whether the reset position of the reset instruction is the local control node or not so as to determine the reset position of the reset instruction. It can be understood that, for the server chassis with dual control nodes, if the reset position of the reset instruction is not the local control node, the reset position is the control node except the local control node, so that the reset position of the reset instruction can be determined only by judging whether the reset position of the reset instruction is the local node.
In a second specific embodiment, the analyzing, by the local SES program, the reset instruction to determine a reset position of the reset instruction may specifically include: when the control nodes in the server chassis are more than two control nodes, the reset instruction is analyzed through the local SES program, and the reset position field is compared with a preset reset position identification library to determine the reset position of the reset instruction. Specifically, when the number of control nodes in the server chassis is greater than 2, the method for determining the reset position of the reset instruction by judging whether the reset position of the reset instruction is the local control node is troublesome, and is not favorable for quickly determining the reset position. Therefore, when the number of the control nodes in the server chassis is greater than 1, an identifier can be given to each control node to form a preset reset position identifier library, and the reset position information obtained by analyzing the reset instruction is compared with the preset reset position identifier library, so that the reset position of the reset instruction can be quickly determined.
Step S23: and if the reset position is a local control node, determining a reset object of the reset instruction through the local SES program.
It can be understood that, if the reset position is a local control node, the local SES program determines a reset object of the reset instruction, and it is clear whether the reset object is the local main program or the local SES program.
Step S24: and if the reset object is the local main program, the reset instruction is issued to the local CPLD through the local SES program so as to complete the reset operation.
It can be understood that, when the reset object is the local main program, the reset instruction is issued to the local CPLD through the local SES program, and the local CPLD restarts the local main program in a power-down manner to complete the reset operation of the local main program. At this time, referring to fig. 6, a path diagram of the reset instruction function is shown, where a local main program issues a reset instruction to a local SES program through a preset reset instruction transmission channel, the local SES program parses the reset instruction and then issues the reset instruction to a local CPLD, and the local CPLD completes the reset operation of the local main program by powering off and restarting the local main program.
Step S25: and if the reset object is the local SES program, performing corresponding log collection operation through the local SES program, and calling a self reset function to complete the reset operation.
It can be understood that, when the reset object is the local SES program, the local SES program determines whether to collect logs according to the log collection field in the reset instruction, and if the logs are to be collected, collects the logs first, and calls the self-reset function to complete the reset operation; if the log does not need to be collected, the self-reset function is directly called to complete the reset operation. At this time, referring to fig. 7, a path diagram of the reset instruction function is shown, where a local main program issues a reset instruction to a local SES program through a preset reset instruction transmission channel, and after the local SES program analyzes the reset instruction, the local SES program performs a corresponding log collection operation according to a log collection field, and calls a self reset function to implement the local SES program reset.
Referring to fig. 8, an embodiment of the present application discloses a specific server chassis resetting method, which is applied to a control node in a server chassis, and the method includes:
step S31: the method comprises the steps of receiving reset requirement information through a local main program, generating a reset instruction comprising a reset position field, a reset object field and a log collection field according to the reset requirement information, and sending the reset instruction to the local SES program through a preset reset instruction transmission channel.
Step S32: and analyzing the reset instruction through the local SES program to determine the reset position of the reset instruction.
Step S33: if the reset positions are a local control node and an external control node, the reset instruction is firstly issued to an external SES program through a preset interaction channel through the local SES program, and after a message of successfully receiving the reset instruction fed back by the external SES program is received, the operation aiming at the reset instruction is triggered.
In this embodiment, the reset instruction may reset one control node or reset a plurality of control nodes. When the reset positions of the reset instruction are a local control node and an external control node, the reset instruction is firstly issued to an external SES program through a preset interaction channel by the local SES program, and after a message of successfully receiving the reset instruction fed back by the external SES program is received, the operation aiming at the reset instruction is triggered. Specifically, after receiving the message of successfully receiving the reset instruction fed back by the external SES program, the local SES program and the external SES program analyze the reset instruction to determine a reset object, so as to complete the reset operation of the corresponding object. For example, when the reset objects are a local main program and an external main program, the path diagram of the reset instruction action can be shown in fig. 9, the local main program issues the reset instruction to the local SES program through a preset reset instruction transmission channel, the local SES program analyzes the reset instruction and then transmits the reset instruction to the external SES program through a preset interaction channel, after receiving the message that the reset instruction is successfully received and fed back by the external SES program, the local SES program transmits the reset instruction to the local CPLD to complete the reset of the local main program, and the external SES program transmits the reset instruction to the external CPLD to complete the reset of the local main program.
Referring to fig. 10, an embodiment of the present application discloses a server chassis resetting device, including:
an information receiving module 31, configured to receive reset requirement information through a local main program;
the instruction generating and issuing module 32 is configured to generate a reset instruction according to the reset requirement information, and issue the reset instruction to a local SES program through a preset reset instruction transmission channel;
the instruction analysis module 33 is configured to analyze the reset instruction through the local SES program to determine a reset position of the reset instruction;
and an instruction outward transmission module 34, configured to transmit, by the local SES program, the reset instruction to an external SES program through a preset interaction channel if the reset position is not a local control node, so as to complete resetting of a corresponding object in the external control node, where the external control node is a control node in the server chassis corresponding to the reset position except the local control node, and the external SES program is an SES program in the external control node.
As can be seen, the method and the device receive reset requirement information through a local main program, generate a reset instruction according to the reset requirement information, and send the reset instruction to the local SES program through a preset reset instruction transmission channel; analyzing the reset instruction through the local SES program to determine the reset position of the reset instruction; and if the reset position is not a local control node, transmitting the reset instruction to an external SES program through a preset interaction channel by the local SES program so as to complete the reset of the corresponding object in the external control node, wherein the external control node is a control node except the local control node corresponding to the reset position in the server chassis, and the external SES program is an SES program in the external control node. Therefore, after the acquired reset demand information is obtained, the reset instruction is generated according to the reset demand information and is transmitted to the control node corresponding to the reset position, the abnormal control node is automatically and timely reset, normal operation of the server is maintained, the server is continuously and stably operated, and stability and reliability of the server are enhanced.
Further, referring to fig. 11, an embodiment of the present application further discloses a server chassis resetting device, including: a processor 41 and a memory 42.
Wherein the memory 42 is used for storing computer programs; the processor 41 is configured to execute the computer program to implement the server chassis resetting method disclosed in the foregoing embodiment.
For the specific process of the data destruction method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
Further, an embodiment of the present application also discloses a computer-readable storage medium for storing a computer program, where the computer program is executed by a processor to implement the server chassis resetting method disclosed in any of the foregoing embodiments.
For the specific process of the data destruction method, reference may be made to corresponding contents disclosed in the foregoing embodiments, and details are not repeated here.
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.
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 is further 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 other 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 above detailed description is given to a method, an apparatus, a device, and a medium for resetting a server chassis provided by the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method for resetting a server chassis is applied to a control node in the server chassis and comprises the following steps:
receiving reset requirement information through a local main program, generating a reset instruction according to the reset requirement information, and sending the reset instruction to a local SES program through a preset reset instruction transmission channel;
analyzing the reset instruction through the local SES program to determine the reset position of the reset instruction;
and if the reset position is not a local control node, transmitting the reset instruction to an external SES program through a preset interaction channel by the local SES program so as to complete the reset of the corresponding object in the external control node, wherein the external control node is a control node except the local control node corresponding to the reset position in the server chassis, and the external SES program is an SES program in the external control node.
2. The method for resetting the server chassis according to claim 1, wherein the receiving the reset requirement information through the local main program comprises:
receiving reset requirement information from a local SES program through a local main program;
and/or receiving reset requirement information from a local main program through the local main program;
and/or receiving reset requirement information from the main system through the local main program;
and/or receiving reset requirement information from a control node except the local control node through the local main program.
3. The method for resetting the server chassis according to claim 1, wherein the receiving reset requirement information through a local main program and generating a reset instruction according to the reset requirement information comprises:
and receiving reset requirement information through a local main program, and generating a reset instruction comprising a reset position field, a reset object field and a log collection field according to the reset requirement information.
4. The method of claim 3, wherein after parsing the reset command by the local SES program to determine a reset location of the reset command, the method further comprises:
if the reset position is a local control node, determining a reset object of the reset instruction through the local SES program;
if the reset object is the local main program, the reset instruction is issued to the local CPLD through the local SES program so as to complete the reset operation;
and if the reset object is the local SES program, performing corresponding log collection operation through the local SES program, and calling a self reset function to complete the reset operation.
5. The method of claim 3, wherein the parsing, by the local SES program, the reset command to determine a reset location of the reset command comprises:
when the control node in the server chassis is a dual-control node, analyzing the reset instruction through the local SES program, and judging whether the reset position of the reset instruction is the local control node or not so as to determine the reset position of the reset instruction.
6. The method of claim 3, wherein the parsing, by the local SES program, the reset command to determine a reset location of the reset command comprises:
when the control nodes in the server chassis are more than two control nodes, the reset instruction is analyzed through the local SES program, and the reset position field is compared with a preset reset position identification library to determine the reset position of the reset instruction.
7. The server chassis resetting method of any one of claims 1 to 6, wherein after parsing the reset command by the local SES program to determine a reset location of the reset command, the method further comprises:
if the reset positions are a local control node and an external control node, the reset instruction is firstly issued to an external SES program through a preset interaction channel through the local SES program, and after a message of successfully receiving the reset instruction fed back by the external SES program is received, the operation aiming at the reset instruction is triggered.
8. A server chassis resetting device, comprising:
the information receiving module is used for receiving reset requirement information through a local main program;
the instruction generating and issuing module is used for generating a reset instruction according to the reset demand information and issuing the reset instruction to a local SES program through a preset reset instruction transmission channel;
the instruction analysis module is used for analyzing the reset instruction through the local SES program so as to determine the reset position of the reset instruction;
and the instruction outward transmission module is used for transmitting the reset instruction to an external SES program through a preset interaction channel through the local SES program to complete the reset of a corresponding object in the external control node if the reset position is not the local control node, wherein the external control node is a control node corresponding to the reset position in the server chassis except the local control node, and the external SES program is an SES program in the external control node.
9. A server chassis reset device, comprising:
a memory and a processor;
wherein the memory is used for storing a computer program;
the processor is configured to execute the computer program to implement the server chassis resetting method according to any one of claims 1 to 7.
10. A computer readable storage medium for storing a computer program, wherein the computer program when executed by a processor implements the server chassis resetting method of any of claims 1 to 7.
CN201910866504.4A 2019-09-12 2019-09-12 Server case resetting method, device, equipment and medium Active CN110673710B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910866504.4A CN110673710B (en) 2019-09-12 2019-09-12 Server case resetting method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910866504.4A CN110673710B (en) 2019-09-12 2019-09-12 Server case resetting method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN110673710A CN110673710A (en) 2020-01-10
CN110673710B true CN110673710B (en) 2021-06-11

Family

ID=69078099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910866504.4A Active CN110673710B (en) 2019-09-12 2019-09-12 Server case resetting method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN110673710B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220321637A1 (en) * 2021-03-31 2022-10-06 Acer Incorporated Remote pairing device and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6920511B2 (en) * 2001-10-19 2005-07-19 Hewlett-Packard Development Company, L.P. Method and apparatus for controlling communications in data storage complexes
US8972645B2 (en) * 2012-09-19 2015-03-03 Hewlett-Packard Development Company, L.P. Request sent to storage device based on moving average
CN107070699A (en) * 2017-03-04 2017-08-18 郑州云海信息技术有限公司 Controller monitoring is managed in storage system redundancy design method and device
CN110032516A (en) * 2019-04-12 2019-07-19 苏州浪潮智能科技有限公司 A kind of the debugging feedback information acquisition methods and relevant apparatus of transfer program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107480021A (en) * 2017-08-18 2017-12-15 郑州云海信息技术有限公司 A kind of method and system based on test Expander backboard hard disk indication lamps under linux system
TWI676890B (en) * 2017-12-12 2019-11-11 緯穎科技服務股份有限公司 Chahssis monitoring system and chassis monitoring method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6920511B2 (en) * 2001-10-19 2005-07-19 Hewlett-Packard Development Company, L.P. Method and apparatus for controlling communications in data storage complexes
US8972645B2 (en) * 2012-09-19 2015-03-03 Hewlett-Packard Development Company, L.P. Request sent to storage device based on moving average
CN107070699A (en) * 2017-03-04 2017-08-18 郑州云海信息技术有限公司 Controller monitoring is managed in storage system redundancy design method and device
CN110032516A (en) * 2019-04-12 2019-07-19 苏州浪潮智能科技有限公司 A kind of the debugging feedback information acquisition methods and relevant apparatus of transfer program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SAS EXPANDER FPGA EMULATION;Ivy Chow;《SIMON FRASER UNIVERSITY》;20051231;全文 *
SAS扩展器的设计与实现;常凯;《中国优秀硕士学位论文全文数据库 信息科技辑》;20100515;全文 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220321637A1 (en) * 2021-03-31 2022-10-06 Acer Incorporated Remote pairing device and method

Also Published As

Publication number Publication date
CN110673710A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN111045901B (en) Container monitoring method and device, storage medium and electronic equipment
CN103530199B (en) A kind of method, Apparatus and system repairing running software mistake
CN107704904B (en) Gas equipment management system and method and mobile terminal
CN109714202A (en) A kind of client off-line reason method of discrimination and concentrating type safety management system
CN111431754A (en) Fault analysis method and system for power distribution and utilization communication network
WO2021190659A1 (en) System data acquisition method and apparatus, and medium and electronic device
US10664335B2 (en) System and method for maintaining the health of a machine
CN107729213B (en) Background task monitoring method and device
CN112612850A (en) Data synchronization method and device
CN110673710B (en) Server case resetting method, device, equipment and medium
CN110502581B (en) Distributed database system monitoring method and device
CN104780062A (en) Method for quickly acquiring IP address of BMC management network interface
CN113220342A (en) Centralized configuration method and device, electronic equipment and storage medium
US20230359514A1 (en) Operation-based event suppression
CN112068940A (en) Real-time task scheduling method, device, scheduling system and storage medium
CN112732305A (en) Intelligent device upgrading method and device, mobile terminal, intelligent device and medium
CN111162938A (en) Data processing system and method
US9575865B2 (en) Information processing system and monitoring method
CN111723064A (en) Log collection method and device, server and storage medium
JP2017207903A (en) Processor, method and program
WO2021109432A1 (en) Data transmission method, apparatus, and device, and storage medium
JP5056464B2 (en) Process monitoring method, information processing apparatus, and program
CN113553243A (en) Remote error detection method
CN113453376A (en) Network configuration method, related device, equipment and storage medium
CN110990213A (en) Method and device for monitoring user logs in cluster environment in real time

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
GR01 Patent grant
GR01 Patent grant