CN111240707B - Method and device for filling storage system through PXE network - Google Patents
Method and device for filling storage system through PXE network Download PDFInfo
- Publication number
- CN111240707B CN111240707B CN202010057905.8A CN202010057905A CN111240707B CN 111240707 B CN111240707 B CN 111240707B CN 202010057905 A CN202010057905 A CN 202010057905A CN 111240707 B CN111240707 B CN 111240707B
- Authority
- CN
- China
- Prior art keywords
- storage system
- file
- network
- storage
- boot
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000009434 installation Methods 0.000 claims abstract description 124
- 230000000694 effects Effects 0.000 claims abstract description 9
- 238000012546 transfer Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- KKIMDKMETPPURN-UHFFFAOYSA-N 1-(3-(trifluoromethyl)phenyl)piperazine Chemical compound FC(F)(F)C1=CC=CC(N2CCNCC2)=C1 KKIMDKMETPPURN-UHFFFAOYSA-N 0.000 description 1
- 241000109539 Conchita Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006835 compression Effects 0.000 description 1
- 238000007906 compression Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5022—Mechanisms to release resources
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a method and a device for filling a storage system through a PXE network, wherein the method comprises the following steps: configuring network file system service and dividing storage space for system image files to enable network file system sharing to take effect; temporarily mounting the storage system mirror image, and extracting a storage system installation script from the storage system mirror image; generating a boot installation script which decompresses an object file of the file system when being booted by the PXE network and starts a storage system installation script; decompressing a target file of the file system to extract a network boot file, and adding and executing a boot installation script to the judgment of the network file system sharing branch of the network boot file; updating the target file of the file system by using the modified network boot file, the boot installation script and the storage system installation script; and storing the target file of the updated file system and the storage system image into the storage space so as to fill the storage system through the PXE network. The invention reduces the error rate of system installation, improves the efficiency and ensures the delivery progress.
Description
Technical Field
The present invention relates to the field of pre-boot execution environments, and more particularly, to a method and apparatus for filling a storage system over a PXE network.
Background
Storage products require installation of a storage system prior to shipment. With the continuous deepening of market development, the quantity of goods output is continuously increased. If the strategy that each device needs to separately fill the storage system on line is continuously adopted, the delivery progress is influenced, and meanwhile, the error probability is increased.
Aiming at the problems of low efficiency and easy error of a line lower independent filling storage system in the prior art, no effective solution is available at present.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method and an apparatus for filling a storage system through a PXE network, which can reduce the error rate of system installation, improve the work efficiency, and ensure the shipment progress.
In view of the above object, a first aspect of the embodiments of the present invention provides a method for filling a storage system through a PXE network, including the following steps:
configuring network file system service, and dividing storage space for system image files to enable network file system sharing to take effect;
temporarily mounting the storage system image to extract the storage system installation script from the storage system image;
generating a boot installation script which decompresses an object file of the file system when being booted by the PXE network and starts an installation script of the storage system;
decompressing a target file of the file system to extract a network boot file, and adding and executing a boot installation script to the judgment of the network file system sharing branch of the network boot file;
updating the target file of the file system by using the modified network boot file, the boot installation script and the storage system installation script;
and storing the target file of the updated file system and the storage system image into the storage space so as to fill the storage system through the PXE network.
In some embodiments, further comprising: while configuring the network file system service, configuring a dynamic host configuration protocol service to configure a local network address and a dynamic network address range, and configuring and enabling a trivial file transfer protocol service; storing the target file of the updated file system and the storage system image in the storage space to fill the storage system through the PXE network comprises: the storage system is filled based on dynamic host configuration protocol services and simple file transfer protocol services.
In some embodiments, executing the boot installation script comprises the steps of:
dividing a memory installation space in a memory file system;
loading and decompressing a target file of the file system to a memory installation space to release a storage system installation script;
the storage system installation script is executed to enter the installation logic of the storage system.
In some embodiments, a storage system image includes a storage system ontology and a storage system installation guide; storing the target file of the updated file system and the storage system image in the storage space to fill the storage system through the PXE network comprises: and decompressing the storage system image to obtain a storage system body and storage system installation guide, and guiding the storage system body to fill the storage system by using the storage system installation guide.
In some embodiments, the target file of the file system is a centOS; storing the target file of the updated file system and the storage system image in the storage space to fill the storage system through the PXE network comprises: a centOS kernel is also stored in the storage space, and a target file of the updated file system is processed based on the centOS kernel to fill the storage system through the PXE network.
A second aspect of an embodiment of the present invention provides an apparatus for filling a storage system through a PXE network, including:
a processor; and
a memory storing program code executable by the processor, the program code when executed sequentially performing the steps of:
configuring network file system service, and dividing storage space for system image files to enable network file system sharing to take effect;
temporarily mounting the storage system image to extract the storage system installation script from the storage system image;
generating a boot installation script which decompresses an object file of the file system when being booted by the PXE network and starts an installation script of the storage system;
decompressing a target file of the file system to extract a network boot file, and adding and executing a boot installation script to the judgment of the network file system sharing branch of the network boot file;
updating the target file of the file system by using the modified network boot file, the boot installation script and the storage system installation script;
and storing the target file of the updated file system and the storage system image into the storage space so as to fill the storage system through the PXE network.
In some embodiments, the steps further comprise: while configuring the network file system service, configuring a dynamic host configuration protocol service to configure a local network address and a dynamic network address range, and configuring and enabling a trivial file transfer protocol service; storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: the storage system is filled based on dynamic host configuration protocol services and simple file transfer protocol services.
In some embodiments, executing the boot installation script comprises the steps of:
dividing a memory installation space in a memory file system;
loading and decompressing a target file of the file system to a memory installation space to release a storage system installation script;
the storage system installation script is executed to enter the installation logic of the storage system.
In some embodiments, a storage system image includes a storage system ontology and a storage system installation guide;
storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: and decompressing the storage system image to obtain a storage system body and storage system installation guide, and guiding the storage system body to fill the storage system by using the storage system installation guide.
In some embodiments, the target file of the file system is centOS;
storing the target file of the updated file system and the storage system image in the storage space to fill the storage system through the PXE network comprises: a centOS kernel is also stored in the storage space, and a target file of the updated file system is processed based on the centOS kernel to fill the storage system through the PXE network.
The invention has the following beneficial technical effects: according to the method and the device for filling the storage system through the PXE network, provided by the embodiment of the invention, the network file system service is configured, and the storage space is divided for the system image file so that the network file system sharing is effective; temporarily mounting the storage system mirror image to extract a storage system installation script from the storage system mirror image; generating a boot installation script which decompresses an object file of the file system when being booted by the PXE network and starts a storage system installation script; decompressing a target file of the file system to extract a network boot file, and adding and executing a boot installation script to the judgment of the network file system sharing branch of the network boot file; updating the target file of the file system by using the modified network boot file, the boot installation script and the storage system installation script; the technical scheme that the target file and the storage system image of the updated file system are stored in the storage space so as to fill the storage system through the PXE network can reduce the error rate of system installation, improve the working efficiency and guarantee the shipment progress.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a method for populating a storage system through a PXE network according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
In view of the foregoing, a first aspect of the embodiments of the present invention provides an embodiment of a method for filling a storage system through a PXE (pre-boot execution environment) network, which can reduce the error probability of system installation, improve the working efficiency, and guarantee the delivery progress. Fig. 1 is a schematic flow chart illustrating a method for filling a storage system through a PXE network according to the present invention.
As shown in fig. 1, the method for filling a storage system through a PXE network includes the following steps:
step S101: configuring network file system service, and dividing storage space for system image files to enable network file system sharing to take effect;
step S103: temporarily mounting the storage system image to extract the storage system installation script from the storage system image;
step S105: generating a boot installation script which decompresses an object file of the file system when being booted by the PXE network and starts a storage system installation script;
step S107: decompressing a target file of the file system to extract a network boot file, and adding and executing a boot installation script to the judgment of the network file system sharing branch of the network boot file;
step S109: updating the target file of the file system by using the modified network boot file, the boot installation script and the storage system installation script;
step S111: and storing the target file of the updated file system and the storage system image into the storage space so as to fill the storage system through the PXE network.
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, which 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), or the like. Embodiments of the computer program may achieve the same or similar effects as any of the preceding method embodiments to which it corresponds.
In some embodiments, the method further comprises: while configuring the network file system service, configuring a dynamic host configuration protocol service to configure a local network address and a dynamic network address range, and configuring and enabling a trivial file transfer protocol service; storing the target file of the updated file system and the storage system image in the storage space to fill the storage system through the PXE network comprises: the storage system is provisioned based on dynamic host configuration protocol services and simple file transfer protocol services.
In some embodiments, executing the boot installation script comprises the steps of:
dividing a memory installation space in a memory file system;
loading and decompressing a target file of the file system to a memory installation space to release a storage system installation script;
the storage system installation script is executed to enter the installation logic of the storage system.
In some embodiments, a storage system image includes a storage system ontology and a storage system installation guide. Storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: and decompressing the storage system image to obtain a storage system body and a storage system installation guide, and guiding the storage system body to fill the storage system by using the storage system installation guide.
In some embodiments, the target file of the file system is a centOS. Storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: a centOS kernel is also stored in the storage space, and a target file of the updated file system is processed based on the centOS kernel to fill the storage system through the PXE network.
The method disclosed according to an embodiment of the present invention may also be implemented as a computer program executed by a CPU (central processing unit), and the computer program may be stored in a computer-readable storage medium. The computer program, when executed by the CPU, performs the functions defined above in the methods disclosed in the embodiments of the present invention. The above-described method steps and system elements may also be implemented using a controller and a computer-readable storage medium for storing a computer program for causing the controller to implement the functions of the above-described steps or elements.
The following further illustrates embodiments of the invention in terms of specific examples.
1) Configuring DHCP service, modifying configuration file dhcpd.conf, configuring local IP and dynamically allocating range of IP;
2) configuring a TFTP Server service, modifying/etc/xinetd.d/ftp, and changing disable to no;
3) configuring NFS Server service, and creating folder/home/iso for storing mirror image file of storage system; adding a/home/iso IP/24(ro, sync, no _ root _ square) in the/etc/exports at the same time, and executing exports-r to enable configuration to be effective;
4) decompressing a file system file initrd.img above centros 7.1, modifying usr/lib/Draut/hooks/initial/online/80-anaconda-netroot.sh, and adding an installation script dcs _ install.sh of the storage system in the condition judgment of nfs;
5) copying the system installation script in the step 4) into a usr/lib directory of initrd.img;
6) writing a script dcs _ install.sh, wherein the main implementation logic is as follows:
creating a directory dcs in run/install;
entering a dcs directory, cd/run/install/dcs/;
copying initrd.img to the dcs catalog;
fourthly, decompressing initrd. mv initrd.img initrd.gz; gzip-d inirtd.gz; cpio-uid < initrd; tar-cf- | (cd/; tar-xf-);
⑤cd/
executing a script sys _ install.sh with an execution command sh sys _ install.sh;
7) mounting the storage system image dcs.iso to a temporary directory, extracting sys _ install.sh in root.sqfs, and copying the sys _ install.sh to the root directory of initrd.img decompressed in step 4):
8) re-compressing the initrd.img decompressed in the step 4) to generate a new initrd.img file, wherein the compression command is find, | cpio-c-o | xz-9-format | > izma
9) Copying initrd.img generated in step 8) and kernel vmlinux of Centos7.1 together into/var/lib/tftpport/directory;
10) copying the pxelinux.0 file to a/var/lib/tftpport/directory;
11) copying the default file into a/var/lib/tftproot/pxelinux.cfg directory, modifying the default, and adding configuration:
label ks
kernel vmlinuz
append repo=nfs4:IP:/home/iso initrd=initrd.img console=tty0console=ttyS0,115200n8
the IP is filled according to the actual condition, and the IP is the IP of the currently set server equipment;
12) mounting the files in the directory in the step 7): srqfs and boot folder are copied together into the/home/iso directory;
13) the client (i.e., the device that will install the storage system) sets the PXE enabled in bios to ensure that the system loading operation is performed automatically when the network is loaded.
It can be seen from the foregoing embodiments that, in the method for filling a storage system over a PXE network provided by the embodiments of the present invention, a network file system service is configured, and a storage space is divided for a system image file, so that network file system sharing is effective; temporarily mounting the storage system image to extract the storage system installation script from the storage system image; generating a boot installation script which decompresses an object file of the file system when being booted by the PXE network and starts a storage system installation script; decompressing a target file of the file system to extract a network boot file, and adding and executing a boot installation script to the judgment of the network file system sharing branch of the network boot file; updating the target file of the file system by using the modified network boot file, the boot installation script and the storage system installation script; the technical scheme of storing the target file of the updated file system and the storage system mirror image into the storage space so as to fill the storage system through the PXE network can reduce the error rate of system installation, improve the working efficiency and ensure the shipment progress.
It should be particularly noted that, the steps in the embodiments of the method for filling a storage system through a PXE network can be mutually intersected, replaced, added, or deleted, so that these methods for filling a storage system through a PXE network should also belong to the scope of the present invention, and should not limit the scope of the present invention to the described embodiments.
In view of the above, a second aspect of the embodiments of the present invention provides an embodiment of an apparatus for filling a storage system through a PXE network, which is capable of reducing the error rate of system installation, improving the work efficiency, and ensuring the shipment progress. The device for filling the storage system through the PXE network comprises the following components:
a processor; and
a memory storing program code executable by the processor, the program code when executed sequentially performing the steps of:
configuring network file system service and dividing storage space for system image files to enable network file system sharing to take effect;
temporarily mounting the storage system mirror image to extract a storage system installation script from the storage system mirror image;
generating a boot installation script which decompresses an object file of the file system when being booted by the PXE network and starts an installation script of the storage system;
decompressing a target file of the file system to extract a network boot file, and adding and executing a boot installation script to the judgment of the network file system sharing branch of the network boot file;
updating the target file of the file system by using the modified network boot file, the boot installation script and the storage system installation script;
and storing the target file of the updated file system and the storage system image into the storage space so as to fill the storage system through the PXE network.
In some embodiments, the steps further comprise: while configuring the network file system service, configuring a dynamic host configuration protocol service to configure a local network address and a dynamic network address range, and configuring and enabling a trivial file transfer protocol service; storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: the storage system is filled based on dynamic host configuration protocol services and simple file transfer protocol services.
In some embodiments, executing the boot installation script comprises the steps of:
dividing a memory installation space in a memory file system;
loading and decompressing a target file of the file system to a memory installation space to release a storage system installation script;
the storage system installation script is executed to enter the installation logic of the storage system.
In some embodiments, a storage system image includes a storage system ontology and a storage system installation guide. Storing the target file of the updated file system and the storage system image in the storage space to fill the storage system through the PXE network comprises: and decompressing the storage system image to obtain a storage system body and storage system installation guide, and guiding the storage system body to fill the storage system by using the storage system installation guide.
In some embodiments, the target file of the file system is a centOS. Storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: a centOS kernel is also stored in the storage space, and a target file of the updated file system is processed based on the centOS kernel to fill the storage system through the PXE network.
It can be seen from the foregoing embodiments that, in the apparatus for filling a storage system over a PXE network provided in the embodiments of the present invention, a network file system service is configured, and a storage space is divided for a system image file, so that network file system sharing is effective; temporarily mounting the storage system image to extract the storage system installation script from the storage system image; generating a boot installation script which decompresses an object file of the file system when being booted by the PXE network and starts an installation script of the storage system; decompressing a target file of the file system to extract a network boot file, and adding and executing a boot installation script to the judgment of the network file system sharing branch of the network boot file; updating the target file of the file system by using the modified network boot file, the boot installation script and the storage system installation script; the technical scheme of storing the target file of the updated file system and the storage system mirror image into the storage space so as to fill the storage system through the PXE network can reduce the error rate of system installation, improve the working efficiency and ensure the shipment progress.
It should be particularly noted that, the above embodiments of the apparatus for filling a storage system through a PXE network employ the embodiments of the method for filling a storage system through a PXE network to specifically describe the working process of each module, and those skilled in the art can easily understand that these modules are applied to other embodiments of the method for filling a storage system through a PXE network. Of course, since the steps of the method for filling a storage system through a PXE network may be mutually intersected, replaced, added or deleted, these apparatuses for filling a storage system through a PXE network should also belong to the scope of protection of the present invention, and should not limit the scope of protection of the present invention on the embodiments.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items. The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant only to be exemplary, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of an embodiment of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements and the like that may be made without departing from the spirit or scope of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A method for populating a storage system over a PXE network, comprising performing the steps of:
configuring network file system service and dividing storage space for system image files to enable network file system sharing to take effect;
temporarily mounting a storage system image to extract a storage system installation script from the storage system image;
generating a boot installation script which decompresses an object file of a file system when being booted by the PXE network and starts the storage system installation script;
decompressing a target file of the file system to extract a network boot file, and adding and executing the boot installation script to the judgment of the network file system sharing branch of the network boot file;
updating the target file of the file system by using the modified network boot file, the boot installation script and the storage system installation script;
and storing the target file of the updated file system and the storage system image into the storage space so as to fill the storage system through the PXE network.
2. The method of claim 1, further comprising: while configuring the network file system service, configuring a dynamic host configuration protocol service to configure a local network address and a dynamic network address range, and configuring and enabling a trivial file transfer protocol service;
storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: the storage system is provisioned based on dynamic host configuration protocol services and simple file transfer protocol services.
3. The method of claim 1, wherein executing the boot installation script comprises the steps of:
dividing a memory installation space in a memory file system;
loading and decompressing a target file of a file system to the memory installation space to release the storage system installation script;
executing the storage system installation script to enter installation logic of the storage system.
4. The method of claim 1, wherein the storage system image comprises a storage system ontology and a storage system installation guide;
storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: decompressing the storage system image to obtain the storage system body and the storage system installation guide, and guiding the storage system body to fill the storage system by using the storage system installation guide.
5. The method of claim 1, wherein the target file of the file system is a centOS;
storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: a centOS kernel is also stored in the storage space, and a target file of the updated file system is processed based on the centOS kernel to fill the storage system through the PXE network.
6. An apparatus for populating a storage system over a PXE network, comprising:
a processor; and
a memory storing program code executable by the processor, the program code when executed sequentially performing the steps of:
configuring network file system service and dividing storage space for system image files to enable network file system sharing to take effect;
temporarily mounting a storage system image to extract a storage system installation script from the storage system image;
generating a boot installation script which decompresses an object file of a file system when being booted by the PXE network and starts the storage system installation script;
decompressing a target file of the file system to extract a network boot file, and adding and executing the boot installation script to the judgment of the network file system sharing branch of the network boot file;
updating the target file of the file system by using the modified network boot file, the boot installation script and the storage system installation script;
and storing the target file of the updated file system and the storage system image into the storage space so as to fill the storage system through the PXE network.
7. The apparatus of claim 6, wherein the steps further comprise: while configuring the network file system service, configuring a dynamic host configuration protocol service to configure a local network address and a dynamic network address range, and configuring and enabling a trivial file transfer protocol service;
storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: the storage system is filled based on dynamic host configuration protocol services and simple file transfer protocol services.
8. The apparatus of claim 6, wherein executing the boot installation script comprises:
dividing a memory installation space in a memory file system;
loading and decompressing a target file of a file system to the memory installation space to release the storage system installation script;
executing the storage system installation script to enter installation logic of the storage system.
9. The apparatus of claim 6, wherein the storage system image comprises a storage system ontology and a storage system installation guide;
storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: decompressing the storage system image to obtain the storage system body and the storage system installation guide, and guiding the storage system body to fill the storage system by using the storage system installation guide.
10. The apparatus of claim 6, wherein the target file of the file system is a centOS;
storing the target file of the updated file system and the storage system image into the storage space to fill the storage system through the PXE network comprises: a centOS kernel is also stored in the storage space, and a target file of the updated file system is processed based on the centOS kernel to fill the storage system through the PXE network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010057905.8A CN111240707B (en) | 2020-01-19 | 2020-01-19 | Method and device for filling storage system through PXE network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010057905.8A CN111240707B (en) | 2020-01-19 | 2020-01-19 | Method and device for filling storage system through PXE network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111240707A CN111240707A (en) | 2020-06-05 |
CN111240707B true CN111240707B (en) | 2022-07-26 |
Family
ID=70871301
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010057905.8A Active CN111240707B (en) | 2020-01-19 | 2020-01-19 | Method and device for filling storage system through PXE network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111240707B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112783699B (en) * | 2021-02-20 | 2023-04-18 | 杭州迪普科技股份有限公司 | Method and device for starting emergency mode of community enterprise operating system |
CN114443068B (en) * | 2021-12-30 | 2023-11-14 | 苏州浪潮智能科技有限公司 | Automatic deployment method, system and device for customized domestic operation system PXE |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101504702A (en) * | 2005-03-10 | 2009-08-12 | 日本电信电话株式会社 | Memory system and memory control method |
CN103034684A (en) * | 2012-11-27 | 2013-04-10 | 北京航空航天大学 | Optimizing method for storing virtual machine mirror images based on CAS (content addressable storage) |
CN108388449A (en) * | 2018-01-11 | 2018-08-10 | 郑州云海信息技术有限公司 | A kind of method of data center's update linux system trawl performance |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104679537A (en) * | 2013-11-28 | 2015-06-03 | 英业达科技有限公司 | System and method for using mirror images to establish bootable storage device |
-
2020
- 2020-01-19 CN CN202010057905.8A patent/CN111240707B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101504702A (en) * | 2005-03-10 | 2009-08-12 | 日本电信电话株式会社 | Memory system and memory control method |
CN103034684A (en) * | 2012-11-27 | 2013-04-10 | 北京航空航天大学 | Optimizing method for storing virtual machine mirror images based on CAS (content addressable storage) |
CN108388449A (en) * | 2018-01-11 | 2018-08-10 | 郑州云海信息技术有限公司 | A kind of method of data center's update linux system trawl performance |
Non-Patent Citations (1)
Title |
---|
基于PXE的Linux并行机群快速自动部署与配置;张弢等;《辽宁师范大学学报(自然科学版)》;20080315(第01期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111240707A (en) | 2020-06-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6810478B1 (en) | System for remote booting of muntliple operating systems using chained bootstrap mechanism in a network | |
RU2421785C2 (en) | Automated control of device drivers | |
CN113296792B (en) | Storage method, device, equipment, storage medium and system | |
CN111240707B (en) | Method and device for filling storage system through PXE network | |
US7613807B2 (en) | System, method, and apparatus for discovering a new server connected within an automated data center | |
CN107547629B (en) | Method and device for downloading client static resources, electronic equipment and readable medium | |
CN110908753B (en) | Intelligent fusion cloud desktop server, client and system | |
JP5549038B2 (en) | Method for booting network computing device, server and computer system for implementing the method | |
CN111966423B (en) | Method and equipment for realizing memory operating system | |
US20020073303A1 (en) | Method and system for remotely managing the selection of an operating system for a target device | |
CN102262546A (en) | Method for booting operating system in diskless way, electronic device and server | |
CN111124288B (en) | VPD storage management method, device, equipment and readable storage medium | |
US7930693B2 (en) | Method and system for accessing and launching a java based applet as a locally installed application | |
CN102664922A (en) | High-speed network starting method based on Linux system | |
CN103888491A (en) | Diskless workstation start system and method | |
US20060059330A1 (en) | Remotely providing basic input/output system to a client system | |
CN106487524A (en) | The method of remote opening | |
CN117234582A (en) | Project code processing method and device, electronic equipment and storage medium | |
US10635467B1 (en) | Deployable console-based virtual application deployment and configuration systems and methods | |
CN104717175A (en) | Virtual desktop processing method and system | |
CN114070889B (en) | Configuration method, traffic forwarding device, storage medium, and program product | |
CN113419814B (en) | Virtual machine creating method, device, equipment and storage medium in cloud platform | |
CN115714706A (en) | Access acceleration system and method based on embedded H5, storage medium and electronic equipment | |
US20220261238A1 (en) | Method and system for deploying third-party application to microcontroller by means of edge assistance | |
CN111142972B (en) | Method, apparatus, system, and medium for extending functions of application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |