CN103746833B - PXE-based RAID automatic configuration method and system - Google Patents

PXE-based RAID automatic configuration method and system Download PDF

Info

Publication number
CN103746833B
CN103746833B CN201310724306.7A CN201310724306A CN103746833B CN 103746833 B CN103746833 B CN 103746833B CN 201310724306 A CN201310724306 A CN 201310724306A CN 103746833 B CN103746833 B CN 103746833B
Authority
CN
China
Prior art keywords
program
pxe
memory disk
image file
stage
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.)
Active
Application number
CN201310724306.7A
Other languages
Chinese (zh)
Other versions
CN103746833A (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.)
Sina Technology China Co Ltd
Original Assignee
Sina Technology China 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 Sina Technology China Co Ltd filed Critical Sina Technology China Co Ltd
Priority to CN201310724306.7A priority Critical patent/CN103746833B/en
Publication of CN103746833A publication Critical patent/CN103746833A/en
Application granted granted Critical
Publication of CN103746833B publication Critical patent/CN103746833B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a PXE-based RAID automatic configuration method and system. The method comprises the following steps: starting a PXE client from a PXE, and after a system core program and a memory disk initialization program are loaded according to a PXE guiding program downloaded by a PXE server, the memory disk initialization program, according to a script code for automatic configuration of a redundant array of inexpensive disk (RAID), which is recorded in a preinstallation module starting a configuration file, executing an execution program and a dependence program which are needed in a preinstallation environment by a RAID chip which is embedded in the memory disk initialization program in advance so as to finish the automatic configuration of the RAID; and afterwards, the memory disk initialization program, according to the script code in an installation module automatically configuring the file, carrying out installation of an operation system. The system comprises a PXE server and multiple PXE clients. By applying the method and the system, the RAID configuration efficiency can be improved.

Description

Raid method of automatic configuration based on pxe and system
Technical field
The present invention relates to Internet technology, more particularly, to a kind of raid method of automatic configuration based on pxe and system.
Background technology
Pxe (preboot execute environment, Pre-boot Execution Environment) is developed by intel company, is current Compare the technology of main flow, it passes through c/s (client/server, client/server) network schemer and works, and supports work station Image is downloaded from far-end server by network, and thus supports the start-up course of the operating system of automatic network.
For the server having pxe network interface card, can be downloaded from pxe server by network and install as pxe client File needed for operating system, and by tftp (trivial file transfer protocol, plain text transmission association View) server installed after loading kernel and file system, and this efficiency based on pxe mode installation operation system will be much Higher than using modes such as CD-ROM drive, mode, 1394 interfaces, usb interfaces, it is particularly suited for machine room, website, laboratory, production line etc. Have the place of a large amount of servers.
Above-mentioned pxe client (server of operating system to be installed) before installation operation system, from bios (basic Input output system, basic input output system) start, enter raid (redundant array of Independent disks, disk array) setting interface, therefore also need to connect display for operator's display setting circle Each window in face.Personnel to be operated carry out selecting creating new virtual disk, the raid rank of option and installment, select with Hard disk needed for raid rank, the senior setting of modification, the virtual disk to configuration successful before carry out a series of behaviour such as initializing After work, then start from pxe, just can carry out follow-up download and installation.
So, when bulk service device is carried out with the disposable installation of operating system, as preparatory work before installation, just Need to connect a display for each pxe client, completed one by one to each pxe visitor by display by operator The configuration raid operation at family end, server to be installed is more, expends time and efforts also more.It is therefore desirable to providing a kind of The lower raid collocation method based on pxe of in hgher efficiency, cost.
Content of the invention
Embodiments provide a kind of raid method of automatic configuration based on pxe and system, join in order to improve raid The efficiency put.
According to an aspect of the invention, it is provided a kind of raid method of automatic configuration based on pxe, comprising:
Pre-boot Execution Environment pxe client starts from pxe, according to the pxe boot program loads downloaded from pxe server After system kernel program and initialization memory disk program, described initialization memory disk program is pre- according to startup configuration file The scripted code automatically configuring disk array raid described in module is installed, pre- in execution described initialization memory disk program First the required configuration processor under WindowsPE of embedded raid chip and dependence program, complete raid and automatically configure;
Afterwards, described initialization memory disk program is according to the scripted code in the installation module of described startup configuration file Carry out the installation of operating system;
Wherein, described system kernel program provides the installation environment of described operating system for described pxe client.
Further, described initialization memory disk program is that described pxe bootstrap obtains in the initialization customizing in advance Deposit disk program image file decompressed after load, and
The required configuration processor under WindowsPE of described raid chip and dependence program be described pxe server in advance It is embedded in the image file of initialization memory disk program customizing in advance, specifically include:
Described pxe server by after the image file decompression of original initialization memory disk program, obtain original just The program bag of beginningization memory disk program;
Described pxe server will be integrated with the required configuration processor under WindowsPE of described raid chip and relies on journey After the program bag of sequence copies under the described original root of program bag of initialization memory disk program, obtain the first of customization The program bag of beginningization memory disk program;
The mirror image literary composition that described pxe server will obtain after the program packet compression of the initialization memory disk program of described customization Part, as the image file of the initialization memory disk program of described customization, replaces described original initialization memory disk journey The image file of sequence.
Further, after described pxe boot program loads system kernel program and initialization memory disk program, also wrap Include:
The image file of the installation procedure that described initialization memory disk program acquisition customizes in advance loads after being decompressed;
Described initialization memory disk program obtains the mirror image of the 2nd stage stage program customizing in advance, needing to load File loads after being decompressed.
Further, the image file of described installation procedure is that described pxe server customizes in advance, specifically includes:
After the image file of original installation procedure is decompressed by described pxe server, obtain the journey of original installation procedure Sequence bag;
Library file in prestore the 6th version community Enterprise Operation System centos is replicated by described pxe server After under the library file catalogue of the program bag of described original installation procedure, obtain the program bag of the installation procedure of customization;
Described pxe server is using the image file obtaining after the program packet compression of the installation procedure of described customization as described The image file of the installation procedure of customization, replaces the image file of described original installation procedure.
Further, the image file of described 2nd stage stage program is that described pxe server customizes in advance, concrete bag Include:
Described pxe server, by after original, the 2nd stage stage program that is needing loading image file decompression, obtains The program bag of the 2nd stage stage program original, needs load;
Library file in prestore the 5th version centos is copied to described original, needs by described pxe server After under the library file catalogue of program bag of the 2nd stage stage program loading, obtain the 2nd stage that customize, that needs load The program bag of stage program;
Described pxe server obtains after program packet compression described customization, needing the 2nd stage stage program loading The image file arriving, as described customization, the 2nd stage stage program needing loading image file, replaces described former The image file of the 2nd stage stage program beginning, needing loading.
According to another aspect of the present invention, additionally provide a kind of raid automatic configuration system based on pxe, comprising: pxe Server, and multiple pxe client;Wherein,
Described pxe server is used for storing pxe bootstrap;
Described pxe client is used for starting from pxe, and the described pxe bootstrap according to downloading from described pxe server adds After loading system kernel program and initialization memory disk program, described initialization memory disk program is according to startup configuration file The scripted code automatically configuring raid described in pre-installation module, embeds in execution described initialization memory disk program in advance The configuration processor required under WindowsPE of raid chip and rely on program, complete raid and automatically configure;Afterwards, described first Beginningization memory disk program carries out the installation of operating system according to the scripted code in the installation module of described startup configuration file; Wherein, described system kernel program provides the installation environment of described operating system for described pxe client.
It is preferred that described initialization memory disk program is described pxe bootstrap obtains initialization memory disk program Image file decompressed after load, and
Described pxe server is additionally operable to configuration processor required under WindowsPE for described raid chip and relies on journey Sequence is embedded in the image file of described initialization memory disk program in advance: described pxe server is by original initialization After depositing the image file decompression of disk program, obtain the program bag of original initialization memory disk program;To be integrated with described The program bag of the required configuration processor under WindowsPE of raid chip and dependence program copies to described original initialization After under the root of the program bag of memory disk program, obtain the program bag of new initialization memory disk program;Will be described new Initialization memory disk program program packet compression after obtain initialization memory disk program image file replace institute State the image file of original initialization memory disk program.
It is preferred that described pxe server is additionally operable to customize the image file of installation procedure: described pxe server will be original Installation procedure image file decompression after, obtain the program bag of original installation procedure;Described pxe server will prestore The 6th edition centos in library file copy to described original installation procedure the library file catalogue of program bag under after, obtain The program bag of the installation procedure of customization;Described pxe server is determined after the program packet compression of the installation procedure of described customization The image file of the installation procedure of system.
It is preferred that described pxe server is additionally operable to customize the image file of the 2nd stage stage program needing to load: institute State pxe server by original, need after the image file decompression of the 2nd stage stage program that loads, obtain original, need The program bag of the 2nd stage stage program to be loaded;Described pxe server is by the storehouse in the prestore the 5th version centos After file copies under the described library file catalogue of program bag of the 2nd stage stage program original, that needs load, obtain The customization, program bag of the 2nd stage stage program that is needing loading;Described pxe server by described customization, need load The program packet compression of the 2nd stage stage program after obtain the 2nd stage stage program that customize, that needs load mirror image civilian Part.
It is preferred that the image file of the installation procedure of described customization be used for by described initialization memory disk program obtain, Loaded after decompression;And
Image file described customization, needing the 2nd stage stage program loading is used for by described initialization internal memory magnetic Loaded after disc program acquisition, decompression.
In the technical scheme of the embodiment of the present invention, pxe server is required under WindowsPE by raid chip in advance Configuration processor and dependence program are embedded in the image file of initialization memory disk program, in order to pxe client downloads After pxe boot program loads system kernel program and initialization memory disk program, by initialization memory disk program according to opening The scripted code of the raid described in pre-installation module of dynamic configuration file, executes this configuration processor and dependence program, completes Raid automatically configures, thus avoiding each pxe client in addition it is also necessary to launch into raid setting interface from bios before pxe startup, Being simultaneously connected with display, configuring raid for each pxe client 102 manually by operator, thus saving the plenty of time And energy, improve the efficiency of raid configuration.More preferably, pxe server can also customize in advance dress program image file and Need the image file of the 2nd stage stage program of loading, in order to after automatically configuring raid, realize pxe client operation The installation of system.
Brief description
Fig. 1 is the structural representation of the raid automatic configuration system based on pxe provided in an embodiment of the present invention;
Fig. 2 is the side of the image file that pxe server custom provided in an embodiment of the present invention initializes memory disk program The schematic flow sheet of method;
Fig. 3 is that the flow process of the method for image file of pxe server custom installation procedure provided in an embodiment of the present invention is shown It is intended to;
Fig. 4 is the mirror image of the 2nd stage stage program that pxe server custom provided in an embodiment of the present invention needs to load The schematic flow sheet of the method for file;
Fig. 5 is the schematic flow sheet of the raid method of automatic configuration based on pxe provided in an embodiment of the present invention.
Specific embodiment
For making the objects, technical solutions and advantages of the present invention become more apparent, referring to the drawings and enumerate preferred reality Apply example, the present invention is described in more detail.However, it is necessary to illustrate, the many details listed in description are only The reader is made to have a thorough explanation to one or more aspects of the present invention, can also even without these specific details Realize the aspects of the invention.
The term such as " module " used in this application, " system " is intended to, including the entity related to computer, for example but not limit In hardware, firmware, combination thereof, software or executory software.For example, module can be, it is not limited to: process Process, processor, object, executable program, the thread of execution, program and/or the computer running on device.For example, count On calculation equipment, the application program running and this computing device can be modules.One or more modules may be located at executory In one process and/or thread.
It was found by the inventors of the present invention that by initialization memory disk program according in the pre-installation module starting configuration file The scripted code of the raid recording, the required configuration processor under WindowsPE of execution raid chip and dependence program, can Realize pxe client raid is automatically configured.Accordingly, it is considered in advance by execution that raid chip is required under WindowsPE Program and dependence program are embedded in the image file of initialization memory disk program.
So, in pxe boot program loads system kernel program and the initialization memory disk program of pxe client downloads Afterwards, by the scripted code initializing raid according to described in start the pre-installation module of configuration file for the memory disk program, hold Line program and dependence program, complete raid and automatically configure, carry out the installation of operating system afterwards.Each pxe client can be avoided In addition it is also necessary to launch into raid setting interface from bios before pxe starts, it is simultaneously connected with display, by operator is manually Each pxe client 102 configures raid.Thus saving plenty of time and energy, improve the efficiency of raid configuration.
Describe technical scheme below in conjunction with the accompanying drawings in detail.
The structure of the raid automatic configuration system based on pxe provided in an embodiment of the present invention is as shown in Figure 1, comprising: pxe takes Business device 101, multiple pxe client 102.
Pxe server 101 is used for the required configuration processor under WindowsPE of raid chip and relies on program in advance It is embedded in the image file of initialization memory disk program.
Pxe server 101 is used for storing pxe bootstrap.
Pxe client 102 is used for starting from pxe, according to the pxe boot program loads system downloaded from pxe server 102 After kernel program and initialization memory disk program, by initialization memory disk program according to the pre-installation mould starting configuration file The scripted code automatically configuring raid described in block, the raid chip embedding in advance in execution initialization memory disk program exists Under WindowsPE, required configuration processor and dependence program, complete raid and automatically configure;Afterwards, initialize memory disk program Carry out the installation of operating system according to the scripted code in the installation module starting configuration file;Wherein, system kernel program is Pxe client 102 provides the installation environment of operating system.
The required configuration processor under WindowsPE of raid chip and dependence program are embedded by above-mentioned pxe server 101 Arrive the concrete grammar of the image file of initialization memory disk program of customization, flow process is as shown in Figure 2, comprising:
S201:pxe server 101, by after the image file decompression of original initialization memory disk program, obtains original Initialization memory disk program program bag.
In this step, the image file of initialization memory disk program is specially initrd.img file.
S202:pxe server 101 will be integrated with the required configuration processor under WindowsPE of raid chip and relies on journey The program bag of sequence copies under the original root of program bag of initialization memory disk program.
In this step, by cp a/opt. order, pxe server 101 will be integrated with raid chip under WindowsPE Required configuration processor and the program bag relying on program copy to the root mesh of the original program bag of initialization memory disk program After opt catalogue under record, obtain the program bag initializing memory disk program customizing;Wherein, configuration processor is specially Megacli64 program.
The mirror image literary composition that s203:pxe server 101 will obtain after the program packet compression of the initialization customizing memory disk program Part, as the image file of the initialization memory disk program of customization, replaces the mirror image of original initialization memory disk program File.
Specifically, the mirror image that pxe server 101 will obtain after the program packet compression of the initialization customizing memory disk program File, as the image file of the initialization memory disk program of customization, replaces the mirror of original initialization memory disk program As the code of file is as follows:
#mv initrd.img initrd.img.xz
#xz--format=lzma initrd.img.xz--decompress
#mkdir initrd-new
#cd initrd-new
#cpio-ivdum<../initrd.img
More preferably, pxe server 101 removes the required configuration processor under WindowsPE of raid chip and relies on program Be embedded in advance in the image file of initialization memory disk program, be pxe client complete raid automatically configure prepare outer, The installation also completing operating system for pxe client is prepared.
Further, pxe server 101 is additionally operable to customize the image file of installation procedure in advance, and pxe server 101 customizes The concrete grammar of the image file of installation procedure, flow process is as shown in Figure 3, comprising:
After the image file of original installation procedure is decompressed by s301:pxe server 101, obtain original installation procedure Program bag.
In this step, the image file of installation procedure is specially install.img file.
S302:pxe server 101 is by the prestore the 6th version centos (community enterprise Operating system, community's Enterprise Operation System) in library file copy to original installation procedure program bag storehouse After under file directory, obtain the program bag of the installation procedure of customization.
In this step, pxe server 101 is by the journey in the prestore the 6th version centos, with original installation procedure Sort order corresponding library file linux-vdso.so.1, librt.so.1, libc.so.6 in sequence bag, Libpthread.so.0 copies under the root/img/lib catalogue (library file catalogue) of the program bag of original installation procedure, Library file ld-linux-x86-64.so.2 is copied to the root/img/lib64 catalogue of the program bag of original installation procedure Under (library file catalogue).
Pxe server 101 by the prestore the 6th version centos, with awk in the program bag of original installation procedure Order corresponding library file linux-vdso.so.1, libdl.so.2, libm.so.6, libc.so.6 copy to original peace Under the root/img/lib catalogue of the program bag of dress program, library file ld-linux-x86-64.so.2 is copied to original peace Under the root/img/lib64 catalogue of the program bag of dress program.
Pxe server 101 by the prestore the 6th version centos, with ps in the program bag of original installation procedure Order corresponding library file linux-vdso.so.1, libselinux.so.1, libproc3.2.8.so, libdl.so.2, Libc.so.6 copies under the root/img/lib catalogue of the program bag of original installation procedure, by lib library file ld- Linux-x86-64.so.2 copies under the root/img/lib64 catalogue of the program bag of original installation procedure.
S303:pxe server 101 is using the image file obtaining after the program packet compression of the installation procedure of customization as customization Installation procedure image file, replace the image file of original installation procedure.
In this step, pxe server 101 is by #mksquashfs img/install.img order, the installation that will customize The image file of the installation procedure as customization for the image file obtaining after the program packet compression of program, replaces original installation The image file of program, obtains the image file of the installation procedure of customization.
Further, pxe server 101 is additionally operable to customize in advance the mirror image literary composition of the 2nd stage stage program needing to load Part, pxe server 101 customization needs the concrete grammar of the image file of the 2nd stage stage program of loading, flow process such as Fig. 4 institute Show, comprising:
After original, the 2nd stage stage program that is needing loading image file is decompressed by s401:pxe server 101, Obtain the program bag of the 2nd stage stage program original, needs load.
In this step, the image file of the 2nd stage stage program is specially stage2.img file.
Library file in prestore the 5th version centos is copied to original, needs by s402:pxe server 101 After under the library file catalogue of program bag of the 2nd stage stage program loading, obtain the journey of the 2nd stage stage program of customization Sequence bag.
In this step, pxe server 101 by the prestore the 5th version centos, with original, need to load Sort order corresponding library file linux-vdso.so.1, librt.so.1 in the program bag of the 2nd stage stage program, Libc.so.6, libpthread.so.0 copy to the program bag of the 2nd stage stage program original, needs load Under root/img/lib catalogue, library file ld-linux-x86-64.so.2 is copied to original, the 2nd stage that is needing loading Under the root/img/lib64 catalogue of the program bag of stage program.
Pxe server 101 by the prestore the 5th version centos, with original, need the 2nd stage of loading Awk order corresponding library file linux-vdso.so.1, libdl.so.2, libm.so.6 in the program bag of stage program, Libc.so.6 copies under the root/img/lib catalogue of program bag of the 2nd stage stage program original, needs load, Library file ld-linux-x86-64.so.2 is copied to the program bag of the 2nd stage stage program that is original, needing to load Under root/img/lib64 catalogue.
Pxe server 101 by the prestore the 5th version centos, with original, need the 2nd stage of loading Ps order corresponding library file linux-vdso.so.1, libselinux.so.1 in the program bag of stage program, Libproc3.2.8.so, libdl.so.2, libc.so.6 copy to the 2nd stage stage program original, needs load Under the root/img/lib catalogue of program bag, by library file ld-linux-x86-64.so.2 copy to original, need to load The root/img/lib64 catalogue of program bag of the 2nd stage stage program under.
Obtain after the program packet compression of the 2nd stage stage program that customizing, needs are loaded by s403:pxe server Image file as customization, need the image file of the 2nd stage stage program that loads, replace original, need to load The 2nd stage stage program image file.
In this step, pxe server obtains after program packet compression customizing, needing the 2nd stage stage program loading The image file arriving as customization, need the image file of the 2nd stage stage program that loads, replace original, needs The image file of the 2nd stage stage program loading, obtains the mirror image of the 2nd stage stage program that customize, that needs load File.
Afterwards, each pxe client 102 just need not start from bios, enter raid setting interface, joined manually by operator Put raid, and directly start from pxe, complete respective raid configuration by initializing memory disk Automatic Program, and complete to grasp Make the concrete grammar of the installation of system, flow process is as shown in figure 5, comprise the steps:
S501:pxe client 102 starts from pxe, according to the pxe boot program loads system downloading from pxe server 101 System kernel program and initialization memory disk program.
In this step, pxe client 102 starts from pxe, by tftp or mtetp (multicast trivial file Transfer protocol, multiplex broadcasting plain text host-host protocol) download and pxe bootstrap from pxe server 101, should Bootstrap can load kernel program corresponding with this pxe client 102 automatically from pxe server 101, and in initialization Deposit disk program;Wherein, initialization memory disk program be according to pxe server 101 in step s203 customize in advance initial The image file of change memory disk program loads after being decompressed, and system kernel program is that pxe client 102 provides operation system The installation environment of system.
S502: initialization memory disk program performing initializes the raid chip embedding in advance in memory disk program pre- Under installation environment, required configuration processor and dependence program, complete raid and automatically configure.
In this step, in pxe client 102, the initialization memory disk program of load operating is according to startup configuration file The scripted code automatically configuring disk array raid described in pre-installation module, in execution initialization memory disk program in advance The required configuration processor under WindowsPE of embedded raid chip and dependence program, complete raid and automatically configure.
So, it is to avoid pxe client 102 prepares installation operation system before pxe startup, starts from bios, enters Raid arranges interface, also needs to connect display simultaneously, configures raid for each pxe client 102 manually by operator. Multiple stage is needed to configure the pxe client 102 of raid, can be avoided using raid collocation method provided in an embodiment of the present invention The operation being the configuration of this client raid in each pxe client 102, thus improve the efficiency of raid configuration.
It is true that can also including in startup configuration file installing module and installing module;Install described in module There are installation steps and configuration information scripted code is installed;Install to have recorded in module and install rear required execution script Code.
S503: initialization memory disk program is operated according to the scripted code in the installation module starting configuration file The installation of system.
In this step, the installation that the pxe server 101 obtaining is customized in step s303 by initialization memory disk program The image file of program, and pxe server 101 customize in step s403, need load the 2nd stage stage program Image file decompressed after load, and according to start configuration file installations module in scripted code, carry out operation be The installation of system.
In technical scheme, pxe server is in advance by execution journey required under WindowsPE for raid chip Sequence and dependence program are embedded in the image file of initialization memory disk program, in order to the pxe guiding of pxe client downloads After program loading system kernel program and initialization memory disk program, by initialization memory disk program according to startup configuration literary composition The scripted code of the raid described in pre-installation module of part, executes this configuration processor and dependence program, completes raid and automatically join Putting, thus avoiding each pxe client in addition it is also necessary to launch into raid setting interface from bios before pxe startup, being simultaneously connected with aobvious Showing device, configure raid for each pxe client 102 manually by operator, thus saving plenty of time and energy, improving The efficiency of raid configuration.More preferably, pxe server can also customize the image file of dress program in advance and need the loading The image file of 2 stage stage programs, in order to after automatically configuring raid, realize the installation of pxe client operating system.
One of ordinary skill in the art will appreciate that it is permissible for realizing all or part of step in above-described embodiment method Instruct related hardware to complete by program, this program can be stored in a computer read/write memory medium, such as: Rom/ram, magnetic disc, CD etc..
The above is only the preferred embodiment of the present invention it is noted that ordinary skill people for the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (10)

1. a kind of raid method of automatic configuration based on pxe is it is characterised in that include:
Pre-boot Execution Environment pxe client starts from pxe, according to the pxe boot program loads system downloaded from pxe server After kernel program and initialization memory disk program, described initialization memory disk program is according to the pre-installation starting configuration file The scripted code automatically configuring disk array raid described in module, embedding in advance in execution described initialization memory disk program The required configuration processor under WindowsPE of the raid chip that enters and dependence program, complete raid and automatically configure;
Afterwards, described initialization memory disk program is carried out according to the scripted code in the installation module of described startup configuration file The installation of operating system;
Wherein, described system kernel program provides the installation environment of described operating system for described pxe client.
2. the method for claim 1 is it is characterised in that described initialization memory disk program is described pxe guiding journey Sequence obtains loading after the image file initializing memory disk program customizing in advance is decompressed, and
The required configuration processor under WindowsPE of described raid chip and dependence program are that described pxe server embeds in advance To in the image file of the initialization memory disk program customizing in advance, specifically include:
Described pxe server, by after the image file decompression of original initialization memory disk program, obtains original initialization The program bag of memory disk program;
Described pxe server will be integrated with the required configuration processor under WindowsPE of described raid chip and relies on program After program bag copies under the described original root of program bag of initialization memory disk program, obtain the initialization customizing The program bag of memory disk program;
The image file obtaining after the program packet compression of the initialization memory disk program of described customization is made by described pxe server For the image file of the initialization memory disk program of described customization, replace described original initialization memory disk program Image file.
3. method as claimed in claim 1 or 2 it is characterised in that in described pxe boot program loads system kernel program and After initialization memory disk program, also include:
The image file of the installation procedure that described initialization memory disk program acquisition customizes in advance loads after being decompressed;
Described initialization memory disk program obtains the mirror image of the 2nd stage stage program that is customizing in advance and needing to load File loads after being decompressed.
4. method as claimed in claim 3 is it is characterised in that the image file of described installation procedure is described pxe server Customize in advance, specifically include:
After the image file of original installation procedure is decompressed by described pxe server, obtain the program bag of original installation procedure;
Library file in prestore the 6th version community Enterprise Operation System centos is copied to institute by described pxe server After under the library file catalogue of the program bag stating original installation procedure, obtain the program bag of the installation procedure of customization;
Described pxe server is using the image file obtaining after the program packet compression of the installation procedure of described customization as described customization Installation procedure image file, replace the image file of described original installation procedure.
5. method as claimed in claim 3 is it is characterised in that the image file of described 2nd stage stage program is described Pxe server customizes in advance, specifically includes:
After image file that is original and needing the 2nd stage stage program loading is decompressed by described pxe server, obtain The program bag of the 2nd stage stage program that is original and needing loading;
Library file in prestore the 5th version centos is copied to described original and needs by described pxe server After under the library file catalogue of program bag of the 2nd stage stage program loading, obtain the 2nd rank that is customizing and needing loading The program bag of section stage program;
Described pxe server obtains after program packet compression described customization, needing the 2nd stage stage program loading Image file as described customization, need the image file of the 2nd stage stage program that loads, replace described original, Need the image file of the 2nd stage stage program of loading.
6. a kind of raid automatic configuration system based on pxe is it is characterised in that include: pxe server, and multiple pxe client End;Wherein,
Described pxe server is used for storing pxe bootstrap;
Described pxe client is used for starting from pxe, according to the described pxe boot program loads system downloading from described pxe server After system kernel program and initialization memory disk program, described initialization memory disk program is according to the pre- peace starting configuration file The scripted code automatically configuring raid described in die-filling piece, embeds in execution described initialization memory disk program in advance The required configuration processor under WindowsPE of raid chip and dependence program, complete raid and automatically configure;Afterwards, described initial Change the installation that memory disk program carries out operating system according to the scripted code in the installation module of described startup configuration file;Its In, described system kernel program provides the installation environment of described operating system for described pxe client.
7. system as claimed in claim 6 is it is characterised in that described initialization memory disk program is described pxe guiding journey The image file of sequence acquisition initialization memory disk program loads after being decompressed, and
Described pxe server is additionally operable to will be pre- to configuration processor required under WindowsPE for described raid chip and dependence program First it is embedded in the image file of described initialization memory disk program: described pxe server is by original initialization internal memory magnetic After the image file decompression of disc program, obtain the program bag of original initialization memory disk program;Described raid will be integrated with The program bag of the required configuration processor under WindowsPE of chip and dependence program copies to described original initialization internal memory After under the root of the program bag of disk program, obtain the program bag of new initialization memory disk program;By described new just The image file of the initialization memory disk program obtaining after the program packet compression of beginningization memory disk program replaces described former The image file of the initialization memory disk program beginning.
8. system as claimed in claim 7 it is characterised in that
Described pxe server is additionally operable to customize the image file of installation procedure: described pxe server is by original installation procedure After image file decompression, obtain the program bag of original installation procedure;Described pxe server is by the prestore the 6th edition After library file in centos copies under the library file catalogue of the program bag of described original installation procedure, obtain the peace customizing The program bag of dress program;The installation that described pxe server will obtain after the program packet compression of the installation procedure of described customization customizing The image file of program.
9. system as claimed in claim 7 it is characterised in that
Described pxe server is additionally operable to customize the image file of the 2nd stage stage program needing to load: described pxe server After image file that is original and needing the 2nd stage stage program loading is decompressed, obtain original and need to load The 2nd stage stage program program bag;Described pxe server is multiple by the library file in the prestore the 5th version centos After making under the library file catalogue of program bag of the 2nd stage stage program that is described original and needing loading, customized And need load the 2nd stage stage program program bag;Described pxe server by described customization and need plus The 2nd stage stage program that is customizing and needing loading is obtained after the program packet compression of the 2nd stage stage program carrying Image file.
10. system as claimed in claim 8 or 9 it is characterised in that
The image file of the installation procedure of described customization is used for being obtained and decompressing laggard by described initialization memory disk program Row loads;And
Image file that is described customization and needing the 2nd stage stage program loading is used for by described initialization internal memory magnetic Disc program obtains and is loaded after decompressing.
CN201310724306.7A 2013-12-25 2013-12-25 PXE-based RAID automatic configuration method and system Active CN103746833B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310724306.7A CN103746833B (en) 2013-12-25 2013-12-25 PXE-based RAID automatic configuration method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310724306.7A CN103746833B (en) 2013-12-25 2013-12-25 PXE-based RAID automatic configuration method and system

Publications (2)

Publication Number Publication Date
CN103746833A CN103746833A (en) 2014-04-23
CN103746833B true CN103746833B (en) 2017-02-01

Family

ID=50503824

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310724306.7A Active CN103746833B (en) 2013-12-25 2013-12-25 PXE-based RAID automatic configuration method and system

Country Status (1)

Country Link
CN (1) CN103746833B (en)

Families Citing this family (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984575A (en) * 2014-05-28 2014-08-13 浪潮电子信息产业股份有限公司 Rapid deployment method of cluster Linux operation system in cloud-computing environment
CN104360883B (en) * 2014-11-12 2018-03-09 浪潮(北京)电子信息产业有限公司 A kind of configuration Raid method and system
CN105656970A (en) * 2014-11-24 2016-06-08 中国移动通信集团公司 RAID (Redundant Array of Independent Disk) card configuring method and system and relevant device
CN105208006B (en) * 2015-08-25 2018-11-27 浪潮(北京)电子信息产业有限公司 The batch configuration system and method for server virtualization platform host Raid
CN105242875A (en) * 2015-09-17 2016-01-13 浪潮集团有限公司 Server raid batch configuration method
CN106095339A (en) * 2016-06-13 2016-11-09 浪潮(北京)电子信息产业有限公司 A kind of RAID collocation method for server
CN106126223A (en) * 2016-06-22 2016-11-16 浪潮电子信息产业股份有限公司 Method for automatically establishing Raid card array based on K-UX rescue mode
CN107544780B (en) * 2016-06-23 2021-11-30 北京忆恒创源科技股份有限公司 Installation method and installation device of operating system
CN106354430B (en) * 2016-08-27 2019-06-18 浪潮(北京)电子信息产业有限公司 A kind of method and device based on BMC configuration RAID card
CN106201546B (en) * 2016-10-11 2020-01-31 合一网络技术(北京)有限公司 Full-scale formatting method and system for large disks in linux system installation processes
CN108205420A (en) * 2016-12-19 2018-06-26 北京国双科技有限公司 disk configuration tool generation method and device
CN106708579B (en) * 2016-12-27 2021-02-26 曙光信息产业股份有限公司 Method and device for installing operating system
CN106921521B (en) * 2017-02-28 2020-05-08 迈普通信技术股份有限公司 Equipment information loading method and network equipment
CN107391193A (en) * 2017-07-21 2017-11-24 郑州云海信息技术有限公司 A kind of client, the system and method for configuration server
CN107566174A (en) * 2017-09-05 2018-01-09 郑州云海信息技术有限公司 A kind of network interface card identification and the realization method and system of bulk filling system
CN107678696A (en) * 2017-10-20 2018-02-09 郑州云海信息技术有限公司 A kind of RAID creation method and system
CN108008962A (en) * 2017-12-12 2018-05-08 郑州云海信息技术有限公司 The collocation method and system of PXE server under a kind of linux system
CN109144581A (en) * 2018-07-23 2019-01-04 郑州云海信息技术有限公司 A kind of method and system configuring RAID in server system
CN109257186A (en) * 2018-08-23 2019-01-22 郑州云海信息技术有限公司 A kind of method and system making server automatically from PXE network startup
CN110045991B (en) * 2019-03-08 2022-05-20 平安科技(深圳)有限公司 RAID configuration method and device of server, computer equipment and storage medium
CN110413293A (en) * 2019-07-23 2019-11-05 深圳忆联信息系统有限公司 The method and device that system deployment process modifies to standard mirror image
CN112068895B (en) * 2020-08-10 2023-12-19 深圳市鼎盛光电有限公司 Code configuration method, device, video playing equipment and storage medium
CN112328179A (en) * 2020-11-10 2021-02-05 北京明略软件系统有限公司 Configuration method and system of disk array, electronic device and readable storage medium
CN114253609B (en) * 2021-11-10 2023-07-18 苏州浪潮智能科技有限公司 Method and system for installing OS system through network PXE based on Feiteng platform
CN116483468B (en) * 2023-04-19 2024-04-30 合芯科技(苏州)有限公司 Operating system installation method and device, computer equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6230240B1 (en) * 1998-06-23 2001-05-08 Hewlett-Packard Company Storage management system and auto-RAID transaction manager for coherent memory map across hot plug interface
CN101577701A (en) * 2008-05-05 2009-11-11 北京瑞佳晨科技有限公司 Method for initializing disk drive in batches
CN101764846A (en) * 2009-12-18 2010-06-30 西南交通大学 Remote centralized disk array operation monitoring system and implement method thereof
CN101996052A (en) * 2009-08-17 2011-03-30 英业达股份有限公司 Configuration system and method of redundant array of inexpensive disk (RAID)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7363374B2 (en) * 2001-04-27 2008-04-22 International Business Machines Corporation Method and system for fault-tolerant remote boot in the presence of boot server overload/failure with self-throttling boot servers

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6230240B1 (en) * 1998-06-23 2001-05-08 Hewlett-Packard Company Storage management system and auto-RAID transaction manager for coherent memory map across hot plug interface
CN101577701A (en) * 2008-05-05 2009-11-11 北京瑞佳晨科技有限公司 Method for initializing disk drive in batches
CN101996052A (en) * 2009-08-17 2011-03-30 英业达股份有限公司 Configuration system and method of redundant array of inexpensive disk (RAID)
CN101764846A (en) * 2009-12-18 2010-06-30 西南交通大学 Remote centralized disk array operation monitoring system and implement method thereof

Also Published As

Publication number Publication date
CN103746833A (en) 2014-04-23

Similar Documents

Publication Publication Date Title
CN103746833B (en) PXE-based RAID automatic configuration method and system
CN103580908B (en) The collocation method of server and system
CN109587331B (en) Method and system for automatically repairing cloud mobile phone fault
CN105765534A (en) Virtual computing systems and methods
US20180260241A1 (en) Method and system of migrating applications to a cloud-computing environment
CN102567047B (en) Fast computer startup
CN111966423B (en) Method and equipment for realizing memory operating system
US8495498B2 (en) Virtual machine manufacturing methods and media
CN102135893A (en) Method for integrating operating system on BIOS (Basic Input Output System) chip and starting operating system on server
US20110246983A1 (en) Wireless Network Backup Device and Method
CN105007290B (en) It is a kind of to be directed to the linux system Remote Installation configuring management method without disk server
US11030047B2 (en) Information handling system and method to restore system firmware to a selected restore point
US7882232B2 (en) Rapid resource provisioning with automated throttling
CN108052332A (en) A kind of method of batch installation node operating system
CN104040517B (en) A kind of hard-disk system operating method, storage system and processor
CN105204964A (en) Data backup method and device based on cloud disk
US20230229481A1 (en) Provisioning dpu management operating systems
US8838947B2 (en) Manufacturing information handling systems
CN103744748A (en) Method for simply, rapidly and automatically backuping FTP (File Transport Protocol) server
CN107807789A (en) Configure RAID method, apparatus and server
CN108647034B (en) Method for installing multiple operating systems on single mobile hard disk
US9619340B1 (en) Disaster recovery on dissimilar hardware
US8413137B2 (en) Automated network backup peripheral device and method
US20150212866A1 (en) Management system for service of multiple operating environments, and methods thereof
US20230185580A1 (en) Single node deployment of container platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20230418

Address after: Room 501-502, 5/F, Sina Headquarters Scientific Research Building, Block N-1 and N-2, Zhongguancun Software Park, Dongbei Wangxi Road, Haidian District, Beijing, 100193

Patentee after: Sina Technology (China) Co.,Ltd.

Address before: 100080, International Building, No. 58 West Fourth Ring Road, Haidian District, Beijing, 20 floor

Patentee before: Sina.com Technology (China) Co.,Ltd.

TR01 Transfer of patent right