CN107092334A - A kind of method of server power supply plant failure positioning - Google Patents
A kind of method of server power supply plant failure positioning Download PDFInfo
- Publication number
- CN107092334A CN107092334A CN201710267112.7A CN201710267112A CN107092334A CN 107092334 A CN107092334 A CN 107092334A CN 201710267112 A CN201710267112 A CN 201710267112A CN 107092334 A CN107092334 A CN 107092334A
- Authority
- CN
- China
- Prior art keywords
- information
- supply unit
- groove position
- power supply
- current
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 claims description 15
- 230000005611 electricity Effects 0.000 claims description 5
- 238000003745 diagnosis Methods 0.000 abstract description 3
- 238000004458 analytical method Methods 0.000 description 3
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012372 quality testing Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/28—Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
Abstract
The invention discloses a kind of method of server power supply plant failure positioning, comprise the following steps:Number of power sources and supply unit groove position information that current server is supported are obtained first;The information of supply unit is obtained, the information includes fix information and real time information;The relevant information obtained in step one is corresponded to according to the information of the supply unit of acquisition, the groove position information of the supply unit is obtained, when detecting supply unit failure, the corresponding groove position of supply unit is positioned in time.A kind of method of server power supply plant failure positioning is compared with prior art, it is not necessary to increases extra budget, is not required to increase extra operation, it is economical and practical, the efficiency and accuracy of server power supply plant failure diagnosis can be effectively improved, it is practical, it is easily achieved, it is easy to promote.
Description
Technical field
The present invention relates to computer server technical field, specifically a kind of practical, server power supply device
The method of fault location.
Background technology
Diagnostic tool is required in the production phase of current server and customer service after sale to detect product quality and find to produce
Product failure, conventional supply unit test, can only detect the manufacturer of supply unit on server, sequence number, model, current shape
State, current voltage, the information such as electric current, and now supply unit is located in the casing of server, it is impossible to the sequence checked on label
Number etc. information, also fault message can not just be navigated on specific supply unit, it is difficult to which which supply unit is told is
It there occurs the efficiency of failure, influence diagnosis and maintenance.Based on this problem, we have invented a kind of server power supply plant failure
The method of positioning.
The content of the invention
The technical assignment of the present invention is to determine for above weak point there is provided a kind of practical, server power supply plant failure
The method of position.
A kind of method of server power supply plant failure positioning, comprises the following steps:
First, number of power sources and supply unit groove position information that current server is supported are obtained first;
2nd, the information of supply unit is obtained, the information includes fix information and real time information;
3rd, the relevant information obtained in step one is corresponded to according to the information of the supply unit of acquisition, the supply unit is obtained
Groove position information, when detecting supply unit failure, positions the corresponding groove position of supply unit in time.
The step one determines the number of power sources that server is supported and groove position title letter by reading SMBIOS information
Breath;Number and the place groove position of current connection power supply are obtained, and checks the fix information of the power supply on each groove position, this is fixed
Information includes manufacturer, sequence number, model, groove position title.
Based on the codes and standards of SMBIOS 3.0, the index of groove position name character string is preserved at Type 39 offset 05h,
The index of saving sequence sign character string at the index of trade name character string, offset 08h, step are preserved at offset 07h
One, by reading the content of SMBIOS in internal memory, obtains the title of current groove position, and whether power supply is in place, the manufacturer of power supply in place
And sequence number information, it is specially:Read the content of SMBIOS in internal memory;Find the entry address of the SMBIOS tables of type=39;Solution
Analyse groove position title, device name, trade name, sequence number title and status information.
Supply unit information reads by sending IPMI instructions to BMC and checks consolidating for supply unit in the step 2
Determine information and real time information.
Fix information and real time information include manufacturer, sequence number, Current Temperatures, present input voltage, present input current,
Current output voltage, current output current, current state.
Obtain supply unit real time information in step 2 to obtain by reading sensing data, sensor passes through I2C buses
BMC is connected, is instructed so as to be sent by IPMI, reads the value of these sensors.
In IPMI orders, the NetFn for setting supply unit is 0x3A, sets and accesses the CMD values of power information for 0x71,
Setting Req1 is current power device index value, is sent after instruction, parses the byte returned, the byte of the return is sensor number
According to.
The byte of the return refer to sensor return information in place, status information, temperature information, current information, electricity
Press information, power information.
Parse after sensing data, obtain current power state in place, trade name, sequence number, real time information, i.e., it is current
Input, output, voltage, electric current, power, temperature information.
In step 3, the supply unit sequence number that the sequence number obtained is corresponded in SMBIOS is instructed according to IPMI, obtained
To the groove position title where current power device, the real time information of the supply unit detected is corresponded on specific groove position,
If detecting exception from real time information, you can point out the supply unit on which groove position to there occurs failure immediately.
The method of a kind of server power supply plant failure positioning of the present invention, with advantages below:
A kind of method of server power supply plant failure positioning of the invention, obtains the supply unit number that server is supported first
Mesh, and each supply unit groove position title, then obtain the real-time voltage current information of supply unit, true finally according to sequence number
Groove position where this fixed supply unit, this method need not increase extra budget, be not required to increase extra operation, economical real
With, can effectively improve server power supply plant failure diagnosis efficiency and accuracy, it is adaptable to the quality testing of production phase and
The scene such as failure emergent management of customer service, practical after sale, it is easy to accomplish, it is easy to promote.
Embodiment
In order that those skilled in the art more fully understand the present invention program, with reference to embodiment to this hair
It is bright to be described in further detail.Obviously, described embodiment is only a part of embodiment of the invention, rather than whole
Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of creative work is not made
The every other embodiment obtained, belongs to the scope of protection of the invention.
A kind of method of server power supply plant failure positioning, effectively can be tested supply unit, and by failure
Physical slot position is navigated to, it is main to include three aspects:First, by reading SMBIOS information, the electricity that server is supported is determined
Source quantity and groove position name information, obtain number and the place groove position of current connection power supply, and check the electricity on each groove position
The fix information in source, including manufacturer, sequence number, model, groove position title etc..Secondly, by sending IPMI instructions to BMC, read
And check fix information and the real time information of supply unit, including manufacturer, and sequence number, Current Temperatures, present input voltage, currently
Input current, current output voltage, current output current, current state.Finally, the sequence number pair obtained will be instructed according to IPMI
Supply unit sequence number that should be into SMBIOS, obtains the groove position title where current power device, now, you can will detect
The real time information of supply unit correspond on specific groove position, if detecting exception from real time information, you can prompting immediately which
Supply unit on individual groove position there occurs failure.By the method, the supply unit for producing failure can be accurately positioned rapidly.
Specifically, in above three step, the process for obtaining supply unit groove position title is:
The supply unit number that different servers is supported can be different, and the title of its groove position also can be because of server model not
Produce difference together.The groove position name information of current server is accurately obtained to access the power supply preserved in SMBIOS
Device information.It can be seen from SMBIOS 3.0 codes and standards, what is preserved at Type 39 offset 05h is groove position title word
The index of string is accorded with, meanwhile, what is preserved offset 07h at is the index of trade name character string, and preservation is at offset 08h
The index of sequence number character string, so, by the content of SMBIOS in rdma read, can obtain the title of current groove position, power supply is
It is no in place, the information such as the manufacturer of power supply in place and sequence number.
Obtain supply unit real time information process be:
The real time information of supply unit include Current Temperatures, present input voltage, present input current, current output voltage, when
Preceding output current, current state etc., these information need to obtain by reading associated sensor data.Sensor is total by I2C
Line connects BMC, therefore, it can send instruction by IPMI, reads the value of these sensors.In IPMI orders, NetFn is set
For 0x3A, setting CMD is 0x71, and setting Req1 is current power device index value, sends after instruction, parses the byte returned,
Current power state in place, trade name, sequence number, and real time information can be obtained:Current input, output, voltage, electric current, work(
Rate, the information such as temperature.
The process positioned according to sequence number is:
The sequence number of supply unit can be obtained by SMBIOS and IPMI respectively, by the information obtained in SMBIOS(Including groove position name
Claim, sequence number etc.)With the information obtained through IPMI(Including sequence number, Current Temperatures and input and output voltage current data etc.)It is logical
Sequence number connection is crossed, you can obtain the supply unit details of powered source slot position title, if containing abnormal number in real time information
According to, you can specific supply unit is navigated to according to place groove position title immediately.
Further, three step implementation procedures of the invention are:
First, supply unit information in SMBIOS is read.
1 looks for SMBIOS entry point in internal memory;
2 look for the entry address of the SMBIOS tables of type=39;
3 parsing groove position titles;
4 analyzing device titles;
5 parsing trade name;
6 parsing sequence number titles;
7 analysis state information.
2nd, supply unit relevant sensor values are read using IPMI.
1 sets the NetFn values of supply unit;
2 set the CMD values for accessing power information;
3 set the Req values for accessing power information;
4 send instruction and receive return value;
5 parsing information in place;
6 analysis state information;
7 resolution temperature information;
8 parsing current informations;
9 parsing information of voltage;
10 parsing power informations.
3rd, groove position information is connected with real time information.
1 finds sequence number in the information that step one is generated;
2 find sequence number in the information that step 2 is generated;
Whether 3 matching sequence numbers are equal, merge groove position information with real time information if identical.
The embodiment of each in this specification is described by the way of progressive, what each embodiment was stressed be with it is other
Between the difference of embodiment, each embodiment same or similar part mutually referring to.For being filled disclosed in embodiment
For putting, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is referring to method part
Explanation.
A kind of method of server power supply plant failure positioning provided by the present invention is described in detail above.This
Apply specific case in text to be set forth the principle and embodiment of the present invention, the explanation of above example is only intended to
Help to understand method and its core concept of the invention.It should be pointed out that for those skilled in the art,
Without departing from the principles of the invention, some improvement and modification can also be carried out to the present invention, these are improved and modification also falls
Enter in the protection domain of the claims in the present invention.
Claims (10)
1. a kind of method of server power supply plant failure positioning, it is characterised in that comprise the following steps:
First, number of power sources and supply unit groove position information that current server is supported are obtained first;
2nd, the information of supply unit is obtained, the information includes fix information and real time information;
3rd, the relevant information obtained in step one is corresponded to according to the information of the supply unit of acquisition, the supply unit is obtained
Groove position information, when detecting supply unit failure, positions the corresponding groove position of supply unit in time.
2. a kind of method of server power supply plant failure positioning according to claim 1, it is characterised in that the step
One determines the number of power sources that server is supported and groove position name information by reading SMBIOS information;Obtain current connection electricity
Number and place the groove position in source, and the fix information of the power supply on each groove position is checked, the fix information includes manufacturer, sequence
Number, model, groove position title.
3. the method for a kind of server power supply plant failure positioning according to claim 2, it is characterised in that be based on
Preserved at the codes and standards of SMBIOS 3.0, Type 39 offset 05h at the index of groove position name character string, offset 07h
The index of saving sequence sign character string at the index of trade name character string, offset 08h is preserved, step one is interior by reading
Middle SMBIOS content is deposited, the title of current groove position is obtained, whether power supply is in place, the manufacturer of power supply in place and sequence number letter
Breath, be specially:Read the content of SMBIOS in internal memory;Find the entry address of the SMBIOS tables of type=39;Parse groove position name
Title, device name, trade name, sequence number title and status information.
4. a kind of method of server power supply plant failure positioning according to claim 2, it is characterised in that the step
Supply unit information reads and checked fix information and the real time information of supply unit by sending IPMI instructions to BMC in two.
5. a kind of method of server power supply plant failure positioning according to claim 4, it is characterised in that fix information
With real time information include manufacturer, sequence number, Current Temperatures, present input voltage, present input current, current output voltage, when
Preceding output current, current state.
6. a kind of method of server power supply plant failure positioning according to claim 4 or 5, it is characterised in that step
Obtain supply unit real time information in two to obtain by reading sensing data, sensor connects BMC by I2C buses, so that
Sent and instructed by IPMI, read the value of these sensors.
7. the method for a kind of server power supply plant failure positioning according to claim 6, it is characterised in that in IPMI lives
In order, the NetFn for setting supply unit is 0x3A, sets and accesses the CMD values of power information for 0x71, and it is current electricity to set Req1
Source device index value, sends after instruction, parses the byte returned, the byte of the return is sensing data.
8. a kind of method of server power supply plant failure positioning according to claim 7, it is characterised in that the return
Byte refer to sensor return information in place, status information, temperature information, current information, information of voltage, power information.
9. a kind of method of server power supply plant failure positioning according to claim 8, it is characterised in that parsing sensing
After device data, obtain current power state in place, trade name, sequence number, real time information, i.e., currently input, output, voltage,
Electric current, power, temperature information.
10. the method for a kind of server power supply plant failure positioning according to claim 9, it is characterised in that in step
In three, the supply unit sequence number that the sequence number obtained is corresponded in SMBIOS is instructed according to IPMI, current power device is obtained
The groove position title at place, the real time information of the supply unit detected is corresponded on specific groove position, if being examined from real time information
Measure exception, you can point out the supply unit on which groove position to there occurs failure immediately.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710267112.7A CN107092334A (en) | 2017-04-21 | 2017-04-21 | A kind of method of server power supply plant failure positioning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710267112.7A CN107092334A (en) | 2017-04-21 | 2017-04-21 | A kind of method of server power supply plant failure positioning |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107092334A true CN107092334A (en) | 2017-08-25 |
Family
ID=59636955
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710267112.7A Pending CN107092334A (en) | 2017-04-21 | 2017-04-21 | A kind of method of server power supply plant failure positioning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107092334A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110488205A (en) * | 2018-10-24 | 2019-11-22 | 新华三技术有限公司 | A kind of fault identification device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991629A (en) * | 2015-07-10 | 2015-10-21 | 英业达科技有限公司 | Power fail detection system and method |
CN106020804A (en) * | 2016-05-12 | 2016-10-12 | 浪潮电子信息产业股份有限公司 | DMI power information automatic updating method |
-
2017
- 2017-04-21 CN CN201710267112.7A patent/CN107092334A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104991629A (en) * | 2015-07-10 | 2015-10-21 | 英业达科技有限公司 | Power fail detection system and method |
CN106020804A (en) * | 2016-05-12 | 2016-10-12 | 浪潮电子信息产业股份有限公司 | DMI power information automatic updating method |
Non-Patent Citations (1)
Title |
---|
DISTRIBUTED MANAGEMENT TASK FORCE, INC. (DMTF): "《System Management BIOS (SMBIOS) Reference Specification Version 3.1.1》", 12 January 2017 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110488205A (en) * | 2018-10-24 | 2019-11-22 | 新华三技术有限公司 | A kind of fault identification device |
US11719757B2 (en) | 2018-10-24 | 2023-08-08 | New H3C Technologies Co., Ltd. | Fault recognition |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105738854B (en) | The analog memory test board system and test method of intelligent electric meter Embedded Application | |
CN103853639B (en) | Self-testing system and the method for self-test function logic module | |
CN108092854B (en) | Test method and device for train-level Ethernet equipment based on IEC61375 protocol | |
CN103646044A (en) | Mobile terminal identification method and device | |
CN106294040B (en) | Method and device for acquiring optical module state information | |
CN106815119A (en) | The hardware monitoring device of server | |
CN102034344B (en) | On-line detection and diagnosis device and method for voltage signal of photoelectric isolating type excess channel | |
CN106570984B (en) | Support card number verification method, the apparatus and system of a variety of Wiegand formats | |
CN106407059A (en) | Server node testing system and method | |
CN105117316B (en) | A kind of automatic Inspection and maintenance method and system of server | |
CN111400189A (en) | Code coverage rate monitoring method and device, electronic equipment and storage medium | |
CN112087462A (en) | Vulnerability detection method and device of industrial control system | |
CN101677277B (en) | MODBUS-RTU protocol conformance test method | |
CN106405383B (en) | The embedded board Auto-Test System and method of view-based access control model detection technique | |
CN107423171A (en) | The detection method and device of insertion slot type function expansion card based on PCIE standards | |
CN106126368A (en) | A kind of method of memory failure address resolution under LINUX | |
WO2016062154A1 (en) | Information acquisition method and device, and communication system | |
CN107092334A (en) | A kind of method of server power supply plant failure positioning | |
CN107247505B (en) | Cloud server power supply blackbox design method easy to view | |
CN107145426A (en) | A kind of method that BMC tests ME abnormal states | |
CN109840232A (en) | It stores equipment and stores the component management method of equipment | |
CN208334539U (en) | Family table checks and accepts anti-examination device of visiting one house after another | |
CN108957215A (en) | Family table checks and accepts anti-examination device and the investigation method of visiting one house after another | |
CN115220731A (en) | Index data acquisition method and device, computer equipment and storage medium | |
CN105446857A (en) | Fault diagnosis method and system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170825 |
|
RJ01 | Rejection of invention patent application after publication |