CN111309553B - Method, system, equipment and medium for monitoring storage Jbod - Google Patents

Method, system, equipment and medium for monitoring storage Jbod Download PDF

Info

Publication number
CN111309553B
CN111309553B CN202010092751.6A CN202010092751A CN111309553B CN 111309553 B CN111309553 B CN 111309553B CN 202010092751 A CN202010092751 A CN 202010092751A CN 111309553 B CN111309553 B CN 111309553B
Authority
CN
China
Prior art keywords
sas
jbod
identification code
card
addresses
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.)
Active
Application number
CN202010092751.6A
Other languages
Chinese (zh)
Other versions
CN111309553A (en
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 CN202010092751.6A priority Critical patent/CN111309553B/en
Publication of CN111309553A publication Critical patent/CN111309553A/en
Application granted granted Critical
Publication of CN111309553B publication Critical patent/CN111309553B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3037Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a memory, e.g. virtual memory, cache
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • 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/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0028Serial attached SCSI [SAS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method, a system, equipment and a storage medium for monitoring a storage Jbod, wherein the method comprises the following steps: reading the uploaded SAS addresses of the control panel and the hard disk backboard; scanning all SAS cards to obtain the SAS addresses of the SAS cards, and judging whether the SAS addresses of the SAS cards are consistent with the uploaded SAS addresses or not; reading the corresponding Jbod identification code in the control panel in response to the SAS address of the SAS card being consistent with the uploaded SAS address; and establishing association between the SAS card and the Jbod based on the identification code to form a topological link, and detecting whether the topological link is normal. The method, the system, the equipment and the medium for monitoring the storage of the Jbod form a topological structure through the identification code in the control panel to achieve the purpose of monitoring the Jbod state, the hard disk backboard state and the hard disk state.

Description

Method, system, equipment and medium for monitoring storage Jbod
Technical Field
The present invention relates to the field of storage systems, and more particularly, to a method, a system, a computer device and a readable medium for monitoring a storage jpod.
Background
At present, as the number of CPU cores is more and more, the computing power of the server is stronger and stronger, and under the condition that high computing power is met, the industry increasingly needs a storage server, the server with high performance is needed, and the server is provided with a large-capacity hard disk, so that the number of the hard disks is increased, and the rapid development of Jbod storage is brought. The application environment of a large-capacity JBOD disk cabinet based on the expander is more and more, so the function improvement and development based on the expander are more and more important.
The number of the storage Jbod types is more and more, the number of the hard disks at the rear end of the storage Jbod is more and more, the storage requirements of 24 hard disks can not be met far away, and the large-capacity-based storage Jbod is more and more popular and needs in the industry are improved. While the application of storing a jpod also creates requirements for security and isolation.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, a system, a computer device, and a computer readable storage medium for monitoring a storage Jbod, which form a topology structure by using an identification code in a control board to achieve the purpose of monitoring a status of the storage Jbod, a status of a hard disk backplane, and a status of the hard disk.
Based on the above object, an aspect of the embodiments of the present invention provides a method for monitoring a storage jpod, including the following steps: reading the uploaded SAS addresses of the control panel and the hard disk backboard; scanning all SAS cards to obtain the SAS addresses of the SAS cards, and judging whether the SAS addresses of the SAS cards are consistent with the uploaded SAS addresses or not; reading the identification code of the corresponding Jbod in the control panel in response to the fact that the SAS address of the SAS card is consistent with the uploaded SAS address; and establishing association between the SAS card and the Jbod based on the identification code to form a topological link, and detecting whether the topological link is normal.
In some embodiments, said scanning all SAS cards to obtain SAS addresses of SAS cards comprises: and acquiring the SAS address of the port of the SAS card and the SAS address of the equipment linked with the port of the SAS card.
In some embodiments, said establishing an association of said SAS card with said Jbod to form a topological link based on said identification code comprises: establishing association between the identification code of the port of the SAS card and the identification code of the Jbod; and establishing association between the identification code of the Jbod and the identification code of the hard disk backboard.
In some embodiments, further comprising: in response to the link anomaly, locating an anomaly based on the identification code.
In another aspect of the embodiments of the present invention, a system for monitoring a storage jpod is further provided, including: the first reading module is configured to read the uploaded SAS addresses of the control board and the hard disk backboard; the scanning module is configured to scan all SAS cards to obtain SAS addresses of the SAS cards and judge whether the SAS addresses of the SAS cards are consistent with the uploaded SAS addresses; the second reading module is configured to read the identification code of the corresponding Jbod in the control board in response to the fact that the SAS address of the SAS card is consistent with the uploaded SAS address; and the detection module is configured to establish association between the SAS card and the Jbod based on the identification code to form a topological link and detect whether the topological link is normal.
In some embodiments, the scanning module is further configured to: and acquiring the SAS address of the port of the SAS card and the SAS address of the equipment linked with the port of the SAS card.
In some embodiments, said establishing an association of said SAS card with said Jbod to form a topological link based on said identification code comprises: establishing association between the identification code of the port of the SAS card and the identification code of the Jbod; and establishing association between the identification code of the Jbod and the identification code of the hard disk backboard.
In some embodiments, further comprising: a location module configured to locate an anomaly based on the identification code in response to the link anomaly.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of the method as above.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: through the identification code in the control panel, form topological structure and reach the purpose of monitoring Jbod state, hard disk backplate state and hard disk state.
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, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
FIG. 1 is a diagram illustrating an embodiment of a method for monitoring a memory Jbod according to the present invention;
fig. 2 is a schematic diagram of a hardware structure of an embodiment of the method for monitoring a memory jpod according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the above, in a first aspect of the embodiments of the present invention, an embodiment of a method for monitoring a memory jpod is provided. Fig. 1 is a schematic diagram illustrating an embodiment of a method for monitoring a memory jpod according to the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, reading the uploaded SAS addresses of the control panel and the hard disk backboard;
s2, scanning all SAS cards to obtain the SAS address of the SAS card, and judging whether the SAS address of the SAS card is consistent with the uploaded SAS address;
s3, in response to the SAS address of the SAS card being consistent with the uploaded SAS address, reading the corresponding Jbod identification code in the control panel; and
s4, establishing the association between the SAS card and the Jbod based on the identification code to form a topological link, and detecting whether the topological link is normal.
A bond is an important class of memory devices in the memory domain. JBOD (Just a Bunch Of Disks) is a storage device with multiple disk drives mounted on a backplane. Also commonly referred to as Span. Unlike RAID (redundant array of independent disks), JBOD has no front-end logic to manage the data distribution across the disks, but instead each disk is addressed individually, either as a separate storage resource, or based on a portion of the host software, or an adapter card for the RAID group.
The identification code of the Jbod is written into the control board. An identification code (e.g., SN) of a Jbod can be written to a Platform series field by Expander; the Fru (field replaceable unit) information of the Jbod can be written into the control board (e.g., CM board) of the Jbod through the BMC.
And reading the uploaded SAS addresses of the control panel and the hard disk backboard. When the system is powered on, SAS (serial attached small computer system interface) addresses of the control board and the plurality of hard disk backplanes can be read. The plurality of hard disk backboards are controlled by the control board, the number of the hard disk backboards is four in the embodiment, certainly, the number of the hard disk backboards is not limited, and in other embodiments, other numbers of hard disk backboards can be arranged as required. The configuration Page (e.g., Page10) stores the identification codes (SN) of the control board and the four hard disk backplanes, and the system can obtain the identification codes of the control board and the four hard disk backplanes in a query manner. The identification code may be uploaded through Page 10.
And scanning all the SAS cards to obtain the SAS addresses of the SAS cards, and judging whether the SAS addresses of the SAS cards are consistent with the uploaded SAS addresses. In some embodiments, said scanning all SAS cards to obtain SAS addresses of SAS cards comprises: and acquiring the SAS address of the port of the SAS card and the SAS address of the equipment linked with the port of the SAS card.
And in response to the SAS address of the existing SAS card is consistent with the uploaded SAS address, reading the identification code of the corresponding Jbod in the control board.
And establishing association between the SAS card and the Jbod based on the identification code to form a topological link, and detecting whether the topological link is normal. In some embodiments, said establishing an association of said SAS card with said Jbod to form a topological link based on said identification code comprises: establishing association between the identification code of the port of the SAS card and the identification code of the Jbod; and establishing association between the identification code of the Jbod and the identification code of the hard disk backboard. The SAS address of the SAS card is consistent with that uploaded by Page10, so that the port of the SAS card can read the Expander information in the Jbod information, and in this case, the SN (Serial Number, identification code) of the port of the SAS card is associated with the Serial Number of the connected Jbod; the Serial Number of the Jbod is associated with the Serial Number of the Expander in the hard disk backplane that the Jbod port can access. The topology link is formed based on the above association, for example, the OS (system) side may call the HBA-Expander-HDD to acquire the topology link through a tool. In some embodiments, further comprising: in response to the link anomaly, locating an anomaly based on the identification code.
The embodiment of the invention realizes the purpose of monitoring the Jbod state, the hard disk backboard state and the hard disk state by calling the expander parameter in-band to form a topological structure. And obtaining and calling related parameters at the OS end to achieve the mechanism of data protection of the storage Jbod. By the embodiment of the invention, the Jbod data can be stored safely, once the hard disk is in a state, the hard disk can be informed in time, and data dropping and data loss caused by non-human factors are reduced.
It should be particularly noted that, the steps in the embodiments of the method for monitoring a storage Jbod can be mutually intersected, replaced, added, and deleted, so that these methods for monitoring a storage Jbod with reasonable permutation and combination conversion also belong to the scope of the present invention, and the scope of the present invention should not be limited to the embodiments.
In view of the above object, according to a second aspect of the embodiments of the present invention, there is provided a system for monitoring a storage jpod, including: the first reading module is configured to read the uploaded SAS addresses of the control board and the hard disk backboard; the scanning module is configured to scan all SAS cards to obtain SAS addresses of the SAS cards and judge whether the SAS addresses of the SAS cards are consistent with the uploaded SAS addresses; the second reading module is configured to respond to the fact that the SAS address of the SAS card is consistent with the uploaded SAS address, and read the identification code of the corresponding Jbod in the control board; and the detection module is configured to establish association between the SAS card and the Jbod based on the identification code to form a topological link and detect whether the topological link is normal.
In some embodiments, the scanning module is further configured to: and acquiring the SAS address of the port of the SAS card and the SAS address of the equipment linked with the port of the SAS card.
In some embodiments, said establishing an association of said SAS card with said Jbod to form a topological link based on said identification code comprises: establishing association between the identification code of the port of the SAS card and the identification code of the Jbod; and establishing association between the identification code of the Jbod and the identification code of the hard disk backboard.
In some embodiments, further comprising: a location module configured to locate an anomaly based on the identification code in response to the link anomaly.
In view of the above object, a third aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, reading the uploaded SAS addresses of the control panel and the hard disk backboard; s2, scanning all SAS cards to obtain the SAS address of the SAS card, and judging whether the SAS address of the SAS card is consistent with the uploaded SAS address; s3, in response to the SAS address of the SAS card being consistent with the uploaded SAS address, reading the corresponding Jbod identification code in the control panel; and S4, establishing the association between the SAS card and the Jbod based on the identification code to form a topological link, and detecting whether the topological link is normal.
In some embodiments, said scanning all SAS cards to obtain SAS addresses of SAS cards comprises: and acquiring the SAS address of the port of the SAS card and the SAS address of the equipment linked with the port of the SAS card.
In some embodiments, said establishing an association of said SAS card with said Jbod to form a topological link based on said identification code comprises: establishing association between the identification code of the port of the SAS card and the identification code of the Jbod; and establishing association between the identification code of the Jbod and the identification code of the hard disk backboard.
In some embodiments, further comprising: in response to the link anomaly, locating an anomaly based on the identification code.
Fig. 2 is a schematic diagram of a hardware structure of an embodiment of the method for monitoring a memory Jbod according to the present invention.
Taking the apparatus shown in fig. 2 as an example, the apparatus includes a processor 301 and a memory 302, and may further include: an input device 303 and an output device 304.
The processor 301, the memory 302, the input device 303 and the output device 304 may be connected by a bus or other means, and fig. 2 illustrates the connection by a bus as an example.
The memory 302 is a non-volatile computer-readable storage medium, and can be used for storing non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for monitoring the stored Jbod in the embodiment of the present application. The processor 301 executes various functional applications of the server and data processing by running the nonvolatile software programs, instructions and modules stored in the memory 302, that is, implements the method of monitoring the storage Jbod of the above-described method embodiment.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the method of monitoring the storage Jbod, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 303 may receive information such as a user name and a password that are input. The output means 304 may comprise a display device such as a display screen.
Program instructions/modules corresponding to one or more methods of monitoring storage Jbod are stored in the memory 302 and, when executed by the processor 301, perform the method of monitoring storage Jbod in any of the above-described method embodiments.
Any embodiment of a computer device for performing the method of monitoring storage Jbod as described above may achieve the same or similar effects as any of the preceding method embodiments corresponding thereto.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes of the methods of the above embodiments can be implemented by a computer program to instruct related hardware, and the program for monitoring the method of storing a Jbod can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods as described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. 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 disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the above embodiments of the present invention are merely for description, and do not represent the advantages or disadvantages of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.

Claims (8)

1. A method of monitoring a storage jpod, comprising the steps of:
reading the uploaded SAS addresses of the control panel and the hard disk backboard;
scanning all SAS cards to obtain the SAS addresses of the SAS cards, and judging whether the SAS addresses of the SAS cards are consistent with the uploaded SAS addresses or not;
in response to the fact that the SAS address of the SAS card is consistent with the uploaded SAS address, reading the identification code of the corresponding Jbod in the control panel; and
establishing association of the SAS card with the Jbod based on the identification code to form a topological link, and detecting whether the topological link is normal,
wherein said establishing an association of the SAS card with the Jbod to form a topological link based on the identification code comprises:
establishing association between the identification code of the port of the SAS card and the identification code of the Jbod; and
and establishing association between the identification code of the Jbod and the identification code of the hard disk backboard.
2. The method of claim 1, wherein scanning all SAS cards to obtain SAS addresses of SAS cards comprises:
and acquiring the SAS address of the port of the SAS card and the SAS address of the equipment linked with the port of the SAS card.
3. The method of claim 1, further comprising:
in response to the link anomaly, locating an anomaly based on the identification code.
4. A system for monitoring storage Jbod, comprising:
the first reading module is configured for reading the uploaded SAS addresses of the control panel and the hard disk backboard;
the scanning module is configured to scan all SAS cards to obtain SAS addresses of the SAS cards and judge whether the SAS addresses of the SAS cards are consistent with the uploaded SAS addresses;
the second reading module is configured to read the identification code of the corresponding Jbod in the control board in response to the fact that the SAS address of the SAS card is consistent with the uploaded SAS address; and
a detection module configured to establish an association of the SAS card with the Jbod based on the identification code to form a topological link and detect whether the topological link is normal,
wherein said establishing an association of said SAS card with said Jbod to form a topological link based on said identification code comprises:
establishing association between the identification code of the port of the SAS card and the identification code of the Jbod; and
and establishing association between the identification code of the Jbod and the identification code of the hard disk backboard.
5. The system of claim 4, wherein the scanning module is further configured to:
and acquiring the SAS address of the port of the SAS card and the SAS address of the equipment linked with the port of the SAS card.
6. The system of claim 4, further comprising:
a location module configured to locate an anomaly based on the identification code in response to the link anomaly.
7. A computer device, comprising:
at least one processor; and
a memory storing computer instructions running on the processor, the instructions when executed by the processor implementing the steps of the method of any one of claims 1 to 3.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN202010092751.6A 2020-02-14 2020-02-14 Method, system, equipment and medium for monitoring storage Jbod Active CN111309553B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010092751.6A CN111309553B (en) 2020-02-14 2020-02-14 Method, system, equipment and medium for monitoring storage Jbod

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010092751.6A CN111309553B (en) 2020-02-14 2020-02-14 Method, system, equipment and medium for monitoring storage Jbod

Publications (2)

Publication Number Publication Date
CN111309553A CN111309553A (en) 2020-06-19
CN111309553B true CN111309553B (en) 2022-08-12

Family

ID=71151015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010092751.6A Active CN111309553B (en) 2020-02-14 2020-02-14 Method, system, equipment and medium for monitoring storage Jbod

Country Status (1)

Country Link
CN (1) CN111309553B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112783703A (en) * 2021-01-15 2021-05-11 苏州浪潮智能科技有限公司 SAS link fault positioning method, device, equipment and storage medium
CN113127295B (en) * 2021-03-26 2023-02-24 山东英信计算机技术有限公司 Method, device and equipment for detecting card identification code and readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516359A (en) * 2016-01-19 2016-04-20 浪潮电子信息产业股份有限公司 Method for managing and operating SAS Switch JBOD by using telnet protocol
CN107678767A (en) * 2017-10-23 2018-02-09 郑州云海信息技术有限公司 A kind of method for refreshing JBOD_IO_firmware by SAS lines under linux
CN109582513A (en) * 2018-11-06 2019-04-05 郑州云海信息技术有限公司 A kind of JBOD test method and system based on generic server
CN110659181A (en) * 2019-09-06 2020-01-07 苏州浪潮智能科技有限公司 Method and device for monitoring server mainboard and readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516359A (en) * 2016-01-19 2016-04-20 浪潮电子信息产业股份有限公司 Method for managing and operating SAS Switch JBOD by using telnet protocol
CN107678767A (en) * 2017-10-23 2018-02-09 郑州云海信息技术有限公司 A kind of method for refreshing JBOD_IO_firmware by SAS lines under linux
CN109582513A (en) * 2018-11-06 2019-04-05 郑州云海信息技术有限公司 A kind of JBOD test method and system based on generic server
CN110659181A (en) * 2019-09-06 2020-01-07 苏州浪潮智能科技有限公司 Method and device for monitoring server mainboard and readable medium

Also Published As

Publication number Publication date
CN111309553A (en) 2020-06-19

Similar Documents

Publication Publication Date Title
CN110058821B (en) Method and device for inquiring server storage information
US7694029B2 (en) Detecting miscabling in a storage area network
CN111177043B (en) Method, system, device and medium for accelerating reading of field replaceable unit information
US10169183B2 (en) Mobile device and chassis with contactless tags to diagnose hardware and software faults
CN111309553B (en) Method, system, equipment and medium for monitoring storage Jbod
CN110806964A (en) Method and equipment for lighting hard disk and storage medium
CN111176414A (en) Power supply method and device for server network card and readable medium
CN111124722A (en) Method, equipment and medium for isolating fault memory
CN113656339B (en) NVME hot plug processing method, BMC, device, equipment and medium
CN105573872A (en) Hardware maintenance method and device of data storage system
CN108647284B (en) Method and device for recording user behavior, medium and computing equipment
CN110764799A (en) Method, equipment and medium for optimizing and remotely updating FPGA (field programmable Gate array) accelerator card
CN111856257B (en) Method, system, equipment and medium for detecting and protecting CPLD (complex programmable logic device) firmware
CN110417579B (en) Method, equipment and readable medium for managing gigabit network by using gigabit network card
CN111045710B (en) Method, equipment and medium for upgrading SAS-Expander firmware based on IPMI command
CN111209606A (en) Method, device and equipment for early warning of hard disk change behind RAID card
CN110781042B (en) Method, device and medium for detecting UBM (Universal boot Module) backboard based on BMC (baseboard management controller)
CN110968456A (en) Method and device for processing fault disk in distributed storage system
CN114936135A (en) Abnormity detection method and device and readable storage medium
CN111124771B (en) Method, equipment and medium for positioning fault
CN115373962A (en) Method, system, storage medium and device for testing IO performance of storage device
CN111367699B (en) Method, system, device and medium for processing error information
CN113568806A (en) SAS card link state monitoring method, system, device and readable storage medium
CN110912760B (en) Link state detection method and device
CN111193818A (en) Method, system, equipment and medium for obtaining IP address

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
GR01 Patent grant
GR01 Patent grant