CN117991870A - Hard disk backboard device and communication link fault detection method - Google Patents

Hard disk backboard device and communication link fault detection method Download PDF

Info

Publication number
CN117991870A
CN117991870A CN202410084398.5A CN202410084398A CN117991870A CN 117991870 A CN117991870 A CN 117991870A CN 202410084398 A CN202410084398 A CN 202410084398A CN 117991870 A CN117991870 A CN 117991870A
Authority
CN
China
Prior art keywords
hard disk
expansion board
storage expansion
array card
disk
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
CN202410084398.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.)
Suzhou Metabrain Intelligent Technology Co Ltd
Original Assignee
Suzhou Metabrain Intelligent 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 Suzhou Metabrain Intelligent Technology Co Ltd filed Critical Suzhou Metabrain Intelligent Technology Co Ltd
Priority to CN202410084398.5A priority Critical patent/CN117991870A/en
Publication of CN117991870A publication Critical patent/CN117991870A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a hard disk backboard device and a communication link fault detection method, wherein the hard disk backboard device comprises the following components: the device comprises a hard disk backboard, a hard disk, a first storage expansion board, a second storage expansion board, a first disk array card and a second disk array card; the first storage expansion board and the second storage expansion board are respectively connected with a hard disk backboard, and the hard disk backboard is also connected with a hard disk; the first storage expansion board is connected with the first disk array card, and the second storage expansion board is connected with the second disk array card; the first memory expansion board comprises a first chip, the second memory expansion board comprises a second chip, and the first chip is used for sending a link switching signal to the second chip under the condition that the first disk array card fails so as to disable a communication link between the first disk array card and the hard disk and enable the communication link between the second disk array card and the hard disk. When one data link hardware fails, the standby link can continue to read and write data, so that the running stability and the data safety are improved.

Description

Hard disk backboard device and communication link fault detection method
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a hard disk backboard device and a communication link failure detection method.
Background
The server technology plays a vital role in the development of the Internet industry, and the running stability of the server and the safety of data are more and more important. In recent years, the internet market has seen that the improvement of the running stability of a server and the safety of data is the key point of research in the server industry due to the fact that the server has a huge economic loss caused by system stagnation.
In order to ensure that the server stably provides service, in the related art, data backup and calculation backup are realized by parallel operation of a plurality of servers. In the event of a failure of the server, the service is continued to be improved by the standby server.
However, the method solves the problem from the perspective of complete machine backup, the implementation of the measure is realized based on a mode of multiple redundancy of the complete machine, multiple server machines are needed to be configured on the basis of the implementation, and the cost is greatly increased.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention are provided to provide a hard disk backplane device and a communication link failure detection method that overcome or at least partially solve the foregoing problems.
In a first aspect, an embodiment of the present application discloses a hard disk backplate device, the device including:
the device comprises a hard disk backboard, a hard disk, a first storage expansion board, a second storage expansion board, a first disk array card and a second disk array card;
the first storage expansion board and the second storage expansion board are respectively connected with the hard disk backboard, and the hard disk backboard is also connected with a hard disk;
The first storage expansion board is connected with the first disk array card, and the second storage expansion board is connected with the second disk array card;
The first storage expansion board comprises a first chip, the second storage expansion board comprises a second chip, and the first chip is used for sending a link switching signal to the second chip under the condition that the first disk array card fails so as to disable a communication link between the first disk array card and the hard disk and enable the communication link between the second disk array card and the hard disk.
Optionally, the hard disk backboard is provided with a first high-density signal connector and a second high-density signal connector, the first storage expansion board is connected with the hard disk backboard through the first high-density signal connector, and the second storage expansion board is connected with the hard disk backboard through the second high-density signal connector;
The hard disk backboard is provided with a hard disk connector, and the hard disk is connected with the hard disk backboard through the hard disk connector.
Optionally, the first storage expansion board is provided with a third high-density signal connector, and the second storage expansion board is provided with a fourth high-density signal connector;
The third high-density signal connector is connected with the first high-density signal connector, and the fourth high-density signal connector is connected with the second high-density signal connector.
Optionally, the first storage expansion board has a first MINISASHD interface, and the second storage expansion board has a second MINISASHD interface;
the first disk array card is connected with the first storage expansion board through the first MINISASHD interface, and the second disk array card is connected with the second storage expansion board through the second MINISASHD interface.
Optionally, the first disk array card and the second disk array card are respectively inserted into PCIE slots of the server;
the first disk array card and the second disk array card are RAID cards or SAS cards.
Optionally, the first storage expansion board and the second storage expansion board are respectively provided with a connecting hole; the hard disk backboard is provided with a stud;
The studs penetrate through the connecting holes, and the first storage expansion plate and the second storage expansion plate are fixedly installed on the hard disk backboard through the cooperation of nuts.
In a second aspect, an embodiment of the present application discloses a method for detecting a communication link failure, which is applied to the hard disk backboard device according to the first aspect, and the method includes:
After the server normally operates, acquiring log information of the hard disk and the first disk array card through the first storage expansion board;
Judging whether a communication abnormal condition exists between the hard disk and the first disk array card according to the log information;
if the abnormal communication condition exists, acquiring a hard disk state, and judging whether the hard disk fails or not;
And under the condition that the hard disk is normal, determining that the first disk array card is abnormal, sending a link switching signal to a second chip of the second magnetic storage expansion board through a first chip of the first storage expansion board, disabling a communication link between the first disk array card and the hard disk, and enabling a communication link between the second disk array card and the hard disk.
Optionally, the method further comprises:
and under the condition that the hard disk is determined to be faulty, executing a kicking operation on the faulty hard disk.
Optionally, the obtaining the state of the hard disk, and determining whether the hard disk fails includes:
Acquiring hard disk state information through a hard disk self-checking program;
and determining whether the hard disk fails according to the hard disk state information.
Optionally, the judging whether the abnormal communication condition exists between the hard disk and the first disk array card according to the log information includes:
Determining whether connection timeout exists between the first disk array card and the hard disk or not through the log information;
if the times of the overtime connection exceeds a preset threshold value in a preset time period, determining that a communication abnormal condition exists;
or determining whether the number of times of re-requesting the response between the first disk array card and the hard disk exceeds a preset number of times or whether the duration of re-requesting the response exceeds a preset duration under the condition that the request response is in error report between the first disk array card and the hard disk through the log information;
determining that a communication abnormal condition exists under the condition that the number of re-request responses exceeds the preset number or the duration of re-request responses exceeds the preset duration;
or determining that the communication abnormal condition exists under the condition that the firmware abnormal condition or the alarm information exists in the first disk array card through the log information.
In an embodiment of the present application, a hard disk back plate device includes: the device comprises a hard disk backboard, a hard disk, a first storage expansion board, a second storage expansion board, a first disk array card and a second disk array card; the first storage expansion board and the second storage expansion board are respectively connected with the hard disk backboard, and the hard disk backboard is also connected with a hard disk; the first storage expansion board is connected with the first disk array card, and the second storage expansion board is connected with the second disk array card; the first storage expansion board comprises a first chip, the second storage expansion board comprises a second chip, and the first chip is used for sending a link switching signal to the second chip under the condition that the first disk array card fails so as to disable a communication link between the first disk array card and the hard disk and enable the communication link between the second disk array card and the hard disk. The application discloses a hard disk backboard supporting redundancy of a storage data link, which is characterized in that two storage expansion boards are respectively connected with a disk array card to form two data links communicated with a hard disk, so that the redundancy of the data link in a single server is realized, and when hardware of one data link fails, a spare link can continuously read and write data. The hard disk backboard device can realize redundancy of the storage hardware circuit in a single server, and improve the running stability of the server and the data safety. The method solves the problem of failure or abnormal link of the disk array card in a single server, and saves cost.
Drawings
Fig. 1 is a schematic diagram of a hard disk backboard device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a method for detecting a communication link failure according to an embodiment of the present invention;
FIG. 3 is an electronic device provided by an embodiment of the present application;
fig. 4 is a further electronic device provided in an embodiment of the application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, the term "and/or" as used in the specification and claims to describe an association of associated objects means that there may be three relationships, e.g., a and/or B, may mean: a exists alone, A and B exist together, and B exists alone. The character "/" generally indicates that the context-dependent object is an "or" relationship. The term "plurality" in embodiments of the present application means two or more, and other adjectives are similar.
The techniques and concepts related to the present application are described below.
RAID (Redundant Array of INDEPENDENT DISKS ) is a technique that combines multiple independent hard disks (physical hard disks) in different ways to form a hard disk group (logical hard disk) to provide higher storage performance and provide data backup than a single hard disk. The different ways of composing the disk array is RAID level (RAID LEVELS). The function of data backup is that once the user data is damaged, the damaged data can be recovered by using the backup information, so that the safety of the user data is ensured. The disk group is what the user looks like a hard disk, and the user can partition, format, etc. In summary, the operation of a disk array is identical to a single hard disk. In contrast, disk arrays are stored much faster than a single hard disk, and can provide automatic data backup.
Two major features of RAID technology: firstly, the speed and secondly, the security, because of these two advantages, RAID technology is applied to the hard disk system of SCSI interface in advanced server in early stage, with the development of computer technology in recent years, the speed of CPU of PC has entered GHz age. The hard disk of IDE interface is not behind the hard disk, and ATA66 and ATA100 hard disks are successively pushed out. This makes it possible to apply RAID technology to low and medium-grade or even personal PCs. RAID is typically implemented by a RAID controller in a hard disk array tower or a RAID card in a computer.
For a server, a hard disk connected with the server is controlled by a RAID card, if the RAID card fails, a data link between the RAID card and the hard disk is interrupted, and the normal use of the server is affected.
Referring to fig. 1, an embodiment of the present application discloses a hard disk back plate apparatus, which includes: the device comprises a hard disk backboard, a hard disk, a first storage expansion board, a second storage expansion board, a first disk array card and a second disk array card; the first storage expansion board and the second storage expansion board are respectively connected with the hard disk backboard, and the hard disk backboard is also connected with a hard disk; the first storage expansion board is connected with the first disk array card, and the second storage expansion board is connected with the second disk array card; the first storage expansion board comprises a first chip, the second storage expansion board comprises a second chip, and the first chip is used for sending a link switching signal to the second chip under the condition that the first disk array card fails so as to disable a communication link between the first disk array card and the hard disk and enable the communication link between the second disk array card and the hard disk.
In particular, the hard disk back plate is a hardware component, which is usually located on a hard disk bracket of a server, and is used for installing and managing the hard disk. The hard disk back plate provides a bracket or slot for accommodating the server hard disk, and the hard disk back plate is designed to ensure that the hard disk is firmly fixed inside the server, so as to help prevent the hard disk from loosening in transportation or vibration, thereby reducing the risk of damage to the hard disk or data loss. I.e. the hard disk back plate provides a physical framework for supporting, securing and connecting the server hard disk. The hard disk used on the server serves as the core of the network data of the server, and all software and user data are stored on the hard disk. Hard disk data stored on a server is the most valuable to the user, and thus the reliability of the hard disk is very important. The disk array card is used for managing the hard disks, combining a plurality of hard disks into a single logic disk, and improving the performance of the hard disks to the greatest extent. The storage expansion board is used for forming a redundant link of a data link between the disk array card and the disk, so that the data link between the standby disk array card and the disk can be quickly switched to perform data transmission under the condition that the disk array card fails, and the operation of the server is ensured not to stop service after the disk array card fails.
Further, in the related art, the disk array card is directly connected to the hard disk back plate, so that if the disk array card fails, the data link between the hard disk and the disk array card fails, and the service cannot be provided as usual. Referring to fig. 1, the hard disk backboard device in the application mainly includes: the hard disk backboard can be used as a reference hard disk backboard, the hard disk backboard can comprise an interface connected with a storage expansion board, the storage expansion board is used as a middleware for connecting a disk array card and the hard disk backboard, the disk array card is connected with the storage expansion board, and the storage expansion board is connected with the hard disk backboard to form a communication data link of the disk array card and the hard disk backboard. In order to realize redundancy of data links, at least two data links are designed, wherein one data link is used as a main link, and the other data link is used as a standby link.
As in fig. 1, the two storage expansion boards may be: the first storage expansion board is also connected with the hard disk backboard, and the first disk array card, the first storage expansion board and the disk backboard form a main data link between the disk and the disk array card. The second storage expansion board is connected with the second disk array card, the second storage expansion board is also connected with the hard disk backboard, and the second disk array card, the second storage expansion board and the disk backboard form a standby data link between the disk and the disk array card. The storage expansion card also comprises a storage expansion chip, and the storage expansion chip is used for converting and expanding the transmitted signals and acquiring states of the disk array card and the hard disk so as to timely switch to one link when the other link fails and ensure that the service of the server is not interrupted. For example, the first storage expansion board may include a first chip, the second storage expansion board may include a second chip, and communications may be performed between the first chip and the second chip to provide status information of the disk array card with each other, where the status information may be information for indicating whether the disk array card may operate normally. If the first chip determines that the first disk array card fails, the first chip can send a link switching signal to the second chip, and the second chip enables a standby data link after receiving the link switching signal, so that the second disk array card is used as an array card for controlling a disk, normal use of a server is ensured, and at the moment, the data link between the first disk array card and the disk can be in a disabled state. The application realizes the redundancy of the data link in a single server by designing the hard disk backboard supporting the redundancy of the storage data link, and when one data link hardware fails, the spare link can continue to read and write data, and the normal communication between the disk array card and the disk is ensured under the condition of not adding the spare server. Of course, the present application is not limited to two communication links, and the setting manner of more communication links is the same, and the present application is not described herein.
In summary, in an embodiment of the present application, a hard disk backplate device includes: the device comprises a hard disk backboard, a hard disk, a first storage expansion board, a second storage expansion board, a first disk array card and a second disk array card; the first storage expansion board and the second storage expansion board are respectively connected with the hard disk backboard, and the hard disk backboard is also connected with a hard disk; the first storage expansion board is connected with the first disk array card, and the second storage expansion board is connected with the second disk array card; the first storage expansion board comprises a first chip, the second storage expansion board comprises a second chip, and the first chip is used for sending a link switching signal to the second chip under the condition that the first disk array card fails so as to disable a communication link between the first disk array card and the hard disk and enable the communication link between the second disk array card and the hard disk. The application discloses a hard disk backboard supporting redundancy of a storage data link, which is characterized in that two storage expansion boards are respectively connected with a disk array card to form two data links communicated with a hard disk, so that the redundancy of the data link in a single server is realized, and when hardware of one data link fails, a spare link can continuously read and write data. The hard disk backboard device can realize redundancy of the storage hardware circuit in a single server, and improve the running stability of the server and the data safety. The method solves the problem of failure or abnormal link of the disk array card in a single server, and saves cost.
Optionally, the hard disk backboard is provided with a first high-density signal connector and a second high-density signal connector, the first storage expansion board is connected with the hard disk backboard through the first high-density signal connector, and the second storage expansion board is connected with the hard disk backboard through the second high-density signal connector; the hard disk backboard is provided with a hard disk connector, and the hard disk is connected with the hard disk backboard through the hard disk connector.
In the embodiment of the application, the high-density signal connector is used for connecting the storage expansion board, the hard disk backboard is also provided with the hard disk connector for connecting the hard disks, the connection mode can be plug-in connection, and the number of the connected hard disks can be set according to actual requirements, and the embodiment of the application is not limited herein.
Further, referring to fig. 1, in order to implement a data link redundancy design, the hard disk back plate may include two high density signal connectors, namely, a first high density signal connector and a second high density signal connector, the first high density signal connector is connected to the first storage expansion board, and the second high density signal connector is connected to the second storage expansion board, so that the storage expansion chips (the first chip and the second chip) may transmit signals to the hard disk, thereby implementing management and control of the hard disk.
In addition, the hard disk backboard further comprises a SATA/SAS/NVME signal wire which is used for transmitting SATA/SAS/NVME signals, and the SATA/SAS/NVME signal wire is connected to the hard disk connector to achieve data reading and writing.
Optionally, the first storage expansion board is provided with a third high-density signal connector, and the second storage expansion board is provided with a fourth high-density signal connector; the third high-density signal connector is connected with the first high-density signal connector, and the fourth high-density signal connector is connected with the second high-density signal connector.
In an embodiment of the present invention, referring to fig. 1, the storage expansion board is provided with a corresponding interface connector for connection with the hard disk back plate, for example, the first storage expansion board may be provided with a third high-density signal connector, and the second storage expansion board may be provided with a fourth high-density signal connector; the third high-density signal connector is connected with the first high-density signal connector, the first storage expansion board is connected with the hard disk backboard, the fourth high-density signal connector is connected with the second high-density signal connector, the second storage expansion board is connected with the hard disk backboard, and the first storage expansion board and the hard disk backboard can be connected through a cable adapting to a connector interface.
Specifically, after the data signal of the disk array card is converted and expanded by the storage expansion chip (such as the first chip or the second chip), the data signal is transmitted to the hard disk backboard through the high-density signal connector, and the data signal can be an SATA/SAS signal.
Optionally, the first storage expansion board has a first MINISASHD interface, and the second storage expansion board has a second MINISASHD interface; the first disk array card is connected with the first storage expansion board through the first MINISASHD interface, and the second disk array card is connected with the second storage expansion board through the second MINISASHD interface.
In an embodiment of the present invention, referring to fig. 1, a storage expansion board is provided with an interface for connecting with a disk array card, for example, MINISASHD interfaces, and the disk array card may be connected with the storage expansion board based on MINISASHD interfaces to form a data link among the disk array card, the storage expansion board and the hard disk back plate. The MINISASHD interface is a high-density serial connection interface, which is used for connecting data transmission and storage equipment and supporting high-speed data transmission and multi-disk connection. By connecting MINISASHD interfaces to the disk array card, each hard disk can be ensured to be properly identified and managed, and the data protection and redundancy functions provided by the disk array card can be utilized.
Specifically, two data links are designed in the present application, one of which is used as a main link and one of which is used as a redundant standby link, so that the storage expansion board should at least include a MINISASHD interface for connecting with a disk array card, which may be a RAID card or a SAS card, and embodiments of the present application are not limited herein.
Further, the storage expansion board further comprises a SATA/SAS signal line for transmitting SATA/SAS signals.
Optionally, the first disk array card and the second disk array card are respectively inserted into PCIE slots of the server; the first disk array card and the second disk array card are RAID cards or SAS cards.
In the embodiment of the application, two SAS or RAID cards can be inserted into a PCIE slot of the system and are respectively connected to a storage expansion board through MINISASHD lines, SAS signals are converted, enhanced and expanded through storage expansion chips on the storage expansion board, the SAS signals are connected to a hard disk backboard through a high-density signal connector of the storage expansion board and are connected to a hard disk connector through SAS/SATA signal lines, and the hard disk is inserted into the hard disk connector to realize data reading and writing. The application realizes the redundancy of the data link in a single server by designing the hard disk backboard supporting the redundancy of the storage data link, and when one data link hardware fails, the spare link can continue to read and write data. By implementing the method, the redundancy of the storage hardware circuit can be realized in a single server, and the running stability of the server and the safety of data are improved.
RAID (Redundant Aray of NDEPENDENT DISKS, redundant array of independent disks) is a technique that combines multiple independent hard disks (physical hard disks) in different ways to form a hard disk group (logical hard disk) to provide higher storage performance and provide more data than a single hard disk. SAS cards may support Raid0, 1.10, 1E or directly identify the SAS hard disk. Meanwhile, the method is compatible with the sata hard disk. The Raid card can support the Raid61513\10\10 and the like of the sas and the sata hard disk. The function is stronger than that of the sas card, and the application does not limit the selection of the disk array card.
Optionally, the first storage expansion board and the second storage expansion board are respectively provided with a connecting hole; the hard disk backboard is provided with a stud; the studs penetrate through the connecting holes, and the first storage expansion plate and the second storage expansion plate are fixedly installed on the hard disk backboard through the cooperation of nuts.
In the embodiment of the invention, when the storage expansion board is connected to the hard disk backboard, communication is realized through connection of the high-density signal connector on the storage expansion board and the high-density signal connector on the hard disk backboard. Meanwhile, the storage expansion board can be fixedly arranged on the stud on the reference hard disk backboard, so that the storage expansion board can be stably arranged in the server.
In combination with the above, the application realizes the design of redundant data links by improving the hard disk backboard and designing the storage expansion board connected with the hard disk backboard. The hard disk backboard mainly comprises a hard disk connector, a high-density signal connector and a SATA/SAS/NVME signal wire, wherein the hard disk connector is used for connecting a hard disk, the high-density signal connector is used for connecting a storage expansion backboard, and the SATA/SAS signal wire is used for transmitting SATA/SAS signals. The storage expansion board mainly comprises a storage expansion chip, a high-density signal connector, a MINISASHD interface and a SATA/SAS signal wire, wherein the storage expansion chip is used for converting and expanding SATA/SAS signals, the high-density signal connector is used for connecting a reference hard disk backboard, the MINISASHD interface is used for connecting to a RAID/SAS card, and the SATA/SAS signal wire is used for transmitting the SATA/SAS signals. The storage expansion boards are connected with the hard disk back plates through high-density interfaces, each hard disk back plate is provided with two high-density interfaces, and the two high-density interfaces are respectively connected with one storage expansion board, so that redundancy of a storage hardware link is realized. In a single server system, two SAS/RAID cards are respectively connected to a storage expansion board, and the storage expansion board is connected to a hard disk backboard, so that the backup of a storage hardware link is realized, and the problem of RAID card failure or link abnormality in the single server is solved.
In summary, in an embodiment of the present application, a hard disk backplate device includes: the device comprises a hard disk backboard, a hard disk, a first storage expansion board, a second storage expansion board, a first disk array card and a second disk array card; the first storage expansion board and the second storage expansion board are respectively connected with the hard disk backboard, and the hard disk backboard is also connected with a hard disk; the first storage expansion board is connected with the first disk array card, and the second storage expansion board is connected with the second disk array card; the first storage expansion board comprises a first chip, the second storage expansion board comprises a second chip, and the first chip is used for sending a link switching signal to the second chip under the condition that the first disk array card fails so as to disable a communication link between the first disk array card and the hard disk and enable the communication link between the second disk array card and the hard disk. The application discloses a hard disk backboard supporting redundancy of a storage data link, which is characterized in that two storage expansion boards are respectively connected with a disk array card to form two data links communicated with a hard disk, so that the redundancy of the data link in a single server is realized, and when hardware of one data link fails, a spare link can continuously read and write data. The hard disk backboard device can realize redundancy of the storage hardware circuit in a single server, and improve the running stability of the server and the data safety. The method solves the problem of failure or abnormal link of the disk array card in a single server, and saves cost.
Referring to fig. 2, an embodiment of the present application discloses a method for detecting a communication link failure, the method comprising:
And step 101, after the server normally operates, acquiring log information of the hard disk and the first disk array card through the first storage expansion board.
In the embodiment of the invention, after the server normally operates, whether the disk array card and the hard disk normally operate or not can be detected, and the communication state of the disk array card and the hard disk or the operation state of the disk array card and the hard disk can be stored in the log file. Therefore, after the server normally operates, log information can be monitored, whether communication between the disk and the disk array card is normal or not is determined through the log information, under the condition of abnormal communication, whether the disk fails or the disk array card fails is judged, if the disk fails, the disk can be replaced, and if the disk array card fails, a standby link can be switched to continue the normal operation of the server.
And 102, judging whether a communication abnormal condition exists between the hard disk and the first disk array card according to the log information.
In the embodiment of the present invention, the abnormal situation between the hard disk and the disk array card may include: when conditions such as connection timeout, request response timeout or abnormal firmware of the disk array card are monitored through log information, whether communication abnormal conditions exist between the hard disk and the first disk array card or not is determined, and whether a communication link between the disk array card and the hard disk is to be switched to a standby communication link or not is judged at the moment so as to ensure normal data transmission.
Optionally, step 102 includes:
a substep 1021, determining, according to the log information, whether there is a connection timeout between the first disk array card and the hard disk;
Sub-step 1022, if the number of times of the connection timeout exceeds the preset threshold in the preset time period, determining that the abnormal communication condition exists.
In the embodiment of the present application, for sub-step 1021 and sub-step 1022, when log information is read, whether an abnormality occurs may be judged by a field corresponding to an abnormal communication condition, for example: judging whether the field 'timeout' frequently occurs in the log information of the preset time length, and if the number of times of timeout occurrence is greater than a preset threshold value, determining that the abnormal communication condition exists. The length of the preset time period and the preset threshold value may be set according to actual requirements, which is not limited herein.
Optionally, step 102 includes:
Step 1023, determining whether the number of times of re-requesting the response between the first disk array card and the hard disk exceeds a preset number of times or whether the duration of re-requesting the response exceeds a preset duration under the condition that the request response is in error report between the first disk array card and the hard disk through the log information;
Sub-step 1024, determining that there is a communication abnormality in case the number of re-request responses exceeds the preset number or the duration of re-request responses exceeds the preset duration.
In an embodiment of the present invention, for sub-step 1023 and sub-step 1024, when the log information is read, it is determined whether a request response error occurs. For example, in the case of IO error reporting, after the retry is attempted, if the number of times of retry exceeds a preset number of times or the retry time exceeds a preset duration, it may also be determined that a communication abnormality exists.
Optionally, step 102 includes:
and step 1025, determining that the communication abnormal condition exists under the condition that the firmware abnormal condition or the alarm information exists in the first disk array card according to the log information.
In the embodiment of the invention, if the self-checking program detects that the first disk array card has firmware abnormality or alarm information, the first disk array card is determined to have abnormality, and the abnormal condition is also used as communication abnormality.
Step 103, if the abnormal communication condition exists, the state of the hard disk is obtained, and whether the hard disk fails or not is judged.
In the embodiment of the invention, if the communication abnormal condition exists, the state of the hard disk is obtained, firstly, whether the hard disk is in fault is judged, and if the hard disk is in fault, the hard disk is subjected to the kicking operation or the hard disk is replaced.
Optionally, step 103 includes:
a substep 1031, obtaining hard disk state information through a hard disk self-checking program;
sub-step 1032, determining whether said hard disk is malfunctioning based on said hard disk status information.
In the embodiment of the present invention, for sub-step 1031 and sub-step 1032, the hard disk failure may be detected and determined by a hard disk self-checking program, the hard disk self-checking program may determine the status information of the hard disk, store the status information of the hard disk in the log information of the hard disk, and read the log information to determine whether the hard disk fails.
Step 104, under the condition that the hard disk is normal, determining that the first disk array card is abnormal, sending a link switching signal to a second chip of the second magnetic storage expansion board through a first chip of the first storage expansion board, disabling a communication link between the first disk array card and the hard disk, and enabling a communication link between the second disk array card and the hard disk.
In the embodiment of the invention, under the condition that the hard disk is normal, it can be determined that the abnormality of the communication link between the current disk array card and the disk is caused by the reason of the disk array card, and the problem can be solved by switching the standby communication link.
Optionally, the method further comprises:
step 105, in the case of determining that the hard disk fails, performing a kicking operation on the failed hard disk.
In the embodiment of the invention, under the condition that the hard disk is determined to be faulty, the kicking operation is performed on the faulty hard disk.
By the method, redundancy of the storage hardware circuit is realized in a single server, and the running stability of the server and the data safety are improved.
In summary, in an embodiment, a hard disk backplate device includes: the device comprises a hard disk backboard, a hard disk, a first storage expansion board, a second storage expansion board, a first disk array card and a second disk array card; the first storage expansion board and the second storage expansion board are respectively connected with the hard disk backboard, and the hard disk backboard is also connected with a hard disk; the first storage expansion board is connected with the first disk array card, and the second storage expansion board is connected with the second disk array card; the first storage expansion board comprises a first chip, the second storage expansion board comprises a second chip, and the first chip is used for sending a link switching signal to the second chip under the condition that the first disk array card fails so as to disable a communication link between the first disk array card and the hard disk and enable the communication link between the second disk array card and the hard disk. The application discloses a hard disk backboard supporting redundancy of a storage data link, which is characterized in that two storage expansion boards are respectively connected with a disk array card to form two data links communicated with a hard disk, so that the redundancy of the data link in a single server is realized, and when hardware of one data link fails, a spare link can continuously read and write data. The hard disk backboard device can realize redundancy of the storage hardware circuit in a single server, and improve the running stability of the server and the data safety. The method solves the problem of failure or abnormal link of the disk array card in a single server, and saves cost.
Fig. 3 illustrates a block diagram of an electronic device 600, according to an example embodiment. For example, the electronic device 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 3, the electronic device 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the electronic device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is used to store various types of data to support operations at the electronic device 600. Examples of such data include instructions for any application or method operating on the electronic device 600, contact data, phonebook data, messages, pictures, multimedia, and so forth. The memory 604 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 606 provides power to the various components of the electronic device 600. The power supply components 606 can include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 600.
The multimedia component 608 includes a screen between the electronic device 600 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense demarcations of touch or sliding actions, but also detect durations and pressures associated with the touch or sliding operations. In some embodiments, the multimedia component 608 includes a front camera and/or a rear camera. When the electronic device 600 is in an operational mode, such as a shooting mode or a multimedia mode, the front-facing camera and/or the rear-facing camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 610 is for outputting and/or inputting audio signals. For example, the audio component 610 includes a Microphone (MIC) for receiving external audio signals when the electronic device 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of the electronic device 600. For example, the sensor assembly 614 may detect an on/off state of the electronic device 600, a relative positioning of the components, such as a display and keypad of the electronic device 600, the sensor assembly 614 may also detect a change in position of the electronic device 600 or a component of the electronic device 600, the presence or absence of a user's contact with the electronic device 600, an orientation or acceleration/deceleration of the electronic device 600, and a change in temperature of the electronic device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is utilized to facilitate communication between the electronic device 600 and other devices, either in a wired or wireless manner. The electronic device 600 may access a wireless network based on a communication standard, such as WiFi, an operator network (e.g., 2G, 3G, 4G, or 5G), or a combination thereof. In one exemplary embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for implementing a method for communication link failure detection as provided by embodiments of the application.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 604, including instructions executable by processor 620 of electronic device 600 to perform the above-described method. For example, the non-transitory storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Fig. 4 illustrates a block diagram of an electronic device 700, according to an example embodiment. For example, the electronic device 700 may be provided as a server. Referring to fig. 4, the electronic device 700 includes a processing component 722 that further includes one or more processors and memory resources represented by a memory 732 for storing instructions, such as application programs, executable by the processing component 722. The application programs stored in memory 732 may include one or more modules that each correspond to a set of instructions. In addition, the processing component 722 is configured to execute instructions to perform a method for detecting a communication link failure provided by an embodiment of the present application.
The electronic device 700 may also include a power supply component 726 configured to perform power management of the electronic device 700, a wired or wireless network interface 750 configured to connect the electronic device 700 to a network, and an input output (I/O) interface 758. The electronic device 700 may operate based on an operating system stored in memory 732, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
The embodiment of the application also provides a computer program product, which comprises a computer program, wherein the computer program realizes the communication link fault detection method when being executed by a processor.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A hard disk backplate device, the device comprising:
the device comprises a hard disk backboard, a hard disk, a first storage expansion board, a second storage expansion board, a first disk array card and a second disk array card;
the first storage expansion board and the second storage expansion board are respectively connected with the hard disk backboard, and the hard disk backboard is also connected with a hard disk;
The first storage expansion board is connected with the first disk array card, and the second storage expansion board is connected with the second disk array card;
The first storage expansion board comprises a first chip, the second storage expansion board comprises a second chip, and the first chip is used for sending a link switching signal to the second chip under the condition that the first disk array card fails so as to disable a communication link between the first disk array card and the hard disk and enable the communication link between the second disk array card and the hard disk.
2. The hard disk backplate device of claim 1, wherein the housing is configured to hold the backplate device,
The hard disk backboard is provided with a first high-density signal connector and a second high-density signal connector, the first storage expansion board is connected with the hard disk backboard through the first high-density signal connector, and the second storage expansion board is connected with the hard disk backboard through the second high-density signal connector;
The hard disk backboard is provided with a hard disk connector, and the hard disk is connected with the hard disk backboard through the hard disk connector.
3. The hard disk backplate device according to claim 2, wherein,
The first storage expansion board is provided with a third high-density signal connector, and the second storage expansion board is provided with a fourth high-density signal connector;
The third high-density signal connector is connected with the first high-density signal connector, and the fourth high-density signal connector is connected with the second high-density signal connector.
4. The hard disk backplate device of claim 1, wherein the housing is configured to hold the backplate device,
The first storage expansion board is provided with a first MINISASHD interface, and the second storage expansion board is provided with a second MINISASHD interface;
the first disk array card is connected with the first storage expansion board through the first MINISASHD interface, and the second disk array card is connected with the second storage expansion board through the second MINISASHD interface.
5. The hard disk backboard device according to claim 1, wherein said first disk array card and said second disk array card are respectively inserted into PCIE slots of a server;
the first disk array card and the second disk array card are RAID cards or SAS cards.
6. The hard disk back plate apparatus according to claim 1, wherein the first storage expansion plate and the second storage expansion plate are respectively provided with connection holes; the hard disk backboard is provided with a stud;
The studs penetrate through the connecting holes, and the first storage expansion plate and the second storage expansion plate are fixedly installed on the hard disk backboard through the cooperation of nuts.
7. A method for detecting a communication link failure, applied to the hard disk backboard device according to any one of claims 1 to 6, characterized in that the method comprises:
After the server normally operates, acquiring log information of the hard disk and the first disk array card through the first storage expansion board;
Judging whether a communication abnormal condition exists between the hard disk and the first disk array card according to the log information;
if the abnormal communication condition exists, acquiring a hard disk state, and judging whether the hard disk fails or not;
And under the condition that the hard disk is normal, determining that the first disk array card is abnormal, and sending a link switching signal to a second chip of the second magnetic storage expansion board through a first chip of the first storage expansion board so as to disable a communication link between the first disk array card and the hard disk and enable a communication link between the second disk array card and the hard disk.
8. The method of claim 7, wherein the method further comprises:
and under the condition that the hard disk is determined to be faulty, executing a kicking operation on the faulty hard disk.
9. The method of claim 7, wherein the obtaining the hard disk state, determining whether the hard disk is malfunctioning, comprises:
Acquiring hard disk state information through a hard disk self-checking program;
and determining whether the hard disk fails according to the hard disk state information.
10. The method of claim 7, wherein determining whether a communication abnormality exists between the hard disk and the first disk array card based on the log information comprises:
Determining whether connection timeout exists between the first disk array card and the hard disk or not through the log information;
if the times of the overtime connection exceeds a preset threshold value in a preset time period, determining that a communication abnormal condition exists;
or determining whether the number of times of re-requesting the response between the first disk array card and the hard disk exceeds a preset number of times or whether the duration of re-requesting the response exceeds a preset duration under the condition that the request response is in error report between the first disk array card and the hard disk through the log information;
Determining that a communication abnormal condition exists under the condition that the number of times of re-request response exceeds the preset number of times or the duration of re-request response exceeds the preset duration;
or determining that the communication abnormal condition exists under the condition that the firmware abnormal condition or the alarm information exists in the first disk array card through the log information.
CN202410084398.5A 2024-01-19 2024-01-19 Hard disk backboard device and communication link fault detection method Pending CN117991870A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410084398.5A CN117991870A (en) 2024-01-19 2024-01-19 Hard disk backboard device and communication link fault detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410084398.5A CN117991870A (en) 2024-01-19 2024-01-19 Hard disk backboard device and communication link fault detection method

Publications (1)

Publication Number Publication Date
CN117991870A true CN117991870A (en) 2024-05-07

Family

ID=90886497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410084398.5A Pending CN117991870A (en) 2024-01-19 2024-01-19 Hard disk backboard device and communication link fault detection method

Country Status (1)

Country Link
CN (1) CN117991870A (en)

Similar Documents

Publication Publication Date Title
CN109936481B (en) Master-slave server switching method and device, electronic equipment and storage medium
CN110806964B (en) Method and equipment for lighting hard disk and storage medium
US11320919B2 (en) Touch and display driver integration circuit
CN109542928B (en) Error management method, device, storage medium and terminal equipment
US11438987B2 (en) Lighting control method, system and device for NVME backboard, and medium
CN105302673A (en) Information backup method and device and terminal
CN109976926A (en) Method, circuit, terminal and the storage medium of protection BMC renewal process are restarted in a kind of shielding
CN111309242A (en) Intelligent cabinet screen display method and device, server and storage medium
CN114020615A (en) Method, device, equipment and storage medium for testing remote multi-active financial system
US11552840B2 (en) Intention-based device component tracking system
CN105472418A (en) Abnormal state recovery method of set-top box system and set-top box
CN117991870A (en) Hard disk backboard device and communication link fault detection method
CN109634782B (en) Method and device for detecting system robustness, storage medium and terminal
CN116340230A (en) Hard disk expansion device and method
CN114647531B (en) Failure solving method, failure solving system, electronic device, and storage medium
CN111026684A (en) Interface control method, interface control device and storage medium
CN115098342A (en) System log collection method, system, terminal and storage medium
CN112306348B (en) Method and device for identifying touch operation and electronic equipment
CN111858264A (en) Method, system, equipment and medium for preventing cable from being pulled out mistakenly
RU2671999C1 (en) Method and system for diagnostics of mobile computer devices
WO2020222673A1 (en) Method and system for diagnosing mobile computing devices
CN107480004B (en) Fault recovery method and device and computer equipment
CN218996025U (en) Terminal equipment
EP3951599A1 (en) User terminal, debugging apparatus, and data backup method
CN211454606U (en) Electronic device and terminal device

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