Method, device, equipment and storage medium for forming a redundant array of independent disks
Patent Information
- Application Number
- CN202310498573.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-27
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2043-04-27
AI Technical Summary
其次,断电开箱操作复杂,不仅要求操作人员熟悉主板的电气结构,而且耗时较长,如若操作不当,容易对主板等硬件设备造成损坏
[0038] As can be seen from the above technical solution, by pre-setting a complex programmable logic device (CPL), the CPL is used to store the control of the onboard independent disk redundant array. When the received independent disk redundant array policy command is parsed to obtain the onboard independent disk redundant array policy, and when a request for control of the onboard independent disk redundant array is received, the control of the onboard independent disk redundant array is allocated to the command sending terminal. This allows the command sending terminal to execute the onboard independent disk redundant array policy after the server starts up in the unified extensible firmware interface mode, reducing the server startup time, realizing the rapid assembly of the onboard independent disk redundant array, simplifying the operation, and avoiding damage to the motherboard and other hardware devices.
Smart Images

Figure CN116521081B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of storage technology, and in particular to a method, apparatus, device, and computer-readable storage medium for assembling an onboard independent disk redundant array. Background Technology
[0002] The existing methods for setting up Redundant Arrays of Independent Disks (RAID) are mainly as follows: one is to start the server in Legacy mode and set up the RAID through the RAID manager page; the other is to power off the server, open the chassis, and set up the RAID through hardware.
[0003] Both of the above methods for setting up onboard independent disk redundant arrays have certain drawbacks. First, most Hygon platform servers currently default to Unified Extensible Firmware Interface (UEFI) boot mode, requiring users to manually change the boot mode to Legacy mode and then access the Independent Disk Redundancy Array (RDA) manager during the boot process to set up the onboard independent disk redundant array. Since server boot time is longer in Legacy mode, it's not possible to quickly set up the onboard independent disk redundant array. Second, the power-off and unpacking operation is complex, requiring operators to be familiar with the motherboard's electrical structure and is time-consuming. Improper operation can easily damage the motherboard and other hardware.
[0004] In summary, effectively addressing issues such as long server startup times, inability to quickly assemble onboard independent disk redundant arrays, complex operations, and potential damage to motherboards and other hardware is a pressing problem for those skilled in the art. Summary of the Invention
[0005] The purpose of this application is to provide a method for assembling an onboard independent disk redundant array, which reduces server startup time, enables rapid assembly of the onboard independent disk redundant array, is simple to operate, and avoids damage to hardware devices such as the motherboard; another purpose of this application is to provide an apparatus, device, and computer-readable storage medium for assembling an onboard independent disk redundant array.
[0006] To solve the above-mentioned technical problems, this application provides the following technical solution:
[0007] A method for assembling an onboard independent disk redundancy array, applied to complex programmable logic devices, includes:
[0008] The received independent disk redundancy array policy command is parsed to obtain the onboard independent disk redundancy array policy; wherein, the independent disk redundancy array policy command is a command sent by the command sending terminal after the server starts up based on the unified extensible firmware interface mode;
[0009] Receives a request for control of the onboard independent disk redundant array sent by the command sending terminal;
[0010] The control of the onboard independent disk redundant array is assigned to the command sending terminal, so that the command sending terminal executes the onboard independent disk redundant array strategy.
[0011] In one specific embodiment of this application, after obtaining the onboard independent disk redundant array strategy and before allocating control of the onboard independent disk redundant array to the command sending terminal, the method further includes:
[0012] Determine whether the onboard independent disk redundancy array strategy is correct;
[0013] If so, then the step of assigning control of the onboard independent disk redundant array to the command sending terminal is performed;
[0014] If not, output an error message indicating an error in the onboard independent disk redundant array strategy.
[0015] In one specific embodiment of this application, determining whether the onboard independent disk redundancy array strategy is correct includes:
[0016] When the onboard independent disk redundant array strategy is RAID1, obtain the number of hard disks in the onboard independent disk redundant array chip.
[0017] Determine whether the number of hard drives is two.
[0018] In one specific embodiment of this application, receiving a control request for an onboard independent disk redundant array sent by the command sending terminal includes:
[0019] The command sending terminal receives control request requests from each conversion chip of the onboard independent disk redundant array chip.
[0020] Delegating control of the onboard independent disk redundant array to the command sending terminal includes:
[0021] Control of each of the aforementioned conversion chips is assigned to the command sending terminal.
[0022] In one specific embodiment of this application, the command sending terminal is a basic input / output system, which parses the received independent disk redundancy array strategy command, including:
[0023] The independent disk redundancy array strategy command received from the basic input / output system via the graphical interface is parsed.
[0024] In one specific embodiment of this application, the command sending terminal is a baseboard management controller, which parses the received independent disk redundancy array strategy command, including:
[0025] The independent disk redundancy array strategy command received from the baseboard management controller via the front-end interface is parsed.
[0026] In one specific embodiment of this application, after the command sending terminal executes the onboard independent disk redundancy array strategy, it further includes:
[0027] Check whether the hard drive group in the onboard independent disk redundant array chip has been successfully installed;
[0028] If not, output a system fault message.
[0029] A device for assembling an onboard independent disk redundancy array, applied to complex programmable logic devices, comprising:
[0030] The strategy acquisition module is used to parse the received independent disk redundant array strategy command to obtain the onboard independent disk redundant array strategy; wherein, the independent disk redundant array strategy command is a command sent by the command sending terminal after the system starts up in the unified extensible firmware interface mode;
[0031] The request receiving module is used to receive the control request for the onboard independent disk redundant array sent by the command sending terminal;
[0032] The strategy execution module is used to allocate control of the onboard independent disk redundant array to the command sending terminal, so that the command sending terminal executes the onboard independent disk redundant array strategy.
[0033] A device for assembling an onboard independent disk redundant array includes:
[0034] Memory, used to store computer programs;
[0035] A processor, used to execute the computer program to implement the steps of the previously described method of assembling an onboard independent disk redundant array.
[0036] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the method for assembling an onboard independent disk redundant array as described above.
[0037] The method for assembling an onboard independent disk redundant array (OCA) provided in this application is applied to complex programmable logic devices (CLPDs), and includes: parsing a received OCA strategy command to obtain an OCA strategy; wherein the OCA strategy command is a command sent by a command sending terminal after the server starts up in a unified extensible firmware interface mode; receiving a control request for the OCA sent by the command sending terminal; and allocating control of the OCA to the command sending terminal so that the command sending terminal executes the OCA strategy.
[0038] As can be seen from the above technical solution, by pre-setting a complex programmable logic device (CPL), the CPL is used to store the control of the onboard independent disk redundant array. When the received independent disk redundant array policy command is parsed to obtain the onboard independent disk redundant array policy, and when a request for control of the onboard independent disk redundant array is received, the control of the onboard independent disk redundant array is allocated to the command sending terminal. This allows the command sending terminal to execute the onboard independent disk redundant array policy after the server starts up in the unified extensible firmware interface mode, reducing the server startup time, realizing the rapid assembly of the onboard independent disk redundant array, simplifying the operation, and avoiding damage to the motherboard and other hardware devices.
[0039] Accordingly, this application also provides apparatus, devices, and computer-readable storage media for assembling onboard independent disk redundant arrays, corresponding to the above-described method for assembling onboard independent disk redundant arrays, which have the aforementioned technical effects and will not be elaborated further here. Attached Figure Description
[0040] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is a flowchart illustrating one implementation of the method for assembling an onboard independent disk redundant array in this application.
[0042] Figure 2 This is a structural block diagram of a system for assembling an onboard independent disk redundant array according to an embodiment of this application;
[0043] Figure 3 This is a flowchart illustrating another implementation of the method for assembling an onboard independent disk redundant array in the embodiments of this application;
[0044] Figure 4 This is a structural block diagram of a device for assembling an onboard independent disk redundant array according to an embodiment of this application;
[0045] Figure 5 This is a structural block diagram of a device for assembling an onboard independent disk redundant array according to an embodiment of this application;
[0046] Figure 6 This is a schematic diagram of the specific structure of a device for assembling an onboard independent disk redundancy array provided in this embodiment. Detailed Implementation
[0047] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are merely some embodiments of the present application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0048] See Figure 1 , Figure 1 This is a flowchart illustrating one implementation of a method for assembling an onboard independent disk redundant array in this application, applied to a complex programmable logic device. The method may include the following steps:
[0049] S101: Parse the received independent disk redundancy array policy command to obtain the onboard independent disk redundancy array policy; wherein, the independent disk redundancy array policy command is the command sent by the command sending terminal after the server starts in the unified extensible firmware interface mode.
[0050] A Complex Programmable Logic Device (CPLD) is pre-configured to manage control of the onboard Redundant Array of Independent Disks (RAID). The server boots based on a unified, scalable firmware interface. When it's necessary to configure the hard drives in the onboard RAID chip for RAID configuration, the command sending terminal generates a RAID policy command and sends it to the CPLD. This command includes the RAID configuration strategy, specifying whether to configure the RAID chip using RAID 0 or RAID 1. The CPLD receives and parses the RAID policy command to obtain the final RAID configuration strategy.
[0051] In one specific embodiment of this application, the command sending terminal is a basic input / output system, and parsing the received independent disk redundant array strategy command may include the following steps:
[0052] The independent disk redundancy array strategy commands received from the basic input / output system via the graphical interface are parsed.
[0053] See Figure 2 , Figure 2 This is a block diagram illustrating the structure of a system for assembling an onboard redundant independent disk array (BRA) according to an embodiment of this application. The command sending terminal can be a Basic Input Output System (BIOS), which sends BRA strategy commands to a Complex Programmable Logic Device (CPLD) via a graphical interface. The CPLD parses the received BRA strategy commands sent by the BIOS through the graphical interface, thereby enabling the assembly of an onboard redundant independent disk array via the BIOS under a unified extensible firmware interface (UEMI) mode.
[0054] In one specific embodiment of this application, the command sending terminal is a baseboard management controller, and parsing the received independent disk redundancy array strategy command may include the following steps:
[0055] The independent disk redundancy array strategy command received from the baseboard management controller through the front-end interface is parsed.
[0056] like Figure 2As shown, the command sending terminal can also be a Baseboard Management Controller (BMC). The BMC sends independent redundancy array (RDA) policy commands to the Complex Programmable Logic Device (CPLD) through a front-end interface. The CPLD parses the received RDA policy commands sent by the BMC through the front-end interface, thereby enabling remote control of the onboard RDA via the BMC. When both the Basic Input / Output System (PIOS) and the BMC are present, only one of them needs to be started normally to complete the configuration of the onboard RDA policy.
[0057] S102: Receive a request for control of the onboard independent disk redundant array sent by the command sending terminal.
[0058] After sending the Independent Disk Redundancy Array (IDA) strategy command to the Complex Programmable Logic Device (CPLD), the command sending terminal sends a control request for the IDA to the CPLD. The CPLD receives the control request for the IDA sent by the command sending terminal.
[0059] S103: Assign control of the onboard independent disk redundant array to the command sending terminal so that the command sending terminal can execute the onboard independent disk redundant array strategy.
[0060] Upon receiving a control request for the Onboard Independent Disk Redundancy Array (IRDA) from the command sending terminal, control of the IRDA is assigned to the command sending terminal, thereby granting the command sending terminal control of the IRDA. After the command sending terminal gains control of the IRDA, the server automatically restarts, and the command sending terminal executes the IRDA setup strategy. This application enables the command sending terminal to execute the IRDA setup strategy after the server boots up in a unified extensible firmware interface mode, reducing server startup time. Furthermore, the IRDA setup strategy can be switched according to user needs, achieving rapid setup of the IRDA. The operation is simple and avoids damage to the motherboard and other hardware.
[0061] In one specific embodiment of this application, step S102 may include the following steps:
[0062] The terminal receives control requests from the various conversion chips of the onboard independent disk redundant array chip.
[0063] Accordingly, delegating control of the onboard independent disk redundant array to the command sending terminal may include the following steps:
[0064] Control of each conversion chip is assigned to the command sending terminal.
[0065] like Figure 2 As shown, the two input / output (IO) interfaces of the onboard independent disk redundant array chip (e.g., ASM1061R) are pre-connected to two conversion chips. These conversion chips then connect to the general-purpose input / output (GPIO) interfaces of the Central Processing Unit (CPU) and the baseboard management controller (BMC). The CPU and BMC additionally use a GPIO interface to connect to a complex programmable logic device (CPLD) to request control of the two conversion chips. The system receives control requests from command terminals for each conversion chip connected to the onboard independent disk redundant array chip and assigns control of each conversion chip to the command terminal. By connecting the two conversion chips to the onboard independent disk redundant array chip, multiple onboard independent disk redundant array modes can be implemented. This method allows for the configuration of the onboard independent disk redundant array via the CPU's basic input / output system in a unified scalable firmware interface mode, and also enables remote control configuration of the onboard independent disk redundant array via the BMC.
[0066] As can be seen from the above technical solution, by pre-setting a complex programmable logic device (CPL), the CPL is used to store the control of the onboard independent disk redundant array. When the received independent disk redundant array policy command is parsed to obtain the onboard independent disk redundant array policy, and when a request for control of the onboard independent disk redundant array is received, the control of the onboard independent disk redundant array is allocated to the command sending terminal. This allows the command sending terminal to execute the onboard independent disk redundant array policy after the server starts up in the unified extensible firmware interface mode, reducing the server startup time, realizing the rapid assembly of the onboard independent disk redundant array, simplifying the operation, and avoiding damage to the motherboard and other hardware devices.
[0067] It should be noted that, based on the above embodiments, this application also provides corresponding improvement solutions. In subsequent embodiments, steps that are the same as or corresponding to those in the above embodiments can be referred to each other, and the corresponding beneficial effects can also be referred to each other. These improvements will not be elaborated upon in the following improved embodiments.
[0068] In one specific embodiment of this application, after the command sending terminal executes the onboard independent disk redundant array strategy, the method may further include the following steps:
[0069] Step 1: Check if the hard drive group in the onboard independent disk redundant array chip has been successfully installed. If yes, no processing is required; otherwise, proceed to Step 2.
[0070] Step 2: Output system fault message.
[0071] For ease of description, the two steps above can be combined for explanation.
[0072] After the command sending terminal executes the onboard independent disk redundant array strategy, it checks whether the hard drives in the onboard independent disk redundant array chip have been successfully assembled. If so, no action is taken; otherwise, it indicates that a fault has occurred in the system itself during the assembly process, and a system fault message is output to promptly prompt the user to perform relevant system maintenance.
[0073] See Figure 3 , Figure 3 This is a flowchart illustrating another implementation of the method for assembling an onboard independent disk redundant array in this application, applied to a complex programmable logic device. The method may include the following steps:
[0074] S301: Parse the received independent disk redundancy array policy command to obtain the onboard independent disk redundancy array policy; wherein, the independent disk redundancy array policy command is the command sent by the command sending terminal after the server starts in the unified extensible firmware interface mode.
[0075] S302: Determine whether the onboard independent disk redundant array strategy is correct. If not, proceed to step S303; otherwise, proceed to step S304.
[0076] After parsing the onboard independent disk redundant array strategy, determine whether the onboard independent disk redundant array strategy is correct. If not, it means that the received onboard independent disk redundant array strategy is not feasible, and step S303 is executed. If yes, it means that the received onboard independent disk redundant array strategy is feasible, and step S304 is executed.
[0077] In one specific embodiment of this application, step S302 may include the following steps:
[0078] Step 1: When the onboard independent disk redundant array strategy is RAID1, obtain the number of hard drives in the onboard independent disk redundant array chip;
[0079] Step 2: Determine if there are two hard drives.
[0080] For ease of description, the two steps above can be combined for explanation.
[0081] When determining the correctness of the onboard independent disk redundant array strategy, if the onboard independent disk redundant array strategy is RAID1, since RAID1 can be implemented, there must be two hard drives in the onboard independent disk redundant array chip. Therefore, by obtaining the number of hard drives in the onboard independent disk redundant array chip, it is determined whether there are two hard drives, thereby realizing the correctness of the onboard independent disk redundant array strategy.
[0082] RAID 0 lacks data redundancy and a disk array for data verification. Therefore, when the onboard independent disk redundant array strategy is set to RAID 0, there is no requirement for the number of hard drives in the onboard independent disk redundant array chip; it can be one or two.
[0083] RAID 1 achieves data redundancy through hard drive mirroring, creating backups of data on pairs of independent hard drives. When the original data is busy, data can be read directly from the mirror copy, thus improving read performance.
[0084] S303: Outputs error message regarding the onboard independent disk redundant array strategy.
[0085] When it is determined that the onboard independent disk redundant array policy is incorrect, it indicates that the received onboard independent disk redundant array policy is not feasible, and an error message for the onboard independent disk redundant array policy is output, thereby promptly notifying the user that the independent disk redundant array policy command sent by the command sending terminal is incorrect.
[0086] S304: Receive command sending terminal sending a request for control of the onboard independent disk redundant array.
[0087] S305: Assign control of the onboard independent disk redundant array to the command sending terminal so that the command sending terminal can execute the onboard independent disk redundant array strategy.
[0088] Corresponding to the above method embodiments, this application also provides an apparatus for assembling an onboard independent disk redundant array. The apparatus for assembling an onboard independent disk redundant array described below can be referred to in correspondence with the method for assembling an onboard independent disk redundant array described above.
[0089] See Figure 4 , Figure 4 This is a structural block diagram of a device for assembling an onboard independent disk redundant array according to an embodiment of this application. Applied to a complex programmable logic device, the device may include:
[0090] The strategy acquisition module 41 is used to parse the received independent disk redundant array strategy command to obtain the onboard independent disk redundant array strategy; wherein, the independent disk redundant array strategy command is the command sent by the command sending terminal after the system starts in the unified extensible firmware interface mode;
[0091] Request receiving module 42 is used to receive a request for control of the onboard independent disk redundant array sent by the command sending terminal;
[0092] The policy execution module 43 is used to assign control of the onboard independent disk redundant array to the command sending terminal, so that the command sending terminal executes the onboard independent disk redundant array policy.
[0093] As can be seen from the above technical solution, by pre-setting a complex programmable logic device (CPL), the CPL is used to store the control of the onboard independent disk redundant array. When the received independent disk redundant array policy command is parsed to obtain the onboard independent disk redundant array policy, and when a request for control of the onboard independent disk redundant array is received, the control of the onboard independent disk redundant array is allocated to the command sending terminal. This allows the command sending terminal to execute the onboard independent disk redundant array policy after the server starts up in the unified extensible firmware interface mode, reducing the server startup time, realizing the rapid assembly of the onboard independent disk redundant array, simplifying the operation, and avoiding damage to the motherboard and other hardware devices.
[0094] In one specific embodiment of this application, the device may further include:
[0095] The judgment module is used to determine whether the onboard independent disk redundant array strategy is correct after obtaining the strategy and before assigning control of the onboard independent disk redundant array to the command sending terminal.
[0096] The strategy execution module 43 is specifically a module that, when it is determined that the strategy of the onboard independent disk redundant array is correct, assigns the control of the onboard independent disk redundant array to the command sending terminal.
[0097] The error message output module is used to output error messages for the onboard independent disk redundant array strategy when it is determined that the strategy is incorrect.
[0098] In one specific embodiment of this application, the determination module includes:
[0099] The hard drive quantity acquisition submodule is used to obtain the number of hard drives in the onboard independent disk redundant array chip when the onboard independent disk redundant array strategy is RAID1.
[0100] The judgment submodule is used to determine whether there are two hard drives.
[0101] In one specific embodiment of this application, the request receiving module 42 is specifically a module that receives control right request requests from various conversion chips of the onboard independent disk redundant array chip sent by the command sending terminal.
[0102] The strategy execution module 43 is specifically a module that distributes control of each conversion chip to the command sending terminal.
[0103] In one specific embodiment of this application, the command sending terminal is a basic input / output system, and the policy acquisition module 41 is specifically a module that parses the independent disk redundant array policy command sent by the basic input / output system through a graphical interface.
[0104] In one specific embodiment of this application, the command sending terminal is a baseboard management controller, and the strategy acquisition module 41 is specifically a module that parses the independent disk redundancy array strategy command sent by the baseboard management controller through the front-end interface.
[0105] In one specific embodiment of this application, the device may further include:
[0106] The onboard result detection module is used to detect whether the hard drives in the onboard independent disk redundant array chip have been successfully assembled after the command sending terminal executes the onboard independent disk redundant array strategy.
[0107] The fault message output module is used to output system fault message when it is detected that the hard disk group in the onboard independent disk redundant array chip is unsuccessful.
[0108] For the method embodiments described above, see [link to relevant documentation]. Figure 5 , Figure 5 This is a schematic diagram of the device for a modular onboard independent disk redundant array provided in this application. The device may include:
[0109] Memory 332 is used to store computer programs;
[0110] The processor 322 is used to implement the steps of the method of assembling an onboard independent disk redundant array in the above method embodiment when executing a computer program.
[0111] For details, please refer to Figure 5 , Figure 5This is a schematic diagram illustrating the specific structure of a device for assembling an onboard independent disk redundant array (OCDAR) according to this embodiment. The OCDAR device can vary significantly due to different configurations or performance characteristics. It may include a processor (central processing unit, CPU) 322 (e.g., one or more processors) and a memory 332. The memory 332 stores one or more computer programs 342 or data 344. The memory 332 can be temporary or persistent storage. The program stored in the memory 332 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the data processing device. Furthermore, the processor 322 may be configured to communicate with the memory 332 and execute the series of instruction operations stored in the memory 332 on the OCDAR device 301.
[0112] The device 301, which assembles an onboard independent disk redundant array, may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input / output interfaces 358, and / or one or more operating systems 341.
[0113] The steps in the method for assembling an onboard independent disk redundant array described above can be implemented by the structure of the device assembling the onboard independent disk redundant array.
[0114] Corresponding to the above method embodiments, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, can perform the following steps:
[0115] The received independent disk redundancy array policy command is parsed to obtain the onboard independent disk redundancy array policy; wherein, the independent disk redundancy array policy command is a command sent by the command sending terminal after the server starts in the unified extensible firmware interface mode; the control request of the onboard independent disk redundancy array sent by the command sending terminal is received; the control of the onboard independent disk redundancy array is allocated to the command sending terminal so that the command sending terminal executes the onboard independent disk redundancy array policy.
[0116] The computer-readable storage medium may include various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0117] For a description of the computer-readable storage medium provided in this application, please refer to the above method embodiments; further details will not be repeated here.
[0118] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatuses, devices, and computer-readable storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section.
[0119] This document uses specific examples to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the technical solutions and core ideas of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
Claims
1. A method for assembling an onboard independent disk redundant array, characterized in that, Applications include complex programmable logic devices, including: The received independent disk redundancy array policy command is parsed to obtain the onboard independent disk redundancy array policy; wherein, the independent disk redundancy array policy command is a command sent by the command sending terminal after the server starts in the unified extensible firmware interface mode; the command sending terminal includes a basic input / output system and / or a baseboard management controller; Receive the control request for the onboard independent disk redundant array sent by the command sending terminal; The control of the onboard independent disk redundant array is assigned to the command sending terminal, so that the command sending terminal executes the onboard independent disk redundant array strategy. When the command sending terminal includes both the basic input / output system and the baseboard management controller, either the basic input / output system or the baseboard management controller can execute the onboard independent disk redundancy array strategy by starting normally. The process of receiving a control request for the onboard independent disk redundant array sent by the command sending terminal includes: The command sending terminal receives control request requests from each conversion chip of the onboard independent disk redundant array chip. Delegating control of the onboard independent disk redundant array to the command sending terminal includes: Control of each of the aforementioned conversion chips is assigned to the command sending terminal.
2. The method for assembling an onboard independent disk redundancy array according to claim 1, characterized in that, After obtaining the onboard independent disk redundant array strategy, and before assigning control of the onboard independent disk redundant array to the command sending terminal, the process further includes: Determine whether the onboard independent disk redundancy array strategy is correct; If so, then the step of assigning control of the onboard independent disk redundant array to the command sending terminal is performed; If not, output an error message indicating an error in the onboard independent disk redundant array strategy.
3. The method for assembling an onboard independent disk redundancy array according to claim 2, characterized in that, Determining whether the onboard independent disk redundancy array strategy is correct includes: When the onboard independent disk redundant array strategy is RAID1, obtain the number of hard disks in the onboard independent disk redundant array chip. Determine whether the number of hard drives is two.
4. The method for assembling an onboard independent disk redundancy array according to claim 1, characterized in that, The command sending terminal is a basic input / output system, which parses the received independent disk redundancy array strategy commands, including: The independent disk redundancy array strategy command received from the basic input / output system via the graphical interface is parsed.
5. The method for assembling an onboard independent disk redundancy array according to claim 1, characterized in that, The command sending terminal is a baseboard management controller, which parses the received independent disk redundancy array strategy commands, including: The independent disk redundancy array strategy command received from the baseboard management controller via the front-end interface is parsed.
6. The method for assembling an onboard independent disk redundancy array according to claim 1, characterized in that, After the command sending terminal executes the onboard independent disk redundancy array strategy, the following is also included: Check whether the hard drive group in the onboard independent disk redundant array chip has been successfully installed; If not, output a system fault message.
7. A device for assembling an onboard independent disk redundancy array, characterized in that, Applications include complex programmable logic devices, including: The strategy acquisition module is used to parse the received independent disk redundant array strategy command to obtain the onboard independent disk redundant array strategy; wherein, the independent disk redundant array strategy command is a command sent by the command sending terminal after the system starts in the unified extensible firmware interface mode; the command sending terminal includes a basic input / output system and / or a baseboard management controller; The request receiving module is used to receive the control request for the onboard independent disk redundant array sent by the command sending terminal; The strategy execution module is used to allocate control of the onboard independent disk redundant array to the command sending terminal, so that the command sending terminal executes the onboard independent disk redundant array strategy. When the command sending terminal includes both the basic input / output system and the baseboard management controller, either the basic input / output system or the baseboard management controller can execute the onboard independent disk redundancy array strategy by starting normally. The request receiving module is specifically a module that receives control requests from the onboard independent disk redundant array chip's various conversion chips sent by the command sending terminal. The strategy execution module is specifically designed to distribute control of each conversion chip to the command sending terminal.
8. A device for assembling an onboard independent disk redundant array, characterized in that, include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the method for assembling an onboard independent disk redundant array as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the method for assembling an onboard independent disk redundant array as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Hard disk state judging method and system
CN110377484A
Disk array RAID configuration system and method and storage medium
CN111708493A