CN113782067A - Method and system for rapidly positioning hard disk under disk array and substrate management controller - Google Patents

Method and system for rapidly positioning hard disk under disk array and substrate management controller Download PDF

Info

Publication number
CN113782067A
CN113782067A CN202110901910.7A CN202110901910A CN113782067A CN 113782067 A CN113782067 A CN 113782067A CN 202110901910 A CN202110901910 A CN 202110901910A CN 113782067 A CN113782067 A CN 113782067A
Authority
CN
China
Prior art keywords
disk array
hard disk
disk
hard
positioning
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
CN202110901910.7A
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.)
Celestica Technology Consultancy Shanghai Co Ltd
Original Assignee
Celestica Technology Consultancy Shanghai 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 Celestica Technology Consultancy Shanghai Co Ltd filed Critical Celestica Technology Consultancy Shanghai Co Ltd
Priority to CN202110901910.7A priority Critical patent/CN113782067A/en
Publication of CN113782067A publication Critical patent/CN113782067A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B33/00Constructional parts, details or accessories not provided for in the other groups of this subclass
    • G11B33/10Indicating arrangements; Warning arrangements

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a method and a system for rapidly positioning a hard disk under a disk array and a substrate management controller, wherein the method comprises the following steps: receiving a disk array confirmation instruction, inquiring whether a corresponding disk array exists in storage equipment of a hard disk in a server or not based on the disk array confirmation instruction, acquiring corresponding hard disk information under the disk array when the corresponding disk array exists in the server, and controlling a corresponding hard disk lamp based on the hard disk information to realize the positioning of the hard disk. The substrate management controller firmware of the invention realizes the rapid positioning of the hard disks under the disk array, can display all the hard disks under the same disk array, and distinguishes and displays each hard disk in a lighting mode, thereby effectively saving the maintenance operation time and improving the operation and maintenance efficiency.

Description

Method and system for rapidly positioning hard disk under disk array and substrate management controller
Technical Field
The invention belongs to the technical field of server storage, and particularly relates to the technical field of hard disk management in a server.
Background
A24-disk server is connected to 24 hard disks when the server is fully loaded. The system side can perform RAID (Redundant array of Independent Disks) operation on part or all of the hard Disks according to requirements. When the RAID operation is completed, if an operation and maintenance person needs to know which hard disks are in the RAID, the operation and maintenance person can only distinguish the hard disks by positioning the lamps one by one or plugging and unplugging the hard disks.
The traditional method for identifying the hard disk RAID has two modes: 1) the serial number of the hard disk under Raid is inquired through the OS, and the hard disk positioning lamp with the corresponding serial number is lightened through a command to confirm the condition of the hard disk; 2) and inquiring the serial numbers of the hard disks under the Raid through the OS or the hard disk firmware, and pulling out the hard disks one by one to compare and confirm the serial numbers.
Mode 1) for the condition that a plurality of hard disks are in RAID, information query and command lighting of positioning lamps need to be carried out one by one, and the processing efficiency is low; mode 2) because the hard disk needs to be plugged one by one, the processing is not only inefficient, but also affects the normal use of the system.
For example, when 12 hard disks are connected to the RAID, 2 queries and 12 lighting instructions need to be executed in a conventional manner of lighting a positioning lamp; in the conventional hard disk plugging and unplugging mode, 2 times of query and at least 12 times of plugging and unplugging operations are required to be executed. Therefore, the existing management of the hard disk in the server has the problems of long operation and maintenance operation time and low operation and maintenance efficiency.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide a method, a system, and a baseboard management controller for quickly locating a hard disk under a disk array, so as to solve the technical problems of long operation and maintenance operation time and low operation and maintenance efficiency in managing a hard disk in a server in the prior art.
To achieve the above and other related objects, an embodiment of the present invention provides a method for quickly locating a hard disk under a disk array, including: receiving a disk array confirmation instruction; inquiring whether a storage device of a hard disk in a server has a corresponding disk array or not based on the disk array confirmation instruction, and acquiring corresponding hard disk information under the disk array when the corresponding disk array exists in the server; and controlling the corresponding hard disk lamp to operate based on the hard disk information to realize the positioning of the hard disk.
In an embodiment of the present application, the method further includes: configuring an IPMI command format, and configuring an IPMI command for sending a disk array confirmation command based on the IPMI command format; sending the IPMI command to a substrate management controller through an IPMI command sending tool; and the substrate management controller firmware analyzes the disk array confirmation command based on the IPMI command format to acquire the disk array group number to be inquired.
In an embodiment of the application, the querying whether a corresponding disk array exists in the storage device of the hard disk in the server based on the disk array confirmation instruction includes: the baseboard management controller firmware analyzes the disk array confirmation command to obtain a disk array group number to be inquired; and the baseboard management controller firmware accesses a disk array card in the baseboard management controller based on the disk array group number and receives corresponding hard disk information under the disk array from the disk array card.
In an embodiment of the application, the controlling the operation of the corresponding hard disk lamp based on the hard disk information includes: controlling hard disk lamps corresponding to all hard disks in the disk array to be lightened on the basis of the hard disk information, so as to realize the positioning of all hard disks under the disk array; based on a preset sequence, each hard disk lamp is controlled to flicker successively, and single hard disk positioning is achieved.
In an embodiment of the application, the preset sequence is a sequence of hard disk serial numbers from large to small, a sequence of hard disk serial numbers from small to large, a sequence of hard disk positions from left to right, a sequence of hard disk positions from right to left, a sequence of hard disk load amounts from large to small, or a sequence of hard disk load amounts from small to large.
An embodiment of the present application further provides a system for quickly positioning a hard disk under a disk array, including: the command receiving module is used for receiving a disk array confirmation command; the hard disk information acquisition module inquires whether a corresponding disk array exists in storage equipment of a hard disk in a server or not based on the disk array confirmation instruction, and acquires corresponding hard disk information under the disk array when the corresponding disk array exists in the server; and the hard disk positioning module controls the corresponding hard disk lamp to operate based on the hard disk information to realize the positioning of the hard disk.
In an embodiment of the present application, the method further includes: the configuration module is used for configuring an IPMI command format and configuring an IPMI command used for sending a disk array confirmation instruction based on the IPMI command format, so that a user can send the IPMI command to the substrate management controller through an IPMI command sending tool; and the hard disk information acquisition module enables the substrate management controller firmware to analyze the disk array confirmation instruction based on the IPMI command format to acquire the disk array group number to be inquired.
In an embodiment of the present application, the hard disk information obtaining module includes: the analysis unit analyzes the disk array confirmation command through a substrate management controller firmware to acquire a disk array group number to be inquired; and the information acquisition unit enables the substrate management controller firmware to access a disk array card in the substrate management controller based on the disk array group number and receives corresponding hard disk information under the disk array from the disk array card.
In an embodiment of the present application, the hard disk location module includes: the full hard disk control unit controls hard disk lamps corresponding to all hard disks in the disk array to be lightened based on the hard disk information, so that all hard disks in the disk array are positioned; and the single hard disk positioning unit controls each hard disk lamp to flicker successively based on a preset sequence, so that the single hard disk positioning is realized.
The embodiment of the application also provides a baseboard management controller, wherein the baseboard management controller positions the hard disk under the disk array based on the method for quickly positioning the hard disk under the disk array.
As described above, the method, system and baseboard management controller for fast positioning a hard disk under a disk array according to the present invention have the following advantages:
the substrate management controller firmware of the invention realizes the rapid positioning of the hard disks under the disk array, can display all the hard disks under the same disk array, and distinguishes and displays each hard disk in a lighting mode, thereby effectively saving the maintenance operation time and improving the operation and maintenance efficiency.
Drawings
Fig. 1 is a schematic flow chart illustrating a method for fast locating a hard disk under a disk array according to the present invention.
Fig. 2 is a schematic diagram illustrating a principle process of acquiring hard disk information corresponding to a disk array in the method for quickly positioning a hard disk under the disk array according to the present invention.
Fig. 3 is a schematic flow chart illustrating the positioning of a hard disk in the method for quickly positioning a hard disk under a disk array according to the present invention.
Fig. 4 is a schematic diagram illustrating an overall implementation process of positioning a hard disk in the method for quickly positioning a hard disk under a disk array according to the present invention.
FIG. 5 is a schematic block diagram of a system for fast locating a hard disk under a disk array according to the present invention.
FIG. 6 is a schematic block diagram of a system for fast locating a hard disk under a disk array according to the present invention.
Fig. 7 is a schematic block diagram of a hard disk information obtaining module in the system for quickly locating a hard disk under a disk array according to the present invention.
FIG. 8 is a schematic block diagram of a hard disk in a system for fast locating a hard disk under a disk array according to the present invention.
Description of the element reference numerals
100 system for quickly positioning hard disk under disk array
110 instruction receiving module
120 hard disk information acquisition module
121 analysis unit
122 information acquisition unit
130 hard disk positioning module
131 full hard disk positioning unit
132 single hard disk positioning unit
140 configuration module
S100 to S300
S310 to S320
S1-S5
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
The embodiment aims to provide a method and a system for quickly positioning a hard disk under a disk array and a substrate management controller, which are used for solving the technical problems of long operation and maintenance operation time and low operation and maintenance efficiency in hard disk management in a server in the prior art.
The principle and implementation of the method, system and baseboard management controller for fast positioning a hard disk under a disk array according to the present invention will be described in detail below, so that those skilled in the art can understand the method, system and baseboard management controller for fast positioning a hard disk under a disk array without creative work.
Example 1
Fig. 1 is a schematic flow chart illustrating a method for quickly positioning a hard disk under a disk array according to this embodiment. As shown in fig. 1, the method for quickly locating a hard disk under a disk array includes:
step S100, receiving a disk array confirmation instruction;
step S200, inquiring whether a storage device of a hard disk in a server has a corresponding disk array or not based on the disk array confirmation instruction, and acquiring corresponding hard disk information under the disk array when the corresponding disk array exists in the server;
and step S300, controlling the corresponding hard disk lamp to operate based on the hard disk information, and realizing the positioning of the hard disk.
The following describes the steps S100 to S300 of the method for quickly positioning a hard disk under a disk array according to this embodiment in detail.
Step S100, a disk array confirmation instruction is received.
In this embodiment, a user (operation and maintenance staff of the server) sends a disk array confirmation instruction to the Baseboard Management Controller (BMC), and the baseboard management controller receives the disk array confirmation instruction.
In this embodiment, the user and the bmc interact with each other through a predefined IPMI (Intelligent Platform Management Interface) command.
In this embodiment, the method further includes: configuring an IPMI command format, and configuring an IPMI command for sending a disk array validation command based on the IPMI command format. The configured IPMI command format and the configured IPMI command for sending the raid confirmation instruction are shown in table 1:
TABLE 1
Command definition Parameter(s) Description of the invention
Function code 0x3A Vendor-defined (IPMI command must field)
Command word 0x30 Vendor-defined (IPMI command must field)
Request field Byte 1: RAID group number requiring illumination
Response field Byte 1: return code
And sending the IPMI command to a substrate management controller through an IPMI command sending tool, and processing the IPMI command containing the disk array confirmation command by the substrate management controller.
Step S200, whether a corresponding disk array exists in the storage device of the hard disk in the server is inquired based on the disk array confirmation instruction, and when the corresponding disk array exists in the server, corresponding hard disk information under the disk array is obtained.
The hard disk information includes, but is not limited to, a hard disk serial number, a hard disk location, and the like.
Fig. 2 is a schematic diagram illustrating a principle process of acquiring hard disk information corresponding to a disk array in the method for quickly positioning a hard disk under the disk array according to the embodiment. As shown in fig. 2, in this embodiment, the process of querying whether a corresponding disk array exists in the storage device of the hard disk in the server based on the disk array confirmation instruction is as follows:
firstly, the baseboard management controller firmware analyzes the disk array confirmation instruction to obtain a disk array group number required to be inquired, then, the baseboard management controller firmware accesses a disk array card in the baseboard management controller based on the disk array group number, and receives corresponding hard disk information under the disk array from the disk array card.
In this embodiment, the management of the hard disk and the hard disk array in the server is realized by the disk array (RAID) management provided by the disk array card in the baseboard management controller and by the baseboard management controller directly accessing the disk array (RAID) card.
The implementation of providing disk array (RAID) management via a disk array card in a baseboard management controller is as follows:
a manufacturer of a disk array (RAID) card provides an interface for operating a hard disk to a baseboard management controller through software in the RAID card, and the baseboard management controller manages the hard disk through the interface provided by the RAID card. Since providing disk array (RAID) management via a disk array card is well known to those skilled in the art, it is not described in detail herein.
In this embodiment, the baseboard management controller firmware parses the disk array validation command based on the IPMI command format to obtain the disk array group number to be queried.
Specifically, in this embodiment, as shown in table 1 above, the bmc defines fields of the IPMI command, the user sends the IPMI command to the bmc according to the defined fields of the IPMI command, and the bmc parses the disk array group number to be queried (i.e. the RAID group number to be lit) according to the IPMI command definition.
For example, the user needs to light hard disk information of RAID 0: the user sends a command: ipmitool raw 0x3A 0x300x 00; (wherein ipmitool is an open source IPMI command transmission tool), the baseboard management controller analyzes that the field data of the request is 0x00, that is, the hard disk under RAID 0 needs to be lighted.
As shown in fig. 2, after the baseboard management controller analyzes the disk array group number requested to be lit by the user, it may query whether the disk array group exists through the disk array (RAID) management provided by a disk array (RAID) card, and if the disk array group exists, continuously obtain all hard disk information (serial number, location, etc.) under the disk array group, and return the hard disk information to the baseboard management controller, so that the baseboard management controller realizes the location of the hard disk according to the returned hard disk information.
And step S300, controlling the corresponding hard disk lamp to operate based on the hard disk information, and realizing the positioning of the hard disk.
Fig. 3 is a schematic flowchart illustrating a process of positioning a hard disk in the method for quickly positioning a hard disk under a disk array according to this embodiment. Specifically, in this embodiment, as shown in fig. 3, the controlling the operation of the corresponding hard disk lamp based on the hard disk information includes:
and S310, controlling hard disk lamps corresponding to all hard disks in the disk array to be lightened on based on the hard disk information, and realizing the positioning of all hard disks in the disk array.
And step S320, controlling each hard disk lamp to flicker successively based on a preset sequence, and realizing the positioning of a single hard disk.
The flash frequency and the flash times of the hard disk lamp are customized by a user. For example, the frequency of flickers is 1HZ, and the number of flickers is 2.
In this embodiment, the preset sequence is, but not limited to, a sequence from large to small of the serial numbers of the hard disks, a sequence from small to large of the serial numbers of the hard disks, a sequence from left to right of the positions of the hard disks, a sequence from right to left of the positions of the hard disks, a sequence from large to small of the load capacity of the hard disks, or a sequence from small to large of the load capacity of the hard disks.
For example, the hard disk lamps are controlled to flash gradually according to the sequence of the hard disk serial numbers from large to small, and the positioning of a single hard disk is realized.
In order to further understand the method for fast positioning a hard disk under a disk array in this embodiment, an implementation process of the method for fast positioning a hard disk under a disk array in this embodiment is described below with reference to fig. 4.
As shown in fig. 4, the process is performed as follows:
step S1, sending a disk array confirmation command to the bmc.
And the operation and maintenance personnel issue a disk array confirmation instruction to the substrate management controller to inform the disk array group needing to be confirmed, and the substrate management controller receives the disk array confirmation instruction and processes the disk array confirmation instruction.
Step S2, the bmc parses the raid confirmation instruction to obtain the raid group number to be queried.
And the substrate management controller firmware analyzes the disk array confirmation command based on the IPMI command format to acquire the disk array group number to be inquired.
For example, the user needs to light hard disk information of RAID 0: the user sends a command: ipmitool raw 0x3A 0x300x 00; (wherein ipmitool is an open source IPMI command transmission tool), the baseboard management controller analyzes that the field data of the request is 0x00, that is, the hard disk under RAID 0 needs to be lighted.
And step S3, acquiring hard disk information corresponding to the disk array through the disk array card in the baseboard management controller.
After the baseboard management controller analyzes the disk array group number which is requested to be lightened by a user, whether the disk array group exists or not can be inquired through the disk array (RAID) management provided by a disk array (RAID) card, if yes, all hard disk information (serial numbers, positions and the like) under the disk array group is continuously acquired, and the hard disk information is returned to the baseboard management controller.
In step S4, it is determined whether a disk array group exists, and if it does not exist, the process ends, and if it exists, the process continues to step S5.
If the disk array group requested by the operation and maintenance personnel does not exist, ending the task; if the disk array exists, the lighting operation of the hard disk under RAID in step S5 is performed.
And step S5, the baseboard management controller controls the corresponding hard disk lamp to run through the hardware interface.
Specifically, the hard disk lamps corresponding to all the hard disks in the disk array are controlled to be turned on based on the hard disk information, so that all the hard disks in the disk array are positioned, for example, the positioning lamps of all the hard disks in the RAID are turned on first, so that all the hard disks in the RAID are conveniently confirmed, and then, based on a preset sequence, the hard disk lamps are controlled to be sequentially turned on, so that a single hard disk is positioned, for example, the hard disk positioning lamps are sequentially turned on (with the frequency of 1HZ) for 5 times (so that the position of the single hard disk is conveniently confirmed) according to the sequence of the serial numbers of the hard disks.
As can be seen from the above, in the method for quickly positioning a hard disk under a disk array according to the embodiment, the hard disk under the disk array is quickly positioned through the firmware of the baseboard management controller, all hard disks under the same disk array can be displayed, and each hard disk is distinguished and displayed in a lighting manner, so that the maintenance operation time is effectively saved, and the operation and maintenance efficiency is improved.
Example 2
As shown in fig. 5, the present embodiment provides a system 100 for fast locating a hard disk under a disk array, including: the system comprises an instruction receiving module 110, a hard disk information obtaining module 120 and a hard disk positioning module 130.
In this embodiment, the command receiving module 110 is configured to receive a disk array confirmation command.
The implementation principle of the instruction receiving module 110 in this embodiment is the same as the implementation principle of step S100 in the method for quickly positioning a hard disk under a disk array in embodiment 1, and similar or identical technical features between the principles are not repeated.
In this embodiment, the hard disk information obtaining module 120 queries whether a corresponding disk array exists in the storage device of the hard disk in the server based on the disk array confirmation instruction, and obtains the corresponding hard disk information under the disk array when the corresponding disk array exists in the server.
The implementation principle of the hard disk information obtaining module 120 in this embodiment is the same as the implementation principle of step S200 in the method for quickly positioning a hard disk under a disk array in embodiment 1, and similar or identical technical features between the principles are not repeated.
In this embodiment, the hard disk positioning module 130 controls the operation of the corresponding hard disk lamp based on the hard disk information, so as to position the hard disk.
The implementation principle of the hard disk positioning module 130 in this embodiment is the same as the implementation principle of step S300 in the method for quickly positioning a hard disk under a disk array in embodiment 1, and similar or identical technical features between the principles are not repeated.
In this embodiment, as shown in fig. 6, the method further includes: the configuration module is used for configuring an IPMI command format and configuring an IPMI command used for sending a disk array confirmation instruction based on the IPMI command format, so that a user can send the IPMI command to the substrate management controller through an IPMI command sending tool; the hard disk information obtaining module 120 may enable the baseboard management controller firmware to analyze the disk array confirmation command based on the IPMI command format, so as to obtain a disk array group number to be queried.
The implementation principle of the configuration module in this embodiment is the same as the implementation principle of the configuration instruction in step S100 in the method for quickly positioning a hard disk under a disk array in embodiment 1, and similar or identical technical features between the principles are not described again.
In this embodiment, as shown in fig. 7, the hard disk information obtaining module 120 includes: an analysis unit 121 and an information acquisition unit 122.
The analyzing unit 121 analyzes the disk array confirmation command through a baseboard management controller firmware, obtains a disk array group number to be queried, and the information obtaining unit 122 enables the baseboard management controller firmware to access a disk array card in the baseboard management controller based on the disk array group number, and receives corresponding hard disk information under the disk array from the disk array card.
The implementation principle of the analysis unit 121 and the information obtaining unit 122 in this embodiment is the same as the implementation principle of the corresponding technical feature described in step S200 in the method for quickly positioning a hard disk under a disk array in embodiment 1, and the technical features that are similar or the same between the principles are not repeated.
In this embodiment, as shown in fig. 8, the hard disk positioning module 130 includes: a full hard disk control unit 131 and a single hard disk location unit 132.
The full hard disk control unit 131 controls the hard disk lamps corresponding to all hard disks in the disk array to be turned on based on the hard disk information, so as to position all hard disks in the disk array, and the single hard disk positioning unit 132 controls each hard disk lamp to gradually flash based on a preset sequence, so as to position a single hard disk.
In this embodiment, the implementation principles of the full hard disk control unit 131 and the single hard disk positioning unit 132 are respectively the same as the implementation principles of step S310 and step S320 in the method for quickly positioning a hard disk under a disk array in embodiment 1, and similar or identical technical features between the principles are not described again.
Example 3
This embodiment provides a baseboard management controller, where the baseboard management controller locates a hard disk under a disk array based on the method for quickly locating a hard disk under a disk array described in embodiment 1. In embodiment 1, the method for quickly positioning a hard disk under a disk array has been described in detail, and is not described herein again.
In summary, the substrate management controller firmware of the present invention realizes fast positioning of the hard disks in the disk array, can display all the hard disks in the same disk array, and can display each hard disk in a light-up manner, thereby effectively saving maintenance operation time and improving operation and maintenance efficiency. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (10)

1. A method for rapidly positioning a hard disk under a disk array is characterized in that: the method comprises the following steps:
receiving a disk array confirmation instruction;
inquiring whether a storage device of a hard disk in a server has a corresponding disk array or not based on the disk array confirmation instruction, and acquiring corresponding hard disk information under the disk array when the corresponding disk array exists in the server;
and controlling the corresponding hard disk lamp to operate based on the hard disk information to realize the positioning of the hard disk.
2. The method for rapidly positioning the hard disks under the disk array according to claim 1, wherein: further comprising:
configuring an IPMI command format, and configuring an IPMI command for sending a disk array confirmation command based on the IPMI command format;
sending the IPMI command to a substrate management controller through an IPMI command sending tool;
and the substrate management controller firmware analyzes the disk array confirmation command based on the IPMI command format to acquire the disk array group number to be inquired.
3. The method for rapidly positioning the hard disk under the disk array according to claim 1 or 2, wherein: the querying whether a corresponding disk array exists in storage settings of a hard disk in a server based on the disk array confirmation instruction comprises:
the baseboard management controller firmware analyzes the disk array confirmation command to obtain a disk array group number to be inquired;
and the baseboard management controller firmware accesses a disk array card in the baseboard management controller based on the disk array group number and receives corresponding hard disk information under the disk array from the disk array card.
4. The method for rapidly positioning the hard disks under the disk array according to claim 1, wherein: the controlling the operation of the corresponding hard disk lamp based on the hard disk information comprises:
controlling hard disk lamps corresponding to all hard disks in the disk array to be lightened on the basis of the hard disk information, so as to realize the positioning of all hard disks under the disk array;
based on a preset sequence, each hard disk lamp is controlled to flicker successively, and single hard disk positioning is achieved.
5. The method for rapidly positioning hard disks under a disk array according to claim 4, wherein: the preset sequence is that the hard disk serial numbers are in a descending order, the hard disk positions are in a left-to-right order, the hard disk positions are in a right-to-left order, the hard disk load is in a descending order or the hard disk load is in a descending order.
6. A system for rapidly positioning hard disks under a disk array is characterized in that: the method comprises the following steps:
the command receiving module is used for receiving a disk array confirmation command;
the hard disk information acquisition module inquires whether a corresponding disk array exists in storage equipment of a hard disk in a server or not based on the disk array confirmation instruction, and acquires corresponding hard disk information under the disk array when the corresponding disk array exists in the server;
and the hard disk positioning module controls the corresponding hard disk lamp to operate based on the hard disk information to realize the positioning of the hard disk.
7. The system for rapidly positioning the hard disks under the disk array according to claim 6, wherein: further comprising:
the configuration module is used for configuring an IPMI command format and configuring an IPMI command used for sending a disk array confirmation instruction based on the IPMI command format, so that a user can send the IPMI command to the substrate management controller through an IPMI command sending tool;
and the hard disk information acquisition module enables the substrate management controller firmware to analyze the disk array confirmation instruction based on the IPMI command format to acquire the disk array group number to be inquired.
8. The system for rapidly positioning the hard disks under the disk array according to claim 6 or 7, wherein: the hard disk information acquisition module comprises:
the analysis unit analyzes the disk array confirmation command through a substrate management controller firmware to acquire a disk array group number to be inquired;
and the information acquisition unit enables the substrate management controller firmware to access a disk array card in the substrate management controller based on the disk array group number and receives corresponding hard disk information under the disk array from the disk array card.
9. The system for rapidly positioning the hard disks under the disk array according to claim 6, wherein: the hard disk positioning module comprises:
the full hard disk control unit controls hard disk lamps corresponding to all hard disks in the disk array to be lightened based on the hard disk information, so that all hard disks in the disk array are positioned;
and the single hard disk positioning unit controls each hard disk lamp to flicker successively based on a preset sequence, so that the single hard disk positioning is realized.
10. A baseboard management controller, comprising: the baseboard management controller positions the hard disks under the disk array based on the method for quickly positioning the hard disks under the disk array as claimed in any one of claims 1 to 5.
CN202110901910.7A 2021-08-06 2021-08-06 Method and system for rapidly positioning hard disk under disk array and substrate management controller Pending CN113782067A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110901910.7A CN113782067A (en) 2021-08-06 2021-08-06 Method and system for rapidly positioning hard disk under disk array and substrate management controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110901910.7A CN113782067A (en) 2021-08-06 2021-08-06 Method and system for rapidly positioning hard disk under disk array and substrate management controller

Publications (1)

Publication Number Publication Date
CN113782067A true CN113782067A (en) 2021-12-10

Family

ID=78836969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110901910.7A Pending CN113782067A (en) 2021-08-06 2021-08-06 Method and system for rapidly positioning hard disk under disk array and substrate management controller

Country Status (1)

Country Link
CN (1) CN113782067A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690981A (en) * 2004-04-28 2005-11-02 株式会社东芝 Method and apparatus for constructing redundant array of independent disks system using disk drives
US20150121002A1 (en) * 2013-10-24 2015-04-30 Fujitsu Limited Raid configuration management device and raid configuration management method
CN105446657A (en) * 2015-11-11 2016-03-30 浪潮电子信息产业股份有限公司 Method for monitoring RAID card
CN109086192A (en) * 2018-09-18 2018-12-25 郑州云海信息技术有限公司 A kind of onboard SATA hard disc lighting system and method based on IPMI
CN110058821A (en) * 2019-04-24 2019-07-26 苏州浪潮智能科技有限公司 A kind of method and device of query service device storage information
CN110427308A (en) * 2019-07-26 2019-11-08 新华三技术有限公司成都分公司 A kind of hard disk localization method, device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1690981A (en) * 2004-04-28 2005-11-02 株式会社东芝 Method and apparatus for constructing redundant array of independent disks system using disk drives
US20150121002A1 (en) * 2013-10-24 2015-04-30 Fujitsu Limited Raid configuration management device and raid configuration management method
CN105446657A (en) * 2015-11-11 2016-03-30 浪潮电子信息产业股份有限公司 Method for monitoring RAID card
CN109086192A (en) * 2018-09-18 2018-12-25 郑州云海信息技术有限公司 A kind of onboard SATA hard disc lighting system and method based on IPMI
CN110058821A (en) * 2019-04-24 2019-07-26 苏州浪潮智能科技有限公司 A kind of method and device of query service device storage information
CN110427308A (en) * 2019-07-26 2019-11-08 新华三技术有限公司成都分公司 A kind of hard disk localization method, device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US8079717B2 (en) System and method for automated projector lamp management
CN104007340A (en) Electronic product aging test system and aging test method
CN111651007B (en) U-bit management method and management system for server cabinet
CN110618918A (en) Control method, control device and control equipment for hard disk status lamp in PCH
CN103995197A (en) Aging test equipment for electronic products
CN113360437B (en) Disk sequence adjusting device, method, equipment and storage medium of hard disk
CN103189834B (en) Method, apparatus and system for determining drive mark
CN111475431A (en) Mainboard, backboard, identification system and identification method
US11573617B2 (en) Indicator for AC power adapter
CN111930574A (en) SSD test system and SSD test method
CN113782067A (en) Method and system for rapidly positioning hard disk under disk array and substrate management controller
WO2020000657A1 (en) Method and apparatus for establishing operation and maintenance monitoring connection, terminal device, and medium
CN110753415A (en) Light emission control system and method
CN116166855A (en) Method and device for identifying serial numbers of hard disks
US7714604B2 (en) System and method for testing an operating condition of LEDs on a motherboard
CN114758715B (en) Method, device and equipment for lighting hard disk fault lamp and readable storage medium
CN106843768B (en) Hard disk data erasing method and device
CN113726543B (en) Operation and maintenance service processing method, device, system, server and storage medium
CN111324374B (en) Application program registration method and device based on application performance management system
CN111679957B (en) Indicator lamp control method and device, terminal equipment and storage medium
CN116302844B (en) Method and device for acquiring hard disk information, computer equipment and storage medium
US11782423B2 (en) Automated component sourcing based on process systems design
CN109245920B (en) Automatic switch configuration method and device, switch and storage medium
WO2023085085A1 (en) Lighting control device and lighting system
CN219811186U (en) Electronic component, device capable of adapting to multiple electronic components and electronic product

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: 20211210