CN117762529A - Method, device, equipment and medium for server batch disk array grouping - Google Patents

Method, device, equipment and medium for server batch disk array grouping Download PDF

Info

Publication number
CN117762529A
CN117762529A CN202311818422.5A CN202311818422A CN117762529A CN 117762529 A CN117762529 A CN 117762529A CN 202311818422 A CN202311818422 A CN 202311818422A CN 117762529 A CN117762529 A CN 117762529A
Authority
CN
China
Prior art keywords
raid
server
assembled
hard disk
information
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.)
Granted
Application number
CN202311818422.5A
Other languages
Chinese (zh)
Other versions
CN117762529B (en
Inventor
周明
陈鑫全
王春平
马振鹏
刘洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hexin Digital Technology Co ltd
Hexin Technology Co ltd
Original Assignee
Beijing Hexin Digital Technology Co ltd
Hexin 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 Beijing Hexin Digital Technology Co ltd, Hexin Technology Co ltd filed Critical Beijing Hexin Digital Technology Co ltd
Priority to CN202311818422.5A priority Critical patent/CN117762529B/en
Publication of CN117762529A publication Critical patent/CN117762529A/en
Application granted granted Critical
Publication of CN117762529B publication Critical patent/CN117762529B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the technical field of servers, and discloses a method, a device, equipment and a medium for server batch disk array grouping, wherein the method applied to equipment configuration comprises the following steps: adding a server address of the RAID to be assembled to communicate with the server; mounting a RAID tool to a server through an intelligent platform management interface; receiving a database table sent by a server, performing visual processing, and displaying all hard disk information of the RAID to be assembled currently; selecting a hard disk and RAID level of a preset RAID to be assembled, and sending an RAID assembling command to a server; and receiving the RAID execution result of the server group. The method for grouping the disk arrays in batches by the server is suitable for RAID cards with various types, breaks away from the limitations of manufacturers and server systems, and simply and quickly groups RAID in batches under the condition of complex platform scheme.

Description

Method, device, equipment and medium for server batch disk array grouping
Technical Field
The invention relates to the technical field of servers, in particular to a method, a device, equipment and a medium for server batch disk array grouping.
Background
In the field of servers, a method using a plurality of hard disk arrays (Redundant Arrays of Independent Disks, RAID) is widely used to improve the read/write rate, security, storage capacity, and the like of the entire hard disk system. The current common methods for RAID of server manufacturer groups include:
(1) The RAID of the integrated group of the baseboard management controller (Baseboard Management Controller, BMC) or basic input output system (Basic Input Output System, BIOS), the method has great difficulty in realization, long development and adaptation period, the RAID cards of different manufacturers and different models all need to be independently adapted, the method is complex, and the RAID of the batch group of a plurality of machines cannot be realized;
(2) After the operating system is installed, the RAID tool is uploaded into the operating system, the RAID tool must be completed on the operating system, the operating system is seriously dependent on the environment, technicians are required to manually upload the RAID tool, the operating system is limited by a network and a field environment, parameters such as a hard disk ID, a RAID level, a RAID capacity and the like are required to be manually input, and the operation is complex.
Because of the variety of RAID cards and hard disks, most of the current vendor group RAID schemes are limited by complex operating environments, so that the use difficulty is high and the time is long.
Disclosure of Invention
In view of the above, the present invention provides a method, apparatus, device and medium for server batch disk array grouping, so as to solve the problems of environment dependence, large difficulty and long time consumption in RAID grouping in the prior art.
In a first aspect, the present invention provides a method for server batch grouping of disk arrays, applied to a device side configuration, where the method includes:
adding a server address of the RAID to be assembled to communicate with the server;
mounting a RAID tool to a server through an intelligent platform management interface;
receiving a database table sent by a server, performing visual processing, and displaying all hard disk information of the RAID to be assembled currently;
selecting a hard disk and RAID level of a preset RAID to be assembled, and sending an RAID assembling command to a server;
and receiving the RAID execution result of the server group.
According to the method for grouping the disk arrays in batches by the server, the RAID tools are mounted on the BIOS of the server, so that the limitation of an operating system of the server is eliminated, the RAID tools are provided for manufacturers of RAID cards and correspond to the types of the RAID cards, a plurality of RAID tools can be adapted according to the types of the RAID cards, the limitation of the manufacturers is eliminated, and the RAID grouping command is configured and sent through the configuration equipment end, so that the simple and quick RAID grouping effect in batches is realized.
In an alternative embodiment, the server address includes: a server address or a plurality of server addresses.
The method for grouping the disk arrays in batches by the servers provided by the invention has no limit on the number of the servers, and can complete tasks of grouping RAID in batches by the server addresses, thereby reducing the workload.
In an alternative embodiment, the process of communicating with the server includes:
constructing the front end of the configuration equipment through a JavaScript programming language, and constructing the rear end of the configuration equipment through a Python programming language;
and adding a server address at the front end, generating a communication request and sending the communication request to the back end, so that the back end communicates with the server according to the communication request.
According to the method for server batch grouping of disk arrays, the front end is used for visually displaying the scheme of hard disk batch grouping RAID based on JavaScript, so that the method is convenient to set and view states, and is simple and convenient to operate.
In an alternative embodiment, the server address includes: the IP address of the server baseboard management controller or the hardware serial number of the server, and the IP address of the server independent display card.
The method for grouping the disk arrays in batches by the server provided by the invention has two modes of connecting the servers, and is more flexible to operate and use.
In an alternative embodiment of the present invention,
if the execution result is successful, displaying the current RAID state of the server;
if the execution result is failure, an error code or an error prompt is displayed.
According to the method for grouping the disk arrays in batches by the server, the execution result and the prompt information are displayed through the front end, so that the execution state can be conveniently known, faults can be processed more quickly through the prompt information, the problem is solved, and RAID is grouped more quickly and successfully.
In a second aspect, the present invention provides a device for server batch grouping of disk arrays, applied to a configuration device, where the device includes:
the communication module is used for adding a server-side address of RAID to be assembled so as to communicate with the server;
the RAID tool mounting module is used for mounting the RAID tool to the server through the intelligent platform management interface;
the hard disk information display module to be assembled is used for receiving the database table sent by the server, performing visual processing and displaying all hard disk information of the RAID to be assembled currently;
the command sending module is used for selecting a hard disk and RAID level of a preset RAID to be assembled and sending an RAID assembling command to the server;
and the execution result receiving module is used for receiving the execution result of the RAID of the server group.
According to the server batch RAID grouping device, RAID tools are mounted on the BIOS of the server, so that the limitation of an operating system of the server is eliminated, the RAID tools are provided for manufacturers of RAID cards and correspond to the types of the RAID cards, a plurality of RAID tools can be adapted according to the types of the RAID cards, the limitation of the manufacturers is eliminated, and the RAID grouping command is configured and sent through configuration equipment, so that the simple and rapid batch RAID grouping effect is realized.
In a third aspect, the present invention provides a method for server batch grouping of disk arrays, applied to a server, where the method includes:
the method comprises the steps of communicating with a configuration equipment end and receiving a request instruction for mounting a RAID tool;
after the RAID tool is mounted, RAID card information and all hard disk information of the RAID to be assembled are obtained through the RAID tool and uploaded to a database;
receiving a group RAID command, presetting hard disks and RAID level information of the RAID to be assembled, and executing the group RAID command according to the hard disks and the RAID level information of the RAID to be assembled;
and after the RAID group is completed, sending an execution result to the configuration equipment end.
According to the method for server batch grouping of the disk arrays, the configuration equipment end mounts the RAID tools on the BIOS of the server, the limitation of the server operating system is eliminated, the RAID tools are provided for manufacturers of RAID cards and correspond to the RAID card types, a plurality of RAID tools can be adapted according to the RAID card types, the limitation of the manufacturers is eliminated, batch grouping RAID commands are executed through petiboot shells of the server BIOS, and the task of batch grouping of RAID can be completed simply and quickly.
In a fourth aspect, the present invention provides a device for server batch grouping of disk arrays, applied to a server, where the device includes:
the instruction receiving module is used for communicating with the configuration equipment end and receiving a request instruction for mounting the RAID tool;
the information acquisition module is used for acquiring RAID card information and all hard disk information of the RAID to be assembled through the RAID tool after mounting the RAID tool, and uploading the RAID card information and all hard disk information to the database;
the command execution module is used for receiving a group RAID command, presetting hard disks and RAID level information of the RAID to be assembled, and executing the group RAID command according to the hard disks and the RAID level information of the RAID to be assembled;
and the execution result transmitting module is used for transmitting the execution result to the configuration equipment end after the RAID group is completed.
According to the server batch RAID grouping device, the configuration equipment end mounts RAID tools on the BIOS of the server, the limitation of the server operating system is eliminated, the RAID tools are provided for manufacturers of RAID cards and correspond to the types of the RAID cards, a plurality of RAID tools can be adapted according to the types of the RAID cards, the limitation of the manufacturers is eliminated, batch RAID grouping commands are executed through petiboot shells of the server BIOS, and batch RAID grouping tasks can be simply and quickly completed.
In a fifth aspect, the present invention provides a computer device comprising: the memory and the processor are in communication connection with each other, the memory stores computer instructions, the processor executes the computer instructions, thereby executing the server batch disk array method of the first aspect or any embodiment corresponding thereto, or executing the server batch disk array method of the third aspect or any embodiment corresponding thereto.
In a sixth aspect, the present invention provides a computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the server batch disk array method of the first aspect or any of the embodiments corresponding thereto, or for causing a computer to perform the server batch disk array method of the third aspect or any of the embodiments corresponding thereto.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a server batch disk array method applied to a configuration device according to an embodiment of the present invention;
FIG. 2 is a flow chart of another method for server batch disk array grouping according to an embodiment of the invention;
FIG. 3 is a schematic diagram of a configuration of a plurality of servers simultaneously communicating with a configuration device in a method for server batch disk array according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a server batch disk array apparatus applied to a configuration device according to an embodiment of the present invention;
FIG. 5 is a schematic flow chart of a server batch disk array method applied to a server according to an embodiment of the present invention;
FIG. 6 is a schematic diagram illustrating a structure of a server-side disk array device according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of data transmission directions in a server batch disk array method according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The embodiment of the invention provides a method for server batch RAID grouping, which is used for configuring servers through the front end and the back end of a configuration device end so as to achieve the effect of simply and quickly batch RAID grouping.
In accordance with an embodiment of the present invention, there is provided a method embodiment for server farm disk array, it being noted that the steps illustrated in the flowchart of the figures may be performed in a computer system, such as a set of computer executable instructions, and that although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order other than that illustrated herein.
In this embodiment, a method for server batch disk array grouping is provided, which may be used in the above-mentioned computer device, and fig. 1 is a flowchart of a method for server batch disk array grouping applied to a device side configuration, as shown in fig. 1, where the flowchart includes the following steps:
in step S101, a server address of the RAID to be set is added to communicate with the server.
Specifically, a Web front end is built at a configuration device end through JavaScript, a front end interface generates a component through utilizing a database of a JavaScript framework, the component comprises a text box capable of inputting a server address, and the server address to be added is input into the text box, so that communication with a server can be achieved. When the front end establishes communication with the server, an HTTP request is generated and sent to the back end, the back end is constructed through a Python programming language, the HTTP request sent by the front end is obtained through a request library, the transmission parameters of a flash url route mapping function in a flash application module are utilized, the response result of the HTTP request is successfully communicated with the server, and the response result is returned and displayed through the front end.
Step S102, mounting the RAID tool to a server through an intelligent platform management interface.
Specifically, after the configuration equipment end and the client server end successfully establish communication, a RAID tool is mounted to the server through an intelligent platform management interface (Intelligent Platform Management Interface, IPMI), the RAID tool is a binary executable file provided by a manufacturer and corresponding to a RAID card, the RAID tool is packaged into an ISO file, and the ISO file is directionally mounted to a petiboot shell of the server through an IPMI console.
The front end selects according to the actual RAID card model, then transmits information of the RAID card to the rear end, and after the rear end receives the information, the applicable RAID tool is mounted in the petiboot shell corresponding to the server address. The transmission direction is front end-back end-server end, the front end communicates back end depending on flash url route, and the back end issues RAID tool to the server through IPMI and Python subprocess module.
Step S103, receiving a database table sent by a server, performing visualization processing, and displaying all hard disk information of the RAID to be assembled currently.
Specifically, the server executes the command issued by the Python subprocess module in the petiboot shell, obtains the RAID card information and the hard disk information through the RAID tool, and uploads the RAID card information and the hard disk information to the database table. And the rear end reads the database table of the server through the IPMI, and displays all hard disk information of the RAID to be assembled through the front end after the visualization processing.
Step S104, selecting a hard disk and RAID level of the RAID to be set, and sending a RAID group command to the server.
Specifically, the hard disk of the preset RAID to be assembled is manually operated at the front end, and can be singly checked in batches, or can be checked in batches at one time, then the required RAID level is selected, RAID0, RAID1, RAID5, RAID10 and the like are selected, after checking, a RAID request of the group is issued to the rear end, and after the RAID request of the group is received at the rear end, a RAID command of the group is sent to the server.
Step S105, receiving the execution result of the server group RAID.
Specifically, a result of whether the server group RAID was successfully performed is received, along with a current RAID state.
According to the method for server batch grouping of the disk arrays, the RAID tools are mounted on the BIOS of the server, so that limitation of an operating system of the server is eliminated, the RAID tools are provided for manufacturers of RAID cards and correspond to the types of the RAID cards, a plurality of RAID tools can be adapted according to the types of the RAID cards, limitation of the manufacturers is eliminated, and a RAID grouping command is configured and sent through a configuration device end, so that simple and rapid batch RAID grouping effect is achieved.
In this embodiment, a method for server batch disk array grouping is provided, which may be used in the above-mentioned computer device, and fig. 2 is a flowchart of a method for server batch disk array grouping according to an embodiment of the present invention, as shown in fig. 2, where the flowchart includes the following steps:
step S201, adding server address of RAID to be assembled, realizing communication with server and sending response.
Specifically, the step S201 includes:
in step S2011, the front end of the configuration device is built through JavaScript programming language, and the back end of the configuration device is built through Python programming language. Illustratively, the front end and the back end of the configuration device perform data transmission through a flash url route, which is only used as an example, but not limited thereto.
In step S2012, the server address of the RAID to be assembled is added to the front end, a communication request is generated and sent to the back end, so that the back end communicates with the server according to the communication request.
The method includes the steps that a corresponding server address is manually added to a front-end interface, an HTTP communication request is generated and sent to a rear end, the number of the server addresses is greater than or equal to 1, a plurality of server addresses can be added at the same time or txt and excel tables containing the server addresses are uploaded, the server addresses are connected with a plurality of servers, setting is conducted respectively, RAID is batched, tasks of RAID is batched completed, and workload is reduced. As shown in fig. 3, a schematic structure of a plurality of servers simultaneously communicating with a configuration device is shown.
The server address includes: server BMC IP address or server hardware serial number and IP address at the configuration device. The server is connected in two modes, so that the operation and the use are more flexible.
According to the method for server batch grouping of disk arrays, the front end is used for visually displaying the scheme of the hard disk batch grouping RAID based on JavaScript, so that the method is convenient to set and view states, and is simple and convenient to operate.
Step S202, a RAID tool is mounted to a server through an intelligent platform management interface. Please refer to step S102 in the embodiment shown in fig. 1 in detail, which is not described herein.
Step S203, receiving a database table sent by a server, performing visualization processing, and displaying all hard disk information of the RAID to be assembled currently. Please refer to step S103 in the embodiment shown in fig. 1 in detail, which is not described herein.
Step S204, selecting a hard disk and RAID level of the RAID to be set, and sending a RAID command. Please refer to step S104 in the embodiment shown in fig. 1 in detail, which is not described herein.
In step S205, the execution result of the server group RAID is received.
Specifically, the step S205 includes:
in step S2051, if the execution result is successful, the current RAID state of the server is displayed.
In step S2052, if the execution result is failure, an error code or an error prompt is displayed.
According to the method for server batch grouping of disk arrays, the execution result and the prompt information are displayed through the front end, so that the execution state can be conveniently known, faults can be processed more quickly through the prompt information, the problem is solved, and RAID is grouped more quickly and successfully.
The embodiment also provides a device for server batch grouping of disk arrays, which is used for implementing the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The embodiment provides a device for server batch grouping of disk arrays, as shown in fig. 4, including:
and the communication module 401 is used for adding the server address of the RAID to be assembled so as to communicate with the server.
And the RAID tool mounting module 402 is used for mounting the RAID tool to the server through the intelligent platform management interface.
The hard disk information display module 403 to be assembled is configured to receive the database table sent by the server, perform visualization processing, and display all hard disk information of the current RAID to be assembled.
The command sending module 404 is configured to select a hard disk and a RAID level of a preset RAID to be assembled, and send an assembly RAID command to the server.
And the execution result receiving module 405 is configured to receive an execution result of the server group RAID.
In some alternative embodiments, the communication module 401 includes:
the configuration device constructing unit is used for constructing the front end of the configuration device through a JavaScript programming language and constructing the back end of the configuration device through a Python programming language.
And the address adding unit is used for adding the server address at the front end, generating a communication request and sending the communication request to the back end.
And the communication establishing unit is used for enabling the back end to communicate with the server according to the communication request.
In this embodiment, a method for server batch disk array grouping is provided, which may be used in the above-mentioned computer device, and fig. 5 is a flowchart of a method for server batch disk array grouping applied to a server side according to an embodiment of the present invention, as shown in fig. 5, where the steps of the method include:
step S501, the configuration device communicates with the configuration device and receives a request instruction for mounting a RAID tool.
Specifically, the server communicates with the back end of the configuration equipment end through IPMI and transmits data, and executes the instruction issued by the back end in the petiboot shell to finish the mounting of the RAID tool.
Step S502, after the RAID tool is mounted, RAID card information and all hard disk information of the RAID to be assembled are obtained through the RAID tool and uploaded to a database.
Specifically, the server executes a command issued by a back-end subsuppass function in the petiboot shell, obtains RAID card and hard disk information through a RAID tool, and uploads the RAID card and hard disk information to the database, so that corresponding information is conveniently transmitted to the configuration equipment end through the database.
Step S503, a group RAID command, a hard disk of a preset RAID to be assembled and RAID level information are received, and the group RAID command is executed according to the hard disk of the preset RAID to be assembled and the RAID level information.
Specifically, the relevant information of the group RAID is manually input through the front end of the configuration equipment end and is issued to the server, and the server executes the command of the group RAID after receiving the relevant information.
Step S504, after finishing the RAID group, sending the execution result to the configuration equipment end.
And if the current RAID state is wrong, the configuration equipment side is synchronously returned, and the configuration equipment side is displayed through a front-end interface, so that the problem can be quickly solved.
According to the method for server batch grouping of disk arrays, provided by the embodiment, the configuration equipment end mounts RAID tools on the BIOS of the server, the limitation of the server operating system is eliminated, the RAID tools are provided for manufacturers of RAID cards and correspond to the RAID card types, a plurality of RAID tools can be adapted according to the RAID card types, the limitation of the manufacturers is eliminated, batch grouping RAID commands are executed through petiboot shell of the server BIOS, and the task of batch grouping of RAID can be simply and rapidly completed.
The embodiment also provides a device for server batch grouping of disk arrays, which is applied to a server side, and the device is used for implementing the above embodiment and the preferred implementation, and is not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
The embodiment provides a device for server batch grouping of disk arrays, as shown in fig. 6, including:
the instruction receiving module 601 is configured to communicate with a configuration device side and receive a request instruction for mounting a RAID tool;
the information acquisition module 602 is configured to acquire, after mounting the RAID tool, RAID card information and all hard disk information of the RAID to be assembled through the RAID tool, and upload the RAID card information and all hard disk information to the database;
a command execution module 603, configured to receive a group RAID command, hard disk and RAID level information of a preset RAID to be assembled, and execute the group RAID command according to the hard disk and RAID level information of the preset RAID to be assembled;
and the execution result sending module 604 is configured to send the execution result to the configuration device after completing the group RAID.
In this embodiment, a method for server batch disk array grouping is provided, which may be used in the above-mentioned computer device, and fig. 7 is a flowchart of a method for server batch disk array grouping according to an embodiment of the present invention, and as shown in fig. 7, the steps of the method include:
in step S701, a server address of the RAID to be set is added to communicate with the server. Please refer to step S101 in the embodiment shown in fig. 1 in detail, which is not described herein.
In step S702, a RAID tool is mounted to a server through an intelligent platform management interface. Please refer to step S102 in the embodiment shown in fig. 1 in detail, which is not described herein.
Step S703, communicating with the configuration device side and receiving a request instruction for mounting the RAID tool. Please refer to step S501 in the embodiment shown in fig. 5 in detail, which is not described herein.
Step S704, after the RAID tool is mounted, RAID card information and all hard disk information of the RAID to be assembled are obtained through the RAID tool and uploaded to a database. Please refer to step S502 in the embodiment shown in fig. 5 in detail, which is not described herein.
Step S705, receiving the database table sent by the server, performing visualization processing, and displaying all hard disk information of the RAID to be assembled currently. Please refer to step S103 in the embodiment shown in fig. 1 in detail, which is not described herein.
Step S706, selecting a hard disk and RAID level of the preset RAID to be assembled, and sending an RAID assembling command to the server. Please refer to step S104 in the embodiment shown in fig. 5, which is not described herein.
Step S707, a group RAID command, hard disks of the preset RAID to be group and RAID level information are received, and the group RAID command is executed according to the hard disks of the preset RAID to be group and the RAID level information. Please refer to step S503 in the embodiment shown in fig. 5 in detail, which is not described herein.
Step S708, after finishing the RAID group, sending the execution result to the configuration equipment end. Please refer to step S504 in the embodiment shown in fig. 5 in detail, which is not described herein.
In step S709, the execution result of the server group RAID is received. Please refer to step S105 in the embodiment shown in fig. 1 in detail, which is not described herein.
Further functional descriptions of the above respective modules and units are the same as those of the above corresponding embodiments, and are not repeated here.
The server farm disk array apparatus in this embodiment is presented in the form of functional units, where the units are ASIC (Application Specific Integrated Circuit ) circuits, processors and memory executing one or more software or firmware programs, and/or other devices that can provide the functionality described above.
The embodiment of the invention also provides a computer device which is provided with the server batch group disk array device shown in the figure 4 or the figure 6.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a computer device according to an alternative embodiment of the present invention, as shown in fig. 8, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting the various components, including high-speed interfaces and low-speed interfaces. The various components are communicatively coupled to each other using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions executing within the computer device, including instructions stored in or on memory to display graphical information of the GUI on an external input/output device, such as a display device coupled to the interface. In some alternative embodiments, multiple processors and/or multiple buses may be used, if desired, along with multiple memories and multiple memories. Also, multiple computer devices may be connected, each providing a portion of the necessary operations (e.g., as a server array, a set of blade servers, or a multiprocessor system). One processor 10 is illustrated in fig. 8.
The processor 10 may be a central processor, a network processor, or a combination thereof. The processor 10 may further include a hardware chip, among others. The hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general-purpose array logic, or any combination thereof.
Wherein the memory 20 stores instructions executable by the at least one processor 10 to cause the at least one processor 10 to perform the methods shown in implementing the above embodiments.
The memory 20 may include a storage program area that may store an operating system, at least one application program required for functions, and a storage data area; the storage data area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid-state storage device. In some alternative embodiments, memory 20 may optionally include memory located remotely from processor 10, which may be connected to the computer device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
Memory 20 may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as flash memory, hard disk, or solid state disk; the memory 20 may also comprise a combination of the above types of memories.
The computer device also includes a communication interface 30 for the computer device to communicate with other devices or communication networks.
The embodiments of the present invention also provide a computer readable storage medium, and the method according to the embodiments of the present invention described above may be implemented in hardware, firmware, or as a computer code which may be recorded on a storage medium, or as original stored in a remote storage medium or a non-transitory machine readable storage medium downloaded through a network and to be stored in a local storage medium, so that the method described herein may be stored on such software process on a storage medium using a general purpose computer, a special purpose processor, or programmable or special purpose hardware. The storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, a solid state disk or the like; further, the storage medium may also comprise a combination of memories of the kind described above. It will be appreciated that a computer, processor, microprocessor controller or programmable hardware includes a storage element that can store or receive software or computer code that, when accessed and executed by the computer, processor or hardware, implements the methods illustrated by the above embodiments.
Although embodiments of the present invention have been described in connection with the accompanying drawings, various modifications and variations may be made by those skilled in the art without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method for server batch grouping of disk arrays is applied to a configuration device side, and is characterized by comprising the following steps:
adding a server address of the RAID to be assembled so as to communicate with the server;
mounting a RAID tool to a server through an intelligent platform management interface;
receiving a database table sent by the server, performing visualization processing, and displaying all hard disk information of the RAID to be assembled currently;
selecting a hard disk and RAID level of a preset RAID to be assembled, and sending an RAID assembling command to the server;
and receiving an execution result of the RAID of the server group.
2. The method of claim 1, wherein the server address comprises: a server address or a plurality of server addresses.
3. The method according to claim 1 or 2, wherein the process of communicating with the server comprises:
constructing the front end of the configuration equipment through a JavaScript programming language, and constructing the rear end of the configuration equipment through a Python programming language;
and adding a server address to the front end, generating a communication request and sending the communication request to the back end, so that the back end communicates with the server according to the communication request.
4. The method according to claim 1 or 2, wherein the server address comprises: the IP address of the server baseboard management controller or the hardware serial number of the server, and the IP address of the server independent display card.
5. The method according to claim 1, wherein the method further comprises:
if the execution result is successful, displaying the current RAID state of the server;
and if the execution result is failure, displaying an error code or an error prompt.
6. An apparatus for server batch grouping of disk arrays, applied to a configuration device, is characterized in that the apparatus comprises:
the communication module is used for adding a server address of RAID to be assembled so as to communicate with the server;
the RAID tool mounting module is used for mounting the RAID tool to the server through the intelligent platform management interface;
the hard disk information display module to be assembled is used for receiving the database table sent by the server, performing visual processing and displaying all hard disk information of the RAID to be assembled currently;
the command sending module is used for selecting a hard disk and RAID level of a preset RAID to be assembled and sending an RAID assembling command to the server;
and the execution result receiving module is used for receiving the execution result of the RAID of the server group.
7. A method for server batch grouping of disk arrays is applied to a server side, and is characterized by comprising the following steps:
the method comprises the steps of communicating with a configuration equipment end and receiving a request instruction for mounting a RAID tool;
after the RAID tool is mounted, acquiring RAID card information and all hard disk information of the RAID to be assembled through the RAID tool and uploading the RAID card information and all hard disk information to a database;
receiving a group RAID command, a hard disk of a preset RAID to be assembled and RAID level information, and executing the group RAID command according to the hard disk of the preset RAID to be assembled and the RAID level information;
and after the RAID group is completed, sending an execution result to the configuration equipment end.
8. A device for server batch grouping of disk arrays, applied to a server side, the device comprising:
the instruction receiving module is used for communicating with the configuration equipment end and receiving a request instruction for mounting the RAID tool;
the information acquisition module is used for acquiring RAID card information and all hard disk information of RAID to be assembled through the RAID tool after mounting the RAID tool, and uploading the RAID card information and all hard disk information to the database;
the command execution module is used for receiving a group RAID command, a hard disk of a preset RAID to be assembled and RAID level information, and executing the group RAID command according to the hard disk of the preset RAID to be assembled and the RAID level information;
and the execution result transmitting module is used for transmitting the execution result to the configuration equipment end after the RAID group is completed.
9. A computer device, comprising:
a memory and a processor communicatively coupled to each other, the memory having stored therein computer instructions that, upon execution, perform the method of any of claims 1-5 Or performing the method of claim 7.
10. A computer-readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1 to 5 Or for causing a computer to perform the method of claim 7.
CN202311818422.5A 2023-12-26 2023-12-26 Method, device, equipment and medium for server batch disk array grouping Active CN117762529B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311818422.5A CN117762529B (en) 2023-12-26 2023-12-26 Method, device, equipment and medium for server batch disk array grouping

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311818422.5A CN117762529B (en) 2023-12-26 2023-12-26 Method, device, equipment and medium for server batch disk array grouping

Publications (2)

Publication Number Publication Date
CN117762529A true CN117762529A (en) 2024-03-26
CN117762529B CN117762529B (en) 2024-06-21

Family

ID=90325397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311818422.5A Active CN117762529B (en) 2023-12-26 2023-12-26 Method, device, equipment and medium for server batch disk array grouping

Country Status (1)

Country Link
CN (1) CN117762529B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080046647A1 (en) * 2006-08-15 2008-02-21 Katherine Tyldesley Blinick Apparatus, system, and method for integrating multiple raid storage instances within a blade center
CN102176198A (en) * 2008-06-30 2011-09-07 枢轴3公司 Method and system for execution of applications in conjunction with raid
CN102830942A (en) * 2012-06-28 2012-12-19 记忆科技(深圳)有限公司 Method for mapping disk array of solid hard disk and solid hard disk
CN104253705A (en) * 2013-06-28 2014-12-31 杭州东方通信软件技术有限公司 One-click automatic batched AC equipment configuration method
CN104360883A (en) * 2014-11-12 2015-02-18 浪潮(北京)电子信息产业有限公司 Method and system for configuring Raid (Redundant array of independent disks)
CN108062229A (en) * 2018-01-02 2018-05-22 郑州云海信息技术有限公司 A kind of method of batch updating Seagate hard disk firmware under linux system
CN108733326A (en) * 2018-05-25 2018-11-02 郑州云海信息技术有限公司 A kind of disk processing method and processing device
CN110175146A (en) * 2019-04-13 2019-08-27 深圳市同泰怡信息技术有限公司 Hard disk information acquisition methods and the device for obtaining hard disk information
CN114442930A (en) * 2021-12-23 2022-05-06 苏州浪潮智能科技有限公司 Method and device for controlling group disk array, electronic equipment and readable storage medium
CN115421749A (en) * 2022-08-26 2022-12-02 苏州浪潮智能科技有限公司 Hard disk firmware refreshing method, system, device and medium based on Linux system
CN116720462A (en) * 2023-06-13 2023-09-08 山东云海国创云计算装备产业创新中心有限公司 Device, method and equipment for constructing chip simulation system and chip simulation system
CN117112288A (en) * 2023-10-16 2023-11-24 苏州元脑智能科技有限公司 Disk array verification method and device, storage medium and electronic equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080046647A1 (en) * 2006-08-15 2008-02-21 Katherine Tyldesley Blinick Apparatus, system, and method for integrating multiple raid storage instances within a blade center
CN102176198A (en) * 2008-06-30 2011-09-07 枢轴3公司 Method and system for execution of applications in conjunction with raid
CN102830942A (en) * 2012-06-28 2012-12-19 记忆科技(深圳)有限公司 Method for mapping disk array of solid hard disk and solid hard disk
CN104253705A (en) * 2013-06-28 2014-12-31 杭州东方通信软件技术有限公司 One-click automatic batched AC equipment configuration method
CN104360883A (en) * 2014-11-12 2015-02-18 浪潮(北京)电子信息产业有限公司 Method and system for configuring Raid (Redundant array of independent disks)
CN108062229A (en) * 2018-01-02 2018-05-22 郑州云海信息技术有限公司 A kind of method of batch updating Seagate hard disk firmware under linux system
CN108733326A (en) * 2018-05-25 2018-11-02 郑州云海信息技术有限公司 A kind of disk processing method and processing device
CN110175146A (en) * 2019-04-13 2019-08-27 深圳市同泰怡信息技术有限公司 Hard disk information acquisition methods and the device for obtaining hard disk information
CN114442930A (en) * 2021-12-23 2022-05-06 苏州浪潮智能科技有限公司 Method and device for controlling group disk array, electronic equipment and readable storage medium
CN115421749A (en) * 2022-08-26 2022-12-02 苏州浪潮智能科技有限公司 Hard disk firmware refreshing method, system, device and medium based on Linux system
CN116720462A (en) * 2023-06-13 2023-09-08 山东云海国创云计算装备产业创新中心有限公司 Device, method and equipment for constructing chip simulation system and chip simulation system
CN117112288A (en) * 2023-10-16 2023-11-24 苏州元脑智能科技有限公司 Disk array verification method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN117762529B (en) 2024-06-21

Similar Documents

Publication Publication Date Title
US11140241B2 (en) IoT hardware certification
CN106598903B (en) Method and device for adjusting parameters of driver chip
EP0504866A2 (en) Programmable controller processor with a removable function card
US20150149684A1 (en) Handling two ses sidebands using one smbus controller on a backplane controller
CN106557405B (en) Server cabinet monitoring method
CN103176913B (en) Hard disk method for mapping dynamically and the server applying it
CN107078806A (en) Optical transceiver apparatus and method
CN112912885A (en) Interface connection for printed circuit board schematic
CN115904251A (en) Hard disk sequence adjusting method, device, system, electronic equipment and storage medium
CN103412838B (en) A kind of expanding system, communication means, address configuration method, equipment and device
CN117762529B (en) Method, device, equipment and medium for server batch disk array grouping
CN116166855A (en) Method and device for identifying serial numbers of hard disks
CN113835762B (en) Method and system for updating default configuration of hard disk backboard
US20190108110A1 (en) System and method for automated integration and stress testing of hardware and software service in management controller using containerized toolbox
CN111694300B (en) Automatic configuration method and device for control panel input and output ports
CN114238019A (en) Hard disk display method, device, equipment and medium
US10657297B2 (en) Part number consolidation in printed circuit board assembly design
CN117278355B (en) Master-slave communication system, control method of master-slave communication system, and computer device
CN111026428A (en) System and method capable of simultaneously remotely updating FPGA firmware programs in multiple board cards on line
CN116737513B (en) Computer hardware information acquisition method, system and computer equipment
CN114138352B (en) Board type identification method, device, equipment and readable storage medium
CN114121138B (en) Memory voltage testing method, device, computing equipment and system
CN116756077A (en) Backboard CPLD configuration circuit, CFM updating method and equipment
CN118033369A (en) Board card testing method and device, computer equipment and storage medium
CN117081964A (en) Data forwarding test method, device, data forwarding device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant