CN109240869A - A kind of method and apparatus of determining target hard disk backboard - Google Patents

A kind of method and apparatus of determining target hard disk backboard Download PDF

Info

Publication number
CN109240869A
CN109240869A CN201811108284.0A CN201811108284A CN109240869A CN 109240869 A CN109240869 A CN 109240869A CN 201811108284 A CN201811108284 A CN 201811108284A CN 109240869 A CN109240869 A CN 109240869A
Authority
CN
China
Prior art keywords
hard disk
disk backboard
interface
display information
backboard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811108284.0A
Other languages
Chinese (zh)
Inventor
林素红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811108284.0A priority Critical patent/CN109240869A/en
Publication of CN109240869A publication Critical patent/CN109240869A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • G06F11/2733Test interface between tester and unit under test

Abstract

This application discloses a kind of method and apparatus of determining target hard disk backboard, this method comprises: firstly, obtain target I2C interface includes the front/rear default display information for setting data and default serial number of the practical connection hard disk backboard of the target I2C interface;Then, table is corresponded to according to default display information-hard disk backboard of the default display information and each I2C interface of mainboard, determines the target hard disk backboard of the corresponding default display information.It can be seen that, since the default display information of target I2C interface is no longer I2C interface position, but according to its it is practical connection hard disk backboard it is front/rear set data and default serial number composition, then when hard disk backboard or hard disk break down, hard disk backboard corresponds to table to default display information-based on the default display each I2C interface of the pre-stored mainboard of information searching can accurately find target hard disk backboard, it improves post-service device and safeguards rapid and convenient, effectively prevent the problem of maintenance mistake occur.

Description

A kind of method and apparatus of determining target hard disk backboard
Technical field
This application involves field of computer technology more particularly to a kind of method and apparatus of determining target hard disk backboard.
Background technique
With the fast development of internet with the rapid growth of data volume, big data is the mark in this epoch, big data The characteristics of one of be exactly that data volume is big.Memory capacity, calculated performance and scalability of the data of explosive growth to server Higher performance requirement is proposed, hard disk more than usual 36 number of blocks of demand of Large Volume Data is stored, and therefore, 4U occurs 36 disk positions, 4U40 disk position, 4U106 disk position even more multi-diskbit storage-type server.
Based on the characteristics of storage-type server it is that hard disk quantity is more, and the limitation based on casing structure, storage-type service Device, which is necessarily required to muti-piece hard disk backboard, could accommodate the hard disk of multi-quantity.After the operation of storage-type server, it usually needs utilize Baseboard management controller (English: Baseboard Management Controller, referred to as: BMC) to muti-piece hard disk backboard and Muti-piece hard disk thereon is monitored, accurate to determine that there are the hard disk of failure back when hard disk backboard or hard disk failure Plate is particularly important.In the prior art, BMC passes through the IC bus (English: Inter- that acquisition is connect with hard disk backboard first Integrated Circuit, abbreviation: I2C) interface position determines hard disk backboard position, then, obtain the complexity of hard disk backboard Programmable logic device (English: Complex Programmable Logic Device, abbreviation: CPLD) information determines hard disk Port number, it is comprehensive to determine that there are the hard disk backboards of failure.
But inventor has found that due to different mainboard I2C interfaces position difference, hard disk backboard can pass through I2C bus is arbitrarily connected to any I2C interface on mainboard, then I2C interface position is likely to different from the hard disk backboard position of connection, And the situation that the disk end number that is likely that there are muti-piece hard disk backboard is identical, then prior art manner is used, I2C interface is based on Position and disk end number can not accurately determine the hard disk backboard there are failure, and hard disk backboard or hard disk is caused to break down When, server is difficult in maintenance and is easy to appear mistake.
Summary of the invention
The method and apparatus that technical problems to be solved in this application are to provide a kind of determining target hard disk backboard, can be with Target hard disk backboard is accurately found, post-service device safeguards rapid and convenient, effectively prevents the problem of maintenance mistake occur.
In a first aspect, the embodiment of the present application provides a kind of method of determining target hard disk backboard, this method comprises:
The default display information of target IC bus I2C interface is obtained, the default display information includes the mesh Mark practical connection the front/rear of hard disk backboard of I2C interface sets data and default serial number;
Table is corresponded to according to default display information-hard disk backboard of the default display information and each I2C interface of mainboard, really Surely the target hard disk backboard of the default display information is corresponded to.
Optionally, the front/rear data of setting are that the front/rear seated position determination of cabinet is according to the hard disk backboard.
Optionally, the default serial number is to be set in advance based on the total quantity of the front/rear hard disk backboard set using sequence serial number Fixed.
Optionally, further includes:
The complex programmable logic device (CPLD) information of the target hard disk backboard is obtained, the CPLD information includes hard disk Port number;
According to the disk end number, corresponding target hard disk is determined.
Optionally, the method is applied to storage-type server.
In a first aspect, the embodiment of the present application provides a kind of device of determining target hard disk backboard, which includes:
First acquisition unit, for obtaining the default display information of target I2C interface, the default display information includes institute It states practical connection the front/rear of hard disk backboard of target I2C interface and sets data and default serial number;
First determination unit, for the default display information-according to default the display information and each I2C interface of mainboard Hard disk backboard corresponds to table, determines the target hard disk backboard of the corresponding default display information.
Optionally, the front/rear data of setting are that the front/rear seated position determination of cabinet is according to the hard disk backboard.
Optionally, the default serial number is to be set in advance based on the total quantity of the front/rear hard disk backboard set using sequence serial number Fixed.
Optionally, further includes:
Second acquisition unit, for obtaining the CPLD information of the target hard disk backboard, the CPLD information includes hard disk Port number;
Second determination unit, for determining corresponding target hard disk according to the disk end number.
Optionally, described device is applied to storage-type server.
Compared with prior art, the application has at least the following advantages:
Using the technical solution of the embodiment of the present application, firstly, obtain target I2C interface includes the target I2C interface The front/rear default display information for setting data and default serial number of practical connection hard disk backboard;Then, believed according to the default display Breath corresponds to table with default display information-hard disk backboard of each I2C interface of mainboard, determines the mesh of the corresponding default display information Mark hard disk backboard.As it can be seen that the default display information due to target I2C interface is no longer I2C interface position, but according to its reality Connection hard disk backboard it is front/rear setting data and default serial number composition, then when hard disk backboard or hard disk break down, be based on Default display information-hard disk backboard of the default display each I2C interface of the pre-stored mainboard of information searching corresponds to table can be with Target hard disk backboard is accurately found, post-service device is improved and safeguards rapid and convenient, effectively prevents maintenance mistake occur Problem.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to required in the embodiment of the present application description Attached drawing to be used is briefly described, it should be apparent that, the accompanying drawings in the following description is only more as described in this application Embodiment for those of ordinary skill in the art without creative efforts, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is system framework schematic diagram involved in application scenarios a kind of in the embodiment of the present application;
Fig. 2 is a kind of flow diagram of the method for determining target hard disk backboard provided by the embodiments of the present application;
Fig. 3 is a kind of scheme of installation of the hard disk backboard provided by the embodiments of the present application in cabinet;
Fig. 4 is 12C interface position schematic diagram on a kind of mainboard provided by the embodiments of the present application;
Fig. 5 is the flow diagram of another method for determining target hard disk backboard provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of the device of determining target hard disk backboard provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only this Apply for a part of the embodiment, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art exist Every other embodiment obtained under the premise of creative work is not made, shall fall in the protection scope of this application.
At this stage, the data of explosive growth propose more the memory capacity, calculated performance and scalability of server High performance requirement, the general server using 8 disk positions, 12 disk positions, 24 disk positions can no longer meet user's Large Volume Data Storage demand, hard disk more than usual 36 number of blocks of demand stored, therefore, occur the 36 disk position 4U, 4U40 disk position, The storage-type server of 4U106 disk position even more multi-diskbit.Based on the characteristics of storage-type server it is that hard disk quantity is more, and base In the limitation of casing structure, storage-type server, which is necessarily required to muti-piece hard disk backboard, could accommodate the hard disk of multi-quantity.For example, 4U The storage-type server of 40 disk positions, it usually needs 3 pieces of 12 mouthfuls of 3.5 cun of hard disk backboards, 2 pieces of 2 mouthfuls of 3.5 cun of hard disk backboards or 2 pieces 2 mouthfuls 2.5 cun of hard disk backboards, totally 5 pieces of hard disk backboards.
Inventor has found that in storage-type server operational process, BMC is to muti-piece hard disk backboard and thereon Muti-piece hard disk is monitored, and when hard disk backboard or hard disk failure, traditionally, BMC passes through acquisition first and hard disk is carried on the back The I2C interface position of plate connection determines hard disk backboard position, and then, the CPLD information for obtaining hard disk backboard determines disk end Number, it is comprehensive to determine that there are the hard disk backboards of failure.But due to different mainboard I2C interfaces position difference, hard disk backboard can lead to It crosses I2C bus and is arbitrarily connected to any I2C interface on mainboard, then I2C interface position very may be used with the hard disk backboard position actually connecting Can be different, for example, postposition hard disk backboard is connected in the I2C interface of mainboard front end, I2C interface position is preposition, default hard disk Tergal position is preposition, and practical hard disk backboard position is postposition;And it is likely that there are the disk end number of muti-piece hard disk backboard Identical situation, for example, there are 3 pieces of 12 mouthfuls of 3.5 cun of hard disk backboards.Then use prior art manner, based on I2C interface position and Disk end number can not accurately determine the hard disk backboard there are failure, when hard disk backboard or hard disk being caused to break down, service Device is difficult in maintenance and is easy to appear mistake.
In order to solve this problem, in the embodiment of the present application, firstly, obtain target I2C interface includes the target The front/rear default display information for setting data and default serial number of the practical connection hard disk backboard of I2C interface;Then, according to described pre- If default display information-hard disk backboard of display information and each I2C interface of mainboard corresponds to table, the corresponding default display is determined The target hard disk backboard of information.As it can be seen that the default display information due to target I2C interface is no longer I2C interface position, but root According to the front/rear setting data and default serial number composition of its practical connection hard disk backboard, then when hard disk backboard or hard disk occur therefore When barrier, default display information-hard disk backboard pair based on the default display each I2C interface of the pre-stored mainboard of information searching It answers table that can accurately find target hard disk backboard, improves post-service device and safeguard rapid and convenient, effectively prevent tieing up The problem of protecting mistake.
For example, one of the scene of the embodiment of the present application, can be applied in scene as shown in Figure 1, the scene In include BMC101, I2C interface 102 and hard disk backboard 103.Wherein, I2C interface 102 includes multiple I2C interfaces, hard disk backboard 103 include muti-piece hard disk backboard, and every piece of hard disk backboard is connected in an I2C interface by an I2C bus, and BMC101 is to hard Muti-piece hard disk backboard that disk backboard 103 includes and muti-piece hard disk thereon are monitored, occur when hard disk backboard or hard disk therefore When barrier, BMC101 obtains the default display information of target I2C interface, and the default display information includes the target I2C interface Practical connection the front/rear of hard disk backboard sets data and default serial number;BMC101 is each according to the default display information and mainboard Default display information-hard disk backboard of I2C interface corresponds to table, determines the target hard disk backboard of the corresponding default display information, Target hard disk backboard is that there are the hard disk backboards of failure.
It is understood that in above-mentioned application scenarios, although by the action description of the application embodiment by BMC101 It executes, still, the application is unrestricted in terms of executing subject, as long as performing movement disclosed in the application embodiment i.e. It can.
It is understood that above-mentioned scene is only a Sample Scenario provided by the embodiments of the present application, the embodiment of the present application It is not limited to this scene.
With reference to the accompanying drawing, the method that target hard disk backboard is determined in the embodiment of the present application is described in detail by embodiment With the specific implementation of device.
Illustrative methods
Firstly, it is necessary to explanation, since storage-type server needs a fairly large number of hard disk, and hard disk needs are loaded in On hardboard backboard, the limitation based on casing structure, usual one piece of hard disk backboard can not load all required hard disks, therefore, storage Type server is necessarily required to muti-piece hard disk backboard and goes to accommodate all required hard disks.Exactly because the operation of storage-type server is using more Block hard disk backboard then needs to be monitored using the muti-piece hard disk of BMC to muti-piece hard disk backboard and thereon, when hard disk backboard or When hard disk breaks down, accurately determine that there are the hard disk of failure back in muti-piece hard disk backboard using the method in following embodiments Plate.That is, the method for the determining target hard disk backboard is applied to storage-type service in some embodiments of the present embodiment Device.
Referring to fig. 2, a kind of flow diagram of the method for determining target hard disk backboard in the embodiment of the present application is shown.? In the present embodiment, the method for example be may comprise steps of:
Step 201: obtaining the default display information of target I2C interface, the default display information includes the target I2C Practical connection the front/rear of hard disk backboard of interface sets data and default serial number.
It is understood that hard disk backboard can arbitrarily connect the I2C interface on mainboard by I2C bus, on mainboard BMC is communicated.Wherein, I2C bus is a kind of simple, bidirectional two-line synchronous serial bus;I2C interface position is not fixed, The mainboard of different designs, the design of I2C interface position thereon is different, and multiple I2C interface positions in same mainboard are also Difference, some I2C interfaces are in mainboard front end, and some I2C interfaces are in mainboard rear end.
It should be noted that due to traditionally using I2C interface position as the hard disk backboard position actually connected, still, I2C interface position is likely to different from the hard disk backboard position actually connected, and therefore, in the present embodiment, I2C interface is adopted With its practical connection hard disk backboard position, that is, front/rear to set data.And traditionally it is based on disk end number again after determining position It determines hard disk backboard, but the situation that the disk end number for being likely that there are muti-piece hard disk backboard is identical, it is used for I2C interface The default serial number of practical connection hard disk backboard.That is, setting data by practical connection the front/rear of hard disk backboard of I2C interface With the default display information of default serial number composition I2C interface.
Wherein, the front/rear data of setting of the practical connection hard disk backboard of I2C interface refer to practical connection hard disk backboard for cabinet For, it is in preamble bit or rear set.Therefore, in some embodiments of the present embodiment, the front/rear data of setting are roots It is determined according to the front/rear seated position that the hard disk backboard is in cabinet.For example, the practical connection hard disk backboard of certain I2C interface is in The preamble bit of cabinet, then front/rear in the default display information of the I2C interface to set data specially preposition.
Wherein, after default serial number refers to that the hardboard backboard of statistics preamble bit is total, serial number is numbered in sequence, with And after statistics after the hardboard backboard sum of set, serial number is numbered in sequence.Therefore, in some implementations of the present embodiment In mode, the default serial number is the total quantity based on the front/rear hard disk backboard set, preset using sequence serial number.Example Such as, there are the hardboard backboards of 2 preamble bits, that is, the hardboard backboard sum of preamble bit is 2, then the hardboard backboard of this 2 preamble bits Default serial number 0 and 1;There are the hardboard backboards of 5 preamble bits, that is, the hardboard backboard sum of preamble bit is 5, then before this 5 The default serial number 0,1,2,3 and 4 of the hardboard backboard of set.
Step 202: according to default display information-hard disk backboard of default the display information and each I2C interface of mainboard Corresponding table determines the target hard disk backboard of the corresponding default display information.
It is understood that due to I2C interface with hard disk backboard is practical connect after, based on the front/rear of hard disk backboard The preparatory display information of data and default serial number composition I2C interface is set, then pair of the preparatory display information of each I2C interface of mainboard Answer a hard disk backboard, that is, default display information-hard disk backboard of each I2C interface of mainboard is generated based on above-mentioned corresponding relationship Corresponding table is simultaneously stored in advance, to search above-mentioned corresponding table after the default display information that step 201 obtains target I2C interface Can find the target hard disk backboard of corresponding default display information, and with the practical target hard disk connecting of the target I2C interface Backboard.
For example, the scheme of installation of hard disk backboard as shown in Figure 3 in cabinet, which includes 3 pieces 12 mouthfuls 3.5 cun of SAS/SATA hard disk backboards, 2 pieces of 2 mouthfuls of 3.5 cun of SAS/SATA hard disk backboards and 2 pieces of 2 mouthfuls of 2.5 cun of SAS/SATA hard disks back Plate, cabinet inside backboard installation site be followed successively by it is preposition it is upper, preposition under, under postposition, in postposition it is left, postposition is upper right, postposition Above and below upper and postposition, totally 2 preamble bit hard disk backboards, preset serial number 0 and 1;Set backboard after totally 5 presets serial number 0,1,2,3 and 4.
For example, 12C interface position schematic diagram on mainboard as shown in Figure 4, wherein include I2C0~I2C6 totally 7 on mainboard A 12C interface, if preposition upper 12 mouthfuls of 3.5 cun of hard disk backboards of default serial number 0 are connected to I2C0 interface, by default serial number 1 preposition lower 12 mouthfuls of 3.5 cun of hard disk backboards are connected to I2C1 interface, and 12 mouthfuls of 3.5 cun of hard disk backboards of serial number 0 will be preset under postposition It is connected to I2C2 interface, 2 mouthfuls of 3.5 cun of hard disk backboards left in the postposition of default serial number 1 are connected to I2C3 interface, by default serial number The upper right 2 mouthfuls of 3.5 cun of hard disk backboards of 2 postposition are connected to I2C4 interface, and 2 mouthfuls of 2.5 cun of hard disks upper in the postposition of default serial number 3 are carried on the back Plate is connected to I2C5 interface, and 2 mouthfuls of 2.5 cun of hard disk backboards above and below the postposition of default serial number 4 are connected to I2C6 interface, are connect based on I2C The default display information of mouth includes that practical connection the front/rear of hard disk backboard of I2C interface sets data and default serial number, then the mainboard is each That hard disk backboard corresponds to table to the default display information-of a I2C interface is as shown in table 1 below:
Default display information Hard disk backboard
Preposition 0 Preposition upper 12 mouthfuls of 3.5 cun of hard disk backboards
Preposition 1 Preposition lower 12 mouthfuls of 3.5 cun of hard disk backboards
Postposition 0 The lower 12 mouthfuls of 3.5 cun of hard disk backboards of postposition
Postposition 1 Left 2 mouthfuls of 3.5 cun of hard disk backboards in postposition
Postposition 2 The upper right 2 mouthfuls of 3.5 cun of hard disk backboards of postposition
Postposition 3 Upper 2 mouthfuls of 2.5 cun of hard disk backboards in postposition
Postposition 4 2 mouthfuls of 2.5 cun of hard disk backboards above and below postposition
It should be noted that due to the disk end on the hard disk backboard of each model be it is clear and changeless, one The corresponding hard disk of a disk end, can specify corresponding hard disk based on disk end.If then storage server was run Cheng Zhong, what is broken down is hard disk, and after the target hard disk backboard that step 202 loads the hard disk, BMC can also pass through acquisition The CPLD information of target hard disk backboard, because based on the disk end number on the available target hard disk backboard of CPLD information, To determine the hard disk to break down based on port number.Therefore, in some embodiments of the present embodiment, in step After 202 for example can with the following steps are included:
Step A: obtaining the CPLD information of the target hard disk backboard, and the CPLD information includes disk end number;
Step B: according to the disk end number, corresponding target hard disk is determined.
The various embodiments provided through this embodiment, firstly, that obtain target I2C interface includes the target I2C The front/rear default display information for setting data and default serial number of the practical connection hard disk backboard of interface;Then, according to described default aobvious Show that default display information-hard disk backboard of information and each I2C interface of mainboard corresponds to table, determines the corresponding default display information Target hard disk backboard.As it can be seen that the default display information due to target I2C interface is no longer I2C interface position, but according to it Practical connection hard disk backboard it is front/rear setting data and default serial number composition, then when hard disk backboard or hard disk break down, Default display information-hard disk backboard based on the default display each I2C interface of the pre-stored mainboard of information searching corresponds to table Target hard disk backboard can be accurately found, post-service device is improved and safeguards rapid and convenient, it is poor to effectively prevent occurring safeguarding Wrong problem.
It is corresponding with default display information-hard disk backboard of each I2C interface of above-mentioned mainboard with the citing in above-described embodiment For table, it is assumed that target I2C interface is I2C1 interface, wherein practical preposition lower 12 mouthfuls for connecting default serial number 1 of I2C1 interface 3.5 cun of hard disk backboards, with reference to the accompanying drawing 5, it is described in detail by another embodiment in practical applications, the embodiment of the present application The specific implementation of the method for middle determining target hard disk backboard and determining target hard disk.
Referring to Fig. 5, the flow diagram of another method for determining target hard disk backboard in the embodiment of the present application is shown. In the present embodiment, the method for example may comprise steps of:
Step 501: the default display information for obtaining target I2C interface is preposition 1.
Step 502: according to default display information-hard disk backboard of default display information preposition 1 and each I2C interface of mainboard Corresponding table determines that the target hard disk backboard of corresponding default display information preposition 1 is preposition lower 12 mouthfuls of 3.5 cun of hard disk backboards.
Step 503: obtaining the CPLD information of preposition lower 12 mouthfuls of 3.5 cun of hard disk backboards, the CPLD information includes hard disk end Mouth number.
Step 504: according to the disk end number, determining corresponding target hard disk.
The various embodiments provided through this embodiment, firstly, that obtain target I2C interface includes the target I2C The front/rear default display information for setting data and default serial number of the practical connection hard disk backboard of interface;Then, according to described default aobvious Show that default display information-hard disk backboard of information and each I2C interface of mainboard corresponds to table, determines the corresponding default display information Target hard disk backboard.As it can be seen that the default display information due to target I2C interface is no longer I2C interface position, but according to it Practical connection hard disk backboard it is front/rear setting data and default serial number composition, then when hard disk backboard or hard disk break down, Default display information-hard disk backboard based on the default display each I2C interface of the pre-stored mainboard of information searching corresponds to table Target hard disk backboard can be accurately found, post-service device is improved and safeguards rapid and convenient, it is poor to effectively prevent occurring safeguarding Wrong problem.
Example devices
Referring to Fig. 6, a kind of structural schematic diagram of the device of determining target hard disk backboard in the embodiment of the present application is shown.? In the present embodiment, described device for example be can specifically include:
First acquisition unit 601, for obtaining the default display information of target I2C interface, the default display packet It includes practical connection the front/rear of hard disk backboard of the target I2C interface and sets data and default serial number;
First determination unit 602, for being believed according to the default display of the default display information and each I2C interface of mainboard Breath-hard disk backboard corresponds to table, determines the target hard disk backboard of the corresponding default display information.
Optionally, the front/rear data of setting are that the front/rear seated position determination of cabinet is according to the hard disk backboard.
Optionally, the default serial number is to be set in advance based on the total quantity of the front/rear hard disk backboard set using sequence serial number Fixed.
Optionally, described device further include:
Second acquisition unit, for obtaining the CPLD information of the target hard disk backboard, the CPLD information includes hard disk Port number;
Second determination unit, for determining corresponding target hard disk according to the disk end number.
Optionally, described device is applied to storage-type server.
The various embodiments provided through this embodiment, first acquisition unit are used to obtain the default of target I2C interface Show information, it is described it is default display information include the target I2C interface it is practical connection hard disk backboard it is front/rear set data and in advance If serial number;First determination unit is used for hard according to the default display information-of the default display information and each I2C interface of mainboard Disk backboard corresponds to table, determines the target hard disk backboard of the corresponding default display information.As it can be seen that pre- due to target I2C interface If showing that information is no longer I2C interface position, but data and default serial number are set according to its practical connection the front/rear of hard disk backboard Composition, then it is each based on the default display pre-stored mainboard of information searching when hard disk backboard or hard disk break down Default display information-hard disk backboard of a I2C interface, which corresponds to table, can accurately find target hard disk backboard, improve post-service Device safeguards rapid and convenient, effectively prevents the problem of maintenance mistake occur.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For device disclosed in embodiment For, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is said referring to method part It is bright.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond scope of the present application.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.The terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or equipment for including a series of elements not only includes those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including institute State in the process, method, article or equipment of element that there is also other identical elements.
The above is only the preferred embodiment of the application, not makes any form of restriction to the application.Though Right the application has been disclosed in a preferred embodiment above, however is not limited to the application.It is any to be familiar with those skilled in the art Member, in the case where not departing from technical scheme ambit, all using the methods and technical content of the disclosure above to the application Technical solution makes many possible changes and modifications or equivalent example modified to equivalent change.Therefore, it is all without departing from The content of technical scheme, any simple modification made to the above embodiment of the technical spirit of foundation the application are equal Variation and modification, still fall within technical scheme protection in the range of.

Claims (10)

1. a kind of method of determining target hard disk backboard characterized by comprising
The default display information of target IC bus I2C interface is obtained, the default display information includes the target I2C Practical connection the front/rear of hard disk backboard of interface sets data and default serial number;
Table, determination pair are corresponded to according to default display information-hard disk backboard of the default display information and each I2C interface of mainboard Answer the target hard disk backboard of the default display information.
2. the method according to claim 1, wherein the front/rear data of setting are according at the hard disk backboard It is determined in the front/rear seated position of cabinet.
3. the method according to claim 1, wherein the default serial number is based on the front/rear hard disk backboard set Total quantity, it is preset using sequence serial number.
4. the method according to claim 1, wherein further include:
The complex programmable logic device (CPLD) information of the target hard disk backboard is obtained, the CPLD information includes disk end Number;
According to the disk end number, corresponding target hard disk is determined.
5. the method according to claim 1, wherein the method is applied to storage-type server.
6. a kind of device of determining target hard disk backboard characterized by comprising
First acquisition unit, for obtaining the default display information of target I2C interface, the default display information includes the mesh Mark practical connection the front/rear of hard disk backboard of I2C interface sets data and default serial number;
First determination unit, for default display information-hard disk according to default the display information and each I2C interface of mainboard Backboard corresponds to table, determines the target hard disk backboard of the corresponding default display information.
7. device according to claim 6, which is characterized in that the front/rear data of setting are according at the hard disk backboard It is determined in the front/rear seated position of cabinet.
8. device according to claim 6, which is characterized in that the default serial number is based on the front/rear hard disk backboard set Total quantity, it is preset using sequence serial number.
9. device according to claim 6, which is characterized in that further include:
Second acquisition unit, for obtaining the CPLD information of the target hard disk backboard, the CPLD information includes disk end Number;
Second determination unit, for determining corresponding target hard disk according to the disk end number.
10. device according to claim 6, which is characterized in that described device is applied to storage-type server.
CN201811108284.0A 2018-09-21 2018-09-21 A kind of method and apparatus of determining target hard disk backboard Pending CN109240869A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811108284.0A CN109240869A (en) 2018-09-21 2018-09-21 A kind of method and apparatus of determining target hard disk backboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811108284.0A CN109240869A (en) 2018-09-21 2018-09-21 A kind of method and apparatus of determining target hard disk backboard

Publications (1)

Publication Number Publication Date
CN109240869A true CN109240869A (en) 2019-01-18

Family

ID=65055999

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811108284.0A Pending CN109240869A (en) 2018-09-21 2018-09-21 A kind of method and apparatus of determining target hard disk backboard

Country Status (1)

Country Link
CN (1) CN109240869A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124094A (en) * 2019-12-22 2020-05-08 苏州浪潮智能科技有限公司 Server hard disk power-on and power-off control method, control device and control equipment
CN113220232A (en) * 2021-05-13 2021-08-06 浪潮商用机器有限公司 Method and device for determining hard disk sequence in system and storage configuration system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060271819A1 (en) * 2000-11-06 2006-11-30 Cluff Scott A Recovering a system that has experienced a fault
CN105468482A (en) * 2014-08-29 2016-04-06 研祥智能科技股份有限公司 Hard disk position identification and fault diagnosis method and server device
CN105528281A (en) * 2015-12-09 2016-04-27 浪潮电子信息产业股份有限公司 CPLD-based on-line setting method for hard disk fault indicating lamps
CN106708681A (en) * 2016-12-22 2017-05-24 郑州云海信息技术有限公司 Server hard disk performance detection method and device
CN106815154A (en) * 2017-01-16 2017-06-09 联想(北京)有限公司 A kind of method and device of the mark for recognizing hard disk
CN107256198A (en) * 2017-05-26 2017-10-17 郑州云海信息技术有限公司 Server and the method for server hard disc board distribution I2C addresses
CN107729169A (en) * 2017-09-25 2018-02-23 郑州云海信息技术有限公司 A kind of long range positioning method and apparatus of four components server node respective disc position
CN107832199A (en) * 2017-10-10 2018-03-23 曙光信息产业(北京)有限公司 Hard disk monitoring system based on CPLD
CN108153602A (en) * 2017-12-01 2018-06-12 深圳市今天国际智能机器人有限公司 The control method of robot

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060271819A1 (en) * 2000-11-06 2006-11-30 Cluff Scott A Recovering a system that has experienced a fault
CN105468482A (en) * 2014-08-29 2016-04-06 研祥智能科技股份有限公司 Hard disk position identification and fault diagnosis method and server device
CN105528281A (en) * 2015-12-09 2016-04-27 浪潮电子信息产业股份有限公司 CPLD-based on-line setting method for hard disk fault indicating lamps
CN106708681A (en) * 2016-12-22 2017-05-24 郑州云海信息技术有限公司 Server hard disk performance detection method and device
CN106815154A (en) * 2017-01-16 2017-06-09 联想(北京)有限公司 A kind of method and device of the mark for recognizing hard disk
CN107256198A (en) * 2017-05-26 2017-10-17 郑州云海信息技术有限公司 Server and the method for server hard disc board distribution I2C addresses
CN107729169A (en) * 2017-09-25 2018-02-23 郑州云海信息技术有限公司 A kind of long range positioning method and apparatus of four components server node respective disc position
CN107832199A (en) * 2017-10-10 2018-03-23 曙光信息产业(北京)有限公司 Hard disk monitoring system based on CPLD
CN108153602A (en) * 2017-12-01 2018-06-12 深圳市今天国际智能机器人有限公司 The control method of robot

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124094A (en) * 2019-12-22 2020-05-08 苏州浪潮智能科技有限公司 Server hard disk power-on and power-off control method, control device and control equipment
CN113220232A (en) * 2021-05-13 2021-08-06 浪潮商用机器有限公司 Method and device for determining hard disk sequence in system and storage configuration system

Similar Documents

Publication Publication Date Title
US5898863A (en) Method and apparatus for determining I/O size distribution of an input/output system and its use for load simulation
TWI384361B (en) Hard disk system state monitoring method
CN108829619A (en) A kind of continuous topological structure of hard disk ID and hard disk ID localization method
CN108153622A (en) The method, apparatus and equipment of a kind of troubleshooting
CN107608826A (en) A kind of fault recovery method, device and the medium of the node of storage cluster
CN109240869A (en) A kind of method and apparatus of determining target hard disk backboard
CN109656767A (en) A kind of acquisition methods, system and the associated component of CPLD status information
CN105577430A (en) Node management method of high-end fault-tolerant server
CN104166611A (en) Hard disk temperature information acquisition device and method
CN108319617A (en) Determine the method, apparatus and method for handover control, device of database principal and subordinate's difference
TWI669624B (en) Webpage content self-protection method and associated server
CN109726130A (en) Test macro, method, equipment and the storage medium of BMC event log strategy
US10831587B2 (en) Determination of cause of error state of elements in a computing environment based on an element's number of impacted elements and the number in an error state
CN205620908U (en) Storage extension cabinet
CN109933557A (en) A kind of generation method and device of I2C topological diagram
CN107729231A (en) A kind of fault filling method and device based on operating system
CN108984868A (en) The integration method and device of a kind of board internet data
CN101118505A (en) Process for monitoring affair in chip system and monitor of chip system
CN108255506A (en) A kind of data-updating method of BMC, device, equipment and readable storage medium storing program for executing
US7925728B2 (en) Facilitating detection of hardware service actions
CN104794030A (en) SAS cable testing system and method
WO2023024248A1 (en) Bus anomaly handling method and apparatus, electronic device and readable storage medium
CN116539992A (en) Storage device in-place stable state detection device, method, logic module and medium
CN109446002A (en) A kind of jig plate, system and method for server crawl SATA hard disc
CN109522263A (en) A kind of I2C link monitoring 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118