CN113986271A - Method, device and equipment for automatically creating RAID (redundant array of independent disks) in system installation process - Google Patents

Method, device and equipment for automatically creating RAID (redundant array of independent disks) in system installation process Download PDF

Info

Publication number
CN113986271A
CN113986271A CN202111405136.7A CN202111405136A CN113986271A CN 113986271 A CN113986271 A CN 113986271A CN 202111405136 A CN202111405136 A CN 202111405136A CN 113986271 A CN113986271 A CN 113986271A
Authority
CN
China
Prior art keywords
raid
server
configuration
target
customized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111405136.7A
Other languages
Chinese (zh)
Inventor
杨众
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd Chengdu Branch
Original Assignee
New H3C Technologies Co Ltd Chengdu Branch
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 New H3C Technologies Co Ltd Chengdu Branch filed Critical New H3C Technologies Co Ltd Chengdu Branch
Priority to CN202111405136.7A priority Critical patent/CN113986271A/en
Publication of CN113986271A publication Critical patent/CN113986271A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • 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
    • G06F3/0611Improving I/O performance in relation to response time
    • 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/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems
    • 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)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a device and equipment for automatically creating RAID (redundant array of independent disks) in the process of installing a system, wherein the method comprises the following steps: running a customized system image in a guide system, and reading environment parameters of a server through an automatic response file in the customized system image, wherein the environment parameters at least comprise a server machine type, RAID card information and disk type capacity; searching a matched target RAID script and a target RAID configuration tool in a preset path of the customized system mirror image based on the environmental parameters, wherein the preset path comprises RAID scripts and RAID configuration tools corresponding to various environmental parameters; a RAID is created based on the target RAID script and the target RAID configuration tool. The technical scheme provided by the invention saves the step of manually re-analyzing various servers before configuring the RAID, and improves the efficiency of configuring the RAID.

Description

Method, device and equipment for automatically creating RAID (redundant array of independent disks) in system installation process
Technical Field
The invention relates to the field of RAID configuration, in particular to a method, a device and equipment for automatically creating RAID in the process of installing a system.
Background
With the requirements of the current industry on data safety, reliability and read-write performance. At present, a RAID (Redundant Array of Independent Disks, disk Array for short) technology is used on a large scale on a server to meet related requirements, and most of the technology is implemented by using a RAID card. It is common practice in the server installation operating system industry to install the operating system on RAID1 composed of two disks, and in addition, there are various types of RAID0, RAID3, RAID4, and the like. Therefore, before installing the system, RAID needs to be created on the physical disk in advance, and in the prior art, RAID often needs to be manually created under the BIOS, including creating RAID with a specified specification on the system disk and other data disks as required, and then entering the boot system to install the operating system. Or a RAID automatic configuration tool, a configuration script, and an operating system image required for installing an operating system are downloaded on a TFTP (simple File Transfer Protocol) server through a PXE (pre-execution Environment) network, and a RAID with a specified specification is created for a system disk and other data disks as needed before the operating system is installed, but at present, the model, the RAID card, and the disk model of a server of each enterprise and unit are not unified, and the types are various, so that the BIOS needs to be manually re-analyzed to use a scene to re-configure the BIOS or create a new RAID configuration tool for each RAID configuration of different enterprises and units. Therefore, how to improve the efficiency of configuring RAID is an urgent problem to be solved.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and a device for automatically creating a RAID in a system installation process, so that a step of manually reanalyzing various servers before configuring a RAID is saved, and efficiency of configuring a RAID is improved.
According to a first aspect, the present invention provides a method for automatically creating RAID during system installation, the method comprising: running a customized system image in a guide system, and reading environment parameters of a server through an automatic response file in the customized system image, wherein the environment parameters at least comprise a server machine type, RAID card information and disk type capacity; searching a matched target RAID script and a target RAID configuration tool in a preset path of the customized system image based on the environmental parameters, wherein the preset path comprises RAID scripts and RAID configuration tools corresponding to a plurality of environmental parameters; and creating the RAID based on the target RAID script and the target RAID configuration tool.
Optionally, the step of generating the customized system image includes: acquiring various environmental parameters, and generating RAID scripts and RAID configuration tools corresponding to the various environmental parameters; adding a code for automatically creating the RAID to a pre-installation link code segment in an automatic response file, wherein the code for automatically creating the RAID is used for reading the environment parameters of a server and calling various RAID scripts and RAID configuration tools; storing various RAID scripts and RAID configuration tools into a preset path of the customized system mirror image; and storing the automatic response file into a root directory of the customized system mirror image, and completing the encapsulation of the customized system mirror image.
Optionally, the reading, by the auto-answer file in the customized system image, an environment parameter of the server includes: and reading a preinstalled link code segment of the automatic response file, and reading the environment parameters when running to the code for automatically creating the RAID.
Optionally, the creating a RAID based on the target RAID script and the target RAID configuration tool includes: acquiring a configuration strategy in the target RAID script, wherein the configuration strategy is used for configuring a disk in a server into a disk array of a type supported by the server; and calling the target RAID configuration tool to create the RAID according to the configuration strategy.
Optionally, before the running the customized system image in the boot system, the method further comprises:
downloading the customized system image from the TFTP server over the PXE network.
According to a second aspect, the present invention provides an apparatus for automatically creating RAID during installation of a system, the apparatus comprising: the system comprises an information acquisition module, a data acquisition module and a data processing module, wherein the information acquisition module is used for running a customized system mirror image in a guide system and reading environment parameters of a server through an automatic response file in the customized system mirror image, and the environment parameters at least comprise a server machine type, RAID card information and disk type capacity; the pattern matching module is used for searching matched target RAID scripts and target RAID configuration tools in a preset path of the customized system mirror image based on the environment parameters, wherein the preset path comprises RAID scripts and RAID configuration tools corresponding to a plurality of environment parameters; and the RAID creation module is used for creating RAID on the server based on the target RAID script and the target RAID configuration tool.
Optionally, the apparatus further comprises: and the PXE network module is used for downloading the customized system image from the TFTP server through the PXE network.
Optionally, the RAID creation module includes: a policy obtaining module, configured to obtain a configuration policy in the target RAID script, where the configuration policy is used to configure a disk in a server into a disk array of a type supported by the server; and the configuration module is used for calling the target RAID configuration tool to create the RAID according to the configuration strategy.
According to a third aspect, an embodiment of the present invention provides an apparatus for automatically creating a RAID in a system installation process, including: a memory and a processor, the memory and the processor being communicatively coupled to each other, the memory having stored therein computer instructions, and the processor performing the method of the first aspect, or any one of the optional embodiments of the first aspect, by executing the computer instructions.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions for causing a computer to thereby perform the method of the first aspect, or any one of the optional implementation manners of the first aspect.
The technical scheme provided by the application has the following advantages:
according to the technical scheme, a customized system image is operated in a guide system, unattended installation of an operating system is carried out through an automatic response file in the customized system image, when the automatic response file is operated to a specified code segment, environment parameters of a server are read, matched target RAID scripts and target RAID configuration tools are searched in a plurality of RAID configuration scripts and configuration tools pre-stored in the customized system image according to the environment parameters, RAID is created by using the target RAID scripts and the target RAID configuration tools, and after RAID is created, the operating system continues to complete installation. In the installation process of the operating system, the unattended installation function can be realized by means of the automatic response file, RAID configuration strategies (namely RAID scripts) and related tools required by various servers are stored in the customized mirror image in advance, so that the servers can automatically extract the RAID scripts and the RAID configuration tools required by the servers, RAID configuration is automatically completed by means of the configuration tools in a script running mode, the step of manually analyzing the servers again before RAID configuration is saved, and the efficiency of RAID configuration is improved.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and not to be construed as limiting the invention in any way, and in which:
FIG. 1 is a schematic diagram illustrating steps of a method for automatically creating a RAID during system installation according to one embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating an apparatus for automatically creating RAID during system installation according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for automatically creating RAID in a process of installing a system according to an embodiment of the present invention.
Detailed Description
In order to make 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 described clearly and completely with reference to the accompanying drawings of the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Referring to fig. 1, in an embodiment, a method for automatically creating a RAID in a system installation process includes the following steps:
step S101: and running a customized system image in the guide system, and reading the environment parameters of the server through an automatic response file in the customized system image, wherein the environment parameters at least comprise the type of the server, RAID card information and the type capacity of a disk.
Step S102: and searching a matched target RAID script and a target RAID configuration tool in a preset path of the customized system mirror image based on the environmental parameters, wherein the preset path comprises RAID scripts and RAID configuration tools corresponding to various environmental parameters.
Step S103: a RAID is created based on the target RAID script and the target RAID configuration tool.
Specifically, in order to avoid manually configuring a large amount of information, unattended installation is performed through an automatic response file, which is also called an unattended file in a Windows environment and ends in xml, and in a linux environment, the automatic response file is a Kickstart file. After the configuration of the automatic response file is completed, the automatic response file is usually placed under a root directory of an operating system image, or placed under a root directory of a certain disk and then the address of the automatic response file is stored in the root directory of the operating system, so that when the operating system image is operated, equipment such as a computer or a server and the like finds the automatic response file, and a relevant unattended installation step can be started at the first time. In this embodiment, by means of the functional characteristics of the auto-answer file, a code for automatically creating a RAID is added to the pre-installation link code segment in the auto-answer file, so that when the server reads a code instruction for creating a RAID in the pre-installation code segment of the auto-answer file during the running of the auto-answer file, the RAID configuration is performed first before the operating system image is installed. Because server brands, RAID card information (including but not limited to manufacturers and models) and disk type capacities are various, and RAID configuration strategies supported by different types of equipment are also different, when a server reads a code instruction for creating a RAID in a preinstallation link, the server first reads environmental parameters such as the brands, the manufacturers and the models of the RAID cards, the disk type capacities and the like of the current server. And then searching the RAID script and the RAID configuration tool matched with the environmental parameters in a preset path (namely a specified file directory) of the customized image according to the environmental parameters. In this embodiment, most of different types of RAID scripts and RAID configuration tools required for configuring a RAID by using a server, a RAID card, and a disk are stored in advance in a preset path of the customized image. Therefore, when the server finds the RAID configuration script and the RAID configuration tool which are suitable for the current server equipment through the environment parameters, the corresponding RAID configuration script and the RAID configuration tool are directly called to configure the preset RAID strategy on the plurality of specified disks, so that the automatic creation of the RAID is completed, then the server loads the operating system for installation, and finally the server is restarted to complete the installation of the operating system. Through the steps, RAID configuration can be realized by one key to establish RAID for most types of servers without manual operation or PXE network through various prestored RAID scripts and RAID configuration tools, hardware equipment does not need to be analyzed in advance, and RAID establishment efficiency is greatly improved.
Specifically, in one embodiment, the specific step of generating the customized system image includes:
the method comprises the following steps: and acquiring various environmental parameters, and generating RAID scripts and RAID configuration tools corresponding to the various environmental parameters.
Step two: and adding a code for automatically creating the RAID to a pre-installation link code segment in the automatic response file, wherein the code for automatically creating the RAID is used for reading the environment parameters of the server and calling various RAID scripts and RAID configuration tools.
Step three: and storing various RAID scripts and RAID configuration tools into a preset path of the customized system mirror image.
Step four: and storing the automatic response file into a root directory of the customized system mirror image, and completing the encapsulation of the customized system mirror image.
Specifically, the detailed principle description may refer to step S101 to step S103, which are not described herein again.
Specifically, in an embodiment, the step S101 specifically includes the following steps:
step five: and reading a preinstalled link code segment of the automatic response file, and reading the environment parameters when running to a code for automatically creating the RAID. Specifically, the automatic answer file is divided into two parts, namely before the mirror image is installed and after the mirror image is installed, so that a code for automatically creating the RAID is added to a pre-installation link code segment of the automatic answer file, when the automatic answer file is operated, a code instruction for creating the RAID can be read before the operating system mirror image is installed, the automatic creation work of the RAID is executed first, and the first step is started to read the environment parameters of the server.
Specifically, in an embodiment, the step S103 specifically includes the following steps:
step six: and acquiring a configuration strategy in the target RAID script, wherein the configuration strategy is used for configuring the disks in the server into a disk array of a server support type.
Step seven: and calling a target RAID configuration tool according to the configuration strategy to create the RAID.
Specifically, after the target RAID script and the target RAID configuration tool which are needed are searched in the customized mirrored preset path, the target RAID script is executed, so that the RAID configuration policy (for example, a policy of a type such as RAID1, RAID10, RAID3, or the like is configured on some disks) described in the script is executed. And calling a corresponding RAID configuration tool (software toolkit) to automatically create the RAID.
Specifically, in an embodiment, before the step S101, a method for automatically creating RAID during system installation further includes the following steps:
step eight: the customized system image is downloaded from the TFTP server over the PXE network. Specifically, the customized image in the embodiment of the present invention may be downloaded from the TFTP server by accessing the network card of the server to the PXE network. When the number of servers needing to configure the RAID is large, the automatic RAID creation by the aid of the PXE network can be achieved through batch equipment, and the efficiency of RAID creation is further improved.
Through the steps, according to the technical scheme provided by the application, the customized system image is operated in the guide system, unattended installation of the operating system is performed through the automatic response file in the customized system image, the automatic response file reads the environment parameters of the server when being operated to the specified code segment, then the matched target RAID script and target RAID configuration tool are searched in a plurality of RAID configuration scripts and configuration tools pre-stored in the customized system image according to the environment parameters, the target RAID script and the target RAID configuration tool are used for creating the RAID, and after the RAID is created, the operating system continues to complete installation. In the installation process of the operating system, the unattended installation function can be realized by means of the automatic response file, RAID configuration strategies (namely RAID scripts) and related tools required by various servers are stored in the customized mirror image in advance, so that the servers can automatically extract the RAID scripts and the RAID configuration tools required by the servers, RAID configuration is automatically completed by means of the configuration tools in a script running mode, the step of manually analyzing the servers again before RAID configuration is saved, and the efficiency of RAID configuration is improved.
As shown in fig. 2, this embodiment further provides an apparatus for automatically creating RAID during system installation, where the apparatus includes:
the information acquisition module 101 is configured to run a customized system image in the boot system, and read an environment parameter of the server through an auto-answer file in the customized system image, where the environment parameter at least includes a server model, RAID card information, and a disk type capacity. For details, refer to the related description of step S101 in the above method embodiment, and no further description is provided here.
The pattern matching module 102 is configured to search a matched target RAID script and a target RAID configuration tool in a preset path of the customized system image based on the environment parameters, where the preset path includes RAID scripts and RAID configuration tools corresponding to multiple environment parameters. For details, refer to the related description of step S102 in the above method embodiment, and no further description is provided here.
A RAID creation module 103 for creating a RAID on the server based on the target RAID script and the target RAID configuration tool. For details, refer to the related description of step S103 in the above method embodiment, and no further description is provided here.
Specifically, in an embodiment, the apparatus further includes:
and the PXE network module is used for downloading the customized system image from the TFTP server through the PXE network. For details, refer to the description related to step eight in the above method embodiments, and no further description is provided herein.
Specifically, in an embodiment, the RAID creation module 103 specifically includes:
and the strategy acquisition module is used for acquiring a configuration strategy in the target RAID script, and the configuration strategy is used for configuring the disks in the server into a disk array of a server support type. For details, refer to the related description of step six in the above method embodiments, and no further description is provided herein.
And the configuration module is used for calling a target RAID configuration tool according to the configuration strategy to create the RAID. For details, refer to the description related to step seven in the above method embodiments, and no further description is provided herein.
The apparatus for automatically creating a RAID in a system installation process provided in the embodiment of the present invention is configured to execute the method for automatically creating a RAID in a system installation process provided in the foregoing embodiment, and an implementation manner of the method is the same as a principle, and for details, reference is made to relevant description of the method embodiment, and details are not described again.
Through the cooperative cooperation of the components, the technical scheme provided by the application comprises the steps of firstly operating the customized system mirror image in the guide system, then carrying out unattended installation on the operating system through the automatic response file in the customized system mirror image, reading the environment parameters of the server when the automatic response file is operated to a specified code segment, then searching a matched target RAID script and a matched target RAID configuration tool in a plurality of RAID configuration scripts and configuration tools pre-stored in the customized system mirror image according to the environment parameters, finally establishing the RAID by using the target RAID script and the target RAID configuration tool, and after the RAID is established, continuously completing the installation of the operating system. In the installation process of the operating system, the unattended installation function can be realized by means of the automatic response file, RAID configuration strategies (namely RAID scripts) and related tools required by various servers are stored in the customized mirror image in advance, so that the servers can automatically extract the RAID scripts and the RAID configuration tools required by the servers, RAID configuration is automatically completed by means of the configuration tools in a script running mode, the step of manually analyzing the servers again before RAID configuration is saved, and the efficiency of RAID configuration is improved.
Fig. 3 shows an apparatus for automatically creating RAID during system installation according to an embodiment of the present invention, where the apparatus includes a processor 901 and a memory 902, and the apparatus may be connected by a bus or by another method, and fig. 3 illustrates the connection by the bus as an example.
Processor 901 may be a Central Processing Unit (CPU). The Processor 901 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 902, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the methods in the above-described method embodiments. The processor 901 executes various functional applications and data processing of the processor by executing non-transitory software programs, instructions and modules stored in the memory 902, that is, implements the methods in the above-described method embodiments.
The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 901, and the like. Further, the memory 902 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 embodiments, the memory 902 may optionally include memory located remotely from the processor 901, which may be connected to the processor 901 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.
One or more modules are stored in the memory 902, which when executed by the processor 901 performs the methods in the above-described method embodiments.
The specific details of the device for automatically creating RAID in the system installation process may be understood by referring to the corresponding related description and effects in the foregoing method embodiments, and are not described here again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, and the implemented program can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a magnetic Disk (Hard Disk Drive, abbreviated as HDD), a Solid-State Disk (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A method for automatically creating RAID in the process of installing a system is characterized by comprising the following steps:
running a customized system image in a guide system, and reading environment parameters of a server through an automatic response file in the customized system image, wherein the environment parameters at least comprise a server machine type, RAID card information and disk type capacity;
searching a matched target RAID script and a target RAID configuration tool in a preset path of the customized system image based on the environmental parameters, wherein the preset path comprises RAID scripts and RAID configuration tools corresponding to a plurality of environmental parameters;
and creating the RAID based on the target RAID script and the target RAID configuration tool.
2. The method of claim 1, wherein the step of generating the customized system image comprises:
acquiring various environmental parameters, and generating RAID scripts and RAID configuration tools corresponding to the various environmental parameters;
adding a code for automatically creating the RAID to a pre-installation link code segment in an automatic response file, wherein the code for automatically creating the RAID is used for reading the environment parameters of a server and calling various RAID scripts and RAID configuration tools;
storing various RAID scripts and RAID configuration tools into a preset path of the customized system mirror image;
and storing the automatic response file into a root directory of the customized system mirror image, and completing the encapsulation of the customized system mirror image.
3. The method of claim 2, wherein reading the server's environment parameters via an auto-answer file in the customized system image comprises:
and reading a preinstalled link code segment of the automatic response file, and reading the environment parameters when running to the code for automatically creating the RAID.
4. The method of claim 2, wherein creating the RAID based on the target RAID script and the target RAID configuration tool comprises:
acquiring a configuration strategy in the target RAID script, wherein the configuration strategy is used for configuring a disk in a server into a RAID supported by the server;
and calling the target RAID configuration tool to create the RAID according to the configuration strategy.
5. The method of claim 1, wherein prior to said running a customized system image in a boot system, the method further comprises:
downloading the customized system image from the TFTP server over the PXE network.
6. An apparatus for automatically creating RAID during installation of a system, the apparatus comprising:
the system comprises an information acquisition module, a data acquisition module and a data processing module, wherein the information acquisition module is used for running a customized system mirror image in a guide system and reading environment parameters of a server through an automatic response file in the customized system mirror image, and the environment parameters at least comprise a server machine type, RAID card information and disk type capacity;
the pattern matching module is used for searching matched target RAID scripts and target RAID configuration tools in a preset path of the customized system mirror image based on the environment parameters, wherein the preset path comprises RAID scripts and RAID configuration tools corresponding to a plurality of environment parameters;
and the RAID creation module is used for creating RAID on the server based on the target RAID script and the target RAID configuration tool.
7. The apparatus of claim 6, further comprising:
and the PXE network module is used for downloading the customized system image from the TFTP server through the PXE network.
8. The apparatus of claim 6, wherein the RAID creation module comprises:
a policy obtaining module, configured to obtain a configuration policy in the target RAID script, where the configuration policy is used to configure a disk in a server to a RAID supported by the server;
and the configuration module is used for calling the target RAID configuration tool to create the RAID according to the configuration strategy.
9. An apparatus for automatically creating RAID during system installation, comprising:
a memory and a processor communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of any of claims 1-5.
10. A computer-readable storage medium having stored thereon computer instructions for causing a computer to thereby perform the method of any one of claims 1-5.
CN202111405136.7A 2021-11-24 2021-11-24 Method, device and equipment for automatically creating RAID (redundant array of independent disks) in system installation process Pending CN113986271A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111405136.7A CN113986271A (en) 2021-11-24 2021-11-24 Method, device and equipment for automatically creating RAID (redundant array of independent disks) in system installation process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111405136.7A CN113986271A (en) 2021-11-24 2021-11-24 Method, device and equipment for automatically creating RAID (redundant array of independent disks) in system installation process

Publications (1)

Publication Number Publication Date
CN113986271A true CN113986271A (en) 2022-01-28

Family

ID=79750294

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111405136.7A Pending CN113986271A (en) 2021-11-24 2021-11-24 Method, device and equipment for automatically creating RAID (redundant array of independent disks) in system installation process

Country Status (1)

Country Link
CN (1) CN113986271A (en)

Similar Documents

Publication Publication Date Title
US10002054B2 (en) Method and system for performing automatic system recovery
CN109587331B (en) Method and system for automatically repairing cloud mobile phone fault
CN113010217B (en) BIOS parameter setting method and device, electronic equipment and storage medium
CN112068852B (en) Method, system, equipment and medium for installing open-source software based on domestic server
CN107608681A (en) Installation method of operating system, device and server
CN113391828B (en) Method and system for realizing system disk RAID division and installing operating system
CN111371610A (en) Network card firmware batch refreshing method, system, terminal and storage medium
CN110716845A (en) Method for reading log information of Android system
CN107220085B (en) Method for automatically upgrading RAID card firmware
CN116627513B (en) Method and device for starting boot of computer
CN116954752A (en) Differentiated system configuration and loading method and device and computer equipment
CN113986271A (en) Method, device and equipment for automatically creating RAID (redundant array of independent disks) in system installation process
CN111897543A (en) Software management method, device, management equipment and storage medium
CN108595292B (en) System optimization method, mobile terminal and computer storage medium
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN112241141B (en) Hardware configuration method, system, device and medium of PLC control system
CN102455919A (en) Automatic optimization setting method for basic input output system(BIOS)
CN113553110A (en) Automatic correction method, device and system for hardware baseline of server
CN115167947A (en) Installation method, device and medium of operating system
CN114442930A (en) Method and device for controlling group disk array, electronic equipment and readable storage medium
CN114116030A (en) Operating system running method and device, electronic equipment and storage medium
CN112527327A (en) Method, system, terminal and storage medium for factory restoration of UOS operating system
CN113886218B (en) Method, device, equipment and readable medium for verifying BIOS refreshing
CN109783756B (en) Website creation method, server and computer readable storage medium
CN113900934B (en) Multi-mirror hybrid refresh test method, system, terminal 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