CN114070841A - Server filling method, device, equipment and product - Google Patents

Server filling method, device, equipment and product Download PDF

Info

Publication number
CN114070841A
CN114070841A CN202111149693.7A CN202111149693A CN114070841A CN 114070841 A CN114070841 A CN 114070841A CN 202111149693 A CN202111149693 A CN 202111149693A CN 114070841 A CN114070841 A CN 114070841A
Authority
CN
China
Prior art keywords
server
pxe
filling
filled
file
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.)
Granted
Application number
CN202111149693.7A
Other languages
Chinese (zh)
Other versions
CN114070841B (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.)
Inspur Software Technology Co Ltd
Original Assignee
Inspur Software 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 Software Technology Co Ltd filed Critical Inspur Software Technology Co Ltd
Priority to CN202111149693.7A priority Critical patent/CN114070841B/en
Publication of CN114070841A publication Critical patent/CN114070841A/en
Application granted granted Critical
Publication of CN114070841B publication Critical patent/CN114070841B/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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a server filling method, a device, equipment and a product, which relate to the technical field of communication, and the method comprises the following steps: acquiring a filling request of a server to be filled, and allocating an IP address and appointed PXE information for the server to be filled; the PXE information comprises a PXE file position and a PXE file name; the edge side provides a PXE boot file to the server to be filled in a TFTP mode and provides an operation system file to the server to be filled in an HTTP mode based on the filling request and according to the IP address and the PXE information; and filling the server to be filled based on the PXE boot file and the operating system file. The invention provides technical support for the filling of mass server operating systems, solves the problems of large workload of filling operation and maintenance and difficult flexible deployment of machine positions of the operating systems in the production process of commercial servers, and improves the filling capacity.

Description

Server filling method, device, equipment and product
Technical Field
The invention relates to the technical field of communication, in particular to a server filling method, device, equipment and product.
Background
The Pre-boot Execution Environment (PXE) is a network boot technology, working in a Client/Server network mode, where the PXE supports a workstation to download images from a remote Server through a network and thus supports booting an operating system through the network, and in the boot process, a terminal requires the Server to allocate an IP address, and then uses a simple File Transfer Protocol (TFTP) or a multi-point TFTP (simple File Transfer Protocol, MTFTP) to download a boot software package to a local memory for Execution, and the boot software package completes the setting of the terminal basic software, thereby guiding the installation of the terminal operating system.
TFTP, a protocol in the TCP/IP suite for simple file transfer between a client and a server, provides an uncomplicated, low-overhead file transfer service. TFTP is based on the User Datagram Protocol (UDP), and a simple wait-stop Protocol is used, and a transmitted UDP packet must wait for the response of the other party or timeout before starting the next UDP transmission or retransmission.
The filling method of the operating system in the industry is mainly based on PXE technology, a local area network is built, a commercial server (bare computer) is accessed to the local area network through a network cable and a switch, and services such as Dynamic Host Configuration Protocol (DHCP) service and TFTP service are deployed in the local area network. The DHCP service allocates an Internet Protocol (IP) address, TFTP service storage start software, operating system mirror and other files when the bare computer is started, and provides a TFTP download service for the bare computer. Because the network port configuration requirements of various commercial servers (bare computers) are different, the filling rack needs to provide a gigabit network cable, a gigabit network cable and three optical fiber network cables for each machine position. After the system is filled on a scale, the following problems exist: on one hand, the network cable is very much in demand, the interface is very easy to damage due to frequent plugging and unplugging, the operation and maintenance cost is high, the workload is large, the network cable is difficult to comb, and the appearance is not beautiful enough. On the other hand, because the wiring is fixed, the difficult mobile position of filling frame can't satisfy flexible production demand.
Disclosure of Invention
The invention provides a server filling method, a device, equipment and a product, which are used for solving the defects that the filling operation and maintenance cost of a server is high and the flexible production requirement cannot be met in the prior art, realizing providing technical support for the filling of a large-batch server operating system, solving the problems of large workload of the filling operation and maintenance of the operating system and difficult flexible deployment of a machine position in the production process of a commercial server and improving the filling capacity.
The invention provides a server filling method, which comprises the following steps:
acquiring a filling request of a server to be filled, and allocating an IP address and appointed PXE information for the server to be filled; the PXE information comprises a PXE file position and a PXE file name;
the edge side provides a PXE boot file to the server to be filled in a TFTP mode and provides an operation system file to the server to be filled in an HTTP mode based on the filling request and according to the IP address and the PXE information;
and filling the server to be filled based on the PXE boot file and the operating system file.
According to the server filling method provided by the invention, the step of acquiring the filling request of the server to be filled, and allocating the IP address and the appointed PXE information to the server to be filled specifically comprises the following steps:
and acquiring the filling request of the server to be filled by using a 5G Dongle as a server network card, and allocating the IP address and appointing the PXE information for the server to be filled as a DHCP server side.
According to the server filling method provided by the invention, the acquiring of the filling request of the server to be filled, and the allocating of the IP address and the appointed PXE information to the server to be filled specifically comprise:
and the server to be filled visits the edge side based on the 5G Dongle through the IP address and the PXE information.
According to the server filling method provided by the invention, the method for acquiring the filling request of the server to be filled, wherein the edge side provides the PXE boot file to the server to be filled in a TFTP mode and provides the operating system file to the server to be filled in an HTTP mode based on the filling request and according to the IP address and the appointed PXE information, comprises the following steps:
the edge side acquires a first filling request and a second filling request in the filling requests; the first filling request is to acquire a PXE boot file, the second filling request is to acquire an operating system file, the PXE boot file comprises a PXE boot loader file and a configuration file, and the operating system file comprises a system kernel file and a system image file;
according to the IP address and the PXE information, the edge side provides a PXE boot file to the server to be filled in a TFTP mode based on the first filling request; and based on the second filling request, providing an operating system file to the server to be filled in an HTTP mode.
According to the server filling method provided by the invention, the edge side provides the PXE boot file to the server to be filled in a TFTP mode based on the first filling request, and the method specifically comprises the following steps:
the resource block size of TFTP is set to 20480 and the buffer size is set to 40960.
According to the server filling method provided by the invention, the edge side provides the PXE boot file to the server to be filled in a TFTP mode based on the first filling request, wherein the IP address and the PXE information are the same as the IP address and the PXE information; based on the second filling request, providing an operating system file to the server to be filled in an HTTP mode, which specifically comprises the following steps:
and the TCP/IP protocol stack adopted by the edge side is an open source protocol stack lwip.
The invention also provides a server filling method, which comprises the following steps:
the request module is used for acquiring a filling request of a server to be filled, and allocating an IP address and appointed PXE information for the server to be filled; the PXE information comprises a PXE file position and a PXE file name;
the transmission module is used for providing a PXE boot file to the server to be filled in a TFTP mode and providing an operation system file to the server to be filled in an HTTP mode according to the filling request and the IP address and the PXE information by the edge side;
and the filling module is used for filling the server to be filled based on the PXE boot file and the operating system file.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the program to implement the steps of any one of the server filling methods.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the server filling method as described in any one of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps of the server filling method as described in any one of the above.
The server filling method, device, equipment and product provided by the invention are based on the technologies of a 5G network, MEC, PXE, TFTP, HTTP and the like, provide a server wireless filling operating system scheme which is convenient, rapid and flexibly deployed, realize wireless and flexible filling production of a server operating system, provide technical support for large-batch server operating system filling, solve the problems of large workload of filling operation and maintenance of the operating system and difficulty in flexible deployment of a machine position in the production process of a commercial server, and improve the filling capacity.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a server filling method provided by the present invention;
fig. 2 is a second flowchart illustrating a step S200 of the server filling method according to the present invention;
FIG. 3 is a schematic structural diagram of a server filling apparatus provided by the present invention;
fig. 4 is a schematic structural diagram of a transmission module in the server filling apparatus provided by the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The server filling method of the present invention is described below with reference to fig. 1, and includes the following steps:
s100, obtaining a filling request of a server to be filled, allocating an IP address and specifying PXE information for the server to be filled, where it is understood that the PXE information includes a PXE file location and a PXE file name.
S200, the Edge (MEC) side is based on the filling request, and provides a PXE guide file to the server to be filled in a TFTP mode according to the IP address and the PXE information, and provides an operating system file to the server to be filled in a hypertext Transfer Protocol (HTTP) mode. The PXE boot file includes a PXE boot loader file and a configuration file, and the operating system file includes a system kernel file and a system image file.
Namely, the edge side needs to provide TFTP services required for PXE boot file download and HTTP services required for operating system download. The TFTP service root directory places PXE boot loader files and configuration files, and the HTTP service directory places system kernel files and system image files.
And S300, filling the server to be filled based on the PXE boot file and the operating system file.
The MEC is mobile edge computing, namely edge computing, and is a technology based on a 5G evolution architecture and integrating a mobile access network and internet service deeply. The MEC can provide services and cloud computing functions required by IT of telecommunication users nearby by using the wireless access network, so as to create a telecommunication service environment with high performance, low delay and high bandwidth, accelerate the rapid downloading of various contents, services and applications in the network, and enable consumers to enjoy uninterrupted high-quality network experience. The MEC can improve user experience and save bandwidth resources on one hand, and provides third party application integration by sinking computing capacity to the mobile edge node on the other hand, thereby providing infinite possibility for service innovation of the mobile edge entrance. The seamless integration of mobile networks and mobile applications will provide a powerful weapon for dealing with various ott (overtetop) applications.
The 5G is a new generation broadband mobile communication technology with the characteristics of high speed, low time delay and large connection, and is a network infrastructure for realizing man-machine-object interconnection. With the development of 5G technology, 5G is being rapidly applied to various fields, enabling thousands of industries and hundreds of industries to perform digital transformation. The high-speed characteristic and the wireless connection advantage of the 5G provide a new idea and scheme for filling the operating system.
The server filling method is based on the technologies of a 5G network, MEC, PXE, TFTP, HTTP and the like, provides a server wireless filling operation system scheme which is convenient, rapid and flexibly deployed, realizes wireless and flexible filling production of the server operation system, provides technical support for large-batch server operation system filling, solves the problems of large operation system filling operation and maintenance workload and difficult machine position flexible deployment in the commercial server production process, and improves filling productivity.
Using the filling room that can carry out 400 commercial server operating system fillings simultaneously as the example, there are 1200 net twines under the traditional wired filling mode, according to actual production statistics, just need carry out net twine carding change once every three months, need three workman three days time just can accomplish to still need change according to the net twine crystal head damaged condition in these three months, consuming time and wasting power. By adopting the server filling method, the dilemma brought by network cable operation and maintenance in the traditional scheme can be solved, and the filling capacity is improved.
In this embodiment, 5G Dongle is used as a server network card to obtain a filling request of a server to be filled, and is used as a DHCP server to allocate an IP address and specified PXE information to the server to be filled. Meanwhile, the 5G Dongle is used as the CPE, so that the server to be filled can access the 5G network and the edge side, that is, the server to be filled visits the edge side based on the 5G Dongle and through the IP address and the PXE information.
The 5G Dongle is hardware inserted into a USB port of a computer, and is internally provided with a 5G module, an Ethernet network card, a DHCP service module and the like. The commercial server can be connected with the 5G network through the 5G Dongle to communicate with other services on the network. Therefore, the ethernet network card module in the 5G Dongle in the server filling method provided by the present invention needs to have a PXE chip to support PXE start. When 5G Dongle is burned, the PXE file name and the IP of the PXE file on the server at the MEC side need to be written.
The server filling method of the present invention is described below with reference to fig. 2, and step S200 includes the following steps:
s210, the edge side obtains a first filling request and a second filling request in the filling requests, wherein the first filling request is to obtain a PXE boot file, and the second filling request is to obtain an operating system file;
s220, according to the IP address and the PXE information, the edge side provides a PXE boot file to a server to be filled in a TFTP mode based on the first filling request; and based on the second filling request, providing the operating system file to the server to be filled in an HTTP mode.
In this embodiment, the resource block size of TFTP is set to 20480, and the buffer size is set to 40960. Due to the principle aspect of the TFTP protocol, the downloading speed is lower under the default condition, and the speed is improved by adjusting the size of the block and the size of the receiving buffer.
The system kernel file and the system image file are large, the whole filling process of the traditional system is carried out in a local area network, the speed meets the production requirement, but the speed can not meet the generation requirement after the speed is reduced due to the fact that the local area network is crossed under a 5G network. Therefore, the system kernel file and the system image file are downloaded by using HTTP to replace TFTP protocol, and the downloading speed is improved.
In this embodiment, the TCP/IP protocol stack adopted by the edge is an open source protocol stack lwip, and is adjusted as follows based on lwip:
1. and (3) signal quantity processing: the semaphore structure struct sys _ semt and the processing functions sys _ sem _ new, sys _ sem _ free, sys _ sem _ signal and sys _ arch _ sem _ wait should be realized in the sys _ arch;
2. the message queue is realized as follows: implementing the message queue structure sys _ mbox _ t, and the corresponding operating functions: sys _ mbox _ new, sys _ mbox _ free, sys _ mbox _ post, and sys _ arch _ mbox _ fetch;
3. the timer function: implementing a struct sys _ timeouts _ sys _ arch _ timeouts (void) function, wherein the function returns a timeout queue pointer corresponding to a thread in a running state;
4. creating a new thread function: realizing sys _ thread _ new function, and distributing the highest priority to the thread created in the LwIP;
5. sliding the window: and starting a lwip sliding window switch, and simultaneously adjusting the number of the segments MEMP _ NUM _ TCP _ SEG in the TCP buffer queue and the size of a TCP receiving window TCP _ WND.
The server filling apparatus provided by the present invention is described below, and the server filling apparatus described below and the server filling method described above may be referred to correspondingly.
The server filling apparatus of the present invention is described below with reference to fig. 3, and includes:
the request module 100 is configured to obtain a filling request of a server to be filled, allocate an IP address to the server to be filled, and specify PXE information, where it is understood that the PXE information includes a PXE file location and a PXE file name.
The transmission module 200 is configured to provide, by the edge side, a PXE boot file to the server to be filled in a TFTP manner according to the filling request, the IP address and the PXE information, and provide, by using a hypertext Transfer Protocol (HTTP) manner, an operating system file to the server to be filled. The PXE boot file includes a PXE boot loader file and a configuration file, and the operating system file includes a system kernel file and a system image file.
Namely, the edge side needs to provide TFTP services required for PXE boot file download and HTTP services required for operating system download. The TFTP service root directory places PXE boot loader files and configuration files, and the HTTP service directory places system kernel files and system image files.
And the filling module 300 is configured to fill the server to be filled based on the PXE boot file and the operating system file.
The MEC is mobile edge computing, namely edge computing, and is a technology based on a 5G evolution architecture and integrating a mobile access network and internet service deeply. The MEC can provide services and cloud computing functions required by IT of telecommunication users nearby by using the wireless access network, so as to create a telecommunication service environment with high performance, low delay and high bandwidth, accelerate the rapid downloading of various contents, services and applications in the network, and enable consumers to enjoy uninterrupted high-quality network experience. The MEC can improve user experience and save bandwidth resources on one hand, and provides third party application integration by sinking computing capacity to the mobile edge node on the other hand, thereby providing infinite possibility for service innovation of the mobile edge entrance. The seamless integration of mobile networks and mobile applications will provide a powerful weapon for dealing with various ott (overtetop) applications.
The 5G is a new generation broadband mobile communication technology with the characteristics of high speed, low time delay and large connection, and is a network infrastructure for realizing man-machine-object interconnection. With the development of 5G technology, 5G is being rapidly applied to various fields, enabling thousands of industries and hundreds of industries to perform digital transformation. The high-speed characteristic and the wireless connection advantage of the 5G provide a new idea and scheme for filling the operating system.
The server filling device provided by the invention is based on the technologies of a 5G network, MEC, PXE, TFTP, HTTP and the like, provides a server wireless filling operation system scheme which is convenient, rapid and flexibly deployed, realizes wireless and flexible filling production of the server operation system, provides technical support for large-batch server operation system filling, solves the problems of large operation system filling operation and maintenance workload and difficult machine location flexible deployment in the commercial server production process, and improves the filling capacity.
Using the filling room that can carry out 400 commercial server operating system fillings simultaneously as the example, there are 1200 net twines under the traditional wired filling mode, according to actual production statistics, just need carry out net twine carding change once every three months, need three workman three days time just can accomplish to still need change according to the net twine crystal head damaged condition in these three months, consuming time and wasting power. By adopting the server filling device, the dilemma caused by network cable operation and maintenance in the traditional scheme can be solved, and the filling capacity is improved.
In this embodiment, 5G Dongle is used as a server network card to obtain a filling request of a server to be filled, and is used as a DHCP server to allocate an IP address and specified PXE information to the server to be filled. Meanwhile, the 5G Dongle is used as the CPE, so that the server to be filled can access the 5G network and the edge side, that is, the server to be filled visits the edge side based on the 5G Dongle and through the IP address and the PXE information.
The 5G Dongle is hardware inserted into a USB port of a computer, and is internally provided with a 5G module, an Ethernet network card, a DHCP service module and the like. The commercial server can be connected with the 5G network through the 5G Dongle to communicate with other services on the network. Therefore, the ethernet network card module in the 5G Dongle in the server filling device provided by the invention needs to be provided with a PXE chip to support PXE starting. When 5G Dongle is burned, the PXE file name and the IP of the PXE file on the server at the MEC side need to be written.
In the following, the server filling apparatus of the present invention is described with reference to fig. 4, and the transmission module 200 specifically includes:
an obtaining unit 210, configured to obtain, by an edge side, a first filling request and a second filling request in the filling requests, where the first filling request is to obtain a PXE boot file, and the second filling request is to obtain an operating system file;
the response unit 220 is configured to provide, according to the IP address and the PXE information, the PXE boot file to the server to be filled in a TFTP manner based on the first filling request by the edge side; and based on the second filling request, providing the operating system file to the server to be filled in an HTTP mode.
In this embodiment, the resource block size of TFTP is set to 20480, and the buffer size is set to 40960. Due to the principle aspect of the TFTP protocol, the downloading speed is lower under the default condition, and the speed is improved by adjusting the size of the block and the size of the receiving buffer.
The system kernel file and the system image file are large, the whole filling process of the traditional system is carried out in a local area network, the speed meets the production requirement, but the speed can not meet the generation requirement after the speed is reduced due to the fact that the local area network is crossed under a 5G network. Therefore, the system kernel file and the system image file are downloaded by using HTTP to replace TFTP protocol, and the downloading speed is improved.
In this embodiment, a TCP/IP protocol stack adopted by an edge is an open source protocol stack lwip, and fig. 5 illustrates an entity structure diagram of an electronic device, as shown in fig. 5, the electronic device may include: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may invoke logic instructions in the memory 830 to perform a server filling method comprising the steps of:
s100, acquiring a filling request of a server to be filled, and distributing an IP address and appointed PXE information for the server to be filled; the PXE information comprises a PXE file position and a PXE file name;
s200, the edge side provides a PXE boot file to the server to be filled in a TFTP mode and provides an operation system file to the server to be filled in an HTTP mode based on the filling request and according to the IP address and the PXE information;
s300, filling the server to be filled based on the PXE boot file and the operating system file.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being stored on a non-transitory computer readable storage medium, wherein when the computer program is executed by a processor, a computer is capable of executing the server filling method provided by the above methods, and the method includes the following steps:
s100, acquiring a filling request of a server to be filled, and distributing an IP address and appointed PXE information for the server to be filled; the PXE information comprises a PXE file position and a PXE file name;
s200, the edge side provides a PXE boot file to the server to be filled in a TFTP mode and provides an operation system file to the server to be filled in an HTTP mode based on the filling request and according to the IP address and the PXE information;
s300, filling the server to be filled based on the PXE boot file and the operating system file.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor, implements a server filling method provided by the above methods, the method comprising the steps of:
s100, acquiring a filling request of a server to be filled, and distributing an IP address and appointed PXE information for the server to be filled; the PXE information comprises a PXE file position and a PXE file name;
s200, the edge side provides a PXE boot file to the server to be filled in a TFTP mode and provides an operation system file to the server to be filled in an HTTP mode based on the filling request and according to the IP address and the PXE information;
s300, filling the server to be filled based on the PXE boot file and the operating system file.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A server filling method, comprising the steps of:
acquiring a filling request of a server to be filled, and allocating an IP address and appointed PXE information for the server to be filled; the PXE information comprises a PXE file position and a PXE file name;
the edge side provides a PXE boot file to the server to be filled in a TFTP mode and provides an operation system file to the server to be filled in an HTTP mode based on the filling request and according to the IP address and the PXE information;
and filling the server to be filled based on the PXE boot file and the operating system file.
2. The server filling method according to claim 1, wherein the obtaining of the filling request of the server to be filled, the allocating of the IP address and the specified PXE information to the server to be filled specifically includes:
and acquiring the filling request of the server to be filled by using a 5G Dongle as a server network card, and allocating the IP address and appointing the PXE information for the server to be filled as a DHCP server side.
3. The server filling method according to claim 2, wherein the obtaining of the filling request of the server to be filled, the allocating of the IP address and the specified PXE information to the server to be filled specifically includes:
and the server to be filled visits the edge side based on the 5G Dongle through the IP address and the PXE information.
4. The server filling method according to claim 1, wherein the obtaining of the filling request of the server to be filled, based on the filling request, the edge side provides, according to the IP address and the specified PXE information, a PXE boot file to the server to be filled in a TFTP manner, and an operating system file to the server to be filled in an HTTP manner, specifically includes the following steps:
the edge side acquires a first filling request and a second filling request in the filling requests; the first filling request is to acquire a PXE boot file, the second filling request is to acquire an operating system file, the PXE boot file comprises a PXE boot loader file and a configuration file, and the operating system file comprises a system kernel file and a system image file;
according to the IP address and the PXE information, the edge side provides a PXE boot file to the server to be filled in a TFTP mode based on the first filling request; and based on the second filling request, providing an operating system file to the server to be filled in an HTTP mode.
5. The server filling method according to claim 4, wherein the edge side provides the PXE boot file to the server to be filled in a TFTP manner based on the first filling request, specifically including:
the resource block size of TFTP is set to 20480 and the buffer size is set to 40960.
6. The server filling method according to claim 4, wherein the edge side provides the PXE boot file to the server to be filled in a TFTP manner based on the first filling request, based on the IP address and the PXE information; based on the second filling request, providing an operating system file to the server to be filled in an HTTP mode, which specifically comprises the following steps:
and the TCP/IP protocol stack adopted by the edge side is an open source protocol stack lwip.
7. A server filling method, comprising:
the request module is used for acquiring a filling request of a server to be filled, and allocating an IP address and appointed PXE information for the server to be filled; the PXE information comprises a PXE file position and a PXE file name;
the transmission module is used for providing a PXE boot file to the server to be filled in a TFTP mode and providing an operation system file to the server to be filled in an HTTP mode according to the filling request and the IP address and the PXE information by the edge side;
and the filling module is used for filling the server to be filled based on the PXE boot file and the operating system file.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the server filling method according to any of claims 1 to 6.
9. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the server filling method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program, wherein the computer program when executed by a processor implements the steps of the server filling method according to any of claims 1 to 6.
CN202111149693.7A 2021-09-29 2021-09-29 Server filling method, device, equipment and product Active CN114070841B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111149693.7A CN114070841B (en) 2021-09-29 2021-09-29 Server filling method, device, equipment and product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111149693.7A CN114070841B (en) 2021-09-29 2021-09-29 Server filling method, device, equipment and product

Publications (2)

Publication Number Publication Date
CN114070841A true CN114070841A (en) 2022-02-18
CN114070841B CN114070841B (en) 2023-07-14

Family

ID=80233823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111149693.7A Active CN114070841B (en) 2021-09-29 2021-09-29 Server filling method, device, equipment and product

Country Status (1)

Country Link
CN (1) CN114070841B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174556A (en) * 2022-06-29 2022-10-11 浪潮云信息技术股份公司 Configuration method and system of server operating system, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050132360A1 (en) * 2003-12-11 2005-06-16 Chu Simon C. Network boot sequence in the absence of a DHCP server
CN109522028A (en) * 2018-11-15 2019-03-26 郑州云海信息技术有限公司 A kind of installation method and system of operating system
CN112256288A (en) * 2020-10-23 2021-01-22 苏州浪潮智能科技有限公司 Linux system batch installation method, device and medium
CN112527328A (en) * 2020-12-03 2021-03-19 曙光信息产业(北京)有限公司 System cloning method, device, electronic equipment and computer readable storage medium
CN113064602A (en) * 2021-03-08 2021-07-02 山东英信计算机技术有限公司 Method, system and medium for filling operation system based on NFS

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050132360A1 (en) * 2003-12-11 2005-06-16 Chu Simon C. Network boot sequence in the absence of a DHCP server
CN109522028A (en) * 2018-11-15 2019-03-26 郑州云海信息技术有限公司 A kind of installation method and system of operating system
CN112256288A (en) * 2020-10-23 2021-01-22 苏州浪潮智能科技有限公司 Linux system batch installation method, device and medium
CN112527328A (en) * 2020-12-03 2021-03-19 曙光信息产业(北京)有限公司 System cloning method, device, electronic equipment and computer readable storage medium
CN113064602A (en) * 2021-03-08 2021-07-02 山东英信计算机技术有限公司 Method, system and medium for filling operation system based on NFS

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174556A (en) * 2022-06-29 2022-10-11 浪潮云信息技术股份公司 Configuration method and system of server operating system, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN114070841B (en) 2023-07-14

Similar Documents

Publication Publication Date Title
CN108809722B (en) Method, device and storage medium for deploying Kubernetes cluster
US10754686B2 (en) Method and electronic device for application migration
CN109218356B (en) Method and apparatus for managing stateful applications on a server
CN114077480B (en) Method, device, equipment and medium for sharing memory between host and virtual machine
CN101695077A (en) Method, system and equipment for deployment of operating system of virtual machine
CN111722885B (en) Program running method and device and electronic equipment
CN108256118A (en) Data processing method, device, system, computing device and storage medium
CN110764805B (en) Client non-inductive upgrading method, device, terminal and storage medium
CN103685496A (en) Transmission method and device of file data
US20170033980A1 (en) Agent manager for distributed transaction monitoring system
JP2021518955A (en) Processor core scheduling method, equipment, terminals and storage media
CN110308986A (en) The method of distributed training data communication on container cloud based on Optimized Operation
CN114070841A (en) Server filling method, device, equipment and product
WO2017166997A1 (en) Inic-side exception handling method and device
CN115268949A (en) Mirror preheating method, device, equipment and storage medium
CN112104679B (en) Method, apparatus, device and medium for processing hypertext transfer protocol request
CN114296953A (en) Multi-cloud heterogeneous system and task processing method
CN110113176B (en) Information synchronization method and device for configuration server
CN108965364B (en) Resource allocation method, device and system
CN116257320B (en) DPU-based virtualization configuration management method, device, equipment and medium
CN115562887A (en) Inter-core data communication method, system, device and medium based on data package
CN112367362B (en) Data processing method, device, equipment and computer storage medium
CN110753043B (en) Communication method, device, server and medium
CN111767345B (en) Modeling data synchronization method, modeling data synchronization device, computer equipment and readable storage medium
CN114780228A (en) Hybrid cloud resource creation method and system

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