Summary of the invention
The object of the present invention is to provide a kind of server and its hard disk health status monitoring system, schemes provided by the inventionThe health status of staff's timely learning hard disk can be facilitated, to be replaced in time when hard disk breaks down, guaranteedThe normal work of hard disk in disk array, and then ensure that the normal operation of server.
In order to solve the above technical problems, the present invention provides a kind of hard disk health status monitoring system, including the first communicationBus and the second communication bus, further includes:
The raid card being connect with hard disk, for by the health status information of each hard disk connected to it in real time by instituteIt states the first communication bus and is sent to baseboard management controller BMC;
The BMC being connect with the raid card, it is each for being obtained according to the health status information of each hard diskThe health status of the hard disk, and sent correspondingly according to the health status of each hard disk by second communication busHint instructions are to cue module;
The cue module being connect with the BMC, for the health according to the hint instructions to each hard diskState is accordingly prompted.
Preferably, the health status information includes Active, Locate and Error.
Preferably, the cue module includes:
Three indicator lights corresponding with each hard disk;
Lamp control module, for according to hint instructions control three indicator lights pair corresponding with each hard disk andThe health status information of its corresponding hard disk is accordingly shown.
Preferably, the indicator light is LED light.
Preferably, first communication bus is serial universal input/output interface SGPIO bus.
Preferably, second communication bus is I2C bus.
Preferably, the BMC is also used to save the health status of each hard disk into the log of itself.
In order to solve the above technical problems, the present invention also provides a kind of server, including it is as described in any one of the above embodiments hardDisk health status monitoring system.
The present invention provides a kind of server and its hard disk health status monitoring systems, by being used to hard disk constituting raidThe raid card of array obtains the health status information of each hard disk in real time and is sent to BMC, by BMC come according to each hardThe health status information of disk obtains the health status of each hard disk, and controls the prompt of cue module progress correspondingly.The present inventionThe scheme of offer can facilitate the health status of staff's timely learning hard disk, so as to can be timely when hard disk breaks downReplacement, ensure that the normal work of the hard disk in disk array, and then ensure that the normal operation of server.
Specific embodiment
Core of the invention is to provide a kind of server and its hard disk health status monitoring system, scheme provided by the inventionThe health status of staff's timely learning hard disk can be facilitated, to be replaced in time when hard disk breaks down, guaranteedThe normal work of hard disk in disk array, and then ensure that the normal operation of server.
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present inventionIn attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment isA part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the artEvery other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is please referred to, Fig. 1 is a kind of structural schematic diagram of hard disk health status monitoring system provided by the invention, this isSystem includes the first communication bus 4 and the second communication bus 5, further includes:
The raid card 1 being connect with hard disk, for by the health status information of each hard disk connected to it in real time byFirst communication bus 4 is sent to baseboard management controller BMC2 (Baseboard Management Controller, substrate pipeManage controller);
The BMC2 being connect with raid card 1, for obtaining the health of each hard disk according to the health status information of each hard diskState, and according to the health status of each hard disk by the second communication bus 5 send correspondingly hint instructions to cue module 3;
The cue module 3 being connect with BMC2, for accordingly being mentioned according to health status of the hint instructions to each hard diskShow.
Firstly the need of explanation, the hard disk referred in the application can be SATA (Serial ATA, serial ports) hard disk,It can be SAS (Serial Attached SCSI, Serial Attached SCSI (SAS)) hard disk, can also be other kinds of hard disk, this ShenIt does not limit particularly herein please.
Specifically, raid card 1 is the board for realizing raid function, for doing disk array.Raid card 1 passes through busThe hard disk on hard disk backboard is connected, the health status information for all hard disks connecting with the raid card 1 can be obtained in real time.The health status information of each hard disk connected to it is sent to BMC2 by the first communication bus 4 by raid card 1 in real time,BMC2 can be read out and parse to each health status information after the health status information for receiving each hard disk, thusCorrespondingly hint instructions are generated to the health status of each hard disk, and according to the health status of each hard disk, and logical by secondLetter bus 5 is sent to cue module 3, and cue module 3 can be according to hint instructions to each hard disk after receiving hint instructionsHealth status is correspondingly prompted.
It should also be noted that, carrying out pipe to the device in server since BMC2 would generally be provided in serverReason is based on this, and the application does not increase processor additionally, but is good for using BMC2 existing in server to each hard diskHealth status information is handled, and the circuit structure of system is simple, optimizes system design.
The present invention provides a kind of hard disk health status monitoring systems, by the raid for being used to constitute hard disk raid arrayBlock 1 to obtain the health status information of each hard disk in real time and be sent to BMC2, by BMC2 come according to the strong of each hard diskHealth status information obtains the health status of each hard disk, and controls the prompt of the progress of cue module 3 correspondingly.It is provided by the inventionScheme can facilitate the health status of staff's timely learning hard disk, to be replaced in time when hard disk breaks down,It ensure that the normal work of the hard disk in disk array, and then ensure that the normal operation of server.
On the basis of the above embodiments:
As a kind of preferred embodiment, health status information includes Active, Locate and Error.
Specifically, in the present embodiment, raid card 1 can obtain Active, Locate and Error of each hard disk, and these three are strongHealth status information, user can know according to the combination of these three health status informations and these three health status informations of hard diskThe health status of road hard disk.
In practical applications, the health status information of each hard disk sequentially can be sent to BMC2 by raid card 1, and BMC2 is pressedIt is set on these health status informations parse and is corresponding with each hard disk by ground sequence according to raid card 1.Such as raid card 1Active1, Locate1, Error1, Active2, Locate2, Error2, Active3, Locate3, Error3 are successively sent,Then BMC2 determines that Active1, Locate1, Error1 are No. 1 hard after receiving these health status informations and parsingThe health status information of disk determines that Active2, Locate2, Error2 are the health status information of No. 2 hard disks, determinesActive3, Locate3, Error3 are the health status information of No. 3 hard disks.
Certainly, health status information here can also include other health status informations, and the application does not make especially hereinRestriction.
As a kind of preferred embodiment, cue module 3 includes:
Three indicator lights corresponding with each hard disk;
Lamp control module, for controlling three indicator lights corresponding with each hard disk to corresponding according to hint instructionsThe health status information of hard disk is accordingly shown.
Specifically, lamp control module is provided on hard disk backboard, each hard disk corresponds to three indicator lights, is respectively intended to pairThese three health status informations of Active, Locate and Error are indicated.
BMC2 can access lamp control module by the second communication bus 5 after the health status for obtaining each hard disk, specificallyGround, BMC2 correspondingly can will be sent to lamp control module by hint instructions, and lamp control module can control after receiving hint instructionsIndicator light corresponding with each hard disk is correspondingly shown.
In practical applications, it can be set there are when Error (Error 1), Error lamp is bright;There is no ErrorWhen (Error 0), Error lamp goes out;There are when Locate (Locate 1), Locate lamp is bright;There is no Locate (LocateFor 0) when, Locate lamp goes out;There are when Rebuild (Error 1, Locate 1), Error lamp and Locate lamp are all bright, toolHow body, which is arranged according to the actual situation, is determined.
In the present embodiment, each hard disk corresponds to three indicator lights, facilitates user according to the corresponding indicator light of each hard diskState obtain the health status to hard disk.
In addition, cue module 3 here can also be the combination of lamp control module+display screen, with specific reference to actual conditionsTo determine.
As a kind of preferred embodiment, indicator light is LED light.
Specifically, LED light has the advantages that price is low, small in size, illumination effect is good, certainly, indicator light hereOther kinds of indicator light can also be used, the application does not limit particularly herein.
As a kind of preferred embodiment, the first communication bus 4 is serial universal input/output interface SGPIO bus.
Specifically, (General Purpose Input/Output, serial universal input are defeated by the present embodiment selection SGPIOOutgoing interface) for bus as the first communication bus 4, SGPIO bus has that structure is simple, it is few to occupy I/O pin and at low cost etc. excellentPoint.
In addition, when carrying out health status information transmission using SGPIO bus, since SGPIO bus follows SFF-8485Agreement, therefore, BMC2 are the healthy shape of which hard disk according to SFF-8485 protocol analysis after receiving health status information, alsoState information.
Certainly, the first communication bus 4 here can also use other kinds of communication bus, come according to the actual situationIt is fixed.
As a kind of preferred embodiment, the second communication bus 5 is I2C bus.
Specifically, the present embodiment selects I2C bus as the second communication bus 5, and I2C bus is one kind simple, two-way twoLine synchronous serial bus, it only needs both threads that can transmit information between the device being connected in bus, has structureSimply, the advantages that I/O pin is few and at low cost is occupied.
Certainly, the second communication bus 5 here can also use other kinds of communication bus, come according to the actual situationIt is fixed.
As a kind of preferred embodiment, BMC2 is also used to save the health status of each hard disk to the log of itselfIn.
Specifically, it is contemplated that although user can know the health status of each hard disk by cue module 3, have whenThere is still a need for the log informations for the health status for knowing each hard disk for time, so as to subsequent analysis.
Based on this, in the present embodiment, BMC2, can also be by the strong of each hard disk after the health status for getting each hard diskHealth state is saved into the log of itself, in this way, user can be directly by BMC2's when there are hard disk failureLog has access to obtain the log information of the health status of hard disk, to analyze faulty hard disk according to log information on earthIt has any failure.
The present invention also provides a kind of servers, including hard disk health status monitoring system as described above.
Above-described embodiment is please referred to for the introduction of the hard disk health status monitoring system in server provided by the invention,Details are not described herein by the application.
It should be noted that in the present specification, relational terms such as first and second and the like are used merely to oneA entity or operation with another entity or operate distinguish, without necessarily requiring or implying these entities or operation itBetween there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant are intended toCover non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes thoseElement, but also including other elements that are not explicitly listed, or further include for this process, method, article or settingStandby intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded thatThere is also other identical elements in the process, method, article or apparatus that includes the element.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined hereinGeneral Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the inventionIt is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase oneThe widest scope of cause.