CN106911729B - Remote installation method of operating system suitable for domestic processor - Google Patents

Remote installation method of operating system suitable for domestic processor Download PDF

Info

Publication number
CN106911729B
CN106911729B CN201510969076.XA CN201510969076A CN106911729B CN 106911729 B CN106911729 B CN 106911729B CN 201510969076 A CN201510969076 A CN 201510969076A CN 106911729 B CN106911729 B CN 106911729B
Authority
CN
China
Prior art keywords
operating system
pxe client
installation
tftp
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510969076.XA
Other languages
Chinese (zh)
Other versions
CN106911729A (en
Inventor
陈小春
张超
朱立森
孙亮
郑树剑
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kunlun Taike (Beijing) Technology Co.,Ltd.
Original Assignee
Cetc Beijing 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 Cetc Beijing Co ltd filed Critical Cetc Beijing Co ltd
Priority to CN201510969076.XA priority Critical patent/CN106911729B/en
Publication of CN106911729A publication Critical patent/CN106911729A/en
Application granted granted Critical
Publication of CN106911729B publication Critical patent/CN106911729B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides an operating system remote installation method suitable for a domestic processor, which is used for solving the installation problem of operating systems of various hardware platforms. The specific process is as follows: first the PXE client sends a request to the DHCP server. The DHCP server issues provisioning information. Sending a communication data packet to a TFTP routing server in a UEFI BIOS, wherein the communication data packet comprises hardware platform information; and a starting path of the operating system identified in the hardware platform information is pre-configured in the TFTP routing server, and after the TFTP routing server receives a communication data packet in the UEFI BIOS, an installation path of the operating system is returned to the PXE client. The PXE client sends a download request to a Boot Server to download files necessary for starting an installer, and then starts a Boot kernel of the operating system installer. The PXE client downloads the automatic response file from the position of the pre-configured automatic response file, and then downloads the software package required by the installation process of the operating system.

Description

Remote installation method of operating system suitable for domestic processor
Technical Field
The invention belongs to the technical field of computer software, and relates to a remote installation method of an operating system suitable for a domestic processor.
Background
Organizations and research institutes such as companies or parties are often faced with: when a batch of computers is newly purchased or existing machines are simultaneously replaced by operating systems, the number of the computers needing to be upgraded is dozens, hundreds, thousands or even tens of thousands of computers. Such a large number of machines takes a lot of time and labor if installed manually one by one.
Meanwhile, with the updating and upgrading of computer products and the development of IT enterprises, the types of computers of a company are more and more, and hard disks are different, so that the types of installing operating systems are different, and some need to install windows, some need to install linux, some need to install desktop versions, some need to install server versions and the like. Therefore, it is necessary to develop a method capable of supporting remote installation of a plurality of operating system types at the same time.
Currently, the way of installing the operating system remotely is mainly based on PXE (Pre-boot Execution Environment). PXE is a protocol designed by Intel that enables computers to boot over a network. The protocol is divided into a client and a server, the PXE client is arranged in a ROM of the network card, when the computer is booted, the BIOS calls the PXE client into a memory to execute, and displays a command menu, and after the user selects the command menu, the PXE client downloads an operating system arranged at a far end to the local through a network to run. The method for remotely installing the operating system is based on most of the existing methods, such as Remote Installation Service (RIS) and the like.
The existing method for remotely installing the operating system cannot install different operating systems according to the type of the hardware platform. The address of the TFTP server for sending the request by the current PXE client is fixed, and different TFTP servers cannot be accessed according to the type of the hardware platform, so that various operating systems of different types cannot be installed.
Disclosure of Invention
In view of this, the present invention provides a remote operating system installation method suitable for a domestic processor, which is used to solve the operating system installation problem of various hardware platforms.
In order to achieve the purpose, the technical scheme of the invention is as follows: the method comprises the following steps:
step one, the pre-boot execution environment PXE client side sends a request to a dynamic host configuration protocol DHCP server.
And step two, the DHCP server sends out providing information which comprises the IP address distributed for the PXE Client.
Step three, sending a communication data packet to a TFTP routing server in a unified extensible firmware interface basic input system UEFI BIOS, wherein the communication data packet comprises hardware platform information; the hardware platform information identifies the type of an operating system required by the hardware platform, and the hardware platform information is dynamically acquired in the UEFI BIOS starting process.
And step four, pre-configuring the starting path of the operating system identified in the hardware platform information in the TFTP routing server, and returning the installation path of the operating system to the PXE client after the TFTP routing server receives the communication data packet in the UEFI BIOS.
And step five, after receiving the installation path, the PXE client sends a downloading request to a Boot Server.
And step six, the Boot Server responds to the downloading request of the PXE client and transmits the file necessary for starting the installation program to the PXE client, and the PXE client starts a Boot kernel of the installation program of the operating system according to a Boot sequence defined in the file necessary for starting the installation program.
And seventhly, after the booting kernel of the operating system installation program is started successfully, downloading the automatic response file from the position where the automatic response file is configured in advance by the PXE client.
And step eight, the PXE client finds the server to which the operating system belongs through the automatic response file, and downloads the software package required in the operating system installation process.
Further, in the third step, the UEFI BIOS sends a communication data packet to the TFTP routing server in the form of a simple user datagram protocol UDP; and in the fourth step, after the TFTP routing server receives the communication data packet in the UEFI BIOS, returning the installation path of the operating system to the PXE client in the form of UDP.
Has the advantages that:
the address of the TFTP server for sending the request by the PXE client is not fixed, and different TFTP servers can be accessed according to the type of the hardware platform, so that various operating systems of different types can be installed.
Drawings
FIG. 1 is a flow chart of a remote install operating system suitable for a domestic processor.
Detailed Description
The invention is described in detail below by way of example with reference to the accompanying drawings.
Step one, the PXE Client sends a request to the DHCP. First, the BIOS of a client of a Network Interface Card (NIC) supporting PXE is set to network boot, and a broadcast request is sent in UDP (simple user datagram protocol) through a PXE BootROM (self-boot chip), so as to ask for information such as an IP address from a DHCP server in a network.
And step two, the DHCP server provides information. The DHCP server receives the request of the Client, verifies whether the request comes to a legal PXE Client, and verifies that a providing response is sent to the Client through the request, wherein the providing response comprises the IP address allocated to the Client.
And step three, sending a communication data packet to the TFTP routing server in the UEFI BIOS, wherein the content in the data packet comprises hardware platform information and the like, and the type of the operating system required by the hardware platform can be identified. The platform information is dynamically acquired during the BIOS startup process.
Step four, an operating system starting path corresponding to the hardware identifier in the step four is configured in advance in the TFTP routing server, and the operating system starting path is returned to the operating system path installed on the PXE client after the server receives the request information in the BIOS.
In the third step, the UEFI BIOS sends a communication data packet to the TFTP routing server in a form of a simple user datagram protocol UDP; and in the fourth step, after the TFTP routing server receives the communication data packet in the UEFI BIOS, returning the installation path of the operating system to the PXE client in the form of UDP.
And step five, the PXE client requests to download the starting file. After receiving the "response" from the server, the client responds with a frame to request the transmission of the file required for starting.
And step six, the Boot Server responds to the client request and transmits the file. BootROM downloads files (pxelinux.O, pxelinux.cfg/default) necessary for starting an installation program from a Boot Server by a TFTP communication protocol. After downloading the default file, booting kernels of different operating system installation programs are started according to the booting sequence defined in the file.
And step seven, requesting to download the automatic response file. After the client successfully boots the Linux installation kernel through the pxelinux.cfg/default file, the installer must first determine what installation medium to install Linux, and if installation is through network (NFS, FTP, HTTP, SMB), initialize the network at this time, and locate the installation source location. The method adopts an unattended installation method, the position of the automatic response file ks.cfg is configured in advance, and the file is downloaded according to the position request.
And step eight, installing an operating system at the client. And after the ks.cfg file is downloaded back, finding the OS Server through the file, and downloading the software package required by the installation process according to the configuration request of the file.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (2)

1. A remote installation method of an operating system suitable for a domestic processor is characterized by comprising the following steps:
firstly, a PXE client side of a pre-starting execution environment sends a request to a DHCP server;
step two, the DHCP server sends out providing information which comprises an IP address distributed for the PXE Client;
step three, sending a communication data packet to a TFTP routing server in a unified extensible firmware interface basic input system UEFI BIOS, wherein the communication data packet comprises hardware platform information; the hardware platform information identifies the type of an operating system required by the hardware platform, and the hardware platform information is dynamically acquired in the UEFI BIOS starting process;
step four, a starting path of the operating system identified in the hardware platform information is pre-configured in the TFTP routing server, and after the TFTP routing server receives a communication data packet in the UEFI BIOS, an installation path of the operating system is returned to the PXE client;
fifthly, after receiving the installation path, the PXE client sends a downloading request to a Boot Server;
step six, the Boot Server responds to a download request of the PXE client and transmits a file necessary for starting an installation program to the PXE client, and the PXE client starts a Boot kernel of the installation program of the operating system according to a Boot sequence defined in the file necessary for starting the installation program;
step seven, after the booting kernel of the operating system installation program is successfully started, downloading the automatic response file from the position of the pre-configured automatic response file by the PXE client;
and step eight, the PXE client finds the server to which the operating system belongs through the automatic response file, and downloads the software package required in the operating system installation process.
2. The remote installation method of an operating system for a domestic processor according to claim 1, wherein in the third step, the UEFI BIOS sends communication data packet in the form of simple user datagram protocol UDP to the TFTP routing server;
and in the fourth step, after the TFTP routing server receives the communication data packet in the UEFI BIOS, the installation path of the operating system is returned to the PXE client in the form of UDP.
CN201510969076.XA 2015-12-22 2015-12-22 Remote installation method of operating system suitable for domestic processor Active CN106911729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510969076.XA CN106911729B (en) 2015-12-22 2015-12-22 Remote installation method of operating system suitable for domestic processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510969076.XA CN106911729B (en) 2015-12-22 2015-12-22 Remote installation method of operating system suitable for domestic processor

Publications (2)

Publication Number Publication Date
CN106911729A CN106911729A (en) 2017-06-30
CN106911729B true CN106911729B (en) 2021-03-30

Family

ID=59199901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510969076.XA Active CN106911729B (en) 2015-12-22 2015-12-22 Remote installation method of operating system suitable for domestic processor

Country Status (1)

Country Link
CN (1) CN106911729B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN107463388B (en) * 2017-09-21 2021-01-01 成都领沃网络技术有限公司 UEFI diskless starting method
CN107800817A (en) * 2017-10-23 2018-03-13 山东超越数控电子有限公司 A kind of protocol infrastructure for realizing Domestic Platform PXE BOOT
CN108415712A (en) * 2018-03-09 2018-08-17 山东超越数控电子股份有限公司 A method of based on PXE server batch installation acceptance of the bid kylin operating system
CN109286677A (en) * 2018-10-25 2019-01-29 北京北信源信息安全技术有限公司 A kind of method and device of the file transmission based on FTP
CN109992311B (en) * 2019-03-25 2022-07-29 新华三技术有限公司 Starting method and device of operating system, storage medium and client
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
CN110737444A (en) * 2019-10-18 2020-01-31 中电科技(北京)有限公司 Remote self-adaptive dynamic deployment method and system for operating system based on firmware
CN111078305A (en) * 2019-12-11 2020-04-28 秒针信息技术有限公司 Information acquisition method and device, server and information management system
CN111163167A (en) * 2019-12-30 2020-05-15 深圳前海微众银行股份有限公司 System installation method and device
CN111683145B (en) * 2020-06-08 2023-04-28 中国工商银行股份有限公司 Configuration method of client device, electronic device and medium
CN112148375A (en) * 2020-09-15 2020-12-29 深圳宝新创科技股份有限公司 System installation method, server, client and storage medium
CN113821264B (en) * 2021-10-11 2023-09-12 成都统信软件技术有限公司 Operating system installation control method, installation control system and computing device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916846A (en) * 2005-08-17 2007-02-21 联想(北京)有限公司 Method for automatic deploying operate system
CN101699401A (en) * 2009-10-20 2010-04-28 中兴通讯股份有限公司 Blade server, method for installing operating system thereof and system
CN103200271A (en) * 2013-04-17 2013-07-10 北京百度网讯科技有限公司 Advanced Risc machine (ARM) server and method of automatic installation system thereof
CN103777981A (en) * 2014-01-13 2014-05-07 中南大学 Multi-operation-system remote loading implementation method suitable for X86 framework
CN104572372A (en) * 2014-12-26 2015-04-29 浪潮电子信息产业股份有限公司 System and method for building server performance testing environment
CN104639378A (en) * 2015-03-10 2015-05-20 浪潮集团有限公司 Automatic server deployment method based on PXE (pre-boot execution environment)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7631038B2 (en) * 2006-02-21 2009-12-08 Microsoft Corporation PXE server with multiple provider model
US8583908B2 (en) * 2007-12-31 2013-11-12 Intel Corporation Enhanced network and local boot of Unified Extensible Firmware Interface images

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1916846A (en) * 2005-08-17 2007-02-21 联想(北京)有限公司 Method for automatic deploying operate system
CN101699401A (en) * 2009-10-20 2010-04-28 中兴通讯股份有限公司 Blade server, method for installing operating system thereof and system
CN103200271A (en) * 2013-04-17 2013-07-10 北京百度网讯科技有限公司 Advanced Risc machine (ARM) server and method of automatic installation system thereof
CN103777981A (en) * 2014-01-13 2014-05-07 中南大学 Multi-operation-system remote loading implementation method suitable for X86 framework
CN104572372A (en) * 2014-12-26 2015-04-29 浪潮电子信息产业股份有限公司 System and method for building server performance testing environment
CN104639378A (en) * 2015-03-10 2015-05-20 浪潮集团有限公司 Automatic server deployment method based on PXE (pre-boot execution environment)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Linux+Kickstart无人值守安装";一支臭花;《百度文库》;20110326;第1-3页 *

Also Published As

Publication number Publication date
CN106911729A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
CN106911729B (en) Remote installation method of operating system suitable for domestic processor
RU2421785C2 (en) Automated control of device drivers
US9081747B1 (en) Computer program deployment to one or more target devices
US20220066787A1 (en) Remote provisioning of hosts in public clouds
US7363514B1 (en) Storage area network(SAN) booting method
US8578376B2 (en) Automatically and securely configuring and updating virtual machines
US20190050235A1 (en) Kernel-integrated instance-specific operational resources with virtualization
US8402123B2 (en) Systems and methods for inventorying un-provisioned systems in a software provisioning environment
US20150074659A1 (en) Methods and Apparatus to Perform Web-Based Installations and/or Upgrade Architectures for Enterprise Software
US20080046708A1 (en) System and Method for Management and Installation of Operating System Images for Computers
US20090077551A1 (en) Virtual machine image builder for automated installation of fully-virtualized operating system
CN108089913B (en) Virtual machine deployment method of super-fusion system
CN103984575A (en) Rapid deployment method of cluster Linux operation system in cloud-computing environment
US20060155838A1 (en) Program installation system and method using the same
WO2015084638A1 (en) Methods and apparatus to automatically configure monitoring of a virtual machine
US20130167140A1 (en) Method and apparatus for distributed operating system image deployment
CN104572372A (en) System and method for building server performance testing environment
CN104113430A (en) Cloud computing data center automatic deployment software framework design
KR101587994B1 (en) Cloud computing service system with virtual hard disk
US20120131179A1 (en) Method and system for remote os installation capable of monitoring an installation procedure
CN113741914B (en) Operating system installation mechanism
CN105183529A (en) Method for refreshing server firmware, target server, source server and system
CN105183528A (en) Server bios upgrading method and system
US10713062B2 (en) System and method for configuring an information handling system
US20140013096A1 (en) Booting a computing device to have a predefined functionality

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100083 north side, 13th floor, Taiji building, No.6 working area (South), wohuqiao, Haidian District, Beijing

Patentee after: CLP Technology (Beijing) Co.,Ltd.

Address before: 100083 north side, 13th floor, Taiji building, No.6 working area (South), wohuqiao, Haidian District, Beijing

Patentee before: CETC (BEIJING) Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100083 north side, 13th floor, Taiji building, No.6 working area (South), wohuqiao, Haidian District, Beijing

Patentee after: Kunlun Taike (Beijing) Technology Co.,Ltd.

Address before: 100083 north side, 13th floor, Taiji building, No.6 working area (South), wohuqiao, Haidian District, Beijing

Patentee before: CLP Technology (Beijing) Co.,Ltd.