Movatterモバイル変換


[0]ホーム

URL:


CN109753396A - Cable self-checking method, system and server for storage system - Google Patents

Cable self-checking method, system and server for storage system
Download PDF

Info

Publication number
CN109753396A
CN109753396ACN201910041110.5ACN201910041110ACN109753396ACN 109753396 ACN109753396 ACN 109753396ACN 201910041110 ACN201910041110 ACN 201910041110ACN 109753396 ACN109753396 ACN 109753396A
Authority
CN
China
Prior art keywords
hard disk
current
control module
indicator light
storage control
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
CN201910041110.5A
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.)
Inspur Power Commercial Systems Co Ltd
Original Assignee
Inspur Power Commercial Systems 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 Inspur Power Commercial Systems Co LtdfiledCriticalInspur Power Commercial Systems Co Ltd
Priority to CN201910041110.5ApriorityCriticalpatent/CN109753396A/en
Publication of CN109753396ApublicationCriticalpatent/CN109753396A/en
Pendinglegal-statusCriticalCurrent

Links

Landscapes

Abstract

Translated fromChinese

本发明公开了一种存储系统的线缆自检方法,包括向当前存储控制模块发送初始命令,以通过CPLD控制与当前存储控制模块连接的当前硬盘指示灯处于初始状态;向当前存储控制模块发送检测命令,以通过CPLD控制当前硬盘指示灯执行检测动作,以根据当前硬盘指示灯的状态来判定与当前硬盘指示灯对应的线缆是否连接正确。可见,本申请考虑到硬盘指示灯与待检测线缆是一一对应的,因此,若要检测某个或者某些或者全部线缆,只需对这些线缆对应的硬盘指示灯进行检测便可以判定线缆是否连接有误。该过程大大减少了人工的参与,省时省力,提高了检测效率,且出错率低。本发明还提供了一种存储系统的线缆自检系统及服务器,具有与上述方法相同的有益效果。

The invention discloses a cable self-checking method of a storage system, which includes sending an initial command to a current storage control module to control a current hard disk indicator light connected to the current storage control module to be in an initial state through CPLD; sending an initial command to the current storage control module; The detection command is used to control the current hard disk indicator light through the CPLD to perform the detection action, so as to determine whether the cable corresponding to the current hard disk indicator light is connected correctly according to the state of the current hard disk indicator light. It can be seen that the present application considers that the hard disk indicator lights and the cables to be detected are in a one-to-one correspondence. Therefore, if you want to detect one or some or all cables, you only need to detect the hard disk indicator lights corresponding to these cables. Determine if the cable is connected incorrectly. This process greatly reduces manual participation, saves time and effort, improves detection efficiency, and has a low error rate. The present invention also provides a cable self-checking system and a server of a storage system, which have the same beneficial effects as the above method.

Description

A kind of cable self checking method, system and the server of storage system
Technical field
The present invention relates to self-checking fields, more particularly to cable self checking method, system and the clothes of a kind of storage systemBusiness device.
Background technique
In order to complete a large amount of data storage, data processing function, many hard disks are commonly equipped in server, hard disk connectsIt connects on hard disk backboard.Fig. 1 is please referred to, Fig. 1 is a kind of hardware connection structure of the storage system of server in the prior artSchematic diagram.On mainboard, CPU passes through storage control module (such as SAS card (Serial Attached SCSI, serial SCSI skillArt)) it is connected to hard disk backboard.And what the connection of storage control module to hard disk backboard was completed generally by a large amount of cables.FirmlyDisk is more, then the quantity of the cable needed is consequently increased.Since the type of these cables is identical, appearance is consistent, at most hasDifference in length.Therefore, wrong plug is easy to when producing line installation machine connection cables.Cable wrong plug will lead to storage system connectionTopology is different from making a reservation for, and is unfavorable for hard disk installation, positioning and the maintenance in later period.
Cable wrong plug in order to prevent, existing scheme carry out artificial after mainly relying on producing line standardized operation, be completedIt checks.But since there are many cable, server lineation region is more chaotic, and it is very inconvenient and time-consuming and laborious to manually check, and checksLow efficiency, error rate are high.
Summary of the invention
The object of the present invention is to provide cable self checking method, system and the servers of a kind of storage system, greatly reduceArtificial participation, it is time saving and energy saving, detection efficiency is improved, and error rate is low.
In order to solve the above technical problems, the present invention provides a kind of cable self checking methods of storage system, comprising:
To currently stored control module send initial command, so as to the currently stored control module by CPLD control andThe present hard discs indicator light of the currently stored control module connection is in original state;
Sense command is sent to the currently stored control module, so that the currently stored control module is controlled by CPLDIt makes the present hard discs indicator light and executes detection operation, to be determined to work as with described according to the state of the present hard discs indicator lightWhether the corresponding cable of preceding hard disk indication lamp connects correctly.
Preferably, the original state is OFF state.
Preferably, described to send sense command to the currently stored control module, so as to the currently stored control mouldBlock controls the present hard discs indicator light by CPLD and executes detection operation, comprising:
The first sense command is sent to the currently stored control module, so that the currently stored control module passes throughCPLD controls the present hard discs indicator light and lights;
After a preset time lapses, the second sense command is sent to the currently stored control module, so as to described currentStorage control module controls the present hard discs indicator light by CPLD and extinguishes.
Preferably, it is controlled in the currently stored control module by CPLD after the present hard discs indicator light lights, toThe currently stored control module is sent before the second sense command, further includes:
Obtain the state of the present hard discs indicator light;
Judge whether the state of the present hard discs indicator light is identical as preset state, if it is, subsequent step is executed,Otherwise, stop detection, and issue the corresponding cable of the present hard discs indicator light and connect wrong prompt information.
Preferably, it is controlled in the currently stored control module by CPLD after the present hard discs indicator light lights, toThe currently stored control module is sent before the second sense command, further includes:
Obtain the state of all hard disk indication lamps of all storage control modules;
Judge whether the hard disk indication lamp lighted is the current indicator light, if it is, subsequent step is executed, otherwise,Stop detection, and issues the corresponding cable of the present hard discs indicator light and connect wrong prompt information.
Preferably, the state of all hard disk indication lamps of all storage control modules detected in judgement with it is defaultAfter state is identical, further includes:
The cable for issuing the storage system of detection connects errorless prompt information.
In order to solve the above technical problems, the present invention also provides a kind of cable self-checking systems of storage system, comprising:
First transmission unit, for sending initial command to currently stored control module, so as to the currently stored controlModule is in original state by the present hard discs indicator light that CPLD control is connect with the currently stored control module;
Second transmission unit, for sending sense command to the currently stored control module, so as to described currently storedControl module controls the present hard discs indicator light by CPLD and executes detection operation, according to the present hard discs indicator lightState determines whether cable corresponding with the present hard discs indicator light connects correctly.
In order to solve the above technical problems, the present invention also provides a kind of server, including storage system, the storage systemIncluding CPLD, multiple storage control modules, multiple hard disks and multiple hard disk indication lamps, further includes:
Processor realizes the cable self-checking system of storage system as described above when for executing the computer programThe step of method.
Preferably, further includes:
The communication bus being set between the CPU and the CPLD;
The processor is also used to control the present hard discs indicator light by CPLD in the currently stored control moduleAfter lighting, before sending the second sense command to the currently stored control module, the shape of the present hard discs indicator light is obtainedState;Judge whether the state of the present hard discs indicator light is identical as preset state, if it is, subsequent step is executed, otherwise,Stop detection, and issues the corresponding cable of the present hard discs indicator light and connect wrong prompt information.
Preferably, all hard disks instruction for all storage control modules that the processor is also used to be detected in judgementAfter the state of lamp is identical as preset state, the cable for issuing the storage system of detection connects errorless prompt information.
The present invention provides a kind of cable self checking methods of storage system, including send initially to currently stored control moduleOrder is in original state with the present hard discs indicator light connecting by CPLD control with currently stored control module;To currentStorage control module sends sense command, detection operation is executed to control present hard discs indicator light by CPLD, according to currentThe state of hard disk indication lamp determines whether cable corresponding with present hard discs indicator light connects correctly.
As it can be seen that cable self checking method provided by the present application, it is contemplated that hard disk indication lamp is to correspond with cable to be detected, therefore, to detect some or certain or whole cables, the corresponding hard disk indication lamp of these cables need to only be examinedIt is wrong that survey can determine whether cable connects.The process greatly reduces artificial participation, time saving and energy saving, improves detection effectRate, and error rate is low.
The present invention also provides the cable self-checking systems and server of a kind of storage system, have same as mentioned aboveBeneficial effect.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to institute in the prior art and embodimentAttached drawing to be used is needed to be briefly described, it should be apparent that, the accompanying drawings in the following description is only some implementations of the inventionExample, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawingsObtain other attached drawings.
Fig. 1 is a kind of hardware connection structure schematic diagram of the storage system of server in the prior art;
Fig. 2 is a kind of process flow diagram flow chart of the cable self checking method of storage system provided by the invention;
Fig. 3 is a kind of hardware connection structure schematic diagram of the storage system of server provided by the invention.
Specific embodiment
Core of the invention is to provide cable self checking method, system and the server of a kind of storage system, greatly reducesArtificial participation, it is time saving and energy saving, detection efficiency is improved, and error rate is low.
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.
Referring to figure 2., Fig. 2 is a kind of process flow diagram flow chart of the cable self checking method of storage system provided by the invention, shouldMethod includes:
S11: to currently stored control module send initial command, so as to currently stored control module by CPLD control andThe present hard discs indicator light of currently stored control module connection is in original state;
S12: sending sense command to currently stored control module, so that currently stored control module is worked as by CPLD controlPreceding hard disk indication lamp executes detection operation, corresponding with present hard discs indicator light to be determined according to the state of present hard discs indicator lightCable whether connect correctly.
Firstly the need of explanation, the CPU on mainboard connects one or more storage control module, storage control moduleFor signal, SGPIO (Serial General Purpose Input Output, serial universal input/output) letter will to be storedIt number is sent on each connector of hard disk backboard by connector, cable.Each storage control module connection two is moreA cable (cable and hard disk and hard disk indication lamp correspond).On hard disk backboard, storage signal is connect to each hard disk,SGPIO signal, which connects, connects the indicator light of each hard disk to CPLD, CPLD to carry out lighting operation.In server design, storageThe state of each hard disk indication lamp is arranged by SGPIO signal to SPLD for control control module, and CPLD believes according to the SGPIO transmittedNumber control hard disk indication lamp is lighted and is extinguished.
When to cable self-test, initial command is sent to currently stored control module first, storage control module is receivingCan be sent after to initial command initial SG PIO signal to CPLD, CPLD can be controlled after receiving initial SG PIO signal with currentlyThe present hard discs indicator light (namely the corresponding hard disk indication lamp of current cable to be detected) of storage control module connection is in initialState.Sense command, storage control are sent after present hard discs indicator light is in original state, then to currently stored control moduleModule sends detection SGPIO signal to present hard discs indicator light again after receiving sense command, and CPLD is receiving detectionPresent hard discs indicator light can be controlled after SGPIO signal and executes detection operation, can be sentenced according to the state of present hard discs indicator lightWhether fixed cable corresponding with present hard discs indicator light is correct.
It should be noted that in practical applications, can be detected according to the actual situation to cable, for example, can be withTo one or partly or completely one of storage control module or partly or completely hard disk indication lamp is examinedIt surveys.When whole hard disk indication lamps to whole storage control modules detect, following scheme can be used:
Each storage control module is proceeded as follows according to the first preset order:
Initial command is sent to currently stored control module, so as to currently stored control module by CPLD control and currentlyAll hard disk indication lamps of storage control module connection are in original state;
It is proceeded as follows according to the hard disk indication lamp that the second preset order pair is connect with currently stored control module:
Sense command is sent to currently stored control module, so as to currently stored control module by CPLD control and currentlyThe present hard discs indicator light of storage control module connection executes detection operation.
Or use following scheme:
To all storage control modules send initial command, so as to each storage control module by CPLD control with it is eachAll hard disk indication lamps of storage control module connection are in original state;
It is proceeded as follows according to the hard disk indication lamp that preset order pair is connect with currently stored control module:
Sense command is sent to currently stored control module, so as to currently stored control module by CPLD control and currentlyThe present hard discs indicator light of storage control module connection executes detection operation.
Here preset order, the first preset order and the second preset order can in the light of actual conditions determine, this ShenIt does not limit particularly herein please.As it can be seen that cable self checking method provided by the present application, it is contemplated that hard disk indication lamp and survey line to be checkedCable be it is one-to-one, therefore, only need to be to the corresponding hard disk of these cables to detect some or certain or whole cablesIndicator light carries out detection, and can to determine whether cable connects wrong.The process greatly reduces artificial participation, time saving and energy saving,Detection efficiency is improved, and error rate is low.
On the basis of the above embodiments:
As a kind of preferred embodiment, original state is OFF state.
As a kind of preferred embodiment, sense command is sent to currently stored control module, so as to currently stored controlModule controls present hard discs indicator light by CPLD and executes detection operation, comprising:
The first sense command is sent to currently stored control module, so that currently stored control module is worked as by CPLD controlPreceding hard disk indication lamp is lighted;
After a preset time lapses, the second sense command is sent to currently stored control module, so as to currently stored controlModule controls present hard discs indicator light by CPLD and extinguishes.
Specifically, original state here can be OFF state, it is of course also possible to be arranged to other states, such asFor illuminating state, behind control when detecting each hard disk indication lamp first go out again it is bright.
In the present embodiment, when being detected to present hard discs indicator light, it can first control present hard discs indicator light and light,After preset time, then control the extinguishing of present hard discs indicator light.As successively being carried out to multiple hard disk indication lampsDetection, then the effect come out should be that each hard disk indication lamp successively carries out light on and off.Specific length of the application for preset timeIt is short do not limit particularly, determine according to the actual situation.
It is arranged as one example below with reference to Fig. 1 to illustrate:
1, operator operates server at the scene, connects checking mode into cable;
2, CPU sends to all storage control modules and orders, and extinguishes all hard disk indication lamps;
3, CPU sends to storage control module 1 and orders, and lights the indicator light of the corresponding hard disk of connector 1 above it, and 1 secondThe order for closing indicator light is retransmited afterwards;
4, CPU sends to storage control module 1 and orders, and lights the indicator light of the corresponding hard disk of connector 2 above it, and 1 secondThe order for closing indicator light is retransmited afterwards;
5, and so on, until all indicator lights are all lighted and extinguished;
6, whether the bright sequence of operator's site inspection indicator light and predetermined order are identical, that is, are determining cable connection justWhether really.
As a kind of preferred embodiment, present hard discs indicator light is controlled by CPLD in currently stored control module and is lightedAfterwards, before sending the second sense command to currently stored control module, further includes:
Obtain the state of present hard discs indicator light;
Judge whether the state of present hard discs indicator light is identical as preset state, if it is, subsequent step is executed, it is noThen, stop detection, and issue the corresponding cable of present hard discs indicator light and connect wrong prompt information.
As a kind of preferred embodiment, present hard discs indicator light is controlled by CPLD in currently stored control module and is lightedAfterwards, before sending the second sense command to currently stored control module, further includes:
Obtain the state of all hard disk indication lamps of all storage control modules;
Judge whether the hard disk indication lamp lighted is the current indicator light, if it is, subsequent step is executed, otherwise,Stop detection, and issues the corresponding cable of present hard discs indicator light and connect wrong prompt information.
In order to further increase the degree of automation, in the present embodiment, after control present hard discs indicator light is lighted, CPLDIt reads the state of present hard discs indicator light and stores the state of present hard discs indicator light into bus register, CPU passes through totalLine reads the state of present hard discs indicator light, and judges whether the state of present hard discs indicator light is identical as preset state, ifThen to send next sense command to currently stored control module, controlled by CPLD so as to currently stored control module andNext hard disk indication lamp of currently stored control module connection executes detection operation, otherwise, stops detection, and issues current hardThe corresponding cable of disk indicator light connects wrong prompt information.
Specifically, referring to figure 3., Fig. 3 is a kind of hardware connection structure of the storage system of server provided by the inventionSchematic diagram.
When CPLD is designed, after receiving the SPGIO signal that each connector is sent, it is hard to control not only to be decoded into corresponding valueDisk indicator light, but also by the storage of the state of present hard discs indicator light into I2C register, CPU can be read by I2C busTo the LED status in its register.In practical applications, if all hard disks to all storage control modules indicateLamp is detected, then after detecting to present hard discs indicator light, not only obtains the state of present hard discs indicator light, may be used alsoTo obtain the state of other all hard disk indication lamps,
Below with reference to Fig. 2 column, (example is identical as example in above-described embodiment, and different is only that CPU also as one exampleThe state for reading hard disk indication lamp is judged) illustrate:
1, operator is live or operates server by remote mode, connects checking mode into cable;
2, CPU sends to all storage control modules and orders, and extinguishes all hard disk indication lamps;
3, CPU sends to storage control module 1 and orders, and lights the indicator light of the corresponding hard disk of connector 1 above it;
4, CPU reads hard disk indication lamp by I2C and (can be present hard discs indicator light, be also possible to all hard disksIndicator light) state, and judged.When reading the state of all hard disk indication lamp, if connector 1 connected it is hardDisk indicator light is bright, other hard disk indication lamps extinguish, then continues in next step.Otherwise, stop connection checking, the prompt that reports an error has cableConnection error, and can also prompt in incorrect link to the connector of which hard disk backboard, connected with facilitating staff to correctLine.When only reading the state of present hard discs indicator light, judge whether the state of present hard discs indicator light is identical as preset state,If it is, execute subsequent step, otherwise, stop detection, and issue the corresponding cable of present hard discs indicator light connect it is wrongPrompt information.
Such as when reading the state of all hard disk indication lamps, when the connector 1 of storage control module is connected to hard diskWhen connector 3 (should be the connector 1 on hard disk backboard to be connected to) of backboard, that is, there is connection error.At this point, passing through companyThe point modulating signal for connecing the transmission of device 1 can light the corresponding hard disk indication lamp of hard disk connector 3.CPU reads signal and learns the hard of bright lightDisk is incorrect, i.e., identification makes mistake, and CPU can also prompt 1 incorrect link of connector of storage control module to hard disk backboardConnector 3 on, with facilitate staff correct line.
In another example when only reading present hard discs indicator light, when the connector 1 of storage control module is connected to hard disk backboardConnector 3 when, that is, there is connection error.At this point, it is right to light hard disk connector 3 by the point modulating signal that connector 1 is sentThe hard disk indication lamp answered.CPU reads the state of the corresponding hard disk indication lamp of hard disk connector 1 according to preset order, but due to thisWhen the corresponding hard disk indication lamp of hard disk connector 3 it is bright, and the corresponding hard disk indication lamp of hard disk connector 1 goes out, and can determine to deposit at this timeThe cable connection for storing up the connector 1 of control module is wrong, issues the corresponding cable of present hard discs indicator light and connects wrong promptInformation.
5, CPU sends to storage control module 1 and orders, and extinguishes the indicator light of the corresponding hard disk of connector 1 above it;
6, to all hard disks, 3-5 step is repeated, until terminating.
As it can be seen that self-test scheme provided in this embodiment, may be implemented automatically to detect, does not need operator and grasp at the sceneMake or observe, improves the degree of automation.
As a kind of preferred embodiment, in all hard disk indication lamps for all storage control modules that judgement is detectedState it is identical as preset state after, further includes:
The cable for issuing the storage system of detection connects errorless prompt information.
In order to facilitate the operation of personnel's timely learning cable connection status, in all storage control modules that judgement is detectedAll hard disk indication lamps state it is identical as preset state after, also issue the storage system of detection cable connect it is errorlessPrompt information.It further include step 7 namely in examples detailed above: if midway returns to the result for checking OK without reporting an error.
The present invention also provides a kind of cable self-checking system of storage system, which includes:
First transmission unit, for sending initial command to currently stored control module, so as to currently stored control moduleOriginal state is in by the present hard discs indicator light that CPLD control is connect with currently stored control module;
Second transmission unit, for sending sense command to currently stored control module, so as to currently stored control moduleBy CPLD control present hard discs indicator light execute detection operation, with determined according to the state of present hard discs indicator light with currentlyWhether the corresponding cable of hard disk indication lamp connects correctly.
Above-described embodiment is please referred to for the introduction of the cable self-checking system of storage system provided by the invention, the present invention existsThis is repeated no more.
The present invention also provides a kind of server, including storage system, storage system includes CPLD, multiple storages control mouldBlock, multiple hard disks and multiple hard disk indication lamps, further includes:
Processor realizes the step of the cable self-checking system method such as above-mentioned storage system when for executing computer programSuddenly.
As a kind of preferred embodiment, further includes:
The communication bus being set between CPU and CPLD;
Processor is also used to after currently stored control module is lighted by CPLD control present hard discs indicator light, Xiang DangqianBefore storage control module sends the second sense command, the state of present hard discs indicator light is obtained;Judge present hard discs indicator lightState it is whether identical as preset state, if it is, executing subsequent step, otherwise, stop detection, and issue present hard discs and refer toShow that the corresponding cable of lamp connects wrong prompt information.
As a kind of preferred embodiment, communication bus is I2C bus.
Certainly, communication bus here can also be other buses, and details are not described herein by the application.
As a kind of preferred embodiment, the institute for all storage control modules that processor is also used to be detected in judgementHave the state of hard disk indication lamp it is identical as preset state after, the cable for issuing the storage system of detection connects errorless prompt letterBreath.
Above-described embodiment is please referred to for the introduction of server provided by the invention, details are not described herein by the present invention.
It should be noted that in the present specification, the terms "include", "comprise" or its any other variant are intended toNon-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including thoseElement, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipmentIntrinsic 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 process, method, article or equipment including 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.

Claims (10)

Translated fromChinese
1.一种存储系统的线缆自检方法,其特征在于,包括:1. A cable self-checking method for a storage system, comprising:向当前存储控制模块发送初始命令,以便所述当前存储控制模块通过CPLD控制与所述当前存储控制模块连接的当前硬盘指示灯处于初始状态;Send an initial order to the current storage control module, so that the current hard disk indicator light connected to the current storage control module by the CPLD control is in an initial state;向所述当前存储控制模块发送检测命令,以便所述当前存储控制模块通过CPLD控制所述当前硬盘指示灯执行检测动作,以根据所述当前硬盘指示灯的状态来判定与所述当前硬盘指示灯对应的线缆是否连接正确。Send detection order to described current storage control module, so that described current storage control module controls described current hard disk indicator light to carry out detection action by CPLD, to judge and described current hard disk indicator light according to the state of described current hard disk indicator light Whether the corresponding cable is connected correctly.2.如权利要求1所述的存储系统的线缆自检方法,其特征在于,所述初始状态为熄灭状态。2 . The cable self-checking method of a storage system according to claim 1 , wherein the initial state is an off state. 3 .3.如权利要求2所述的存储系统的线缆自检方法,其特征在于,所述向所述当前存储控制模块发送检测命令,以便所述当前存储控制模块通过CPLD控制所述当前硬盘指示灯执行检测动作,包括:3. The cable self-checking method of the storage system according to claim 2, wherein the sending a detection command to the current storage control module, so that the current storage control module controls the current hard disk instruction through CPLD The lights perform detection actions, including:向所述当前存储控制模块发送第一检测命令,以便所述当前存储控制模块通过CPLD控制所述当前硬盘指示灯点亮;Send the first detection command to the current storage control module, so that the current storage control module controls the current hard disk indicator light through CPLD to light;在经过预设时间后,向所述当前存储控制模块发送第二检测命令,以便所述当前存储控制模块通过CPLD控制所述当前硬盘指示灯熄灭。After a preset time has elapsed, a second detection command is sent to the current storage control module, so that the current storage control module controls the current hard disk indicator light to turn off through the CPLD.4.如权利要求3所述的存储系统的线缆自检方法,其特征在于,在所述当前存储控制模块通过CPLD控制所述当前硬盘指示灯点亮后,向所述当前存储控制模块发送第二检测命令之前,还包括:4 . The cable self-checking method of a storage system according to claim 3 , wherein after the current storage control module controls the current hard disk indicator light through CPLD to light up, it sends a message to the current storage control module. 5 . Before the second detection command, it also includes:获取所述当前硬盘指示灯的状态;Obtain the status of the current hard disk indicator;判断所述当前硬盘指示灯的状态是否与预设状态相同,如果是,则执行后续步骤,否则,停止检测,并发出所述当前硬盘指示灯对应的线缆连接有误的提示信息。It is judged whether the state of the current hard disk indicator is the same as the preset state, and if so, the subsequent steps are performed; otherwise, the detection is stopped, and a prompt message that the cable corresponding to the current hard disk indicator is incorrectly connected is sent out.5.如权利要求3所述的存储系统的线缆自检方法,其特征在于,在所述当前存储控制模块通过CPLD控制所述当前硬盘指示灯点亮后,向所述当前存储控制模块发送第二检测命令之前,还包括:5 . The cable self-checking method of the storage system according to claim 3 , wherein after the current storage control module controls the current hard disk indicator light through CPLD to light up, it sends a message to the current storage control module. 6 . Before the second detection command, it also includes:获取所有存储控制模块的所有硬盘指示灯的状态;Get the status of all hard disk indicators of all storage control modules;判断点亮的硬盘指示灯是否为所述当前指示灯,如果是,则执行后续步骤,否则,停止检测,并发出所述当前硬盘指示灯对应的线缆连接有误的提示信息。It is judged whether the lit hard disk indicator light is the current indicator light, and if so, the subsequent steps are performed, otherwise, the detection is stopped, and a prompt message that the cable connection corresponding to the current hard disk indicator light is incorrect is sent.6.如权利要求4或5所述的存储系统的线缆自检方法,其特征在于,在判断得到检测的所有存储控制模块的所有硬盘指示灯的状态均与预设状态相同后,还包括:6. The cable self-checking method of the storage system according to claim 4 or 5, wherein after judging that the states of all hard disk indicator lights of all the detected storage control modules are the same as the preset state, the method further comprises: :发出检测的存储系统的线缆连接无误的提示信息。Sends a message indicating that the cable connection of the detected storage system is correct.7.一种存储系统的线缆自检系统,其特征在于,包括:7. A cable self-checking system for a storage system, comprising:第一发送单元,用于向当前存储控制模块发送初始命令,以便所述当前存储控制模块通过CPLD控制与所述当前存储控制模块连接的当前硬盘指示灯处于初始状态;The first sending unit is used to send an initial order to the current storage control module, so that the current hard disk indicator light connected to the current storage control module by the CPLD control is in an initial state;第二发送单元,用于向所述当前存储控制模块发送检测命令,以便所述当前存储控制模块通过CPLD控制所述当前硬盘指示灯执行检测动作,以根据所述当前硬盘指示灯的状态来判定与所述当前硬盘指示灯对应的线缆是否连接正确。The second sending unit is configured to send a detection command to the current storage control module, so that the current storage control module controls the current hard disk indicator light to perform a detection action through the CPLD, so as to determine according to the state of the current hard disk indicator light Check whether the cable corresponding to the current hard disk indicator is connected correctly.8.一种服务器,包括存储系统,其特征在于,所述存储系统包括CPLD、多个存储控制模块、多个硬盘及多个硬盘指示灯,还包括:8. A server, comprising a storage system, characterized in that the storage system comprises a CPLD, a plurality of storage control modules, a plurality of hard disks and a plurality of hard disk indicator lights, and also includes:处理器,用于执行所述计算机程序时实现如权利要求1至3任一项所述的存储系统的线缆自检系统方法的步骤。The processor is configured to implement the steps of the cable self-checking system method of the storage system according to any one of claims 1 to 3 when executing the computer program.9.如权利要求8所述的服务器,其特征在于,还包括:9. The server of claim 8, further comprising:设置于所述CPU与所述CPLD之间的通讯总线;be arranged on the communication bus between the CPU and the CPLD;所述处理器还用于在所述当前存储控制模块通过CPLD控制所述当前硬盘指示灯点亮后,向所述当前存储控制模块发送第二检测命令之前,获取所述当前硬盘指示灯的状态;判断所述当前硬盘指示灯的状态是否与预设状态相同,如果是,则执行后续步骤,否则,停止检测,并发出所述当前硬盘指示灯对应的线缆连接有误的提示信息。The processor is further configured to acquire the state of the current hard disk indicator light after the current storage control module controls the current hard disk indicator light to light up through the CPLD and before sending a second detection command to the current storage control module. ; determine whether the state of the current hard disk indicator light is the same as the preset state, if so, execute subsequent steps, otherwise, stop the detection, and issue a prompt message that the cable connection corresponding to the current hard disk indicator light is incorrect.10.如权利要求9所述的服务器,其特征在于,所述处理器还用于在判断得到检测的所有存储控制模块的所有硬盘指示灯的状态均与预设状态相同后,发出检测的存储系统的线缆连接无误的提示信息。10. The server according to claim 9, wherein the processor is further configured to send out the detected storage after judging that the states of all the hard disk indicator lights of all the detected storage control modules are the same as the preset state. The system's cable connection is correct.
CN201910041110.5A2019-01-162019-01-16 Cable self-checking method, system and server for storage systemPendingCN109753396A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910041110.5ACN109753396A (en)2019-01-162019-01-16 Cable self-checking method, system and server for storage system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910041110.5ACN109753396A (en)2019-01-162019-01-16 Cable self-checking method, system and server for storage system

Publications (1)

Publication NumberPublication Date
CN109753396Atrue CN109753396A (en)2019-05-14

Family

ID=66405797

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910041110.5APendingCN109753396A (en)2019-01-162019-01-16 Cable self-checking method, system and server for storage system

Country Status (1)

CountryLink
CN (1)CN109753396A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111289922A (en)*2020-01-222020-06-16华为技术有限公司Cable plugging detection method and related equipment
CN111352787A (en)*2020-03-132020-06-30浪潮商用机器有限公司 A GPU topology connection detection method, device, equipment and storage medium
CN114661546A (en)*2022-03-022022-06-24南昌华勤电子科技有限公司 Server cable detection system and communication method thereof
CN115129559A (en)*2022-06-292022-09-30苏州浪潮智能科技有限公司 Cable insertion detection method, device, device and storage medium
CN115525488A (en)*2022-09-272022-12-27超聚变数字技术有限公司Cable detection method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20060174087A1 (en)*2005-01-282006-08-03Hitachi, Ltd.Computer system, computer, storage system, and control terminal
CN104794030A (en)*2014-01-212015-07-22鸿富锦精密工业(深圳)有限公司SAS cable testing system and method
CN107423177A (en)*2017-06-302017-12-01郑州云海信息技术有限公司The method of testing and device of a kind of SAS link
CN206892761U (en)*2017-05-122018-01-16深圳市同泰怡信息技术有限公司A kind of storage server
CN107832199A (en)*2017-10-102018-03-23曙光信息产业(北京)有限公司Hard disk monitoring system based on CPLD
CN207473500U (en)*2017-12-042018-06-08迈存信息科技(上海)有限公司A kind of direct-connected backboards of SAS for being used for 4 disk position storage servers

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20060174087A1 (en)*2005-01-282006-08-03Hitachi, Ltd.Computer system, computer, storage system, and control terminal
CN104794030A (en)*2014-01-212015-07-22鸿富锦精密工业(深圳)有限公司SAS cable testing system and method
CN206892761U (en)*2017-05-122018-01-16深圳市同泰怡信息技术有限公司A kind of storage server
CN107423177A (en)*2017-06-302017-12-01郑州云海信息技术有限公司The method of testing and device of a kind of SAS link
CN107832199A (en)*2017-10-102018-03-23曙光信息产业(北京)有限公司Hard disk monitoring system based on CPLD
CN207473500U (en)*2017-12-042018-06-08迈存信息科技(上海)有限公司A kind of direct-connected backboards of SAS for being used for 4 disk position storage servers

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111289922A (en)*2020-01-222020-06-16华为技术有限公司Cable plugging detection method and related equipment
CN111352787A (en)*2020-03-132020-06-30浪潮商用机器有限公司 A GPU topology connection detection method, device, equipment and storage medium
CN111352787B (en)*2020-03-132023-08-18浪潮商用机器有限公司GPU topology connection detection method, device, equipment and storage medium
CN114661546A (en)*2022-03-022022-06-24南昌华勤电子科技有限公司 Server cable detection system and communication method thereof
CN115129559A (en)*2022-06-292022-09-30苏州浪潮智能科技有限公司 Cable insertion detection method, device, device and storage medium
CN115525488A (en)*2022-09-272022-12-27超聚变数字技术有限公司Cable detection method and system

Similar Documents

PublicationPublication DateTitle
CN109753396A (en) Cable self-checking method, system and server for storage system
US8996778B2 (en)Cable adapter correlation in a cluster
CN104198911B (en)A kind of chip pin method of testing of DTU and circuit
EP1796403A2 (en)Patch panel with guided MAC capability
CN216748731U (en)Detection circuit, interface link tooling plate and detection system
US9690602B2 (en)Techniques for programming and verifying backplane controller chip firmware
CN104794033A (en)CPU low-frequency fault positioning method and device based on BMC
CN106855839A (en)A kind of server failure indicating means and device
CN109117342A (en)A kind of server and its hard disk health status monitoring system
WO2014082275A1 (en)Method and apparatus for detecting cable connection condition
CN117573455B (en) A PCIE device detection system, method, device and product
CN108984373A (en)Solve the method, apparatus and instruction system that network indicator light is always on extremely
CN103595999B (en)The automatic testing method of intelligent television and automatic detection device
TW201506430A (en)Monitoring system and method for monitoring electrostatic tester
CN109507993A (en)A kind of vehicle electronic control unit analogue system
CN115129560A (en) A server and its wiring alarm system
CN114661546A (en) Server cable detection system and communication method thereof
CN209264906U (en) CVC-200T hardware intelligent test system
CN110361043B (en)Vehicle-mounted instrument fault detection system and fault detection method thereof
CN117667818A (en)Signal transmission structure, server and signal transmission method
CN205809244U (en)The test device that detection optical module firmware is lost
CN115480975A (en)Wiring checking method and device
CN103217654A (en)Touch screen remote monitoring fault diagnosis system and method thereof
CN115309688B (en) A method and device for checking the correctness of server PCIE cable connection
CN112946529B (en) A control line verification method, system and medium based on a detection module

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication

Application publication date:20190514

RJ01Rejection of invention patent application after publication

[8]ページ先頭

©2009-2025 Movatter.jp