A kind of operating system remote installation method suitable for domestic processor
Technical field
The invention belongs to computer software technical field, it is related to a kind of operating system suitable for domestic processor
Remote installation method.
Background technology
The mechanism such as company or Party, government and army and research institute are often faced with:Newly purchase a collection of computer or organic
Device will carry out the replacing of operating system simultaneously, the general this number of computers for needing upgrading all tens, it is several
Hundredth, it is thousands of, even up to ten thousand.So many machines, if artificial goes installation one by one, that will spend
Take substantial amounts of time and manpower.
Simultaneously with the update and the development of IT enterprises of computer product, a computer for company
Type kind is more and more, and hard disk is also different, therefore the type of installation operation system is also mutually far short of what is expected, has
Need install windows, some install linux, some need install desktop version, some need install clothes
Business device version etc..Therefore, studying a kind of method that can simultaneously support Remote Installation several operation systems type is
It is very necessary.
At present, the mode of remote OS installation is mainly all based on PXE (Pre-boot Execution
Environment).PXE is the agreement designed by Intel, and it can make computer pass through network startup.
Agreement is divided into client and server two ends, PXE client in the ROM of network interface card, when computer guiding,
PXE client are called in internal memory and performed by BIOS, and show command menu, after being selected through user, PXE client
The operating system that distal end will be placed on passes through the locally downloading operation of network.Current remote OS installation
Method is all based on greatly this, such as remote installation service (RIS) etc..
Existing remote OS installation method can not install different operations according to hardware platform type
System.The tftp server address that current PXE clients send request is all fixed, it is impossible to according to
The different tftp server of hardware platform type of access, also has led to that different types of various behaviour can not be installed
Make system.
The content of the invention
In view of this, the invention provides a kind of operating system remote installation method suitable for domestic processor,
Operating system installation question for solving multiple hardwares platform.
In order to achieve the above object, the technical scheme is that:Comprise the following steps:
Step one, Pre-boot Execution Environment PXE clients are sent out to dynamic host configuration protocol DHCP server
Send request.
Step 2, Dynamic Host Configuration Protocol server send offer information, and PXE Client points is included as in the offer information
The IP address matched somebody with somebody.
Step 3, in unified Extensible Firmware Interface is input into input system UEFI BIOS substantially to simple
FTP TFTP routing servers send communication data packet, and communication data packet includes that hardware platform is believed
Breath;OS Type required for hardware platform information identification hardware platform, hardware platform information is by UEFI
Dynamic access in BIOS start-up courses.
Opening for the operating system that identifies in hardware platform information is pre-configured with step 4, TFTP routing servers
Dynamic road warp, after communication data packet during TFTP routing servers are connected to UEFI BIOS, to PXE client
End returns to the installation path of operating system.
After step 5, PXE clients receive installation path, under being sent to Boot Server Boot Server
Carry request.
Step 6, the download request of Boot Server response PXE clients are simultaneously necessary by startup installation procedure institute
File send PXE clients to, it is fixed in PXE clients file according to necessary to the startup installation procedure
The boot sequence of justice, the Boot Dernel of start-up operation system installation procedure.
After step 7, the Boot Dernel of operating system installation procedure start successfully, PXE clients are matched somebody with somebody from advance
Download automatic response file in the automatic response file position put.
Step 8, PXE clients find operating system subordinate server by automatic response file, download behaviour
Make the software kit of system installation process needs.
Further, in step 3, in UEFI BIOS in the form of simple user datagram protocol UDP to
TFTP routing servers send communication data packet;When TFTP routing servers are connected to UEFI in step 4
After communication data packet in BIOS, the installation road of operating system is returned to PXE clients in the form of UDP
Footpath.
Further, step 3 and step 4, detailed process is:It is basic in unified Extensible Firmware Interface
In input input system UEFI BIOS communication number is sent to TFTP TFTP routing servers
According to bag, the communication data packet includes hardware platform information;The hardware platform information identification hardware platform
Required OS Type, hardware platform information is by dynamic access in UEFI BIOS start-up courses;TFTP
The startup road warp of the operating system identified in the hardware platform information is pre-configured with routing server, when
After TFTP routing servers are connected to the communication data packet in UEFI BIOS, are returned to PXE clients and operated
The installation path of system.
Beneficial effect:
In the present invention PXE clients send request tftp server address be not it is fixed, being capable of basis
The different tftp server of hardware platform type of access, therefore, it is possible to install different types of several operation systems.
Brief description of the drawings
Fig. 1 is applied to the remote OS installation flow chart of domestic processor.
Specific embodiment
Develop simultaneously embodiment below in conjunction with the accompanying drawings, and the present invention will be described in detail.
Step one, PXE Client send to DHCP and ask.First, the NIC of PXE will be supported
(NIC) BIOS of client is set to network startup, by PXE BootROM (self-starting cores
Piece) broadcast request can be sent with UDP (simple user datagram protocol), to the DHCP in network
Server asks for the information such as IP address.
Step 2, Dynamic Host Configuration Protocol server provide information.Dynamic Host Configuration Protocol server receives the request of client, and checking is
The no next request to legal PXE Client, being verified it will respond to client one " offer ",
Contained in this " offer " response is the IP address of client distribution.
Step 3, in UEFI BIOS by TFTP routing servers send communication data packet, data
OS Type required for content can be identified for that this hardware platform including hardware platform information etc. in bag.It is flat
Station information is by dynamic access in BIOS start-up courses.
Configured in advance in step 4, TFTP routing servers in step 4 with the corresponding operation system of hardware identifier
System starts road warp, and the behaviour of PXE clients installation is returned to after solicited message during server is connected to BIOS
Make system path.
In step 3, it is route to TFTP in the form of simple user datagram protocol UDP in UEFI BIOS
Server sends communication data packet;It is logical in TFTP routing servers are connected to UEFI BIOS in step 4
After letter data bag, the installation path of operating system is returned to PXE clients in the form of UDP.
Step 5, PXE client requests download startup file.After client receives " response " of server,
A frame can be responded, to ask file needed for transmission starts.
Step 6, Boot Server customer in response end are asked and transmit file.BootROM is led to by TFTP
File necessary to news agreement from Boot Server download startup installation procedures (pxelinux.O,
pxelinux.cfg/default).After the completion of default document is downloaded, boot sequence of the meeting according to defined in this document,
Start the Boot Dernel of different operating system installation procedure.
Automatic response file is downloaded in step 7, request.Client is by the success of pxelinux.cfg/default files
Guiding Linux install kernel after, what install medium installation procedure must determine by install linux first,
If by network installation (NFS, FTP, HTTP, SMB), then can during this time initialize network,
And location and installation source position.Unattended installation method is used in this method, automatic-answering back device has been configured in advance
File ks.cfg positions, this document is downloaded according to the position requests.
Step 8, client installation operation system.After ks.cfg file downloads are returned, found by this document
OS Server, and according to this document configuring request download installation process need software kit.
To sum up, presently preferred embodiments of the present invention is these are only, protection model of the invention is not intended to limit
Enclose.All any modification, equivalent substitution and improvements within the spirit and principles in the present invention, made etc.,
Should be included within protection scope of the present invention.