CN106549789B - Method and system for realizing server installation - Google Patents

Method and system for realizing server installation Download PDF

Info

Publication number
CN106549789B
CN106549789B CN201510605254.0A CN201510605254A CN106549789B CN 106549789 B CN106549789 B CN 106549789B CN 201510605254 A CN201510605254 A CN 201510605254A CN 106549789 B CN106549789 B CN 106549789B
Authority
CN
China
Prior art keywords
deployed
node
server
dhcp
hardware information
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
CN201510605254.0A
Other languages
Chinese (zh)
Other versions
CN106549789A (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.)
Nanjing ZTE New Software Co Ltd
Original Assignee
Nanjing ZTE New Software 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 Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN201510605254.0A priority Critical patent/CN106549789B/en
Priority to PCT/CN2016/098975 priority patent/WO2017050168A1/en
Publication of CN106549789A publication Critical patent/CN106549789A/en
Application granted granted Critical
Publication of CN106549789B publication Critical patent/CN106549789B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks

Abstract

The invention discloses a method and a device for realizing server installation, which comprises the following steps: when a node to be deployed is not registered, acquiring hardware information of the node to be deployed by operating a Network Bootstrap Program (NBP); the node to be deployed stores the acquired hardware information into a Database (DB) through a deployment Server (deployment Server); the deployment Server informs a dynamic host configuration protocol Server that DHCP Server hardware information is registered according to the storage of the hardware information of the node to be deployed so as to install an operating system; and the node to be deployed is a server to be deployed. The method of the invention collects the hardware information through the NBP, avoids entering the PXE flow because the node to be deployed is not registered, and reduces the time consumption of server installation.

Description

Method and system for realizing server installation
Technical Field
The invention relates to a cloud computing technology, in particular to a method and a system for realizing server installation.
Background
With the application and development of the cloud computing technology, a large number of servers (also called nodes) are installed and deployed to become a work of the cloud computing technology application, different operating systems or different service configurations under the same operating system can be deployed according to different server hardware configurations from the condition that the basic server installation is met, and the server installation process is improved; currently, the server installation deployment method can realize specific deployment and configuration according to the physical information of the nodes. Fig. 1 is a schematic diagram of a system installed with a Server in the prior art, as shown in fig. 1, the system includes a deployment Server (deployment Server), a to-be-deployed Server (also called a to-be-deployed node), and the deployment Server and the to-be-deployed node are connected through a switch, where a dotted line represents that the deployment Server is connected and communicated through an intelligent platform management interface IPMI out-of-band management port, and a connection part represents that the deployment Server starts a port/management port connection through a pre-boot execution environment (PXE) network;
fig. 2 is a schematic flowchart of a conventional server installation method, as shown in fig. 2, including:
step 200, a deployment Server (deployment Server) modifies a node to be deployed to be started as a network through an intelligent platform management interface Server (IPMIServer);
step 201, the deployment Server informs the IPMI Server to restart the node to be deployed;
step 202, after restarting the node to be deployed, entering a pre-boot execution environment (PXE) flow, and completing a standard DHCP Discovery (DISCOVER)/invitation (OFFER) flow with a dynamic host configuration protocol Server (DHCP Server);
step 203, the node to be deployed sends a DHCP REQUEST (REQUEST) message carrying a PXE option field;
step 204, after receiving the DHCP RREQUEST message, the DHCP Server queries whether the node to be deployed, which sends the DHCP RREQUEST, is registered in a Database (DB) through the deployment Server according to the Multimedia Access Control (MAC) address information of the node to be deployed;
if the node to be deployed is not registered, execute step 205; if the node to be deployed is registered, directly jumping into the deployment mirror image response flow of the step 215;
step 205, the DHCP Server sends out DHCP Acknowledgement (ACK) information carrying a simple file transfer protocol Server (TFTP Server) address and a Network Bootstrap (NBP) version;
step 206, the node to be deployed downloads NBP through the TFTP Server according to the DHCP response information of the DHCP Server and operates;
step 207, downloading a discovery (Discover) mirror image by the node to be deployed through the TFTP Server, and running in the NBP;
step 208, automatically acquiring hardware information of the node to be deployed through the Discover mirror image operated in the NBP;
step 209, the node to be deployed sends the hardware information acquired by the Discover mirror image to the deployment Server;
step 210, verifying the hardware information by the deployment Server, and writing the information of the node to be deployed into a database of the hardware information according to the verification result or updating the database of the hardware information according to the verification result;
step 211, the deployment Server restarts the node to be deployed through the IPMI Server;
step 212, the node to be deployed reenters the PXE flow, and completes the DHCP discovery/requirement flow again;
step 213, the node to be deployed sends a DHCP REQUEST message carrying a PXE option field to the DHCPServer;
step 214, after receiving the DHCP request message, the DHCP Server queries the DB through the deployment Server according to the MAC address information of the node to be deployed to determine that the node to be deployed that sends the DHCP request is registered, and jumps to step 115 to perform a deployment mirror image response procedure;
if there is a problem in the registration process of the node to be deployed, which indicates that the node to be deployed has not completed the hardware auto-discovery process, then, the relevant processing is performed from the beginning in step 100.
Step 215, the DHCP Server sends DHCP response information carrying the TFTPServer address, the NBP version information and the configuration file as a download delivery mirror image to the node to be deployed according to the fact that the node to be deployed is registered;
step 216, modifying PXE NBP configuration by the node to be deployed, downloading NBP through a TFTP Server and running;
step 217, modifying PXE NBP configuration by the node to be deployed, downloading the Deploy image through the TFTP Server and running;
step 218, the node to be deployed completes installation and deployment of the operating system in the deployment mirror image;
step 219, after the node to be deployed completes the installation of the operating system, feeding back an installation completion message to the deployment Server;
step 220, according to the feedback of the installation completion, the deployment Server modifies the starting mode of the node to be deployed into the starting mode of a local hard disk through the IPMI Server, and the deployment of the node to be deployed is completed.
In the server installation process, the PXE flow needs to be entered twice when the nodes to be deployed are found and installed, so that the time consumed for installing and deploying the server is shortened, when the number of the servers of the cloud computing platform is large, the deployment application of the cloud computing platform is affected, in addition, the Discover mirror image and the deployment mirror image need to be maintained simultaneously in the server discovery and deployment process, and the maintenance cost is high.
Disclosure of Invention
In order to solve the technical problem, the invention provides a method and a system for implementing server installation, which can reduce the time for entering a PXE flow and reduce the time consumed by server installation and deployment.
In order to achieve the object of the present invention, the present invention provides a method for implementing server installation, when a node to be deployed is unregistered, the method includes:
the node to be deployed acquires hardware information of the node to be deployed by running a Network Bootstrap Program (NBP);
the node to be deployed stores the acquired hardware information into a database DB through a deployment Server;
the deployment Server informs a dynamic host configuration protocol Server that DHCP Server hardware information is registered according to the storage of the hardware information of the node to be deployed so as to install an operating system;
the node to be deployed is a server to be deployed.
Further, the method also comprises the following steps: and adding an acquisition instruction for acquiring the hardware information of the node to be deployed in the NBP so as to acquire the hardware information of the node to be deployed when the NBP is operated.
Further, storing the collected hardware information into the DB through the deployment Server specifically includes:
the node to be deployed encapsulates the acquired hardware information of the node to be deployed into a DHCP REQUEST message through a DHCP option field and sends the message to a DHCP Server;
and after receiving the DHCP REQUEST message, the DHCP Server analyzes the DHCP option field to obtain the hardware information of the node to be deployed, and stores the hardware information of the node to be deployed into the DB through the deployment Server.
Further, the DHCPREQUEST message encapsulating the hardware information of the node to be deployed through the DHCP option field does not carry the PXE option field.
Further, the installing the operating system specifically includes:
the deployment Server notifies the DHCP Server that the hardware information is registered, and modifies the installation configuration file of the operating system according to the hardware information of the node to be deployed;
the DHCP Server sends a DHCPACK message carrying TFTP Server, the address information of the deployment Server, the mirror image information of the installation tool and the configuration file information to the node to be deployed;
the node to be deployed downloads an installation tool mirror image according to the installation tool mirror image information and the configuration file information and operates the installation tool;
the node to be deployed installs an operating system through an operating installation tool; or the like, or, alternatively,
and the DHCP Server sends DHCP response information carrying a TFTPServer address, NBP version information and a configuration file as a download delivery mirror image to the node to be deployed according to the fact that the node to be deployed is registered, so that the node to be deployed continues a subsequent operating system installation process according to the DHCP response information.
Further, the method further comprises: and the node to be deployed feeds back the installation progress to the deployment Server.
On the other hand, the application also provides a system for realizing the installation of the server, which comprises the following steps: a plurality of nodes to be deployed and a deployment server; wherein the content of the first and second substances,
the node to be deployed at least comprises an acquisition unit and a storage unit; wherein the content of the first and second substances,
the acquisition unit is used for acquiring hardware information of the node to be deployed by operating a Network Bootstrap Program (NBP) when the node to be deployed is unregistered;
the storage unit is used for storing the acquired hardware information into a database DB through a deployment Server;
the deployment server comprises a writing unit and a notification unit; wherein the content of the first and second substances,
the writing unit is used for storing the hardware information acquired by the nodes to be deployed in a database;
the notification unit is used for notifying the dynamic host configuration protocol Server that the hardware information of the DHCP Server is registered according to the storage of the hardware information of the node to be deployed so as to install the operating system;
the node to be deployed is a server to be deployed.
Further, the system further comprises an adding unit, configured to add, in the NBP, a collection instruction for collecting hardware information of the node to be deployed, so as to collect the hardware information of the node to be deployed when the NBP is running.
Further, the node to be deployed also comprises an encapsulation unit, the system also comprises a DHCP Server,
the encapsulation unit is used for encapsulating the acquired hardware information of the node to be deployed into a DHCP REQUEST message through a DHCP option field and sending the message to the storage unit;
the storage unit is specifically used for sending a DHCP REQUEST message encapsulated with DHCP option to the DHCPServer so that the DHCP Server can analyze the DHCP option field to obtain the hardware information of the node to be deployed after receiving the DHCP REQUEST message, and the hardware information of the node to be deployed is stored into the DB through the Deploy Server;
the DHCP Server is used for receiving a DHCP REQUEST message and then analyzing the DHCP option field to obtain the hardware information of the node to be deployed, and storing the hardware information of the node to be deployed into the DB through the Deploy Server;
and the DHCP REQUEST message which encapsulates the hardware information of the nodes to be deployed through the DHCP option field does not carry the PXE option field.
Furthermore, the deployment Server also comprises a modification configuration unit which is used for informing the unit that the hardware information of the DHCP Server is registered and modifying the installation configuration file of the operating system according to the hardware information of the node to be deployed;
the DHCP Server is also used for sending a DHCP ACK message carrying TFTP Server, the address information of the deployment Server, the image information of the installation tool and the configuration file information to the node to be deployed;
the node to be deployed also comprises an installation tool downloading installation unit and an installation unit; wherein the content of the first and second substances,
the installation tool downloading and installing unit is used for downloading and installing the installation tool mirror image according to the installation tool mirror image information and the configuration file information from the DHCP Server and operating the installation tool;
and the installation unit is used for installing the operating system through the operated installation tool.
Further, the DHCP Server is further configured to send, to the node to be deployed, a DHCP response message carrying a TFTP Server address, NBP version information, and a configuration file as a download delivery image according to the node to be deployed that is registered, so that the node to be deployed continues a subsequent operating system installation process according to the DHCP response message.
Further, the node to be deployed also comprises a feedback unit, which is used for feeding back the installation progress to the deployment Server.
Compared with the prior art, the technical scheme of the application comprises the following steps: when a node to be deployed is not registered, acquiring hardware information of the node to be deployed by operating a Network Bootstrap Program (NBP); the node to be deployed stores the acquired hardware information into a Database (DB) through a deployment server (DeployServer); the deployment Server informs a dynamic host configuration protocol Server that DHCP Server hardware information is registered according to the storage of the hardware information of the node to be deployed so as to install an operating system; and the node to be deployed is a server to be deployed. The method of the invention collects the hardware information through the NBP, avoids entering the PXE flow because the node to be deployed is not registered, and reduces the time consumption of server installation.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of a prior art server-mounted system;
FIG. 2 is a flow chart illustrating a method of installing a server according to the prior art;
FIG. 3 is a flow chart of a method of implementing server installation in accordance with the present invention;
FIG. 4 is a block diagram of a system for implementing server installation according to the present invention;
FIG. 5 is a flow chart of an embodiment of the present invention for performing server installation.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Fig. 3 is a flowchart of a method for implementing server installation according to the present invention, and as shown in fig. 3, when a node to be deployed is not registered, the method includes:
step 300, collecting self hardware information of a node to be deployed by operating a Network Bootstrap Program (NBP); here, the node to be deployed is a server to be deployed.
The method also comprises the following steps: and adding an acquisition instruction for acquiring the hardware information of the node to be deployed in the NBP so as to acquire the hardware information of the node to be deployed when the NBP is operated.
Step 301, the node to be deployed stores the acquired hardware information into a Database (DB) through a deployment Server (deployment Server);
in this step, storing the collected hardware information into the DB through the deployment Server specifically includes:
the node to be deployed encapsulates the acquired hardware information of the node to be deployed into a DHCP REQUEST message through a DHCP option field and sends the message to a DHCP Server;
and after receiving the DHCP REQUEST message, the DHCP Server analyzes the DHCP option field to obtain the hardware information of the node to be deployed, and stores the hardware information of the node to be deployed into the DB through the deployment Server.
Here, the DHCP REQUEST message encapsulating the hardware information of the node to be deployed through the DHCP option field does not carry the PXE option field.
Step 302, the deployment Server informs the dynamic host configuration protocol Server that the DHCP Server hardware information is registered according to the storage of the hardware information of the node to be deployed so as to install the operating system.
The installing of the operating system specifically includes:
the deployment Server notifies the DHCP Server that the hardware information is registered, and modifies the installation configuration file of the operating system according to the hardware information of the node to be deployed;
the DHCP Server sends a DHCPACK message carrying TFTP Server, the address information of the deployment Server, the mirror image information of the installation tool and the configuration file information to the node to be deployed;
the node to be deployed downloads the installation tool mirror image according to the installation tool mirror image information and the configuration file information and operates the installation tool;
installing an operating system by the node to be deployed through an operating installation tool; or the like, or, alternatively,
and the DHCP Server sends DHCP response information carrying TFTP Server addresses, NBP version information and configuration files as download Deploy images to the node to be deployed according to the fact that the node to be deployed is registered, so that the node to be deployed continues a subsequent operating system installation process according to the DHCP response information.
The method of the invention also comprises the following steps: and feeding back the installation progress to the deployment Server by the node to be deployed.
The method of the invention collects the hardware information through the NBP, avoids entering the PXE flow because the node to be deployed is not registered, and reduces the time consumption of server installation.
Fig. 4 is a block diagram of a system for implementing server installation according to the present invention, as shown in fig. 4, including: a plurality of nodes to be deployed and a deployment server; wherein the content of the first and second substances,
the node to be deployed at least comprises an acquisition unit and a storage unit; wherein the content of the first and second substances,
the acquisition unit is used for acquiring hardware information of the node to be deployed by running a Network Bootstrap Program (NBP) when the node to be deployed is unregistered;
the storage unit is used for storing the acquired hardware information into a database DB through a deployment Server;
the deployment server comprises a writing unit and a notification unit; wherein the content of the first and second substances,
the writing unit is used for storing the hardware information acquired by the nodes to be deployed in a database;
the notification unit is used for notifying the dynamic host configuration protocol Server that the hardware information of the DHCP Server is registered according to the storage of the hardware information of the node to be deployed so as to install the operating system;
and the node to be deployed is a server to be deployed.
The system also comprises an adding unit which is used for adding a collecting instruction for collecting the hardware information of the node to be deployed in the NBP so as to collect the hardware information of the node to be deployed when the NBP is operated.
The node to be deployed also comprises an encapsulation unit, the system also comprises a DHCP Server,
the encapsulation unit is used for encapsulating the acquired hardware information of the node to be deployed into a DHCP REQUEST message through a DHCP option field and sending the message to the storage unit;
the storage unit is specifically used for sending a DHCP REQUEST message encapsulated with DHCP option to the DHCPServer so that the DHCP Server can analyze the DHCP option field to obtain the hardware information of the node to be deployed after receiving the DHCP REQUEST message, and the hardware information of the node to be deployed is stored into the DB through the Deploy Server;
the DHCP Server is used for receiving the DHCP REQUEST message, analyzing the DHCP option field to obtain the hardware information of the node to be deployed, and storing the hardware information of the node to be deployed into the DB through the deployment Server;
and the DHCP REQUEST message of the hardware information of the node to be deployed is encapsulated by the DHCP option field and does not carry the PXE option field.
The deployment Server also comprises a modification configuration unit which is used for informing the unit that the hardware information of the DHCP Server is registered and modifying the installation configuration file of the operating system according to the hardware information of the node to be deployed;
the DHCP Server is also used for sending a DHCP ACK message carrying TFTP Server, the address information of the deployment Server, the image information of the installation tool and the configuration file information to the node to be deployed;
the node to be deployed also comprises an installation tool downloading installation unit and an installation unit; wherein the content of the first and second substances,
the installation tool downloading and installing unit is used for downloading and installing the installation tool mirror image according to the installation tool mirror image information and the configuration file information from the DHCP Server and operating the installation tool;
and the installation unit is used for installing the operating system through the operated installation tool.
The DHCP Server is also used for sending DHCP response information carrying TFTP Server address, NBP version information and configuration file as download Deploy mirror image to the node to be deployed according to the registered node to be deployed, so that the node to be deployed continues the subsequent operating system installation process according to the DHCP response information.
The node to be deployed also comprises a feedback unit used for feeding back the installation progress to the deployment Server.
The process of the present invention is illustrated in clear detail below by means of specific examples, which are provided only for illustrating the present invention and are not intended to limit the scope of the process of the present invention.
In this embodiment, an installation of a node to be deployed is taken as an example to clearly describe the method of the present invention in detail, and fig. 5 is a flowchart of an embodiment of the server installation performed by the present invention, as shown in fig. 5, including:
step 500, the deployment Server informs the IPMI Server to modify the starting mode of the node to be deployed into network starting;
step 501, the deployment Server informs the IPMI Server to restart the node to be deployed;
step 502, after the deployment node is restarted, entering a PXE flow, and completing a standard DHCPDISCOVER/OFFER flow between the deployment node and a DHCP Server;
step 503, the node to be deployed sends a DHCP REQUEST message carrying a PXE option field;
step 504, after receiving the DHCP request message, the DHCP Server queries whether the node to be deployed sending the DHCP request is registered to the DB through the deployment Server according to the MAC address information of the node to be deployed;
if the node to be deployed is not registered, executing step 505; if the node to be deployed is registered, directly jumping to step 510 to perform a mirror image deployment process;
505, the DHCP Server sends out DHCP ACK information carrying TFTP Server address and NBP version;
step 506, the node to be deployed downloads NBP through the TFTP Server according to the DHCP response information of the DHCP Server;
step 507, running the downloaded NBP, and acquiring hardware information of the node to be deployed through the NBP;
step 508, the node to be deployed encapsulates the hardware information of the node to be deployed, which is acquired by operating the NBP, into a DHCP REQUEST message through a DHCP option field, and sends the DHCP REQUEST message to a DHCP Server; the DHCP REQUEST message does not carry a PXEoption field;
it should be noted that carrying the PXE option field may cause the DHCP Server to enter the existing Server deployment process, and therefore, the necessary adjustment is needed.
Step 509, the DHCP Server analyzes the DHCP option field of the received DHCP REQUEST message, and stores the hardware information of the node to be deployed into the DB through the deployment Server;
step 510, the deployment Server informs the DHCP Server that the hardware information is registered according to the storage of the hardware information of the node to be deployed, and modifies the installation configuration file of the operating system according to the hardware information of the node to be deployed;
it should be noted that, when the hardware information is stored in the DB, the node to be deployed is generally considered to be legitimate, so that when the hardware information is stored, the DHCP Server is notified that the hardware information is registered.
Step 511, the DHCP Server sends a DHCPACK message carrying TFTP Server, Deploy Server address information, installation tool image information and configuration file information to the node to be deployed;
step 512, downloading and installing the installation tool mirror image and running the installation tool by the node to be deployed according to the installation tool mirror image information and the configuration file information;
step 513, the node to be deployed installs the operating system through the running installation tool, and feeds back the installation progress to the deployment Server;
and 514, modifying the starting mode of the node to be deployed into the starting mode of the local hard disk by the deployment Server through the IPMI Server according to the feedback of the installation completion, and completing the deployment of the node to be deployed.
It should be noted that, if the node to be deployed is registered, steps 510 to 514 may be alternatively performed by:
modifying PXE NBP configuration by the node to be deployed, downloading NBP through a TFTP Server and running;
modifying PXE NBP configuration by the node to be deployed, downloading the Deploy mirror image through the TFTP Server and operating;
the node to be deployed completes the installation and deployment of the operating system in the Deploy mirror image;
after the deployment node completes the installation of the operating system, feeding back an installation completion message to the deployment Server;
and according to the feedback of the installation completion, the deployment Server modifies the starting mode of the node to be deployed into the starting mode of a local hard disk through the IPMI Server, and completes the deployment of the node to be deployed.
Although the embodiments of the present invention have been described above, the above description is only for the convenience of understanding the present invention, and is not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (9)

1. A method for realizing server installation is characterized in that when a node to be deployed is unregistered, the method comprises the following steps:
the node to be deployed acquires hardware information of the node to be deployed by running a Network Bootstrap Program (NBP);
the node to be deployed stores the acquired hardware information into a database DB through a deployment Server;
the deployment Server informs a dynamic host configuration protocol Server DHCPServer that hardware information is registered according to the storage of the hardware information of the node to be deployed, and modifies an installation configuration file of an operating system according to the hardware information of the node to be deployed; the DHCP Server sends a DHCPACK message carrying TFTP Server, the address information of the deployment Server, the mirror image information of the installation tool and the configuration file information to the node to be deployed; the node to be deployed downloads the installation tool mirror image according to the installation tool mirror image information and the configuration file information and operates the installation tool; the node to be deployed installs an operating system through an operating installation tool;
or, the DHCP Server sends DHCP response information carrying a TFTPServer address, NBP version information and a configuration file as a download delivery image to the node to be deployed according to the registered node to be deployed, so that the node to be deployed continues a subsequent operating system installation process according to the DHCP response information;
the node to be deployed is a server to be deployed.
2. The method of claim 1, further comprising, prior to the method: and adding an acquisition instruction for acquiring the hardware information of the node to be deployed in the NBP so as to acquire the hardware information of the node to be deployed when the NBP is operated.
3. The method according to claim 1, wherein the storing the collected hardware information into the DB via the DeployServer specifically comprises:
the node to be deployed encapsulates the acquired hardware information of the node to be deployed into a DHCP REQUEST message through a DHCP option field and sends the message to a DHCP Server;
and after receiving the DHCP REQUEST message, the DHCP Server analyzes the DHCP option field to obtain the hardware information of the node to be deployed, and stores the hardware information of the node to be deployed into the DB through the deployment Server.
4. The method as claimed in claim 3, wherein the DHCP REQUEST message encapsulating the hardware information of the node to be deployed through the DHCP option field does not carry the PXE option field.
5. The method of claim 1, further comprising: and the node to be deployed feeds back the installation progress to the DeployServer.
6. A system for implementing server installation, comprising: a plurality of nodes to be deployed and a deployment server; wherein the content of the first and second substances,
the node to be deployed at least comprises an acquisition unit and a storage unit; wherein the content of the first and second substances,
the acquisition unit is used for acquiring hardware information of the node to be deployed by operating a Network Bootstrap Program (NBP) when the node to be deployed is unregistered;
the storage unit is used for storing the acquired hardware information into a database DB through a deployment Server;
the deployment server comprises a writing unit and a notification unit; wherein the content of the first and second substances,
the writing unit is used for storing the hardware information acquired by the nodes to be deployed to the database;
the notification unit is used for notifying the dynamic host configuration protocol server DHCPServer that the hardware information is registered according to the storage of the hardware information of the node to be deployed;
the deployment Server also comprises a modification configuration unit which is used for informing the unit that the hardware information of the DHCP Server is registered and modifying the installation configuration file of the operating system according to the hardware information of the node to be deployed;
the DHCP Server is also used for sending a DHCP ACK message carrying TFTP Server, the address information of the deployment Server, the image information of the installation tool and the configuration file information to the node to be deployed; the node to be deployed also comprises an installation tool downloading installation unit and an installation unit; the installation tool downloading and installing unit is used for downloading an installation tool mirror image according to installation tool mirror image information and configuration file information from the DHCP Server and operating the installation tool; an installation unit for installing the operating system by means of a running installation tool;
or the DHCP Server is also used for sending DHCP response information carrying a TFTP Server address, NBP version information and a configuration file as a download Deploy mirror image to the node to be deployed according to the registered node to be deployed so that the node to be deployed continues the subsequent operating system installation process according to the DHCP response information;
the node to be deployed is a server to be deployed.
7. The system according to claim 6, further comprising an adding unit configured to add a collecting instruction for collecting hardware information of the node to be deployed in the NBP, so as to collect the hardware information of the node to be deployed when the NBP is running.
8. The system according to claim 7, wherein the node to be deployed further comprises an encapsulation unit, the system further comprises a DHCP Server,
the encapsulation unit is used for encapsulating the acquired hardware information of the node to be deployed into a DHCP REQUEST message through a DHCP option field and sending the message to the storage unit;
the storage unit is specifically used for sending a DHCP REQUEST message encapsulated with DHCP option to a DHCP Server so that the DHCP Server can analyze the DHCP option field to obtain hardware information of the node to be deployed after receiving the DHCP REQUEST message, and the hardware information of the node to be deployed is stored into a DB through a Deploy Server;
the DHCP Server is used for receiving a DHCP REQUEST message and then analyzing the DHCP option field to obtain the hardware information of the node to be deployed, and storing the hardware information of the node to be deployed into the DB through the Deploy Server;
and the DHCP REQUEST message which encapsulates the hardware information of the nodes to be deployed through the DHCP option field does not carry the PXE option field.
9. The system according to claim 6, wherein the node to be deployed further comprises a feedback unit for feeding back an installation progress to the deployment Server.
CN201510605254.0A 2015-09-21 2015-09-21 Method and system for realizing server installation Active CN106549789B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510605254.0A CN106549789B (en) 2015-09-21 2015-09-21 Method and system for realizing server installation
PCT/CN2016/098975 WO2017050168A1 (en) 2015-09-21 2016-09-14 Method and device for installing a server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510605254.0A CN106549789B (en) 2015-09-21 2015-09-21 Method and system for realizing server installation

Publications (2)

Publication Number Publication Date
CN106549789A CN106549789A (en) 2017-03-29
CN106549789B true CN106549789B (en) 2020-08-07

Family

ID=58364539

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510605254.0A Active CN106549789B (en) 2015-09-21 2015-09-21 Method and system for realizing server installation

Country Status (2)

Country Link
CN (1) CN106549789B (en)
WO (1) WO2017050168A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107168726B (en) * 2017-03-30 2021-04-27 武汉斗鱼网络科技有限公司 Method and device for dynamically configuring application program
CN108881504A (en) * 2018-05-30 2018-11-23 郑州云海信息技术有限公司 A kind of hardware information automatic acquiring method and device
CN110290015B (en) * 2019-07-24 2021-02-02 华云数据控股集团有限公司 Remote deployment method, device and storage medium
CN111475172B (en) * 2020-02-29 2023-05-16 新华三大数据技术有限公司 Bare metal deployment method and device
CN113973109A (en) * 2020-07-22 2022-01-25 华为技术有限公司 File downloading method, equipment and system
CN112230942A (en) * 2020-09-28 2021-01-15 烽火通信科技股份有限公司 Automatic deployment method and system supporting various domestic operating systems
CN113672244B (en) * 2021-07-29 2024-02-20 济南浪潮数据技术有限公司 Method, device, equipment and product for distributed installation based on PXE service
CN116405316B (en) * 2023-05-26 2023-08-25 苏州浪潮智能科技有限公司 Method, device, equipment, medium and special machine management system for starting special machine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8312115B2 (en) * 2006-12-21 2012-11-13 1E Limited Network booting apparatus and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379982B2 (en) * 2002-04-15 2008-05-27 Bassam Tabbara System and method for custom installation of an operating system on a remote client
CN100410880C (en) * 2005-08-17 2008-08-13 联想(北京)有限公司 Method for automatic deploying operate system
CN1848787A (en) * 2006-04-30 2006-10-18 西安交通大学 Automatic fast dispositioning method for aggregated server system node
CN101222395B (en) * 2008-02-03 2010-10-27 华为技术有限公司 Method, system and device for implementing selection of network guiding configuration information
CN101546270A (en) * 2009-05-08 2009-09-30 阿里巴巴集团控股有限公司 Automatic installation method for Linux operation system, device and system
KR20140107042A (en) * 2013-02-27 2014-09-04 삼성전자주식회사 Management apparatus and method for managing server node

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8312115B2 (en) * 2006-12-21 2012-11-13 1E Limited Network booting apparatus and method

Also Published As

Publication number Publication date
WO2017050168A1 (en) 2017-03-30
CN106549789A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN106549789B (en) Method and system for realizing server installation
US9900213B2 (en) Startup configuration file deployment
US7953793B2 (en) Distributed preboot execution environment (PXE) server booting
US11256539B2 (en) Task processing method, apparatus, and system based on distributed system
US20140053149A1 (en) Fast and automatic deployment method for cluster system
US20120124242A1 (en) Server and method for testing pxe function of network interface card
CN111273924B (en) Software updating method and device
CN107547274B (en) Multi-network-port aggregation method and device
CN106572200A (en) IP address configuration method and IP address configuration device for baseboard management controller BMC
CN106708573B (en) System and method for Hadoop cluster automatic installation
CN104935468A (en) PXE technology-based interactive system and method for realizing operation of operating system thereof
CN110971689B (en) System installation method, device, system, equipment and storage medium
CN111475172B (en) Bare metal deployment method and device
CN114422618B (en) Cloud-protogenesis-based IOT platform protocol adaptation method, device, equipment and medium
CN108255500B (en) Cobbler-based operating system automatic installation method compatible with virtualization architecture
CN111163167A (en) System installation method and device
CN107968725B (en) Method and device for returning and configuring configuration information of home gateway unit type terminal device
CN113965548A (en) Hardware drive updating method, system, equipment and medium of storage server
CN112667293B (en) Method, device and storage medium for deploying operating system
US9658927B1 (en) Assisted device recovery
US9949046B2 (en) Automating repairs to audio systems
CN114866515A (en) IP address configuration method, device, electronic equipment and storage medium
CN112748937B (en) Method and device for updating eUICC (integrated circuit card) operating system
CN109254782B (en) Operating system installation method and device
CN111083001B (en) Firmware abnormity detection method and device

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200710

Address after: Yuhuatai District of Nanjing City, Jiangsu province 210012 Bauhinia Road No. 68

Applicant after: Nanjing Zhongxing New Software Co.,Ltd.

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Applicant before: ZTE Corp.

GR01 Patent grant
GR01 Patent grant