CN114138204A - Initialization method and device of disk array, electronic equipment and storage medium - Google Patents

Initialization method and device of disk array, electronic equipment and storage medium Download PDF

Info

Publication number
CN114138204A
CN114138204A CN202111485643.6A CN202111485643A CN114138204A CN 114138204 A CN114138204 A CN 114138204A CN 202111485643 A CN202111485643 A CN 202111485643A CN 114138204 A CN114138204 A CN 114138204A
Authority
CN
China
Prior art keywords
disk array
initialization
load degree
task
array type
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.)
Withdrawn
Application number
CN202111485643.6A
Other languages
Chinese (zh)
Inventor
王志浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111485643.6A priority Critical patent/CN114138204A/en
Publication of CN114138204A publication Critical patent/CN114138204A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0683Plurality of storage devices
    • G06F3/0689Disk arrays, e.g. RAID, JBOD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to an initialization method and device of a disk array, electronic equipment and a storage medium, wherein the method comprises the following steps: receiving an initialization task of a disk array sent by a whole system; acquiring the disk array type of the disk array; if the disk array type is the preset disk array type, an initialization command is sent to the disk array to complete the initialization task, and when the disk array type is the preset disk array type, the initialization command is sent to the disk array to complete the initialization task.

Description

Initialization method and device of disk array, electronic equipment and storage medium
Technical Field
The present invention relates to the field of storage, and in particular, to an initialization method and apparatus for a disk array, an electronic device, and a computer storage medium.
Background
A disk array (RAID) has the meaning of an array with redundancy capability formed by independent Disks. The disk array is a disk group with huge capacity composed of a plurality of independent disks, and the performance of the whole disk system is improved by the additive effect generated by providing data by individual disks. With this technique, data is divided into a plurality of sectors, each of which is stored on a respective hard disk.
In order to ensure consistent striping and enable data in a stripe to meet the check algorithm rule, RAID initialization is required, and generally a full zero write mode is adopted. RAID initialization is usually performed by a complete machine system through an initialization IO (Input/Output), however, the initialization IO competes with a front-end service IO for CPU resources and a back-end bandwidth, and due to a problem of priority of an IO processing task, the initialization IO enters a background to be executed, occupies the CPU resources and the back-end bandwidth, and affects processing efficiency of the front-end IO service.
Disclosure of Invention
In order to solve the above technical problems, the present invention provides an initialization method, an initialization device, an electronic device, and a storage medium for a disk array, and the specific scheme is as follows:
in a first aspect, a method for initializing a disk array is provided, where the method is applied to an initialization management apparatus for a disk array, and the method includes:
receiving an initialization task of a disk array sent by a whole system;
acquiring the disk array type of the disk array;
and if the disk array type is a preset disk array type, sending an initialization command to the disk array to complete the initialization task.
In a preferred embodiment, if the preset disk array type is an open interface, the sending an initialization command to the disk array to complete the initialization task includes:
and sending a zero setting command to the disk array to complete the initialization task.
In a preferred embodiment, if the preset disk array type is not provided with an open interface but can communicate with an expansion module through a protocol, the sending an initialization command to the disk array to complete the initialization task includes:
and sending an initialization management instruction to an expansion module connected with the disk array so as to enable the expansion module to issue the initialization command to the disk array through a protocol.
In a preferred embodiment, the method further comprises:
if the disk array type is not the preset disk array type, issuing an initialization task notification to the whole machine system so that the whole machine system calls initialization input/output to complete the initialization task.
In a preferred embodiment, the method further comprises:
receiving the predicted load degree of the front-end service input/output sent by the whole machine system in real time;
determining the target load degree of the initialization input/output according to the predicted load degree;
and sending a load degree adjusting instruction containing the target load degree to the whole machine system, so that the whole machine system adjusts the current load degree of the initialization input/output to the target load degree after receiving the load degree adjusting instruction.
In a preferred embodiment, the determining the target load degree of the initialization input/output according to the predicted load degree further includes:
if the predicted load degree is larger than a predicted threshold value, the target load degree is smaller than or equal to a first load degree threshold value;
and if the predicted load degree is smaller than or equal to the predicted threshold, the target load degree is larger than or equal to a second load degree threshold.
In a preferred embodiment, the determining the target load degree of the initialization input/output according to the predicted load degree further includes:
and sending a bandwidth utilization rate management instruction for managing the bandwidth utilization rate from the expansion module to the rear end of the disk array to the whole machine system or the expansion module, so that the whole machine system or the expansion module adjusts the bandwidth utilization rate after receiving the bandwidth utilization rate management instruction.
In a second aspect, an initialization apparatus for a disk array is provided, and is applied to an initialization management apparatus for a disk array, the apparatus includes:
the receiving module is used for receiving the initialization task of the disk array sent by the whole system;
the acquisition module is used for acquiring the disk array type of the disk array;
and the management module is used for sending an initialization command to the disk array to complete the initialization task if the disk array type is a preset disk array type.
In a third aspect, an electronic device is provided, which includes:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform the method as previously described.
In a fourth aspect, a computer storage medium is provided, on which a computer program is stored, wherein the program, when executed by a processor, implements the method as described above.
In the invention, the initialization management device receives the initialization task of the disk array sent by the whole system, acquires the disk array type of the disk array, and sends the initialization command to the disk array when the disk array type is the preset disk array type, thereby completing the initialization task.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced 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 to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of an application environment of the initialization method of a disk array according to the present invention;
FIG. 2 is a flowchart of a method for initializing a disk array according to an embodiment of the present invention;
FIG. 3 is a flowchart of a method for initializing a disk array of different disk array types according to an embodiment of the present invention;
FIG. 4 is a diagram of an initialization apparatus for a disk array according to an embodiment of the present invention;
fig. 5 is an architecture diagram of an electronic device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the detailed description and specific examples, while indicating the scope of the invention, are intended for purposes of illustration only and are not intended to limit the scope of the invention.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "or/and" includes any and all combinations of one or more of the associated listed items.
As mentioned in the background art, currently, RAID initialization is usually completed by a complete machine system through an initialization IO (Input/Output), in this process, the initialization IO competes with a front-end service IO for CPU resources and a back-end bandwidth, and due to a problem of priority of an IO processing task, the initialization IO generally enters a background for execution, which may result in occupying the CPU resources and the back-end bandwidth on one hand and affecting processing efficiency of the front-end IO service on the other hand, when the pressure of the front-end IO service is high, the initialization time is long and affecting availability of the complete machine system. The invention provides an initialization management method and device of a disk array, electronic equipment and a storage medium.
Fig. 1 shows an application environment of the initialization method, device, electronic device and storage medium for a disk array in the present invention, which includes an initialization management device 101, a disk array 102, an expansion module 103, a whole system 104, an indication module 105, a wireless module 106, and a serial module 107. The complete machine system 104 may unload the RAID initialization task to the initialization management apparatus 101, and issue a write zero IO task by an instruction of the RAID initialization management module to complete the initialization task; an expansion module 103, which is located on the board card, and is generally a PCIe Switch (PCIe Switch, which is PCIe is peripheral component interconnect express, a high-speed Serial Computer expansion bus standard) or an SAS Expander (SAS Expander, where SAS is Serial Attached SCSI and SCSI is Small Computer System Interface), and is controlled by the initialization management device 101, and may complete an initialization task of a part of the disk array through a protocol instruction; a disk array 102, which is generally an SAS disk array or an NVME (Non Volatile Memory Host Controller Interface Specification) disk array, and is controlled by the initialization management device 101; the indication module 105 is located on the board card, is directly controlled by the serial port module 107, and externally indicates the real-time state of the current initialization management device 101; the wireless module 106 can convert serial port module signals into wireless signals such as WIFI (wireless fidelity), and can perform information interaction with the initialization management device 101 without using a physical serial port line; the serial port module 107 may perform information interaction, parameter presetting, and related function starting between the outside and the initialization management apparatus 101.
The initialization management apparatus 101 may communicate with the expansion module using TWI (Two wire Serial Interface, I2c bus Interface), UART (Universal Asynchronous Receiver/Transmitter), Ethernet (Ethernet), etc., and may also communicate with the disk array 102 using a low-speed bus such as I2C. The initialization management device 101 is configured to manage initialization of the disk array 102, on one hand, if the disk array type of the disk array 102 is a preset disk array type, the initialization management device 101 may directly send an initialization command to the disk array 102, so that the disk array 102 completes initialization operation, or the initialization management device 101 may also send an initialization management command to the expansion module 103, after receiving the initialization management command, the expansion module 103 sends the initialization command to the disk array 102, so that initialization of the disk array is completed, on the other hand, if the disk array type of the disk array 102, the initialization management device 101 issues an initialization task notification to the entire system 104, and the entire system 104 invokes an initialization IO, and completes an initialization task for the disk array 102 through the expansion module 103.
The initialization method, apparatus, electronic device and storage medium of the disk array in the present invention will be described with reference to the accompanying drawings.
As shown in fig. 2, a method for initializing a disk array is applied to an initialization management apparatus for a disk array, and the method includes:
s201, receiving an initialization task of the disk array sent by the whole system.
In this step, the whole system 104 unloads the initialization task of the disk array 102 to the disk array 102 initialization management module for execution, where the initialization task is a zero write operation on the disk array 102.
S202, acquiring the disk array type of the disk array.
In this step, after receiving the initialization task, the initialization management device 101 obtains the disk array types of the disk array, where the first type is an open interface and can directly communicate with the initialization management device 101, the second type is a disk array type that does not have an open interface but can communicate with the expansion module 103 through a protocol, and this way can be used for the initialization management device 101 to issue a management command to the expansion module 103, so that the expansion module 103 communicates with the disk array 102, and the third type is a disk array type that neither has an open interface nor can communicate with the expansion module 103 through a protocol, and the initialization management device 101 communicates with the whole system 104 to issue an initialization task notification to the whole system 104, and then the whole system communicates with the disk array through the expansion module.
And S203, if the disk array type is the preset disk array type, sending an initialization command to the disk array to complete an initialization task.
In this step, the preset disk array types are a first disk array 102 with an open interface and a second disk array 102 without an open interface and capable of communicating with the expansion module 103 through a protocol, and in both modes, the initialization management device 101 directly or indirectly sends an initialization command to the disk arrays.
In the invention, the initialization management device 101 receives an initialization task of a disk array sent by the whole system, acquires the disk array type of the disk array, and sends an initialization command to the disk array when the disk array type is a preset disk array type, so that the initialization task is completed, the whole system 104 does not need to complete the initialization task through an initialization IO (input/output), CPU (central processing unit) resources and the back-end bandwidth do not need to be occupied, and the problem of overlong initialization time caused by the background execution of the initialization task is avoided.
In a preferred embodiment, if the disk array type is preset to have an open interface, the sending the initialization command to the disk array to complete the initialization task includes:
and sending a zero setting command to the disk array to complete the initialization task.
In this embodiment, as shown in fig. 3, if the disk array type is a self-developed disk with an open interface, in this case, the disk array may be a self-developed disk with an open interface, the initialization management device 101 may communicate with the disk array 102 by using a low-speed bus such as I2C, and the initialization management device 101 directly sends an instruction command to the disk array to complete the initialization task.
In the present invention, if the disk array type is an open interface, the initialization management apparatus 101 directly sends a zero command to the disk array 102, which has a high initialization efficiency for this type of disk array.
In a preferred embodiment, if the disk array type is not configured with an open interface but can communicate with the expansion module through a protocol, the sending the initialization command to the disk array to complete the initialization task includes:
and sending an initialization management instruction to an expansion module connected with the disk array so that the expansion module issues an initialization command to the disk array through a protocol.
In this embodiment, as shown in fig. 3, if the disk array type does not have an open interface but can communicate with the expansion module through a protocol, the disk array 102 can communicate with the expansion module 103 through the protocol, and at this time, the initialization management apparatus 101 indirectly sends an initialization command to the disk array 102, specifically, the initialization management apparatus 101 sends an initialization management instruction to the expansion module 103 by communicating with the expansion module through TWI, UART, Ethernet, and the like, where the initialization management instruction may be in the form of a command frame, and after receiving the initialization management instruction, the expansion module 103 issues the initialization command to the disk array 102, thereby completing the initialization task.
Further, the disk array 102 that does not have an open interface but can communicate with the expansion module through a protocol may be divided into multiple types, if the disk array is NVME, the initialization management device 101 directly communicates with the PSX of the expansion module 103, so as to send the initialization management instruction to the expansion module 103, and if the disk array is SAS, the initialization management device 101 directly communicates with the operating system of the expansion module 103.
In the invention, if the disk array type is not provided with an open interface but can communicate with the expansion module through a protocol, the initialization management device 101 adopts an out-of-band management mode to send an initialization management instruction to the expansion module 103, and the expansion module 103 sends an initialization management command to the disk array 102, and the whole system 104 is not required to complete the initialization task through initialization IO, so that the CPU resources and the back-end bandwidth are not required to be occupied, and the problem of overlong initialization time caused by the background execution of the initialization task is also avoided.
In a preferred embodiment, the method further comprises:
if the disk array type is not the preset disk array type, an initialization task notification is issued to the whole machine system, so that the whole machine system calls initialization input/output to complete the initialization task.
Referring to fig. 3, if the disk array type is not the preset disk array type, that is, there is neither an open interface nor communication with the expansion module 103 through a protocol, the initialization management device 101 communicates with the entire system 104, and issues an initialization task notification to the entire system 104, and then the entire system communicates with the disk array through the expansion module.
In the present invention, the initialization management device 101 is suitable for initialization management of both a disk array of a preset disk array type and a disk array of a non-preset disk array type, and if the disk array type is not the preset disk array type, an initialization task notification is issued to the entire system, and the entire system completes the initialization task, so that the initialization management device 101 can be suitable for various types of disk arrays, and has a wide application range.
In a preferred embodiment, the method further comprises:
receiving the predicted load degree of the front-end service input/output sent by the whole system in real time;
determining a target load degree for initializing input/output according to the predicted load degree;
and sending a load degree adjusting instruction containing the target load degree to the whole machine system, so that the whole machine system adjusts the current load degree of the initialized input/output to the target load degree after receiving the load degree adjusting instruction.
In this embodiment, for the case that the disk array type is not the preset disk array type, since the initialization management device 101 issues an initialization task notification to the whole system 102 to enable the whole system to call initialization input/output, in order to minimize the influence on the input/output of the front-end service, the predicted load degree of the input/output of the front-end service of the whole system 104 is sent to the initialization management device 101 in real time, the initialization management device 101 determines the target load degree of the initialization input/output according to the predicted load degree and sends a load degree adjustment instruction containing the target load degree to the whole system, after receiving the load degree adjustment instruction, the whole system 104 adjusts the current load degree of the initialization input/output to the target load degree, thereby completing the real-time adjustment of the load degree of the initialization input/output, the initialization time is shortened as much as possible while the front-end service input/output is not influenced.
In a preferred embodiment, determining the target load level for initializing the input/output according to the predicted load level further comprises:
if the predicted load degree is greater than the predicted threshold, the target load degree is less than or equal to a first load degree threshold;
and if the predicted load degree is less than or equal to the predicted threshold, the target load degree is greater than or equal to the second load degree threshold.
In this embodiment, if the predicted load degree is greater than the predicted threshold, it indicates that the load degree of the front-end service input/output is too high, and there are many services being processed, at this time, the target load degree determined by the initialization management device 101 is not higher than the first load degree threshold, that is, not higher than the first load degree threshold, for example, the predicted threshold may be 30%, and the first load degree threshold is 65%.
If the predicted load degree is less than or equal to the predicted threshold, it indicates that the load degree of the front-end service input/output is not high, and the service being processed is less, at this time, the target load degree determined by the initialization management device 101 is not lower than the second load degree threshold, that is, greater than or equal to the first load degree threshold, for example, the predicted threshold may be 30%, and the second load degree threshold is 65%.
In the present invention, the initialization management device 101 determines different target load degree ranges according to the comparison of the predicted load degree with the predicted threshold, thereby avoiding occupying system CPU resources.
In a preferred embodiment, after determining the target load degree for initializing the input/output according to the predicted load degree, the method further includes:
and sending a bandwidth utilization rate management instruction for managing the bandwidth utilization rate from the expansion module to the rear end of the disk array to the whole system or the expansion module so that the whole system or the expansion module adjusts the bandwidth utilization rate after receiving the bandwidth utilization rate management instruction.
In this embodiment, in order to not affect the back-end bandwidth as much as possible, after determining the target load degree, the initialization management apparatus 101 further sends a bandwidth utilization rate management instruction for adjusting the back-end bandwidth utilization rate from the expansion module to the disk array to the complete system 104 or the expansion module 103, and the complete system or the expansion module adjusts the bandwidth utilization rate after receiving the bandwidth utilization rate management instruction, for example, if the target load degree is equal to or less than a first load degree threshold, the bandwidth utilization rate cannot be higher than a utilization rate threshold, the utilization rate threshold may be 95%, and if the target load degree is equal to or greater than a second load degree threshold, the bandwidth utilization rate may be 100%.
In the present invention, after determining the target load degree, the initialization management apparatus 101 further sends a bandwidth utilization management instruction for managing the bandwidth utilization from the expansion module to the back end of the disk array to the entire system or the expansion module, so as to adjust the bandwidth utilization and make the bandwidth utilization within an appropriate range.
As shown in fig. 4, the present invention further provides an initialization apparatus for a disk array, which is applied to an initialization management apparatus for a disk array, and the apparatus includes:
a receiving module 401, configured to receive an initialization task of a disk array sent by a complete machine system;
an obtaining module 402, configured to obtain a disk array type of a disk array;
the management module 403 is configured to send an initialization command to the disk array to complete an initialization task if the disk array type is the preset disk array type.
In a preferred embodiment, the disk array type is preset to have an open interface, and the management module 403 is further configured to send a zero command to the disk array to complete the initialization task.
In a preferred embodiment, the preset type of the disk array is not provided with an open interface but can communicate with the expansion module through a protocol, and the management module 403 is further configured to send an initialization management instruction to the expansion module connected to the disk array, so that the expansion module issues an initialization command to the disk array through the protocol.
In a preferred embodiment, the management module 403 is further configured to issue an initialization task notification to the complete machine system if the disk array type is not the preset disk array type, so that the complete machine system invokes initialization input/output to complete the initialization task.
In a preferred embodiment, the receiving module 401 is further configured to receive, in real time, a predicted load degree of front-end service input/output sent by the whole system; the device also comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a target load degree of the initialization input/output according to the predicted load degree; the management module is further used for sending a load degree adjusting instruction containing the target load degree to the whole machine system, so that the whole machine system adjusts the current load degree of the initialized input/output to the target load degree after receiving the load degree adjusting instruction.
In a preferred embodiment, the determining module is further configured to determine that the target load degree is equal to or less than a first load degree threshold if the predicted load degree is greater than the prediction threshold; and if the predicted load degree is less than or equal to the predicted threshold, the target load degree is greater than or equal to the second load degree threshold.
In a preferred embodiment, the management module 403 is further configured to send a bandwidth utilization management instruction for managing the backend bandwidth utilization of the expansion module to the disk array to the whole system or the expansion module, so that the whole system or the expansion module adjusts the bandwidth utilization after receiving the bandwidth utilization management instruction.
The initialization apparatus of a disk array in this embodiment corresponds to the initialization method of a disk array, and beneficial effects that can be achieved by the initialization apparatus of a disk array refer to the initialization method of a disk array, which are not described herein again.
The present invention also provides an electronic device, comprising:
one or more processors; and a memory associated with the one or more processors, where the memory is used to store program instructions, and the program instructions, when read and executed by the one or more processors, perform the method described above, and please refer to the description above for technical effects that can be achieved, which is not described herein again.
Fig. 5 illustrates an architecture of a computer system, which may specifically include a processor 510, a video display adapter 511, a disk drive 512, an input/output interface 513, a network interface 515, and a memory 520. The processor 510, the video display adapter 511, the disk drive 512, the input/output interface 513, the network interface 515, and the memory 520 may be communicatively connected by a communication bus 530.
The processor 510 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solution provided in the present Application.
The Memory 520 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 520 may store an operating system 521 for controlling the operation of the computer system 500, a Basic Input Output System (BIOS) for controlling low-level operations of the computer system 500. In addition, a web browser 523, a data storage management system 525, a device identification information processing system 525, and the like may also be stored. The device identification information processing system 525 may be an application program that implements the operations of the foregoing steps in this embodiment of the present application. In summary, when the technical solution provided in the present application is implemented by software or firmware, the relevant program codes are stored in the memory 520 and called to be executed by the processor 510.
The input/output interface 513 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The network interface 515 is used to connect a communication module (not shown in the figure) to enable the device to interact with other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 530 includes a path that transfers information between the various components of the device, such as processor 510, video display adapter 511, disk drive 512, input/output interface 513, network interface 515, and memory 520.
It should be noted that although the above devices only show the processor 510, the video display adapter 511, the disk drive 512, the input/output interface 513, the network interface 515, the memory 520, the bus 530, etc., in a specific implementation, the device may also include other components necessary for normal operation. Furthermore, it will be understood by those skilled in the art that the apparatus described above may also include only the components necessary to implement the solution of the present application, and not necessarily all of the components shown in the figures.
The invention also provides a computer storage medium for executing the initialization method of the disk array.
Embodiments of the invention include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means, or installed from the memory, or installed from the ROM. The computer program, when executed by a processor, performs the functions defined above in the method of embodiments of the invention.
It should be noted that the computer readable medium of the embodiments of the present invention may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present invention, however, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the server; or may exist separately and not be assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: when the peripheral mode of the terminal is detected to be not activated, acquiring a frame rate of an application on the terminal; when the frame rate meets the screen information condition, judging whether a user is acquiring the screen information of the terminal; and controlling the screen to enter an immediate dimming mode in response to the judgment result that the user does not acquire the screen information of the terminal.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, the system or system embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the descriptions of the method embodiments for related points. The above-described system and system embodiments are only illustrative, wherein the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The initialization method, device, electronic device and computer storage medium of the disk array provided by the invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation of the invention, and the description of the above embodiment is only used to help understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (10)

1. An initialization method of a disk array, which is applied to an initialization management device of the disk array, the method comprising:
receiving an initialization task of a disk array sent by a whole system;
acquiring the disk array type of the disk array;
and if the disk array type is a preset disk array type, sending an initialization command to the disk array to complete the initialization task.
2. The method according to claim 1, wherein the preset disk array type is an open interface, and the sending of the initialization command to the disk array to complete the initialization task comprises:
and sending a zero setting command to the disk array to complete the initialization task.
3. The method according to claim 1, wherein the preset disk array type is not provided with an open interface but can communicate with an expansion module through a protocol, and the sending an initialization command to the disk array to complete the initialization task comprises:
and sending an initialization management instruction to an expansion module connected with the disk array so as to enable the expansion module to issue the initialization command to the disk array through a protocol.
4. The method according to any one of claims 1 to 3, further comprising:
if the disk array type is not the preset disk array type, issuing an initialization task notification to the whole machine system so that the whole machine system calls initialization input/output to complete the initialization task.
5. The method of claim 4, further comprising:
receiving the predicted load degree of the front-end service input/output sent by the whole machine system in real time;
determining the target load degree of the initialization input/output according to the predicted load degree;
and sending a load degree adjusting instruction containing the target load degree to the whole machine system, so that the whole machine system adjusts the current load degree of the initialization input/output to the target load degree after receiving the load degree adjusting instruction.
6. The method of claim 5, wherein determining the target load level for the initialization input/output based on the predicted load level further comprises:
if the predicted load degree is larger than a predicted threshold value, the target load degree is smaller than or equal to a first load degree threshold value;
and if the predicted load degree is smaller than or equal to the predicted threshold, the target load degree is larger than or equal to a second load degree threshold.
7. The method of claim 5, wherein determining the target load level for initializing the input/output based on the predicted load level further comprises:
and sending a bandwidth utilization rate management instruction for managing the bandwidth utilization rate from the expansion module to the rear end of the disk array to the whole machine system or the expansion module, so that the whole machine system or the expansion module adjusts the bandwidth utilization rate after receiving the bandwidth utilization rate management instruction.
8. An initialization apparatus for a disk array, which is applied to an initialization management apparatus for a disk array, the apparatus comprising:
the receiving module is used for receiving the initialization task of the disk array sent by the whole system;
the acquisition module is used for acquiring the disk array type of the disk array;
and the management module is used for sending an initialization command to the disk array to complete the initialization task if the disk array type is a preset disk array type.
9. An electronic device, comprising:
one or more processors; and
a memory associated with the one or more processors for storing program instructions that, when read and executed by the one or more processors, perform the method of any of claims 1-7.
10. A computer storage medium, having a computer program stored thereon, wherein the program, when executed by a processor, implements the method of any of claims 1-7.
CN202111485643.6A 2021-12-07 2021-12-07 Initialization method and device of disk array, electronic equipment and storage medium Withdrawn CN114138204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111485643.6A CN114138204A (en) 2021-12-07 2021-12-07 Initialization method and device of disk array, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111485643.6A CN114138204A (en) 2021-12-07 2021-12-07 Initialization method and device of disk array, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114138204A true CN114138204A (en) 2022-03-04

Family

ID=80384784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111485643.6A Withdrawn CN114138204A (en) 2021-12-07 2021-12-07 Initialization method and device of disk array, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114138204A (en)

Similar Documents

Publication Publication Date Title
US10846160B2 (en) System and method for remote system recovery
US9858238B2 (en) Dual mode USB and serial console port
US10921870B2 (en) System and method for hybrid power supply
CN115547396B (en) Test method and device for eMMC
CN103154921A (en) Usb to i2c and spi bridge
CN113852564A (en) Server control method, device and medium
CN111603767A (en) Method, terminal and storage medium for adjusting resolution
US10115375B2 (en) Systems and methods for enabling a systems management interface with an alternate frame buffer
CN114003528A (en) OCP switching card, switching system and switching method
CN104699647A (en) Method and system for operating a dual chipset network interface controller
CN109144586A (en) A kind of driving adaptation method, device, computer equipment and storage medium
CN115733549B (en) PCIE network card, switching method of interface modes of PCIE network card, electronic equipment and storage medium
CN109542198B (en) Method and equipment for controlling power-on of PCIE card
CN114138204A (en) Initialization method and device of disk array, electronic equipment and storage medium
CN114185720B (en) Method, device, equipment and storage medium for dynamic hot backup of server
CN108958829B (en) Pre-loaded resource control method, device, storage medium and terminal
US20180074981A1 (en) Associating data buses and management bus connections for peripheral devices
CN112714420A (en) Network access method and device of wifi hotspot providing equipment and electronic equipment
CN111338861B (en) RSS-based network card performance test method, device, equipment and storage medium
CN111488123B (en) Storage space management method and device, storage medium and mobile terminal
US11782535B1 (en) Adaptive channel switching mechanism
CN117472289B (en) Storage configuration adjustment method, device, system, equipment and medium of server
CN114840460B (en) Hot plug processing method, storage medium, electronic equipment and processing system
US11513575B1 (en) Dynamic USB-C mode configuration
US20220413857A1 (en) Control of thunderbolt/displayport multiplexor for discrete usb-c graphics processor

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220304