CN105959134A - Automatic installation deployment method based on PXE, and PXE server - Google Patents

Automatic installation deployment method based on PXE, and PXE server Download PDF

Info

Publication number
CN105959134A
CN105959134A CN201610261244.4A CN201610261244A CN105959134A CN 105959134 A CN105959134 A CN 105959134A CN 201610261244 A CN201610261244 A CN 201610261244A CN 105959134 A CN105959134 A CN 105959134A
Authority
CN
China
Prior art keywords
pxe
installation
address
configuration
dhcp
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
CN201610261244.4A
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.)
Opzoon Technology Co Ltd
Original Assignee
Opzoon 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 Opzoon Technology Co Ltd filed Critical Opzoon Technology Co Ltd
Priority to CN201610261244.4A priority Critical patent/CN105959134A/en
Publication of CN105959134A publication Critical patent/CN105959134A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0883Semiautomatic configuration, e.g. proposals from system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides an automatic installation deployment method based on PXE, and a PXE server. The automatic installation deployment method is characterized in that after a booting instruction is received, DHCP service, TFTP service, and FTP service are booted; after a DHCP modification instruction is received, configuration information of a DHCP service configuration file is modified dynamically according to the modification information of the DHCP modification instruction; after a DHCP request message transmitted by a pre-configured PXE client is received, a DHCP response message is returned to the PXE client, and comprises the configuration information of the current DHCP service configuration file, and then the PXE client is used to download an installation booting configuration file according to the IP address of the configuration information and the address of the booting configuration file, and at last, PXE installation configuration is completed by the installation booting configuration file. The automatic installation deployment method based on the PXE provided by the invention is advantageous in that the flexible automatic configuration modification is realized according to current network environment input by a user, and manual hand-operated modification is not required; the application range is wide, and the method is easy and simple to realize.

Description

Automatic installation and deployment method based on PXE, PXE server
Technical field
The invention belongs to field of computer technology, particularly to a kind of installation automatically based on PXE Dispositions method, PXE server.
Background technology
Pre-boot Execution Environment (Preboot execute Environment, be called for short PXE) be at present than The technology of relatively main flow, is mainly used in client/server (Client/Server is called for short C/S), Start image file is downloaded by network from far-end server (namely resource pool) for client, Wherein this start image file can be a boot program can also be operating system, client The operating system being pre-installed in far-end server is guided according to this start image file, thus Realize starting operating system on the client.
The interaction of PXE client and PXE server is as it is shown in figure 1, include: 1, PXE Client starts from the PXE network interface card of oneself, and the Dynamic Host Configuration Protocol server in present networks asks for IP; 2, the placement location of IP and the PXE file that client computer is distributed in Dynamic Host Configuration Protocol server return (should File is usually placed on a tftp server);3, PXE Client is in present networks Tftp server asks for pxelinux.0, default file;4, PXE Client obtains pxelinux.0 This document, vmlinuz, the initrd.img specified according to configuration file default is performed after file Start system kernel, and download the ks.cfg file specified;5, with going according to ks.cfg (HTTP/FTP/NFS) server downloads RPM bag installation system.
Wherein, ks.cfg file can pass through Kickstart (a unattended mounting means) Automatically generate.The operation principle of Kickstart is that record is typical in installation process to be needed manually Intervene the various parameters filled in, and generate the file of ks.cfg.If in installation process (no Be confined to generate Kickstart install file machine) occur parameter to be filled in situation, peace First dress program can go to search the file that Kickstart generates, if finding suitable parameter, just Use the parameter found.If therefore Kickstart file covers in installation process to go out The existing parameter that be there is a need to fill in, then setter can only tell installation procedure is from what completely Place takes ks.cfg file, the most just goes oneself thing busy.Etc. installing, installation procedure meeting Restart system according to the setting in ks.cfg, and terminate to install.PXE mode and Kickstart side Formula is combined and is carried out unmanned to install operating system complete procedure concrete the most as shown in Figure 2.
But in practical operation, existing PXE server can not be supported dynamically to revise DHCP Configuration file, can not support to specify the default installation boot configuration file of different resource pools, Thus cannot support that different PXE clients installs the behaviour obtained from different resource pools according to demand Make the image file of system.
Summary of the invention
It is an object of the present invention to provide one can revise DHCP flexibly according to existing network environment and join Based on PXE the automatic installation and deployment method put.
In order to achieve the above object, the invention provides a kind of automatic installation and deployment based on PXE Method and PXE server.
First aspect, the invention provides a kind of automatic installation and deployment method based on PXE, bag Include:
After receiving open command, open DHCP, TFTP and FTP service;
After receiving DHCP amendment instruction, revise information according in described DHCP amendment instruction The dynamically configuration information in amendment DHCP service configuration file;Wherein, described amendment information includes The IP address of the PXE client of pre-installation configuration and the address of installation boot configuration file, dynamically Amended configuration information also includes IP address and the installation of the PXE client of pre-installation configuration The address of boot configuration file;
After the DHCP request message that the PXE client receiving described pre-installation configuration sends, Returning dhcp response message to described PXE client, described dhcp response message includes currently Configuration information in DHCP service configuration file, so that described PXE client is according to described configuration IP address and the address of installation boot configuration file in information are downloaded and are installed boot configuration file, And the PXE installation configuration of self is completed by described installation boot configuration file.
Preferably, described DHCP amendment instruction includes some groups of amendment information,
Often group amendment information includes the IP address of multiple PXE client pre-installing configuration, Yi Jiduo The individual address pre-installing same installation boot configuration file corresponding to the PXE client configured.
Preferably, described DHCP amendment instruction includes some groups of amendment information,
Often group amendment information includes the IP address of PXE client of multiple pre-installation configuration, and often One address pre-installing installation boot configuration file corresponding to the PXE client configured.
Preferably, in described often group amendment information, also include and each described pre-installation configuration The identification information of the PXE client of the IP address binding of PXE client.
Preferably, including the MAC that identification information is PXE client of described PXE client Address.
Second aspect, the invention provides a kind of PXE server, including:
Unit is opened in service, for after receiving open command, open DHCP, TFTP and FTP service;
Configuration modification unit, for after receiving DHCP amendment instruction, according to described DHCP Information is revised in amendment instruction and dynamically revises the configuration information in DHCP service configuration file;Its In, described amendment information includes the IP address of the PXE client of pre-installation configuration and installs guiding The address of configuration file, dynamic amended configuration information also includes the PXE visitor of pre-installation configuration The IP address of family end and the address of installation boot configuration file;
Communication unit, for send in the PXE client receiving described pre-installation configuration After DHCP request message, return dhcp response message, described DHCP to described PXE client Response message includes the configuration information in current DHCP service configuration file, so that described PXE is objective Family end downloads peace according to the address of the IP address in described configuration information and installation boot configuration file Dress boot configuration file, and the PXE installation of self is completed by described installation boot configuration file Configuration.
Preferably, described DHCP amendment instruction includes some groups of amendment information,
Often group amendment information includes the IP address of multiple PXE client pre-installing configuration, Yi Jiduo The individual address pre-installing same installation boot configuration file corresponding to the PXE client configured.
Preferably, described DHCP amendment instruction includes some groups of amendment information,
Often group amendment information includes the IP address of PXE client of multiple pre-installation configuration, and often One address pre-installing installation boot configuration file corresponding to the PXE client configured.
Preferably, in described often group amendment information, also include and each described pre-installation configuration The identification information of the PXE client of the IP address binding of PXE client.
Preferably, including the MAC that identification information is PXE client of described PXE client Address.
The present invention provide based on PXE automatic installation and deployment method by receive newly-increased After the instruction of external interface transmission, DHCP, FTP, TFTP service can be carried out according to instruction Open and close operation and dynamically revise DHCP configuration file according to different network environments Operation, based on PXE the automatic installation and deployment method enabling the present invention to provide is defeated according to user The current network environment entered automatically configures amendment flexibly, it is not necessary to revise manually, Applied widely and simple easily realization.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below In describing embodiment, the required accompanying drawing used is briefly described, it should be apparent that under, Accompanying drawing in the description of face is only some examples of the present invention, for those of ordinary skill in the art From the point of view of, on the premise of not paying creative work, it is also possible to obtain other according to these accompanying drawings Accompanying drawing.
Fig. 1 is PXE server and the interaction diagrams of PXE client in prior art;
Fig. 2 is that in prior art, PXE and unattended mode installation operation system information are shown alternately It is intended to;
Fig. 3 is a kind of based on PXE the automatic installation and deployment embodiment of the method stream that the present invention provides Cheng Tu;
Fig. 4 is a kind of PXE server device example structure schematic diagram that the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the technical side in the embodiment of the present invention Case is clearly and completely described, it is clear that described embodiment is only the present invention one Divide embodiment rather than whole embodiments.Based on the embodiment in the present invention, this area is general The every other embodiment that logical technology people is obtained under not making creative work premise, all Belong to the scope of protection of the invention.
In order to the method being better understood from present invention offer is the most automatically to PXE server In configuration modify, that introduces PXE server early stage first below build situation.
Step one, build-in services device, amendment configuration.
Installing CentOS system on VMware virtual machine, this system is as the base of PXE server Native system, installs DHCP, TFTP and ftp server, according to Ethernet snap-fit in this system Each server profile of the IP address amendment correspondence put and installation boot entry configuration file.Under Face is configured to as a example by 192.168.10.3 by Ethernet card, is discussed in detail and how to revise each server Configuration file and default installation boot entry configuration file.
(1) amendment DHCP configuration configures by default, specific as follows:
Wherein, 192.168.10.3 is the IP address of PXE server management mouth, 192.168.10.150-192.168.10.200 in being 192.168.10.0 subnet, system to be installed The network segment of PXE client.
(2) configuration of amendment tftp server is it can be understood as revise PXE client and PXE The mode how service end communicates, specific as follows:
Here the place of main amendment carries annotated place exactly, namely have modified installation and draws Lead the path of a configuration file.Usually, the path installing boot entry configuration file is all left in Under the catalogue of tftp server.
(3) under the catalogue of amendment tftp server, boot entry configuration file is installed, as follows:
vi/tftpboot/pxelinux.cfg/default
label linux
menu label^Install or upgrade an existing system
menu default
kernel vmlinuz
Append initrd=initrd.img ks=ftp: // 192.168.10.3/ks.cfg
Installing boot entry configuration file i.e. default file, amendment wherein adds the generation of boldface type Code, so that the PXE client of system to be installed can be managed by this PXE of 192.168.10.3 Reason mouth obtains ks.cfg file.Wherein, ks.cfg file was introduced in installation process in being background technology The file typically needing various parameters that manual intervention fills in of middle record.System to be installed PXE client is after obtaining this file, it is possible to automatically according to the ginseng configured in file Number is installed automatically.
(4) amendment unmanned installs configuration file, as follows:
vi/var/ftp/ks.cfg
install
text
Url--url=ftp: // 192.168.10.3/pub/
lang en_US.UTF-8
keyboard us
network--device eth0--bootproto dhcp
……
Bolded section in amendment code, thus ensure that the PXE client of system to be installed can Ks.cfg file is obtained by this PXE of 192.168.10.3 management mouth.
Step 2, establishment heterogeneous resource pond.
Resource pool is deposited and needs the PXE client of installation system and need operating system to be mounted Ios image file, the PXE client of system to be installed can be by PXE management mouth from resource pool The ios image file of middle down operation system thus carry out follow-up operating system and install.Wherein, Resource pool can be huawei or vmware, at TFTP and ftp server share directory/tftpboot Be respectively created huawei and vmware catalogue under/var/ftp, then boot entry configuration literary composition will be installed Part and each ios image file decompression to be installed are placed under respective directories.Wherein, TFTP clothes Under the share directory/tftpboot of business device, storage is to install boot entry configuration file, ftp server Under share directory/var/ftp, storage is the ios image file installed.
Concrete operation step is as follows;
(1) the file copy in each installation mirror image ISO file to/var/ftp/huawei or In/var/ftp/huawei, as a example by huawei, as follows:
mount/dev/cdrom/media/huawei/
cp-Rf/media/huawei/*/var/ftp/huawei/
(2) initrd.img pxelinux.0 vmlinuz is copied to/tftpboot catalogue in
mkdir/tftpboot
chmod 777-Rf/tfrpboot/
cp/var/ftp/huawei/isolinux/initrd.img/tftpboot/huawei/
cp/var/ftp/huawei/isolinux/vmlinuz/tftpboot/huawei/
Here initrd.img pxelinux.0 vmlinuz is installation boot entry configuration file.
(3) pxelinux.0 file (find/-name pxelinux.0) is found
cp/usr/share/syslinux/pxelinux.0/tftpboot
(4) default file is placed on/tftpboot/pxelinux.cfg/ under
mkdir/tftpboot/pxelinux.cfg/
cp/var/ftp/pub/isolinux/isolinux.cfg/tftpboot/pxelinux.cfg/default
(5) ks.cfg file is placed on/var/ftp/ under
cp/root/anaconda-ks.cfg/var/ftp/ks.cfg
Also can carry out according to operation above as resource pool need to be increased newly.
The system of good whole PXE server installed above is packed and generates new ISO installation mirror As file, can look for a PC, notebook, virtual machine that PXE clothes are installed the most at the scene at any time Business device, own as PXE service end after installation, thus with the PXE of system to be installed Client interacts so that PXE client automatic installing operating system.
Based on above-mentioned background technology, first aspect, the invention provides a kind of based on PXE from Dynamic installation and deployment embodiment of the method, the method is by utilizing said method to install the most at the scene PXE server realize, as it is shown in figure 1, include:
S101, after receiving open command, open DHCP, TFTP and FTP service;
Specifically, PXE server arranges an external interface, and can be connect by this Mouth receives and is turned on and off the amendment instruction of a certain server.After receiving amendment instruction, PXE Corresponding server is performed to be turned on and off operation by server according to amendment instruction.
S102, receive DHCP amendment instruction after, according to DHCP amendment instruction in amendment letter Configuration information in breath dynamically amendment DHCP service configuration file;Wherein, amendment information includes pre- The IP address of PXE client's device of configuration it is installed and the address of boot configuration file is installed, dynamically repairing Configuration information after changing also includes that the IP address of PXE client's device of pre-installation configuration and installation are drawn Lead the address of configuration file;
Specifically, PXE server also sets up an external interface, and can be by being somebody's turn to do Interface amendment information.Here amendment information is that user is defeated by interface according to practical situation The IP address of PXE client's device of the pre-installation configuration entered and the address of installation boot configuration file. Such as, user to be that operating system installed by 200 computers in a certain machine room, and user walks at this Only need to be inputted 200 computers of system to be installed by the interface that PXE server is arranged in Zhou IP address and install boot configuration file address.PXE server just can be according to connecing The configuration information of current server is modified by amendment information automatically that receive.It is appreciated that , the content of amendment is mainly IP address and the installation of 200 computers of system to be installed In the address of boot configuration file, namely the automatic step one performing to introduce in background technology (1)-(3) step.
S103, the DHCP request message sent in the PXE client receiving pre-installation configuration After, returning dhcp response message to this PXE client, dhcp response message includes currently Configuration information in DHCP service configuration file, so that PXE client is according in configuration information The address of IP address and installation boot configuration file is downloaded and is installed boot configuration file, and by peace Dress boot configuration file completes the PXE of self and installs configuration.
The PXE client process mutual with PXE service end is well known to those skilled in the art General knowledge, for saving length, does not repeats them here.
To sum up, based on PXE the automatic installation and deployment method that the present invention provides is by receiving After the instruction of newly-increased external interface transmission, DHCP, FTP, TFTP can be carried out according to instruction The open and close of service operates and dynamically revises DHCP configuration literary composition according to different network environments The operation of part, enable based on PXE automatic installation and deployment method that the present invention provides according to The current network environment of family input automatically configures amendment flexibly, it is not necessary to repair manually Change, applied widely and simple easily realization.
In the specific implementation, in order to arrange multiple stage computer to obtain system from same resource pool System installation resource, the DHCP amendment instruction here by interface income to PXE server can be wrapped Include some groups of amendment information.
Wherein, often group amendment information includes the IP address of multiple PXE client pre-installing configuration, And the same installation boot configuration file corresponding to PXE client of multiple pre-installation configuration Address.Such as, in the computer of 200 systems to be installed, wherein 100 will be from HUAWEI Obtaining resource in resource pool, other 100 to obtain resource from VMware resource pool.Therefore, The one of which amendment information of input can include that 100 to be obtained from HUAWEI resource pool Take the IP address of the computer of resource, and the address of the installation boot configuration file of correspondence, should The content installed in boot configuration file can guide these 100 computers from HUAWEI resource Pond obtains ios image file.Another group amendment information in can include 100 will be from VMware Resource pool obtains the IP address of the computer of resource, and the installation boot configuration file of correspondence Address, the content in this installation boot configuration file can guide these 100 computers from VMware resource pool obtains ios image file.
Additionally, often group amendment information includes the IP address of multiple PXE client pre-installing configuration, And each pre-installs the ground of installation boot configuration file corresponding to the PXE client configured Location.Such as, in 200 computers, wherein one to obtain money from HUAWEI resource pool Source, also two to obtain resource from VMware resource pool.Therefore, the one of which of input Amendment information can including, this to obtain the computer of resource from HUAWEI resource pool IP address, and the address of the installation boot configuration file of correspondence, this installation boot configuration literary composition Content in part can guide this computer to obtain ios image literary composition from HUAWEI resource pool Part.Another group amendment information of input can include that those two to be obtained from VMware resource pool Take the IP address of the computer of resource, and the address of the installation boot configuration file of correspondence, should The content installed in boot configuration file can guide these two computers from VMware resource pool Middle acquisition ios image file.
It is capable of controlling different computer by the way and obtains IOS from different resource pools The purpose of image file, and resource pool can also be extended, and makes the method energy that the present invention provides Enough operations different according to different actual demand execution, further increase adaptability and practicality Property.
In the specific implementation, in often group amendment information described above, also include and each institute State the identification information of the PXE client of the IP address binding of the PXE client of pre-installation configuration.This In the identification information of PXE client can be the MAC Address of PXE client.
It is capable of host MAC address by such mode to bind with IP.Make the present invention The method provided can be separately provided generation according to host MAC address and install boot configuration file (loading sequence installing boot configuration file is: first looks for and naming with this host MAC address Boot configuration file, if can not find, looks for the boot configuration file subtracting 1 successively with IP address, if also It is to can not find, then loads default and give tacit consent to boot configuration file).Such as, all of computer system One installs vmware pond, then will generate the default installation boot configuration literary composition in vmware pond according to interface Part is /tftpboot/pxelinux.cfg/default, as certain main frame need to be specified to install specific resources pond, Then generate specific installation boot configuration according to main frame MAC (such as 24:b8:d2:20:50:00) address File is /tftpboot/pxelinux.cfg/01-24-b8-d2-20-50-00.Thus can realize referring to The purpose in specific resources pond installed by certain main frame fixed.
Second aspect, the invention provides a kind of PXE server, as shown in Figure 4, and including:
Unit 401 is opened in service, for after receiving open command, opens DHCP, TFTP And FTP service;
Configuration modification unit 402, for after receiving DHCP amendment instruction, according to described DHCP amendment instruction is revised the configuration letter that information is dynamically revised in DHCP service configuration file Breath;Wherein, described amendment information include pre-installation configuration PXE client IP address and Installing the address of boot configuration file, dynamic amended configuration information also includes pre-installation configuration PXE client IP address and install boot configuration file address;
Communication unit 403, for sending in the PXE client receiving described pre-installation configuration DHCP request message after, to described PXE client return dhcp response message, described Dhcp response message includes the configuration information in current DHCP service configuration file, so that institute State PXE client according to the IP address in described configuration information and the ground of installation boot configuration file Location is downloaded and is installed boot configuration file, and completes self by described installation boot configuration file PXE installs configuration.
In the specific implementation, described DHCP amendment instruction includes some groups of amendment information,
Often group amendment information includes the IP address of multiple PXE client pre-installing configuration, and Multiple ground pre-installing same installation boot configuration file corresponding to the PXE client configured Location.
In the specific implementation, described DHCP amendment instruction includes some groups of amendment information,
Often group amendment information includes the IP address of multiple PXE client pre-installing configuration, and Each pre-installs the address of installation boot configuration file corresponding to the PXE client configured.
In the specific implementation, in described often group amendment information, also include and each described pre-installation The identification information of the PXE client of the IP address binding of the PXE client of configuration.
In the specific implementation, including: the identification information of described PXE client is PXE client MAC Address.
The PXE server introduced due to the present embodiment is can to perform in the embodiment of the present invention The device of automatic installation and deployment method based on PXE, so being situated between based in the embodiment of the present invention Based on PXE the automatic installation and deployment method continued, those skilled in the art will appreciate that this The detailed description of the invention of the PXE server of embodiment and its various versions, so at this How this PXE server is realized to based on PXE the automatic installation portion in the embodiment of the present invention Arranging method is no longer discussed in detail.As long as those skilled in the art implement in the embodiment of the present invention The device that automatic installation and deployment method based on PXE is used, broadly falls into the application and is intended to protect Scope.
Device embodiment described above is only schematically, wherein said as separated part The unit of part explanation can be or may not be physically separate, shows as unit Parts can be or may not be physical location, i.e. may be located at a place, or also Can be distributed on multiple NE.Can select according to the actual needs part therein or The whole module of person realizes the purpose of the present embodiment scheme.Those of ordinary skill in the art are not paying In the case of going out performing creative labour, i.e. it is appreciated that and implements.
Through the above description of the embodiments, those skilled in the art it can be understood that The mode of required general hardware platform can be added by software to each embodiment to realize, certainly Hardware can also be passed through.Based on such understanding, technique scheme is the most in other words to existing The part having technology to contribute can embody with the form of software product, and this computer is soft Part product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, light Dish etc., including some instructions with so that computer equipment (can be personal computer, Server, or the network equipment etc.) perform some part institute of each embodiment or embodiment The method stated.
The present invention will be described rather than carries out the present invention to it should be noted above-described embodiment Limit, and those skilled in the art without departing from the scope of the appended claims may be used Design alternative embodiment.In the claims, any reference between bracket should not will be located in Symbol construction becomes limitations on claims.Word " comprises " not exclude the presence of and is not listed in right Element in requirement or step.Word "a" or "an" before being positioned at element is not excluded for There is multiple such element.The present invention can be by means of the hardware including some different elements And realize by means of properly programmed computer.If listing the unit right of equipment for drying In requirement, several in these devices can be specifically to be embodied by same hardware branch. Word first, second and third use do not indicate that any order.Can be by these words It is construed to title.
Last it is noted that above example is only in order to illustrate technical scheme, and Non-to its restriction;Although the present invention being described in detail with reference to previous embodiment, ability The those of ordinary skill in territory is it is understood that it still can be to the skill described in foregoing embodiments Art scheme is modified, or wherein portion of techniques feature is carried out equivalent;And these are repaiied Change or replace, not making the essence of appropriate technical solution depart from various embodiments of the present invention technical side The spirit and scope of case.

Claims (10)

1. an automatic installation and deployment method based on PXE, it is characterised in that including:
After receiving open command, open DHCP, TFTP and FTP service;
After receiving DHCP amendment instruction, revise information according in described DHCP amendment instruction The dynamically configuration information in amendment DHCP service configuration file;Wherein, described amendment information includes The IP address of the PXE client of pre-installation configuration and the address of installation boot configuration file, dynamically Amended configuration information also includes IP address and the installation of the PXE client of pre-installation configuration The address of boot configuration file;
After the DHCP request message that the PXE client receiving described pre-installation configuration sends, Returning dhcp response message to described PXE client, described dhcp response message includes currently Configuration information in DHCP service configuration file, so that described PXE client is according to described configuration IP address and the address of installation boot configuration file in information are downloaded and are installed boot configuration file, And the PXE installation configuration of self is completed by described installation boot configuration file.
2. the method for claim 1, it is characterised in that described DHCP amendment instruction bag Include some groups of amendment information,
Often group amendment information includes the IP address of multiple PXE client pre-installing configuration, Yi Jiduo The individual address pre-installing same installation boot configuration file corresponding to the PXE client configured.
3. the method for claim 1, it is characterised in that described DHCP amendment instruction bag Include some groups of amendment information,
Often group amendment information includes the IP address of PXE client of multiple pre-installation configuration, and often One address pre-installing installation boot configuration file corresponding to the PXE client configured.
4. the method as described in claim 2-3 is arbitrary, it is characterised in that described often group amendment letter In breath, also include the PXE of the IP address binding of the PXE client configured with each described pre-installation The identification information of client.
5. method as claimed in claim 4, it is characterised in that including: described PXE client The MAC Address that identification information is PXE client of end.
6. a PXE server, it is characterised in that including:
Unit is opened in service, for after receiving open command, open DHCP, TFTP and FTP service;
Configuration modification unit, for after receiving DHCP amendment instruction, according to described DHCP Information is revised in amendment instruction and dynamically revises the configuration information in DHCP service configuration file;Its In, described amendment information includes the IP address of the PXE client of pre-installation configuration and installs guiding The address of configuration file, dynamic amended configuration information also includes the PXE visitor of pre-installation configuration The IP address of family end and the address of installation boot configuration file;
Communication unit, for send in the PXE client receiving described pre-installation configuration After DHCP request message, return dhcp response message, described DHCP to described PXE client Response message includes the configuration information in current DHCP service configuration file, so that described PXE is objective Family end downloads peace according to the address of the IP address in described configuration information and installation boot configuration file Dress boot configuration file, and the PXE installation of self is completed by described installation boot configuration file Configuration.
7. server as claimed in claim 6, it is characterised in that described DHCP revises instruction Including some groups of amendment information,
Often group amendment information includes the IP address of multiple PXE client pre-installing configuration, Yi Jiduo The individual address pre-installing same installation boot configuration file corresponding to the PXE client configured.
8. server as claimed in claim 6, it is characterised in that described DHCP revises instruction Including some groups of amendment information,
Often group amendment information includes the IP address of PXE client of multiple pre-installation configuration, and often One address pre-installing installation boot configuration file corresponding to the PXE client configured.
9. the server as described in claim 7-8 is arbitrary, it is characterised in that described often organize amendment In information, also include and each described IP address binding pre-installing the PXE client configured The identification information of PXE client.
10. server as claimed in claim 9, it is characterised in that including: described PXE visitor The identification information of family end is the MAC Address of PXE client.
CN201610261244.4A 2016-04-22 2016-04-22 Automatic installation deployment method based on PXE, and PXE server Pending CN105959134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610261244.4A CN105959134A (en) 2016-04-22 2016-04-22 Automatic installation deployment method based on PXE, and PXE server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610261244.4A CN105959134A (en) 2016-04-22 2016-04-22 Automatic installation deployment method based on PXE, and PXE server

Publications (1)

Publication Number Publication Date
CN105959134A true CN105959134A (en) 2016-09-21

Family

ID=56916835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610261244.4A Pending CN105959134A (en) 2016-04-22 2016-04-22 Automatic installation deployment method based on PXE, and PXE server

Country Status (1)

Country Link
CN (1) CN105959134A (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254162A (en) * 2016-09-29 2016-12-21 郑州云海信息技术有限公司 Network Linux system in cluster calculates node operating system restoration methods
CN106452890A (en) * 2016-10-25 2017-02-22 广东浪潮大数据研究有限公司 PXE server automatic configuration method under Ubuntu system
CN106528251A (en) * 2016-12-09 2017-03-22 郑州云海信息技术有限公司 Method for installing OS on Openpower unattended automation network
CN106648800A (en) * 2016-12-30 2017-05-10 郑州云海信息技术有限公司 Linux system installing method and system
CN106686142A (en) * 2017-03-07 2017-05-17 五道口科技(北京)股份有限公司 Integrated Linux server system and system image push method thereof based on Web
CN106708573A (en) * 2016-12-19 2017-05-24 中国银联股份有限公司 System and method used for automatic installation of Hadoop cluster
CN107066287A (en) * 2017-01-14 2017-08-18 郑州云海信息技术有限公司 The method and system of ESXI virtual machine automatic deployment installation systems
CN107172161A (en) * 2017-05-24 2017-09-15 郑州云海信息技术有限公司 A kind of method of rapid installing operating system, client and server cluster
CN107547274A (en) * 2017-08-22 2018-01-05 新华三大数据技术有限公司 Multi-netmouth polymerization and device
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
CN108829410A (en) * 2018-06-20 2018-11-16 郑州云海信息技术有限公司 A kind of method and device of the configuration and customization PXE without disc system
CN109144607A (en) * 2018-08-06 2019-01-04 成都知道创宇信息技术有限公司 A kind of large-scale server automatic deployment and configuration method
CN109165028A (en) * 2018-08-20 2019-01-08 郑州云海信息技术有限公司 Installation method of operating system and device
CN109167687A (en) * 2018-09-05 2019-01-08 山东浪潮云投信息科技有限公司 A kind of method and system of batch initialization physical server cluster network configuration
CN109600439A (en) * 2018-12-13 2019-04-09 北京百度网讯科技有限公司 The dispositions method and PaaS platform of PaaS platform based on micro services
CN109643238A (en) * 2016-10-18 2019-04-16 惠普发展公司,有限责任合伙企业 It is installed via the operating system of RF identification chip
CN110457073A (en) * 2019-08-13 2019-11-15 北京工业大学 A kind of credible starting method of the Pre-boot Execution Environment PXE of Shen prestige server
CN111008043A (en) * 2019-10-18 2020-04-14 烽火通信科技股份有限公司 Server starting method of cloud platform and terminal
CN111414200A (en) * 2020-02-24 2020-07-14 北京云途腾科技有限责任公司 Method and device for installing operating system, electronic equipment and computer readable medium
CN112148375A (en) * 2020-09-15 2020-12-29 深圳宝新创科技股份有限公司 System installation method, server, client and storage medium
CN113268253A (en) * 2021-05-07 2021-08-17 北京经纬信息技术有限公司 Distributed database deployment method and related equipment
EP3752913A4 (en) * 2018-02-16 2021-12-15 Reneo, Inc. Scalable life-cycle maintenance of hardware
CN114650273A (en) * 2022-04-01 2022-06-21 河南创新科信息技术有限公司 Initialization method, device, equipment and storage medium for operating system configuration
CN116055561A (en) * 2023-03-07 2023-05-02 三未信安科技股份有限公司 Proxy device and method of PXE server

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106254162A (en) * 2016-09-29 2016-12-21 郑州云海信息技术有限公司 Network Linux system in cluster calculates node operating system restoration methods
CN106254162B (en) * 2016-09-29 2019-09-10 郑州云海信息技术有限公司 Network-based Linux system in cluster calculate node operating system recovery method
CN109643238A (en) * 2016-10-18 2019-04-16 惠普发展公司,有限责任合伙企业 It is installed via the operating system of RF identification chip
CN106452890A (en) * 2016-10-25 2017-02-22 广东浪潮大数据研究有限公司 PXE server automatic configuration method under Ubuntu system
CN106528251A (en) * 2016-12-09 2017-03-22 郑州云海信息技术有限公司 Method for installing OS on Openpower unattended automation network
CN106708573A (en) * 2016-12-19 2017-05-24 中国银联股份有限公司 System and method used for automatic installation of Hadoop cluster
CN106708573B (en) * 2016-12-19 2020-12-18 中国银联股份有限公司 System and method for Hadoop cluster automatic installation
CN106648800A (en) * 2016-12-30 2017-05-10 郑州云海信息技术有限公司 Linux system installing method and system
CN107066287A (en) * 2017-01-14 2017-08-18 郑州云海信息技术有限公司 The method and system of ESXI virtual machine automatic deployment installation systems
CN106686142A (en) * 2017-03-07 2017-05-17 五道口科技(北京)股份有限公司 Integrated Linux server system and system image push method thereof based on Web
CN106686142B (en) * 2017-03-07 2020-08-25 联泰集群(北京)科技有限责任公司 Web-based integrated Linux server system and system image pushing method thereof
CN107172161A (en) * 2017-05-24 2017-09-15 郑州云海信息技术有限公司 A kind of method of rapid installing operating system, client and server cluster
CN107547274B (en) * 2017-08-22 2021-03-30 新华三大数据技术有限公司 Multi-network-port aggregation method and device
CN107547274A (en) * 2017-08-22 2018-01-05 新华三大数据技术有限公司 Multi-netmouth polymerization and device
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
US11635971B2 (en) 2018-02-16 2023-04-25 Reneo, Inc. Scalable life-cycle maintenance of hardware
EP3752913A4 (en) * 2018-02-16 2021-12-15 Reneo, Inc. Scalable life-cycle maintenance of hardware
CN108829410A (en) * 2018-06-20 2018-11-16 郑州云海信息技术有限公司 A kind of method and device of the configuration and customization PXE without disc system
CN109144607A (en) * 2018-08-06 2019-01-04 成都知道创宇信息技术有限公司 A kind of large-scale server automatic deployment and configuration method
CN109165028A (en) * 2018-08-20 2019-01-08 郑州云海信息技术有限公司 Installation method of operating system and device
CN109167687B (en) * 2018-09-05 2021-06-15 浪潮云信息技术股份公司 Method and system for initializing physical server cluster network configuration in batch
CN109167687A (en) * 2018-09-05 2019-01-08 山东浪潮云投信息科技有限公司 A kind of method and system of batch initialization physical server cluster network configuration
CN109600439A (en) * 2018-12-13 2019-04-09 北京百度网讯科技有限公司 The dispositions method and PaaS platform of PaaS platform based on micro services
CN110457073A (en) * 2019-08-13 2019-11-15 北京工业大学 A kind of credible starting method of the Pre-boot Execution Environment PXE of Shen prestige server
CN111008043A (en) * 2019-10-18 2020-04-14 烽火通信科技股份有限公司 Server starting method of cloud platform and terminal
CN111414200A (en) * 2020-02-24 2020-07-14 北京云途腾科技有限责任公司 Method and device for installing operating system, electronic equipment and computer readable medium
CN111414200B (en) * 2020-02-24 2024-04-30 北京百度云途腾科技有限责任公司 Method, apparatus, electronic device and computer readable medium for installing operating system
CN112148375A (en) * 2020-09-15 2020-12-29 深圳宝新创科技股份有限公司 System installation method, server, client and storage medium
CN113268253A (en) * 2021-05-07 2021-08-17 北京经纬信息技术有限公司 Distributed database deployment method and related equipment
CN114650273A (en) * 2022-04-01 2022-06-21 河南创新科信息技术有限公司 Initialization method, device, equipment and storage medium for operating system configuration
CN116055561A (en) * 2023-03-07 2023-05-02 三未信安科技股份有限公司 Proxy device and method of PXE server

Similar Documents

Publication Publication Date Title
CN105959134A (en) Automatic installation deployment method based on PXE, and PXE server
US10540160B2 (en) Techniques for deploying virtual software applications on computers
CN108809722B (en) Method, device and storage medium for deploying Kubernetes cluster
CN106537338B (en) Self-expanding clouds
RU2438168C1 (en) Method and system for deploying software, software deployment server and user server
CN113015961A (en) Seamless automation of network device migration to and from a cloud management system
CN102591679B (en) Quick application software arrangement method for cluster system
CN103580908B (en) The collocation method of server and system
US20010044839A1 (en) Method and system for integrating a client computer into a computer network
CN103916378B (en) System and method for automatically deploying application system in cloud resource pool
CN107580083A (en) A kind of method and system of container IP address distribution
CN104951360A (en) Configuration management mode and device based on Docker
EP2668589B1 (en) Generating and validating custom extensible markup language (xml) configuration on a client embedded image
JP2014514659A (en) Multi-node application deployment system
CN113419815B (en) Method, system, equipment and medium for pre-starting operation environment installation
Da Silva et al. Internet of things out of the box: using TOSCA for automating the deployment of IoT environments
CN105487891A (en) Distributed cluster deploying method and system
CN104932919A (en) Implementation method of Linux unattended setup
CN106126273A (en) A kind of method of upgrading BIOS
CN105045614A (en) Operating system installation method and system
JP2009514283A (en) Network configuration
CN103049295A (en) Network installation method for Linux operating systems with godson platforms
CN105426208A (en) OpenStack offline automatic installation method of cloud computing system
Freitas et al. Slicing and allocation of transformable resources for the deployment of multiple virtualized infrastructure managers (vims)
CN113632064A (en) Provisioning services (PVS) cloud streaming with read caching

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination