CN113590140A - Manufacturing method and system of visual PXE system - Google Patents

Manufacturing method and system of visual PXE system Download PDF

Info

Publication number
CN113590140A
CN113590140A CN202110730625.3A CN202110730625A CN113590140A CN 113590140 A CN113590140 A CN 113590140A CN 202110730625 A CN202110730625 A CN 202110730625A CN 113590140 A CN113590140 A CN 113590140A
Authority
CN
China
Prior art keywords
file
configuration
pxe
mirror image
automatic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110730625.3A
Other languages
Chinese (zh)
Inventor
刘岩岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur Jinan data Technology Co ltd
Original Assignee
Inspur Jinan data Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur Jinan data Technology Co ltd filed Critical Inspur Jinan data Technology Co ltd
Priority to CN202110730625.3A priority Critical patent/CN113590140A/en
Publication of CN113590140A publication Critical patent/CN113590140A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of computers, and provides a method and a system for manufacturing a visual PXE system, wherein the method comprises the following steps: installing and manufacturing a publishing tool; mounting a basic mirror image file, and copying the contents of a mounting catalog to an ISO mirror image file manufacturing catalog; copying a pre-developed user-defined file into the ISO mirror image file manufacturing directory; defining a relevant configuration of the automatic guide system and simultaneously defining a relevant configuration of the automatic configuration system; according to the defined automatic guide system and the defined automatic configuration system, the ISO mirror image files are packaged in the current ISO mirror image file manufacturing catalog to generate ISO mirror image files, so that a machine room manager or a delivery operation and maintenance worker can use the ISO mirror image files after opening boxes, installation is completed, namely PXE service installation and configuration are completed, and finally unattended batch installation can be achieved only by configuring network information on a PXE installation interactive interface.

Description

Manufacturing method and system of visual PXE system
Technical Field
The invention belongs to the technical field of computers, and particularly relates to a manufacturing method and system of a visual PXE system.
Background
At present, the mainstream PXE service establishment scheme is the steps of manually configuring a boot system and boot configuration files, manually installing and configuring network service components, and defining a client image source. The PXE (Preboot eXecution Environment) is a very mature technology, before the PXE technology comes to birth, it takes a relatively long time to manually deploy a server, manual installation requires to prepare an installation source in advance and manually install some services, and tedious configuration is required, the whole process is time-consuming and error-prone, and it is impractical to manually allocate installation media to tens of hundreds of computers in a batch installation process, so the PXE technology comes up at will, and by using the technology, machines inside a local area network can start a system installer through a network, and then be uniformly deployed. PXE technology has been widely used in computer rooms, internet cafes, etc. where large quantities of computer systems need to be maintained or where operating systems need to be frequently reinstalled.
According to the scheme, the required installation package needs to be prepared and installed in advance, some important service Configuration files need to be manually modified or newly added, the steps are complicated, the error rate is high, the address ip obtained by a Dynamic Host Configuration Protocol (DHCP) of an automatic fixed client cannot be realized, and the working inconvenience is brought to a machine room manager or operation and maintenance delivery personnel.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a method for manufacturing a visual PXE system, and aims to solve the problems that a main PXE service establishment scheme in the prior art needs to prepare and install a required installation package in advance, some important service configuration files need to be modified or newly added manually, the steps are complicated, the error rate is high, the address ip obtained by a client DHCP (dynamic host configuration protocol) cannot be automatically fixed, and the inconvenience is brought to a machine room manager or operation and maintenance delivery personnel.
The technical scheme provided by the invention is as follows: a method for making a visualized PXE system, the method comprising the steps of:
installing and manufacturing a publishing tool;
mounting a basic mirror image file, and copying the content of a mounting directory to an ISO mirror image file manufacturing directory, wherein the ISO mirror image file manufactured based on the ISO mirror image file manufacturing directory is used as a boot source for installing a PXE server;
copying a pre-developed custom file into the ISO mirror image file manufacturing directory, wherein the custom file comprises a galde program file, a network service-based repo installation source file, a PXE client boot related configuration file and a self-starting execution script file after the boot system is finished;
defining a relevant configuration of the automatic guide system and simultaneously defining a relevant configuration of the automatic configuration system;
and according to the defined automatic guide system and the automatic configuration system, packing the current ISO image file in a production catalog to generate the ISO image file.
As an improved scheme, the galde program files comprise a galde interface file, an interaction configuration file and a background program file, wherein:
the information obtained by the generic interface file from user selection or input includes:
local network information, wherein the local network information comprises a network card, ip, a mask and gateway information, and the network card information is used for automatically reading the local network card and returning a list for selection;
the client network information comprises a subnet ip, a subnet mask, a subnet gateway and a subnet range, wherein the subnet range supports multiple sections, each section of the ip is separated by a specific separator, and the analysis of the ip range is processed by a background program;
and a configuration completion button for finishing the configuration and enabling the configuration to fall into a specified file to be read and processed by the background processing program, and closing the interactive window to continue the automatic bootstrap program execution.
As an improved scheme, the PXE client boot related configuration file includes an auto-boot configuration file isolinux.cfg of a client machine, an auto-configuration file ks.cfg, and a script file of a fixed client ip, where the fixed ip script is executed after the boot is finished is defined in the client auto-configuration file ks.cfg.
As an improved scheme, the self-starting execution script file is a series of scripts which need to be automatically executed after the PXE server restarts the machine at the end of installed booting, and the series of scripts are used for realizing the booting source information and the network configuration information of installing the network service, reading the configuration file and configuring the configuration file into the network service to specify the client installation.
As an improvement, the step of defining the relevant configuration of the automatic guidance system specifically includes the following steps:
cfg, and setting a label linux adding custom menu;
appointing a menu name and setting the menu name as a default starting menu;
adding inst.ks keywords, and appointing and installing a PXE server kickstart file PXE-server-ks.cfg;
the step of defining the relevant configuration of the automatic configuration system specifically comprises the following steps:
configuring conventional setting options including language, network, time zone, automatic partition option, root password and automatic restart;
and adding a% post mark and a% end mark at the end of the file, wherein the mark comprises information for configuring the shell script.
Another object of the present invention is to provide a system for making a visualized PXE system based on a method for making the visualized PXE system, the system including:
the system comprises an issuing tool making module, a printing module and a printing module, wherein the issuing tool making module is used for installing and making an issuing tool;
the system comprises an ISO mirror image file making catalog generation module, a PXE server and a base mirror image file generation module, wherein the ISO mirror image file making catalog generation module is used for mounting a base mirror image file and copying the content of a mounting catalog to an ISO mirror image file making catalog;
the system comprises a custom file copying module, a self-defined file creating module and a self-starting execution script file, wherein the custom file copying module is used for copying a pre-developed custom file into the ISO mirror image file creating directory, and the custom file comprises a galde program file, a repo installation source file based on network service, a PXE client booting related configuration file and a self-starting execution script file after the booting system is finished;
an automatic guidance system definition module for defining the relevant configuration of the automatic guidance system;
the automatic configuration system definition module is used for defining the relevant configuration of the automatic configuration system;
and the ISO mirror image file generation module is used for packaging and generating the ISO mirror image file in the current ISO mirror image file production catalog according to the defined automatic guide system and the defined automatic configuration system.
As an improved scheme, the galde program files comprise a galde interface file, an interaction configuration file and a background program file, wherein:
the information obtained by the generic interface file from user selection or input includes:
local network information, wherein the local network information comprises a network card, ip, a mask and gateway information, and the network card information is used for automatically reading the local network card and returning a list for selection;
the client network information comprises a subnet ip, a subnet mask, a subnet gateway and a subnet range, wherein the subnet range supports multiple sections, each section of the ip is separated by a specific separator, and the analysis of the ip range is processed by a background program;
and a configuration completion button for finishing the configuration and enabling the configuration to fall into a specified file to be read and processed by the background processing program, and closing the interactive window to continue the automatic bootstrap program execution.
As an improved scheme, the PXE client boot related configuration file includes an auto-boot configuration file isolinux.cfg of a client machine, an auto-configuration file ks.cfg, and a script file of a fixed client ip, where the fixed ip script is executed after the boot is finished is defined in the client auto-configuration file ks.cfg.
As an improved scheme, the self-starting execution script file is a series of scripts which need to be automatically executed after the PXE server restarts the machine at the end of installed booting, and the series of scripts are used for realizing the booting source information and the network configuration information of installing the network service, reading the configuration file and configuring the configuration file into the network service to specify the client installation.
As an improved scheme, the automatic guidance system definition module specifically includes:
the custom menu setting module is used for modifying isolinux.cfg and setting a label linux to add a custom menu;
the starting menu setting module is used for appointing a menu name and setting the menu name as a non-default starting menu;
the file specifying module is used for adding inst.ks keywords and specifying and installing a PXE server kickstart file PXE-server-ks.cfg;
the automatic configuration system definition module specifically comprises:
the conventional setting option configuration module is used for configuring conventional setting options including language, network, time zone, automatic partition options, root passwords and automatic restart;
and the marking module is used for adding a% post mark and a% end mark at the tail of the file, wherein the mark comprises information for configuring the shell script.
In an embodiment of the present invention, a publishing tool is installed and manufactured; mounting a basic mirror image file, and copying the contents of a mounting catalog to an ISO mirror image file manufacturing catalog; copying a pre-developed user-defined file into the ISO mirror image file manufacturing directory; defining a relevant configuration of the automatic guide system and simultaneously defining a relevant configuration of the automatic configuration system; according to the defined automatic guide system and the defined automatic configuration system, the ISO mirror image files are packaged in the current ISO mirror image file manufacturing catalog to generate ISO mirror image files, so that a machine room manager or a delivery operation and maintenance worker can use the ISO mirror image files after opening boxes, installation is completed, namely PXE service installation and configuration are completed, and finally unattended batch installation can be achieved only by configuring network information on a PXE installation interactive interface.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
FIG. 1 is a flowchart illustrating an implementation of a method for making a visualized PXE system provided by the present invention;
FIG. 2 is a flow chart of an implementation of the present invention to define the relevant configuration of an auto-boot system;
FIG. 3 is a flow chart of an implementation of the present invention to define the relevant configuration of an autonomic configuration system;
fig. 4 is a block diagram of a system for making a visualized PXE system according to the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are merely for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby.
Fig. 1 is a flowchart illustrating an implementation of a method for manufacturing a visualized PXE system, which specifically includes the following steps:
in step S101, release tools are installed and produced, wherein the release tools include, but are not limited to, createrepo tools, mkisofs tools, isomd5sum tools, and squashfs-tools:
the createrepo tool is used to create yum a source (software repository) that indexes a plurality of rpm packets stored in a local specific location, describes the dependency information required by each packet, and forms metadata;
the Mkisofs tool can make the appointed directory and file into an image file with an ISO 9660 format for recording an optical disc;
on linux or Unix, the isomd5sum tool is a tool program used for calculating and checking the abstract of the file message;
the squashfs-tools are a set of compression read-only file system tools used by a Linux kernel, and the file system tools can compress documents, inodes and directories in a system, and the maximum support of the files is 2^64 bytes.
In step S102, mounting a base image file, and copying the contents of the mount directory to an ISO image file production directory, where the ISO image file produced based on the ISO image file production directory will be used as a boot source for installing the PXE server;
in step S103, copying a pre-developed custom file into the ISO image file production directory, where the custom file includes a galde program file, a repo installation source file based on a network service, a PXE client boot related configuration file, and a self-starting execution script file after the booting system is finished;
in step S104, defining a relevant configuration of the automatic guidance system, and simultaneously defining a relevant configuration of the automatic configuration system;
in step S105, an ISO image is generated by packaging in the current ISO image production directory according to the defined auto-boot system and auto-configuration system.
In the embodiment of the present invention, the galde program file includes a galde interface file, an interaction configuration file, and a background program file, wherein:
(1) the information obtained by the generic interface file from user selections or inputs includes:
local network information, wherein the local network information comprises a network card, ip, a mask and gateway information, and the network card information is used for automatically reading the local network card and returning a list for selection;
the client network information comprises a subnet ip, a subnet mask, a subnet gateway and a subnet range, wherein the subnet range supports multiple sections, each section of the ip is separated by a specific separator, and the analysis of the ip range is processed by a background program;
a configuration completion button is used for finishing the configuration, enabling the configuration to fall into a designated file to be read and processed by a background processing program, and closing an interactive window to continue the execution of the automatic bootstrap program;
in this embodiment, Glade is the GTK + graphical user interface Generator. That is, Glade is a Visual Programming Tool, similar to Microsoft Windows Visual Tools, which automatically helps you generate a C source code by just dragging a mouse. Therefore, we do not need to worry about designing pictures, the pictures are designed by Glade, and the program codes are slightly reduced by an editor to be OK. (there are GTK + interfaces for various languages such as C + +, Ada95, Python, Perl, etc., and if used with other tools, program code for C + +, Ada95, Python and Perl can be automatically generated).
(2) The interactive configuration file is an object file of information falling from an interactive interface and is used by a background program file and an automatic execution script, and the main content comprises local network information and client network information;
(3) and the background program file, wherein the processing program mainly comprises a local network card program which is acquired, local network configuration information which is read from the interactive configuration file and is configured to the local network card program.
In the embodiment of the present invention, the PXE client boot related configuration file includes an auto-boot configuration file isolinux.cfg of the client machine, an auto-configuration file ks.cfg, and a script file of the fixed client ip, where the fixed ip script is executed after the boot is finished is defined in the client auto-configuration file ks.cfg.
In the embodiment of the present invention, the self-starting execution script file is a series of scripts that need to be automatically executed after the PXE server restarts a machine after the installed boot is finished, where the series of scripts are used to implement installation of a network service, reading of a configuration file, and configuring into the network service to specify boot source information and network configuration information of a client installed, and specifically includes:
1) the method comprises the steps of (1) linking a CD-ROM system file to a local system directory and installing;
2) closing the firewall and security enhancement module (selinux);
3) configuring a local installation source and executing installation of network service components (dhcp, tftp-server, xinetd, syslinux and httpd);
4) reading the configuration file of the dhcp service configured by the network information of the local ip and the client subnet from the interactive configuration file and restarting the dhcp service;
5) the method comprises the steps that xinted and tftp services are started, wherein the xinted is extended Internet daemon, the xinted is a new generation of network daemon process service program and called a super Internet server, and is often used for managing various lightweight Internet services, and the xinted provides functions similar to the inetd + tcp _ wrapper, but is more powerful and safe; TFTP (simple File Transfer Protocol) is a Protocol in the TCP/IP Protocol suite used to perform simple File Transfer between a client and a server, and provides an uncomplicated File Transfer service with low overhead;
6) will be provided with
,/usr/share/syslinux/{ menu.c32, vesamenu.c32, pxelinux.0} (bootloader profile) to the tftp directory (default/var/lib/tftpport).
7) And mounting the mirror image file to an httpd service directory (/ var/www/html) and restarting an httpd service, wherein the httpd is a main program of an Apache hypertext transfer protocol (HTTP) server. Designed as an independently running background process that will build a pool of sub-processes or threads to process requests;
8) copying kernel files (vmlinux, initrd.img, boot.msg, splash.png and the like) from the mirror directory to the tftp directory;
9) copying an interactive configuration file, a special ks.cfg file for a PXE client loader and a script file of a fixed client ip from a label program file directory and a configuration file directory automatically booted by the PXE client to an http service directory (/ var/www/html);
10) copying isolinux.cfg to tftp directories from the configuration file directory of the PXE installation related program, and modifying the ins.ks keyword to specify ks.cfg issued by the PXE service local machine;
11) remove/root/. bash _ profile file appended command to execute automatic script to prevent the repeated execution of the above script after the PXE service restarts the machine.
In the embodiment of the present invention, as shown in fig. 2, the step of defining the relevant configuration of the automatic guidance system specifically includes the following steps:
in step S201, isolinux.cfg is modified, and a label linux addition custom menu is set;
in step S202, a menu name is specified and set as a default starting menu;
in step S203, inst.ks keywords are added, and PXE server kickstart file PXE-server-ks.cfg is appointed to be installed;
as shown in fig. 3, the step of defining the relevant configuration of the automatic configuration system specifically includes the following steps:
in step S301, configuring conventional setting options including language, network, time zone, automatic partition option, root password and automatic restart;
in step S302, a% post and a% end mark are added to the end of the file, where the mark includes information configuring a shell script;
the configuration process of the shell script comprises the following steps:
1) the method comprises the steps of (1) linking a CD-ROM system file to a local system directory and installing;
2) copying the load program file to a target execution directory (existing/new) of the program and executing;
3) closing the restarted enterprise authentication interface;
4) configuring/etc/gdm/custom. conf files, setting and guiding to finish automatic restart, and then automatically logging in the system in a root identity;
5) copying the automatic execution script from the ISO making catalog to the target catalog (existing/new);
6) and adding a command for executing an automatic script to the/root/. bash _ profile file, and automatically executing the script to install and configure the PXE service after the system is restarted and automatically logged in.
The embodiment of the invention is realized by using a galde visual configuration, an automatic guide system, an automatic configuration system and a self-execution script [ DHCP (client obtains IP) + TFTP (transmits files required by Linux startup) + HTTP (provides an installation source) + client automatic guide, automatic configuration and client fixed IP ], and finally delivered into an ISO mirror image file.
Fig. 4 is a block diagram of a system for making a visualized PXE system according to the present invention, and for convenience of illustration, only the parts related to the embodiment of the present invention are shown in the diagram.
The manufacturing system of the visual PXE system comprises:
an issuing tool making module 11 for installing and making an issuing tool;
an ISO image file production directory generation module 12, configured to mount a basic image file, and copy the contents of the mount directory to an ISO image file production directory, where an ISO image file produced based on the ISO image file production directory is to be used as a boot source for installing the PXE server;
a custom file copying module 13, configured to copy a pre-developed custom file into the ISO image file production directory, where the custom file includes a galde program file, a repo installation source file based on a network service, a PXE client boot related configuration file, and a self-starting execution script file after the booting system is finished;
an auto-boot system definition module 14 for defining the relevant configuration of the auto-boot system;
an automatic configuration system defining module 15 for defining the relevant configuration of the automatic configuration system;
and the ISO image file generating module 16 is used for packaging and generating an ISO image file in the current ISO image file production catalog according to the defined automatic guide system and automatic configuration system.
The automatic guidance system defining module 14 specifically includes:
a custom menu setting module 17, configured to modify isolinux.cfg, and set label linux to add a custom menu;
a starting menu setting module 18, configured to specify a menu name and set the menu name as a default starting menu;
the file specifying module 19 is used for adding inst.ks keywords and specifying and installing a PXE server kickstart file PXE-server-ks.cfg;
the automatic configuration system definition module 15 specifically includes:
a conventional setting option configuration module 20, configured to configure conventional setting options including language, network, time zone, automatic partition option, root password, and automatic restart;
and the marking module 21 is used for adding a% post mark and a% end mark at the end of the file, wherein the mark comprises information for configuring the shell script.
The functions of the modules are described in the above embodiments, and are not described herein again.
In an embodiment of the present invention, a publishing tool is installed and manufactured; mounting a basic mirror image file, and copying the contents of a mounting catalog to an ISO mirror image file manufacturing catalog; copying a pre-developed user-defined file into the ISO mirror image file manufacturing directory; defining a relevant configuration of the automatic guide system and simultaneously defining a relevant configuration of the automatic configuration system; according to the defined automatic guide system and the defined automatic configuration system, the ISO mirror image files are packaged in the current ISO mirror image file manufacturing catalog to generate ISO mirror image files, so that a machine room manager or a delivery operation and maintenance worker can use the ISO mirror image files after opening boxes, installation is completed, namely PXE service installation and configuration are completed, and finally unattended batch installation can be achieved only by configuring network information on a PXE installation interactive interface.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (10)

1. A method for manufacturing a visualized PXE system is characterized by comprising the following steps:
installing and manufacturing a publishing tool;
mounting a basic mirror image file, and copying the content of a mounting directory to an ISO mirror image file manufacturing directory, wherein the ISO mirror image file manufactured based on the ISO mirror image file manufacturing directory is used as a boot source for installing a PXE server;
copying a pre-developed custom file into the ISO mirror image file manufacturing directory, wherein the custom file comprises a galde program file, a network service-based repo installation source file, a PXE client boot related configuration file and a self-starting execution script file after the boot system is finished;
defining a relevant configuration of the automatic guide system and simultaneously defining a relevant configuration of the automatic configuration system;
and according to the defined automatic guide system and the automatic configuration system, packing the current ISO image file in a production catalog to generate the ISO image file.
2. The method for making a visualized PXE system according to claim 1, wherein said galde program files include a galde interface file, an interaction configuration file, and a daemon file, wherein:
the information obtained by the generic interface file from user selection or input includes:
local network information, wherein the local network information comprises a network card, ip, a mask and gateway information, and the network card information is used for automatically reading the local network card and returning a list for selection;
the client network information comprises a subnet ip, a subnet mask, a subnet gateway and a subnet range, wherein the subnet range supports multiple sections, each section of the ip is separated by a specific separator, and the analysis of the ip range is processed by a background program;
and a configuration completion button for finishing the configuration and enabling the configuration to fall into a specified file to be read and processed by the background processing program, and closing the interactive window to continue the automatic bootstrap program execution.
3. The method for making a visualization PXE system according to claim 1, wherein the PXE client boot related configuration file includes an auto-boot configuration file isolinux.cfg of a client machine, an auto-configuration file ks.cfg and a script file of a fixed client ip, and wherein the fixed ip script is executed after the boot is finished is defined in the auto-boot configuration file ks.cfg of the client machine.
4. The method for making the visualized PXE system according to claim 1, wherein the self-starting execution script file is a series of scripts that the PXE server needs to automatically execute after restarting the machine at the end of the installed boot, and the series of scripts are used for implementing the boot source information and the network configuration information of installing the network service, reading the configuration file and configuring the configuration file into the network service to specify the client installation.
5. The method for making a visualized PXE system according to claim 1, wherein said step of defining the related configuration of the automatic boot system specifically includes the steps of:
cfg, and setting a label linux adding custom menu;
appointing a menu name and setting the menu name as a default starting menu;
adding inst.ks keywords, and appointing and installing a PXE server kickstart file PXE-server-ks.cfg;
the step of defining the relevant configuration of the automatic configuration system specifically comprises the following steps:
configuring conventional setting options including language, network, time zone, automatic partition option, root password and automatic restart;
and adding a% post mark and a% end mark at the end of the file, wherein the mark comprises information for configuring the shell script.
6. A visualized PXE system making system based on the PXE system making method of claim 1, wherein said system comprises:
the system comprises an issuing tool making module, a printing module and a printing module, wherein the issuing tool making module is used for installing and making an issuing tool;
the system comprises an ISO mirror image file making catalog generation module, a PXE server and a base mirror image file generation module, wherein the ISO mirror image file making catalog generation module is used for mounting a base mirror image file and copying the content of a mounting catalog to an ISO mirror image file making catalog;
the system comprises a custom file copying module, a self-defined file creating module and a self-starting execution script file, wherein the custom file copying module is used for copying a pre-developed custom file into the ISO mirror image file creating directory, and the custom file comprises a galde program file, a repo installation source file based on network service, a PXE client booting related configuration file and a self-starting execution script file after the booting system is finished;
an automatic guidance system definition module for defining the relevant configuration of the automatic guidance system;
the automatic configuration system definition module is used for defining the relevant configuration of the automatic configuration system;
and the ISO mirror image file generation module is used for packaging and generating the ISO mirror image file in the current ISO mirror image file production catalog according to the defined automatic guide system and the defined automatic configuration system.
7. The instrumentation system of claim 6, wherein the galde program files comprise a galde interface file, an interaction configuration file, and a daemon file, wherein:
the information obtained by the generic interface file from user selection or input includes:
local network information, wherein the local network information comprises a network card, ip, a mask and gateway information, and the network card information is used for automatically reading the local network card and returning a list for selection;
the client network information comprises a subnet ip, a subnet mask, a subnet gateway and a subnet range, wherein the subnet range supports multiple sections, each section of the ip is separated by a specific separator, and the analysis of the ip range is processed by a background program;
and a configuration completion button for finishing the configuration and enabling the configuration to fall into a specified file to be read and processed by the background processing program, and closing the interactive window to continue the automatic bootstrap program execution.
8. The PXE system manufacturing system according to claim 6, wherein the PXE client boot related configuration files include an auto-boot configuration file (isolinux.cfg) of a client installation, an auto-configuration file (ks.cfg) and a script file of a fixed client ip, wherein the fixed ip script is executed after booting is finished is defined in the client auto-configuration file (ks.cfg).
9. The PXE system making system according to claim 6, wherein the self-starting execution script file is a series of scripts that the PXE server needs to automatically execute after restarting the machine at the end of the installed boot, and the series of scripts are used for implementing the boot source information and the network configuration information of installing the network service, reading the configuration file and configuring the configuration file into the network service to specify the client installation.
10. The system for making visualized PXE system according to claim 6, wherein said auto-boot system definition module specifically comprises:
the custom menu setting module is used for modifying isolinux.cfg and setting a label linux to add a custom menu;
the starting menu setting module is used for appointing a menu name and setting the menu name as a non-default starting menu;
the file specifying module is used for adding inst.ks keywords and specifying and installing a PXE server kickstart file PXE-server-ks.cfg;
the automatic configuration system definition module specifically comprises:
the conventional setting option configuration module is used for configuring conventional setting options including language, network, time zone, automatic partition options, root passwords and automatic restart;
and the marking module is used for adding a% post mark and a% end mark at the tail of the file, wherein the mark comprises information for configuring the shell script.
CN202110730625.3A 2021-06-29 2021-06-29 Manufacturing method and system of visual PXE system Pending CN113590140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110730625.3A CN113590140A (en) 2021-06-29 2021-06-29 Manufacturing method and system of visual PXE system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110730625.3A CN113590140A (en) 2021-06-29 2021-06-29 Manufacturing method and system of visual PXE system

Publications (1)

Publication Number Publication Date
CN113590140A true CN113590140A (en) 2021-11-02

Family

ID=78245245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110730625.3A Pending CN113590140A (en) 2021-06-29 2021-06-29 Manufacturing method and system of visual PXE system

Country Status (1)

Country Link
CN (1) CN113590140A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992515A (en) * 2021-12-30 2022-01-28 深圳市科力锐科技有限公司 System configuration method, device, equipment and storage medium
CN114443068A (en) * 2021-12-30 2022-05-06 苏州浪潮智能科技有限公司 Automatic deployment method, system and device for customized domestic operating system PXE

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992515A (en) * 2021-12-30 2022-01-28 深圳市科力锐科技有限公司 System configuration method, device, equipment and storage medium
CN114443068A (en) * 2021-12-30 2022-05-06 苏州浪潮智能科技有限公司 Automatic deployment method, system and device for customized domestic operating system PXE
CN114443068B (en) * 2021-12-30 2023-11-14 苏州浪潮智能科技有限公司 Automatic deployment method, system and device for customized domestic operation system PXE

Similar Documents

Publication Publication Date Title
JP6058628B2 (en) Multi-node application deployment system
US9350623B2 (en) System and method for automated deployment of multi-component computer environment
US8132166B2 (en) Methods and systems for provisioning software
US8185889B2 (en) Methods and systems for porting software packages from one format to another
CN104932919A (en) Linux unattended installation implementation method
CN113590140A (en) Manufacturing method and system of visual PXE system
CN112230942A (en) Automatic deployment method and system supporting various domestic operating systems
US11144292B2 (en) Packaging support system and packaging support method
CN111225064A (en) Ceph cluster deployment method, system, device and computer-readable storage medium
CN112445495A (en) Mirroring and recovery method for high-performance computing cluster nodes
US10042631B2 (en) System and method for automated content and software migration
Saeed et al. An optimized framework to adopt computer laboratory administrations for operating system and application installations
CN117112122A (en) Cluster deployment method and device
Cisco Introduction
CN110795113B (en) Redis cluster service installation method, server and medium
Cisco Release Notes for Cisco Secure Policy Manager Version 2.3.2f
CN113064698A (en) Method for providing product environment and corresponding device, system, equipment and medium
CN111708553A (en) Terminal and system for background updating of desktop mirror image
KR102414260B1 (en) Method and apparatus for automatically installing operating system in an environment of network
Tinetti et al. Install a mongodb Replica Set in a Virtual Environment
Lange Fai guide (fully automatic installation)
Both Automation with Ansible
Malcher et al. Installing the Oracle Binaries
Nguyen Huy COBBLER-Automating Initial Server Setup
Zhou et al. Development and Research of Root File System Based on Cortex-A8 Microprocessor

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