CN110096417B - Method and system for solving false lighting of hard disk in non-reconstruction state - Google Patents
Method and system for solving false lighting of hard disk in non-reconstruction state Download PDFInfo
- Publication number
- CN110096417B CN110096417B CN201910289176.6A CN201910289176A CN110096417B CN 110096417 B CN110096417 B CN 110096417B CN 201910289176 A CN201910289176 A CN 201910289176A CN 110096417 B CN110096417 B CN 110096417B
- Authority
- CN
- China
- Prior art keywords
- hard disk
- control source
- lighting
- state
- indicator lamp
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000004458 analytical method Methods 0.000 claims description 8
- 238000012538 light obscuration Methods 0.000 claims description 2
- 230000006399 behavior Effects 0.000 description 5
- 230000006872 improvement Effects 0.000 description 4
- 230000008033 biological extinction Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/325—Display of status information by lamps or LED's
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention relates to the technical field of servers, and provides a solving method and a solving system for false lighting of a hard disk in a non-reconstruction state, wherein the method comprises the following steps: receiving lighting information of each indicator light control source; analyzing the received lighting information sent by each indicator light control source to obtain lighting state information corresponding to each control source; when the lighting information sent by the VPP control source or the SGPIO control source simultaneously contains the hard disk positioning state information and the hard disk fault state information, judging that the hard disk is in a reconstruction state, and controlling to light a hard disk reconstruction indicator lamp; when the lighting information sent by the VPP control source or the SGPIO control source is hard disk fault state information, the control lights the hard disk fault indicator lamp, and shields the lighting information sent by the I2C control source, so that the lighting arbitration of each lighting control source is realized, the reconstruction state of the hard disk is accurately identified, and the correct reconstruction state lighting behavior is carried out only in the state.
Description
Technical Field
The invention belongs to the technical field of servers, and particularly relates to a method and a system for solving false lighting of a hard disk in a non-rebuilding state.
Background
The industry of servers is mature, server products are endless, and the key device hard disk used in the server still occupies an irreplaceable position. The hard disk is mainly divided into an SAS/SATA hard disk and an NVME hard disk, and the server backboard is used for managing the hard disk and mainly managing the behavior of the LED lamp aiming at different working states of the hard disk. On the hard disk backboard, the controller is mainly used for managing the blue light and the red light of the LED lamp of the hard disk. The hard disk rebuilding refers to a process of removing one hard disk after the RAID of the hard disk group, inserting the hard disk, and recovering the RAID.
At present, in the application process of a server, although a hard disk is not rebuilt, because a control source for lighting the hard disk is too many and an arbitration mechanism is not provided, lighting behavior is disturbed, and a hard disk rebuilding indicator light is wrongly lighted.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method for solving the problem that in the prior art, although a hard disk is not rebuilt in the application process of a server, the hard disk is not rebuilt, because the control source of the hard disk is too many and an arbitration mechanism is not provided, the lighting behavior is disordered, and a hard disk rebuilding indicator lamp is wrongly lighted.
The technical scheme provided by the invention is as follows: a method for solving false lighting of a hard disk in a non-rebuilding state, the method comprising the following steps:
receiving lighting information of each indicator light control source, wherein the indicator light control sources comprise a VPP control source, an SGPIO control source and an I2C control source;
analyzing the received lighting information sent by each indicator light control source to obtain lighting state information corresponding to each control source, wherein the lighting state information comprises hard disk positioning state information, hard disk fault state information and hard disk reconstruction state information;
when the lighting information sent by the VPP control source or the SGPIO control source simultaneously contains the hard disk positioning state information and the hard disk fault state information, judging that the hard disk is in a reconstruction state, and controlling to light a hard disk reconstruction indicator lamp;
and when the lighting information sent by the VPP control source or the SGPIO control source is the hard disk fault state information, controlling to light a hard disk fault indicator lamp, and shielding the lighting information sent by the I2C control source.
As an improvement, the method further comprises the steps of:
continuously receiving lighting information sent by the VPP control source and the SGPIO control source, and analyzing the lighting information;
and when the analysis results show that the lighting information sent by the VPP control source and the SGPIO control source contains the hard disk fault indicator lamp extinction information, canceling the shielding state of the lighting information sent by the I2C control source.
As an improved scheme, a CPU controls a hard disk positioning indicator lamp and a hard disk fault indicator lamp of an NVME hard disk through VPP;
the SAS card/RAID card and PCH control a hard disk positioning indicator lamp and a hard disk fault indicator lamp of the SAS/SATA hard disk through SGPIO;
and the BMC controls the hard disk positioning indicator lamp of the hard disk through the I2C.
As an improvement, in the lighting information, a blue light is used for indicating hard disk positioning, a red light is used for indicating hard disk failure, and the blue light and the red light are simultaneously lighted for indicating hard disk reconstruction.
Another object of the present invention is to provide a solution system for false lighting in a non-rebuilding state of a hard disk, the system comprising:
the lighting information receiving module is used for receiving lighting information of each indicator light control source, wherein the indicator light control sources comprise a VPP control source, an SGPIO control source and an I2C control source;
the analysis module is used for analyzing the received lighting information sent by each indicator light control source and obtaining lighting state information corresponding to each control source, wherein the lighting state information comprises hard disk positioning state information, hard disk fault state information and hard disk reconstruction state information;
the reconstruction state control module is used for judging that the hard disk is in a reconstruction state when the lighting information sent by the VPP control source or the SGPIO control source simultaneously contains the hard disk positioning state information and the hard disk fault state information, and controlling to light a hard disk reconstruction indicator lamp;
the fault indicator lamp lighting module is used for controlling to light the hard disk fault indicator lamp when the lighting information sent by the VPP control source or the SGPIO control source is the hard disk fault state information;
and the lighting information shielding module is used for shielding the lighting information sent by the I2C control source.
As an improvement, the system further comprises:
the lighting information continuous receiving and analyzing module is used for continuously receiving and analyzing the lighting information sent by the VPP control source and the SGPIO control source;
and the shielding state canceling module is used for canceling the shielding state of the lighting information sent by the I2C control source when the lighting information sent by the VPP control source and the SGPIO control source is obtained through analysis and contains the hard disk fault indicator light extinction information.
As an improved scheme, a CPU controls a hard disk positioning indicator lamp and a hard disk fault indicator lamp of an NVME hard disk through VPP;
the SAS card/RAID card and PCH control a hard disk positioning indicator lamp and a hard disk fault indicator lamp of the SAS/SATA hard disk through SGPIO;
and the BMC controls the hard disk positioning indicator lamp of the hard disk through the I2C.
As an improvement, in the lighting information, a blue light is used for indicating a hard disk positioning indicator light, a red light is used for indicating a hard disk fault indicator light, and the blue light and the red light are simultaneously lighted for indicating a hard disk reconstruction indicator light.
In the embodiment of the invention, the lighting information of each indicator light control source is received; analyzing the received lighting information sent by each indicator light control source to obtain lighting state information corresponding to each control source; when the lighting information sent by the VPP control source or the SGPIO control source simultaneously contains the hard disk positioning state information and the hard disk fault state information, judging that the hard disk is in a reconstruction state, and controlling to light a hard disk reconstruction indicator lamp; when the lighting information sent by the VPP control source or the SGPIO control source is hard disk fault state information, the control lights the hard disk fault indicator lamp, and shields the lighting information sent by the I2C control source, so that the lighting arbitration of each lighting control source is realized, the reconstruction state of the hard disk is accurately identified, and the correct reconstruction state lighting action is carried out only in the state.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. Like elements or portions are generally identified by like reference numerals throughout the several figures. In the drawings, elements or portions thereof are not necessarily drawn to scale.
FIG. 1 is a flow chart of a solution for false lighting of a hard disk in a non-rebuilding state;
fig. 2 is a block diagram of a system for solving the problem of false lighting in a hard disk non-rebuilding state.
Detailed Description
Embodiments of the technical scheme of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for the purpose of more clearly illustrating the technical aspects of the present invention, and thus are merely exemplary and are not to be construed as limiting the scope of the present invention.
Fig. 1 shows a flowchart of an implementation method for solving the problem of false lighting in a non-rebuilding state of a hard disk, which specifically includes the following steps:
in step S101, lighting information of each indicator light control source is received, where the indicator light control sources include a VPP control source, an SGPIO control source, and an I2C control source;
in step S102, the received lighting information sent by each indicator light control source is analyzed, and lighting state information corresponding to each control source is obtained, where the lighting state information includes hard disk positioning state information, hard disk fault state information and hard disk reconstruction state information;
in step S103, when the lighting information sent by the VPP control source or the SGPIO control source includes both the hard disk positioning state information and the hard disk fault state information, it is determined that the hard disk is in a rebuilding state, and the hard disk rebuilding indicator lamp is controlled to be turned on;
in step S104, when the lighting information sent by the VPP control source or the SGPIO control source is hard disk failure state information, the control turns on the hard disk failure indicator lamp, and at the same time, masks the lighting information sent by the I2C control source.
In this embodiment, after step S104 is performed, the following steps are further required:
(1) Continuously receiving lighting information sent by the VPP control source and the SGPIO control source, and analyzing the lighting information;
(2) And when the analysis results show that the lighting information sent by the VPP control source and the SGPIO control source contains the hard disk fault indicator lamp extinction information, canceling the shielding state of the lighting information sent by the I2C control source.
In the embodiment, the CPU controls the hard disk positioning indicator lamp and the hard disk fault indicator lamp of the NVME hard disk through the VPP;
the SAS card/RAID card and PCH control a hard disk positioning indicator lamp and a hard disk fault indicator lamp of the SAS/SATA hard disk through SGPIO;
and the BMC controls the hard disk positioning indicator lamp of the hard disk through the I2C.
In this embodiment, in the lighting information, blue light is used to indicate hard disk positioning, red light is used to indicate hard disk failure, and blue light and red light are simultaneously lighted to indicate hard disk reconstruction.
In the embodiment of the invention, on the basis of not changing the existing backboard management topology, the lighting information sent by the three control sources of the CPU, the SAS card/the RAID card/the PCH and the BMC is analyzed in real time by modifying the CPLD code, the lighting behaviors and the lighting sequence are analyzed and arbitrated, and finally the reconstruction state and the non-reconstruction state are correctly identified, and the correct lighting behaviors are carried out. Finally, on the premise of not making any hardware modification, the problem of false lighting of the powder lamp caused by the fact that in the existing scheme, in the hard disk non-reconstruction state, the VPP or SGPIO control is used for lighting the Error LED and the BMC control is used for lighting the location LED is solved.
Fig. 2 is a block diagram of a solution system for solving the false lighting of the hard disk in the non-rebuilding state, and for convenience of explanation, only the parts related to the embodiments of the present invention are shown in the figure.
The solving system for the error lighting of the hard disk in the non-rebuilding state comprises:
a lighting information receiving module 11, configured to receive lighting information of each indicator light control source, where the indicator light control sources include a VPP control source, an SGPIO control source, and an I2C control source;
the analysis module 12 is configured to analyze the received lighting information sent by each indicator light control source, and obtain lighting state information corresponding to each control source, where the lighting state information includes hard disk positioning state information, hard disk fault state information, and hard disk reconstruction state information;
the reconstruction state control module 13 is configured to determine that the hard disk is in a reconstruction state when the lighting information sent by the VPP control source or the SGPIO control source includes both the hard disk positioning state information and the hard disk fault state information, and control to light a hard disk reconstruction indicator lamp;
the fault indicator lamp lighting module 14 is configured to control to light a hard disk fault indicator lamp when lighting information sent by the VPP control source or the SGPIO control source is hard disk fault state information;
and the lighting information shielding module 15 is used for shielding the lighting information sent by the I2C control source.
In this embodiment, the system further comprises:
the lighting information continuous receiving and analyzing module 16 is configured to continuously receive and analyze the lighting information sent by the VPP control source and the SGPIO control source;
and the shielding state canceling module 17 is configured to cancel the shielding state of the lighting information sent by the I2C control source when the lighting information sent by the VPP control source and the SGPIO control source obtained by analysis includes the hard disk failure indication lamp extinction information.
The functions of the above modules are described in the above method embodiments, and are not described herein.
In the embodiment of the invention, the lighting information of each indicator light control source is received; analyzing the received lighting information sent by each indicator light control source to obtain lighting state information corresponding to each control source; when the lighting information sent by the VPP control source or the SGPIO control source simultaneously contains the hard disk positioning state information and the hard disk fault state information, judging that the hard disk is in a reconstruction state, and controlling to light a hard disk reconstruction indicator lamp; when the lighting information sent by the VPP control source or the SGPIO control source is hard disk fault state information, the control lights the hard disk fault indicator lamp, and shields the lighting information sent by the I2C control source, so that the lighting arbitration of each lighting control source is realized, the reconstruction state of the hard disk is accurately identified, and the correct reconstruction state lighting action is carried out only in the state.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention, and are intended to be included within the scope of the appended claims and description.
Claims (4)
1. The solving method for the false lighting of the hard disk in the non-reconstruction state is characterized by comprising the following steps:
receiving lighting information of each indicator light control source, wherein the indicator light control sources comprise a VPP control source, an SGPIO control source and an I2C control source;
analyzing the received lighting information sent by each indicator light control source to obtain lighting state information corresponding to each control source, wherein the lighting state information comprises hard disk positioning state information, hard disk fault state information and hard disk reconstruction state information;
when the lighting information sent by the VPP control source or the SGPIO control source simultaneously contains the hard disk positioning state information and the hard disk fault state information, judging that the hard disk is in a reconstruction state, and controlling to light a hard disk reconstruction indicator lamp;
when the lighting information sent by the VPP control source or the SGPIO control source is hard disk fault state information, controlling to light a hard disk fault indicator lamp, and shielding the lighting information sent by the I2C control source;
the method further comprises the steps of:
continuously receiving lighting information sent by the VPP control source and the SGPIO control source, and analyzing the lighting information;
when the lighting information sent by the VPP control source and the SGPIO control source is analyzed to contain the hard disk fault indicator lamp extinguishing information, canceling the shielding state of the lighting information sent by the I2C control source;
the CPU controls a hard disk positioning indicator lamp and a hard disk fault indicator lamp of the NVME hard disk through the VPP;
the SAS card/RAID card and PCH control a hard disk positioning indicator lamp and a hard disk fault indicator lamp of the SAS/SATA hard disk through SGPIO;
and the BMC controls the hard disk positioning indicator lamp of the hard disk through the I2C.
2. The method of claim 1, wherein in the lighting information, blue light is used to indicate hard disk positioning, red light is used to indicate hard disk failure, and blue light and red light are simultaneously lighted to indicate hard disk reconstruction.
3. A system for solving false lighting of a hard disk in a non-rebuilding state, the system comprising:
the lighting information receiving module is used for receiving lighting information of each indicator light control source, wherein the indicator light control sources comprise a VPP control source, an SGPIO control source and an I2C control source;
the analysis module is used for analyzing the received lighting information sent by each indicator light control source and obtaining lighting state information corresponding to each control source, wherein the lighting state information comprises hard disk positioning state information, hard disk fault state information and hard disk reconstruction state information;
the reconstruction state control module is used for judging that the hard disk is in a reconstruction state when the lighting information sent by the VPP control source or the SGPIO control source simultaneously contains the hard disk positioning state information and the hard disk fault state information, and controlling to light a hard disk reconstruction indicator lamp;
the fault indicator lamp lighting module is used for controlling to light the hard disk fault indicator lamp when the lighting information sent by the VPP control source or the SGPIO control source is the hard disk fault state information;
the lighting information shielding module is used for shielding the lighting information sent by the I2C control source;
the system further comprises:
the lighting information continuous receiving and analyzing module is used for continuously receiving and analyzing the lighting information sent by the VPP control source and the SGPIO control source;
the shielding state canceling module is used for canceling the shielding state of the lighting information sent by the I2C control source when the lighting information sent by the VPP control source and the SGPIO control source is obtained through analysis and contains the hard disk fault indicator light extinction information;
the CPU controls a hard disk positioning indicator lamp and a hard disk fault indicator lamp of the NVME hard disk through the VPP;
the SAS card/RAID card and PCH control a hard disk positioning indicator lamp and a hard disk fault indicator lamp of the SAS/SATA hard disk through SGPIO;
and the BMC controls the hard disk positioning indicator lamp of the hard disk through the I2C.
4. The system for solving the false lighting problem in the non-rebuilding state of the hard disk according to claim 3, wherein in the lighting information, a blue lamp is used for indicating a hard disk positioning indicator lamp, a red lamp is used for indicating a hard disk fault indicator lamp, and the blue lamp and the red lamp are simultaneously lighted for indicating a hard disk rebuilding indicator lamp.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910289176.6A CN110096417B (en) | 2019-04-11 | 2019-04-11 | Method and system for solving false lighting of hard disk in non-reconstruction state |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910289176.6A CN110096417B (en) | 2019-04-11 | 2019-04-11 | Method and system for solving false lighting of hard disk in non-reconstruction state |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110096417A CN110096417A (en) | 2019-08-06 |
CN110096417B true CN110096417B (en) | 2023-07-18 |
Family
ID=67444688
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910289176.6A Active CN110096417B (en) | 2019-04-11 | 2019-04-11 | Method and system for solving false lighting of hard disk in non-reconstruction state |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110096417B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113031850B (en) * | 2019-12-24 | 2024-05-24 | 伊姆西Ip控股有限责任公司 | Method, electronic device and computer program product for data processing |
CN113138951B (en) * | 2021-04-01 | 2022-09-20 | 山东英信计算机技术有限公司 | Method, system and medium for connecting multiple devices through SGPIO |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032900A (en) * | 2018-06-15 | 2018-12-18 | 烽火通信科技股份有限公司 | Compatible a plurality of types of hard disk indication lamp control methods and system |
CN109086192A (en) * | 2018-09-18 | 2018-12-25 | 郑州云海信息技术有限公司 | A kind of onboard SATA hard disc lighting system and method based on IPMI |
-
2019
- 2019-04-11 CN CN201910289176.6A patent/CN110096417B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109032900A (en) * | 2018-06-15 | 2018-12-18 | 烽火通信科技股份有限公司 | Compatible a plurality of types of hard disk indication lamp control methods and system |
CN109086192A (en) * | 2018-09-18 | 2018-12-25 | 郑州云海信息技术有限公司 | A kind of onboard SATA hard disc lighting system and method based on IPMI |
Also Published As
Publication number | Publication date |
---|---|
CN110096417A (en) | 2019-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110096417B (en) | Method and system for solving false lighting of hard disk in non-reconstruction state | |
US10579459B2 (en) | Log events for root cause error diagnosis | |
CN106354610B (en) | Server system and operation method thereof | |
CN109388537B (en) | Operation information tracking method and device and computer readable storage medium | |
CN102087621B (en) | Processor device with self-diagnosis function | |
CN109753442B (en) | Method and system for solving VPP address conflict of BMC lighting of server backboard | |
CN105718570A (en) | Data migration method and device used for database | |
US20130047140A1 (en) | Tracking of code base and defect diagnostic coupling with automated triage | |
CN108966462B (en) | Method and device for determining physical position of lamp | |
US8510602B2 (en) | Testing a software application used in a database system | |
CN106201502B (en) | Cross-host application program deployment method and device | |
US20160048805A1 (en) | Method of collaborative software development | |
CN109656739A (en) | Method of servicing, system, mainboard and computer readable storage medium | |
US20130007525A1 (en) | Test architecture based on intelligent test sequence | |
CN107562433B (en) | Automatic multiprocessor program updating system and program updating method | |
US11403243B2 (en) | Mainboard of a server and method of populating DIMM slots of a mainboard | |
CN111222582A (en) | Method and system for extracting defect mode of relay protection device | |
KR20180014978A (en) | Method and apparatus for analyzing safety of automotive software | |
CN109753396A (en) | A kind of cable self checking method, system and the server of storage system | |
CN109144812A (en) | A kind of device and method solving PCH lighting exception under AHCI mode | |
CN111599174B (en) | Traffic index abnormity detection method and electronic equipment | |
US20170092082A1 (en) | Server devices with integrated pathways of error indicator lights and methods thereof | |
CN108304292A (en) | A kind of method and system of nodal test hard disk disk sequence | |
CN101609258B (en) | Method for managing exposal intensity and evenness degree of photoetching machine | |
CN114115728B (en) | Convenient method and device for positioning hard disk |
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 |