CN112131151A - Server and storage device thereof - Google Patents

Server and storage device thereof Download PDF

Info

Publication number
CN112131151A
CN112131151A CN202011181166.XA CN202011181166A CN112131151A CN 112131151 A CN112131151 A CN 112131151A CN 202011181166 A CN202011181166 A CN 202011181166A CN 112131151 A CN112131151 A CN 112131151A
Authority
CN
China
Prior art keywords
hard disk
cascade plate
class
uplink interface
interface
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
CN202011181166.XA
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 Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur 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 Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202011181166.XA priority Critical patent/CN112131151A/en
Publication of CN112131151A publication Critical patent/CN112131151A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1605Handling requests for interconnection or transfer for access to memory bus based on arbitration
    • G06F13/1652Handling requests for interconnection or transfer for access to memory bus based on arbitration in a multiprocessor architecture
    • G06F13/1657Access to multiple memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/78Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
    • G06F21/80Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in storage media based on magnetic or optical technology, e.g. disks with sectors

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Hardware Redundancy (AREA)

Abstract

The application discloses storage device includes: n hard disks; n is a positive integer; the first cascade plate is connected with the N hard disks and is provided with a first uplink interface and a second uplink interface; the second cascade plate is connected with the N hard disks and is provided with a first uplink interface and a second uplink interface; the first controller is used for accessing the N hard disks through the first uplink interface of the first cascade plate in a default state, and accessing the N hard disks through the first uplink interface of the second cascade plate when the first cascade plate fails; and the second controller is used for accessing the N hard disks through the second uplink interface of the second cascade plate in a default state, and accessing the N hard disks through the second uplink interface of the first cascade plate when the second cascade plate fails. By applying the scheme of the application, the system performance is not influenced when a single cascade plate fails. The application also provides a server with corresponding technical effects.

Description

Server and storage device thereof
Technical Field
The invention relates to the technical field of computers, in particular to a server and a storage device thereof.
Background
In existing storage products, to achieve greater storage capacity, the storage head typically cascades more expansion cabinets, i.e., hard disk frames, at the back end. In unified storage, a dual-port hard disk is usually used to improve reliability and data availability. Referring to fig. 1, a schematic diagram of a conventional hard disk enclosure is shown, in which two cascade boards are designed to be connected to two controllers in a storage head, respectively, so that a storage dual controller can access all hard disks in the hard disk enclosure. Moreover, when a certain controller or a certain cascade plate fails, the service is not interrupted, namely, the access to the hard disk can still be realized, and the reliability of the system is guaranteed.
However, after a failure of a certain cascade board, for example, after the failure of the cascade board 1 in fig. 1, although the controller 2 can still access each hard disk through the cascade board 2, the reliability of the system is ensured to a certain extent, the controller 1 cannot access each hard disk in the hard disk frame, which may cause a decrease in system performance, that is, it is not favorable for high-performance operation of the service, and the operating pressure of the controller 2 may also be increased.
In summary, how to further improve the reliability of storage without affecting the system performance when a single cascade plate fails is a technical problem that needs to be solved urgently by those skilled in the art.
Disclosure of Invention
The invention aims to provide a server and a storage device thereof, so as to further improve the reliability of storage, and the system performance is not affected when a single cascade board fails.
In order to solve the technical problems, the invention provides the following technical scheme:
a storage device, comprising:
n hard disks; n is a positive integer;
the first cascade plate is connected with the N hard disks and is provided with a first uplink interface and a second uplink interface;
the second cascade plate is connected with the N hard disks and is provided with a first uplink interface and a second uplink interface;
the first controller is used for accessing the N hard disks through the first uplink interface of the first cascade plate in a default state, and accessing the N hard disks through the first uplink interface of the second cascade plate when the first cascade plate fails;
and the second controller is used for accessing the N hard disks through the second uplink interface of the second cascade plate in a default state, and accessing the N hard disks through the second uplink interface of the first cascade plate when the second cascade plate fails.
Preferably, the first cascade plate further has a first downstream interface and a second downstream interface, and the second cascade plate further has a first downstream interface and a second downstream interface;
the storage device also comprises M cascaded hard disk frames of one type, and each hard disk frame of one type is provided with 2 cascaded plates and at least 1 hard disk;
any hard disk in any one type of hard disk frame is connected with 2 cascade plates in the one type of hard disk frame, a first cascade plate in each one type of hard disk frame is provided with a first uplink interface, a second uplink interface, a first downlink interface and a second downlink interface, the first uplink interface and the second uplink interface of the first cascade plate of the next-stage hard disk frame are respectively connected with the first downlink interface and the second downlink interface of the first cascade plate of the previous-stage hard disk frame, and the first uplink interface and the second uplink interface of the first cascade plate of the first-stage hard disk frame are respectively connected with the first downlink interface and the second downlink interface of the first cascade plate; the first uplink interface and the second uplink interface of the second cascade plate of the first class of hard disk frame of the first stage are respectively connected with the first downlink interface and the second downlink interface of the second cascade plate of the first class of hard disk frame of the previous stage; m is a positive integer;
the first controller is further configured to: in a default state, aiming at any one class of hard disk frames, accessing each hard disk in the class of hard disk frames through a first uplink interface of a first cascade plate in the class of hard disk frames, and when the first cascade plate in the class of hard disk frames fails, accessing each hard disk in the class of hard disk frames through a first uplink interface of a second cascade plate in the class of hard disk frames;
the second controller is further configured to: in a default state, aiming at any one class of hard disk frames, accessing each hard disk in the class of hard disk frames through a second uplink interface of a second cascade plate in the class of hard disk frames, and when the second cascade plate in the class of hard disk frames fails, accessing each hard disk in the class of hard disk frames through a second uplink interface of a first cascade plate in the class of hard disk frames.
Preferably, the system also comprises K second-class hard disk frames, and each second-class hard disk frame is provided with 2 cascade plates and at least 1 hard disk;
any hard disk in any one second-class hard disk frame is connected with 2 cascade plates in the second-class hard disk frame, a first cascade plate in each second-class hard disk frame is provided with a first uplink interface and a second uplink interface, and the first cascade plate in each second-class hard disk frame is connected with the first controller and the second controller; the second cascade plate in each second type hard disk frame is provided with a first uplink interface and a second uplink interface, and the second cascade plate in each second type hard disk frame is connected with the first controller and the second controller; k is a positive integer;
the first controller is further configured to: in a default state, aiming at any one second-class hard disk frame, accessing each hard disk in the second-class hard disk frame through a first uplink interface of a first cascade plate in the second-class hard disk frame, and when the first cascade plate in the second-class hard disk frame fails, accessing each hard disk in the second-class hard disk frame through a first uplink interface of a second cascade plate in the second-class hard disk frame;
the second controller is further configured to: in a default state, aiming at any one of the two types of hard disk frames, accessing each hard disk in the two types of hard disk frames through the second uplink interface of the second cascade plate in the two types of hard disk frames, and when the second cascade plate in the two types of hard disk frames fails, accessing each hard disk in the two types of hard disk frames through the second uplink interface of the first cascade plate in the two types of hard disk frames.
Preferably, the number of hard disks in the M class hard disk frames is equal to N.
Preferably, the number of hard disks in the K class ii hard disk frames is equal to N.
Preferably, the first controller is specifically configured to: in a default state, accessing N hard disks through a first uplink interface of the first cascade plate, and when the first cascade plate fails, performing link switching through a preset first firmware drive, so as to access the N hard disks through the first uplink interface of the second cascade plate after switching;
the second controller is specifically configured to: and in a default state, accessing the N hard disks through a second uplink interface of the second cascade plate, and when the second cascade plate fails, performing link switching through a preset second firmware drive so as to access the N hard disks through the second uplink interface of the first cascade plate after switching.
Preferably, the first controller is further configured to:
and when the first cascade plate fails, outputting first prompt information representing the failure of the first cascade plate.
Preferably, the second controller is further configured to:
and when the second cascade plate fails, outputting second prompt information representing the second cascade plate failure.
A server comprising the storage device of any of the above.
By applying the technical scheme provided by the embodiment of the invention, 2 pairs of transmission paths are configured for the first cascade plate and the second cascade plate, namely the first cascade plate is provided with a first uplink interface and a second uplink interface, and the second cascade plate is also provided with the first uplink interface and the second uplink interface. The first controller can access the N hard disks through the first uplink interface of the first cascade plate in a default state, and once the first cascade plate fails, the first controller can access the N hard disks through the first uplink interface of the second cascade plate, so that the effective work of the first controller cannot be influenced by the failure of the first cascade plate. Correspondingly, the second controller accesses the N hard disks through the second uplink interface of the second cascade plate in a default state, and once the second cascade plate fails, the second controller accesses the N hard disks through the second uplink interface of the first cascade plate. To sum up, in the scheme of the application, when any one of the first cascade plate and the second cascade plate fails, the effective operation of the first controller and the second controller is not affected, so that the scheme of the application further improves the reliability of storage, and the system performance is not affected when a single cascade plate fails.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a conventional hard disk frame design;
FIG. 2 is a schematic structural diagram of a memory device according to the present invention;
fig. 3 is another structural diagram of the memory device of the present invention.
Detailed Description
The core of the invention is to provide a storage device, which further improves the reliability of storage and does not influence the system performance when a single cascade board fails.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a storage device according to the present invention, where the storage device may include:
n hard disks 50; n is a positive integer;
a first cascade plate 10 connected to the N hard disks 50 and having a first uplink interface and a second uplink interface;
a second cascade plate 20 connected to the N hard disks 50 and having a first uplink interface and a second uplink interface;
a first controller 30 for accessing the N hard disks 50 through the first upstream interface of the first cascade plate 10 in a default state, and accessing the N hard disks 50 through the first upstream interface of the second cascade plate 20 when the first cascade plate 10 fails;
and a second controller 40 for accessing the N hard disks 50 through the second upstream interface of the second cascade plate 20 in a default state, and accessing the N hard disks 50 through the second upstream interface of the first cascade plate 10 when the second cascade plate 20 fails.
Specifically, in the storage device in fig. 2, a hard disk frame is formed by N hard disks 50, the first cascade plate 10 and the second cascade plate 20, and the number of the hard disks 50 arranged in the hard disk frame can be determined according to actual needs, that is, specific values of N can be set and adjusted according to actual needs. Each hard disk 50 is a dual ported hard disk 50 to support access to the hard disk 50 by both the first controller 30 and the second controller 40. The access of the controller to the hard disk 50 may specifically be a read operation instruction or a write operation instruction.
In order to ensure that any one of the first cascade plate 10 and the second cascade plate 20 fails, the effective operation of the first controller 30 and the second controller 40 is not affected, and therefore the first cascade plate 10 is connected with the N hard disks 50, and the first cascade plate 10 is provided with the first uplink interface and the second uplink interface. Correspondingly, the second cascade plate 20 is connected to the N hard disks 50, and the second cascade plate 20 is provided with a first uplink interface and a second uplink interface.
When the first cascade plate 10 and the second cascade plate 20 are both normal, the first controller 30 is in a default state, at this time, the first controller 30 may access the N hard disks 50 through the first uplink interface of the first cascade plate 10, and the second controller 40 is also in a default state, at this time, the second controller 40 may access the N hard disks 50 through the second uplink interface of the second cascade plate 20.
If only the first cascade plate 10 fails, at this time, the second controller 40 is still in a default state, that is, at this time, the second controller 40 may still access the N hard disks 50 through the second uplink interface of the second cascade plate 20, but the first controller 30 switches the access channels, specifically, when the first cascade plate 10 fails, the first controller 30 accesses the N hard disks 50 through the first uplink interface of the second cascade plate 20. In practical applications, the switching can be implemented by FW, i.e. by firmware driver, which is simple and convenient. That is, in one embodiment of the present invention, the first controller 30 is specifically configured to: in a default state, the N hard disks 50 are accessed through the first upstream interface of the first cascade plate 10, and when the first cascade plate 10 fails, link switching is performed through a preset first firmware driver, so that the N hard disks 50 are accessed through the first upstream interface of the second cascade plate 20 after switching. The second controller 40 is specifically configured to: in a default state, the N hard disks 50 are accessed through the second uplink interface of the second cascade plate 20, and when the second cascade plate 20 fails, link switching is performed through a preset second firmware driver to access the N hard disks 50 through the second uplink interface of the first cascade plate 10 after the switching.
Similarly to the above-described situation of detecting the failure of the first cascade plate 10, if it is detected that the first cascade plate 10 is normal and the second cascade plate 20 is failed, at this time, because the first cascade plate 10 is operating normally, the first controller 30 is still in a default state, that is, at this time, the first controller 30 can access the N hard disks 50 through the first uplink interface of the first cascade plate 10. The second controller 40 performs access channel switching, and specifically, when the second cascade plate 20 fails, the second controller 40 may access the N hard disks 50 through the second uplink interface of the first cascade plate 10.
It should be noted that there are many ways to detect the faults of the first cascade plate 10 and the second cascade plate 20, for example, the first controller 30 and the second controller 40 perform fault detection, and specifically, when the controllers find that communication is not possible, the relevant cascade plate fault may be determined. For another example, the fault detection may be performed by other devices, and after the fault is detected, the relevant instructions are sent to the first controller 30 and the second controller 40, so that the purpose of the present invention may be achieved, and the implementation of the present invention is not affected. In addition, the specific device types of the first cascade plate 10 and the second cascade plate 20 can also be selected according to actual needs, for example, they can be EXPANDER chips.
In one embodiment of the present invention, referring to fig. 3, the first cascade plate 10 further has a first downstream interface and a second downstream interface, and the second cascade plate 20 further has a first downstream interface and a second downstream interface. The storage device may further include M hard disk frames of one type, each having 2 cascaded boards and at least 1 hard disk 50.
Any hard disk 50 in any one type of hard disk frame is connected with 2 cascade plates in the hard disk frame, a first cascade plate in each hard disk frame is provided with a first uplink interface, a second uplink interface, a first downlink interface and a second downlink interface, a first uplink interface and a second uplink interface of a first cascade plate of a next hard disk frame are respectively connected with a first downlink interface and a second downlink interface of a first cascade plate of a previous hard disk frame, and a first uplink interface and a second uplink interface of a first cascade plate of a first hard disk frame are respectively connected with a first downlink interface and a second downlink interface of a first cascade plate 10; the second cascade plate in each class of hard disk frame is provided with a first uplink interface, a second uplink interface, a first downlink interface and a second downlink interface, the first uplink interface and the second uplink interface of the second cascade plate of the next class of hard disk frame are respectively connected with the first downlink interface and the second downlink interface of the second cascade plate of the previous class of hard disk frame, and the first uplink interface and the second uplink interface of the second cascade plate of the first class of hard disk frame are respectively connected with the first downlink interface and the second downlink interface of the second cascade plate 20; m is a positive integer.
A first controller 30, further configured to: in a default state, for any one class of hard disk frames, accessing each hard disk 50 in the class of hard disk frames through a first uplink interface of a first cascade plate in the class of hard disk frames, and when a first cascade plate in the class of hard disk frames fails, accessing each hard disk 50 in the class of hard disk frames through a first uplink interface of a second cascade plate in the class of hard disk frames;
a second controller 40, further configured to: in a default state, for any one class of hard disk frames, each hard disk 50 in the class of hard disk frames is accessed through the second uplink interface of the second cascade plate in the class of hard disk frames, and when the second cascade plate in the class of hard disk frames fails, each hard disk 50 in the class of hard disk frames is accessed through the second uplink interface of the first cascade plate in the class of hard disk frames.
The hard disk frame of the present application may be composed of two cascade plates and a plurality of hard disks 50, in this embodiment, M first-class hard disk frames are provided, and the specific number of hard disks 50 in each first-class hard disk frame may be set according to actual needs, and certainly, each first-class hard disk frame should have at least 1 hard disk 50.
Each hard disk frame of one type is provided with 2 cascade plates which are respectively called a first cascade plate and a second cascade plate in the hard disk frame of one type, and the two cascade plates are provided with a first uplink interface, a second uplink interface, a first downlink interface and a second downlink interface. And the first uplink interface and the second uplink interface of the first cascade plate in the rear-stage hard disk frame are respectively connected with the first downlink interface and the second downlink interface of the first cascade plate in the front-stage hard disk frame. Correspondingly, the first uplink interface and the second uplink interface of the second cascade plate in the next-stage hard disk frame are respectively connected with the first downlink interface and the second downlink interface of the second cascade plate in the previous-stage hard disk frame.
In the embodiment of fig. 3 of the present application, only one type of hard disk frame is shown, that is, a type of hard disk frame of a first level is shown, a first uplink interface and a second uplink interface of a first cascade plate of the type of hard disk frame are respectively connected to a first downlink interface and a second downlink interface of a first cascade plate 10, and a first uplink interface and a second uplink interface of a second cascade plate of the type of hard disk frame are respectively connected to a first downlink interface and a second downlink interface of a second cascade plate 20.
In the embodiment, the M hard disk frames of one type are used for expanding in the vertical direction, so that the storage capacity is improved, and the M hard disk frames are cascaded, namely, the previous hard disk frame is connected with the next hard disk frame, so that the expansion of the storage capacity is realized, the controller does not need to provide an additional interface, and the controller can realize the access of the hard disks in the corresponding hard disk frames of one type only through the addresses of the hard disks.
In addition, in this embodiment, for any one class of hard disk frames, taking the first controller 30 as an example, in a default state, the first controller 30 accesses each hard disk 50 in the class of hard disk frames through the first uplink interface of the first cascade board in the class of hard disk frames, and when the first cascade board in the class of hard disk frames fails, the first controller 30 accesses each hard disk 50 in the class of hard disk frames through the first uplink interface of the second cascade board in the class of hard disk frames, that is, when the first cascade board in the class of hard disk frames fails, the access to the hard disk frames by the first controller 30 and the second controller 40 is not affected, that is, the performance of the hard disk frames is not affected. The same is true for a second cascade plate failure.
In a specific embodiment of the present invention, the present invention further includes K second-type hard disk frames, each of the second-type hard disk frames has 2 cascade plates and at least 1 hard disk 50;
any hard disk 50 in any one second-class hard disk frame is connected with 2 cascade plates in the second-class hard disk frame, a first cascade plate in each second-class hard disk frame is provided with a first uplink interface and a second uplink interface, and the first cascade plate in each second-class hard disk frame is connected with a first controller 30 and a second controller 40; the second cascade plate in each class II hard disk frame is provided with a first uplink interface and a second uplink interface, and is connected with the first controller 30 and the second controller 40; k is a positive integer. That is, the first uplink interface of the first cascade plate in each second-type hard disk frame is connected to the first controller 30, the second uplink interface of the first cascade plate in each second-type hard disk frame is connected to the second controller 40, the first uplink interface of the second cascade plate in each second-type hard disk frame is connected to the first controller 30, and the second uplink interface of the second cascade plate in each second-type hard disk frame is connected to the second controller 40.
A first controller 30, further configured to: in a default state, for any one of the two types of hard disk frames, accessing each hard disk 50 in the two types of hard disk frames through the first uplink interface of the first cascade plate in the two types of hard disk frames, and when the first cascade plate in the two types of hard disk frames fails, accessing each hard disk 50 in the two types of hard disk frames through the first uplink interface of the second cascade plate in the two types of hard disk frames;
a second controller 40, further configured to: in a default state, for any one of the class two hard disk frames, each hard disk 50 in the class two hard disk frame is accessed through the second uplink interface of the second cascade plate in the class two hard disk frame, and when the second cascade plate in the class two hard disk frame fails, each hard disk 50 in the class two hard disk frame is accessed through the second uplink interface of the first cascade plate in the class two hard disk frame.
In the foregoing embodiment, the expansion in the vertical direction is performed by using M hard disk frames of one type, and in this embodiment, the expansion in the horizontal direction is performed by using K hard disk frames of two types. When the M hard disk frames of one type are used for vertical expansion, the advantage is that no extra interface is required to be provided by the controller, but the controller needs to realize the access of specific hard disk frames in an addressing mode, so that the access speed is limited. In this embodiment, the K second-type hard disk frames are directly connected to the first controller 30 and the second controller 40, that is, the K second-type hard disk frames are all parallel, in this manner, the access speed of the controller to the hard disk 50 is fast, but such an embodiment has a high requirement on the number of interfaces of the controller. For each hard disk class two frame, 2 interfaces of the first controller 30 and the second controller 40 are required. In practical application, the values of K and M can be specifically set and selected according to practical situations and needs.
In practical application, the number of the hard disks 50 in each class of hard disk frame and the number of the hard disks 50 in each class of second hard disk frame can be set according to actual needs, but generally speaking, the number of the hard disks 50 in the M class of first hard disk frames can be equal to N, and the number of the hard disks 50 in the K class of second hard disk frames can be equal to N, so that the structures and the volumes of the hard disk frames are the same, the hard disk frames are convenient to place, and confusion is also favorably avoided.
In one embodiment of the present invention, the first controller 30 may be further configured to:
when the first cascade plate 10 fails, first prompt information indicating that the first cascade plate 10 fails is output.
Accordingly, the second controller 40 may be further configured to:
when the second cascade plate 20 has a fault, second prompt information indicating the fault of the second cascade plate 20 is output, so that a worker can timely notice the fault condition of the first cascade plate 10 or the second cascade plate 20, and further timely process the fault.
By applying the technical scheme provided by the embodiment of the present invention, 2 pairs of transmission paths are configured for both the first cascade plate 10 and the second cascade plate 20, that is, the first cascade plate 10 has a first uplink interface and a second uplink interface, and the second cascade plate 20 also has a first uplink interface and a second uplink interface. The first controller 30 can access the N hard disks 50 through the first uplink interface of the first cascade plate 10 in a default state, and once the first cascade plate 10 fails, the first controller 30 accesses the N hard disks 50 through the first uplink interface of the second cascade plate 20, so that the failure of the first cascade plate 10 does not affect the effective operation of the first controller 30. Accordingly, the second controller 40 accesses the N hard disks 50 through the second upstream interface of the second cascade plate 20 in a default state, and the second controller 40 accesses the N hard disks 50 through the second upstream interface of the first cascade plate 10 upon failure of the second cascade plate 20. In summary, in the solution of the present application, when any one of the first cascade plate 10 and the second cascade plate 20 fails, the effective operation of the first controller 30 and the second controller 40 is not affected, so that the solution of the present application further improves the reliability of storage, and the system performance is not affected when a single cascade plate fails.
Corresponding to the above embodiments of the storage device, embodiments of the present invention further provide a server, which may include the storage device in any of the above embodiments, and a description thereof is not repeated here.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention. The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (9)

1. A storage device, comprising:
n hard disks; n is a positive integer;
the first cascade plate is connected with the N hard disks and is provided with a first uplink interface and a second uplink interface;
the second cascade plate is connected with the N hard disks and is provided with a first uplink interface and a second uplink interface;
the first controller is used for accessing the N hard disks through the first uplink interface of the first cascade plate in a default state, and accessing the N hard disks through the first uplink interface of the second cascade plate when the first cascade plate fails;
and the second controller is used for accessing the N hard disks through the second uplink interface of the second cascade plate in a default state, and accessing the N hard disks through the second uplink interface of the first cascade plate when the second cascade plate fails.
2. The memory device of claim 1, wherein the first cascade plate further has a first downstream interface and a second downstream interface, the second cascade plate further has a first downstream interface and a second downstream interface;
the storage device also comprises M cascaded hard disk frames of one type, and each hard disk frame of one type is provided with 2 cascaded plates and at least 1 hard disk;
any hard disk in any one type of hard disk frame is connected with 2 cascade plates in the one type of hard disk frame, a first cascade plate in each one type of hard disk frame is provided with a first uplink interface, a second uplink interface, a first downlink interface and a second downlink interface, the first uplink interface and the second uplink interface of the first cascade plate of the next-stage hard disk frame are respectively connected with the first downlink interface and the second downlink interface of the first cascade plate of the previous-stage hard disk frame, and the first uplink interface and the second uplink interface of the first cascade plate of the first-stage hard disk frame are respectively connected with the first downlink interface and the second downlink interface of the first cascade plate; the first uplink interface and the second uplink interface of the second cascade plate of the first class of hard disk frame of the first stage are respectively connected with the first downlink interface and the second downlink interface of the second cascade plate of the first class of hard disk frame of the previous stage; m is a positive integer;
the first controller is further configured to: in a default state, aiming at any one class of hard disk frames, accessing each hard disk in the class of hard disk frames through a first uplink interface of a first cascade plate in the class of hard disk frames, and when the first cascade plate in the class of hard disk frames fails, accessing each hard disk in the class of hard disk frames through a first uplink interface of a second cascade plate in the class of hard disk frames;
the second controller is further configured to: in a default state, aiming at any one class of hard disk frames, accessing each hard disk in the class of hard disk frames through a second uplink interface of a second cascade plate in the class of hard disk frames, and when the second cascade plate in the class of hard disk frames fails, accessing each hard disk in the class of hard disk frames through a second uplink interface of a first cascade plate in the class of hard disk frames.
3. The storage device according to claim 1, further comprising K class two hard disk frames, each class two hard disk frame having 2 cascade plates and at least 1 hard disk therein;
any hard disk in any one second-class hard disk frame is connected with 2 cascade plates in the second-class hard disk frame, a first cascade plate in each second-class hard disk frame is provided with a first uplink interface and a second uplink interface, and the first cascade plate in each second-class hard disk frame is connected with the first controller and the second controller; the second cascade plate in each second type hard disk frame is provided with a first uplink interface and a second uplink interface, and the second cascade plate in each second type hard disk frame is connected with the first controller and the second controller; k is a positive integer;
the first controller is further configured to: in a default state, aiming at any one second-class hard disk frame, accessing each hard disk in the second-class hard disk frame through a first uplink interface of a first cascade plate in the second-class hard disk frame, and when the first cascade plate in the second-class hard disk frame fails, accessing each hard disk in the second-class hard disk frame through a first uplink interface of a second cascade plate in the second-class hard disk frame;
the second controller is further configured to: in a default state, aiming at any one of the two types of hard disk frames, accessing each hard disk in the two types of hard disk frames through the second uplink interface of the second cascade plate in the two types of hard disk frames, and when the second cascade plate in the two types of hard disk frames fails, accessing each hard disk in the two types of hard disk frames through the second uplink interface of the first cascade plate in the two types of hard disk frames.
4. The storage device of claim 2, wherein the number of hard disks in each of the M class hard disk frames is equal to N.
5. The storage device according to claim 3, wherein the number of hard disks in each of the K class II hard disk frames is equal to N.
6. The storage device of claim 1, wherein the first controller is specifically configured to: in a default state, accessing N hard disks through a first uplink interface of the first cascade plate, and when the first cascade plate fails, performing link switching through a preset first firmware drive, so as to access the N hard disks through the first uplink interface of the second cascade plate after switching;
the second controller is specifically configured to: and in a default state, accessing the N hard disks through a second uplink interface of the second cascade plate, and when the second cascade plate fails, performing link switching through a preset second firmware drive so as to access the N hard disks through the second uplink interface of the first cascade plate after switching.
7. The storage device of claim 1, wherein the first controller is further configured to:
and when the first cascade plate fails, outputting first prompt information representing the failure of the first cascade plate.
8. The storage device of claim 1, wherein the second controller is further configured to:
and when the second cascade plate fails, outputting second prompt information representing the second cascade plate failure.
9. A server, characterized in that it comprises a storage device according to any one of claims 1 to 8.
CN202011181166.XA 2020-10-29 2020-10-29 Server and storage device thereof Pending CN112131151A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011181166.XA CN112131151A (en) 2020-10-29 2020-10-29 Server and storage device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011181166.XA CN112131151A (en) 2020-10-29 2020-10-29 Server and storage device thereof

Publications (1)

Publication Number Publication Date
CN112131151A true CN112131151A (en) 2020-12-25

Family

ID=73851890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011181166.XA Pending CN112131151A (en) 2020-10-29 2020-10-29 Server and storage device thereof

Country Status (1)

Country Link
CN (1) CN112131151A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382872A (en) * 2008-10-21 2009-03-11 浪潮电子信息产业股份有限公司 Double-control storage and switch control method for SAS and SATA signal by detecting heartbeat
CN104077424A (en) * 2014-07-24 2014-10-01 北京京东尚科信息技术有限公司 Method and device for realizing online hot switch of hard disks
CN105760247A (en) * 2016-02-05 2016-07-13 浪潮(北京)电子信息产业有限公司 System and method for processing hard disk faults
CN107832006A (en) * 2017-10-20 2018-03-23 郑州云海信息技术有限公司 More main frames share the multi-functional fdisk storage device of same expanding storage apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382872A (en) * 2008-10-21 2009-03-11 浪潮电子信息产业股份有限公司 Double-control storage and switch control method for SAS and SATA signal by detecting heartbeat
CN104077424A (en) * 2014-07-24 2014-10-01 北京京东尚科信息技术有限公司 Method and device for realizing online hot switch of hard disks
CN105760247A (en) * 2016-02-05 2016-07-13 浪潮(北京)电子信息产业有限公司 System and method for processing hard disk faults
CN107832006A (en) * 2017-10-20 2018-03-23 郑州云海信息技术有限公司 More main frames share the multi-functional fdisk storage device of same expanding storage apparatus

Similar Documents

Publication Publication Date Title
CN101477480B (en) Memory control method, apparatus and memory read-write system
CN113253933B (en) Method, apparatus, and computer readable storage medium for managing a storage system
CN101482838A (en) Data write-in method and apparatus based on copy-on-write
US20100064065A1 (en) Connection Device for Connecting a Plurality of Peripheral Devices and Operating Method
US10581668B2 (en) Identifying performance-degrading hardware components in computer storage systems
CN107294759B (en) Server system and data access method
CN108646979B (en) Input/output (IO) backplane, and configuration method and device of IO backplane
CN112131151A (en) Server and storage device thereof
JPS63200249A (en) Pseudo fault generating system for cache memory device
CN112000286B (en) Four-control full-flash-memory storage system and fault processing method and device thereof
CN111966644A (en) Supercomputer data storage method, device, system and storage medium
US20090119453A1 (en) Data reading method
US7526714B2 (en) Apparatus for checking data coherence, raid controller and storage system having the same, and method therefor
US7376775B2 (en) Apparatus, system, and method to enable transparent memory hot plug/remove
US20100030988A1 (en) Virtualizing switch and computer system
EP1895395A1 (en) Information processing apparatus and control method therefor
JP5273185B2 (en) Recording medium control system, recording medium control method, and recording medium control program
CN117234793B (en) Data storage method, system, equipment and medium
CN114356644B (en) PCIE equipment fault processing method and device
CN108763013B (en) Fault processing method, device, equipment and computer storage medium
CN1328665C (en) IDE channel measuring apparatus and method
JP2014235503A (en) Information processing device, information processing system, hard disk failure detection method, service continuation method, hard disk failure detection program, and service continuation program
CN112905394A (en) Method and equipment for preventing single point of failure based on shared storage
JPS62166401A (en) Multiplexing system for electronic computer
JP5445627B2 (en) Network system, information processing apparatus, communication method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20201225

RJ01 Rejection of invention patent application after publication