A method for BIOS automated deployment on bare metal server

By automating programming to call Redfish, IPMI, and Web Service protocols, standardized BIOS templates are generated and deployed in batches, solving the problems of resource consumption and cumbersome maintenance in bare-metal server BIOS deployment, and achieving efficient and stable deployment of multiple servers.

CN115934176BActive Publication Date: 2026-02-06GUANGZHOU HEMING SOFTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310075839.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-07
Publication Date
2026-02-06
Estimated Expiration
2043-02-07

AI Technical Summary

Technical Problem

Existing technologies for bare-metal server BIOS deployment suffer from issues such as resource consumption, cumbersome maintenance, inability to achieve batch deployment, and the inability of a single protocol to integrate BIOS configuration items. In particular, BIOS deployment is impossible on some servers that do not support the IPMI protocol.

Method used

Using JAVA and C# as the main development languages, it calls different protocols and tools such as Redfish, IPMI and Web Service through automated programming to call the initial BIOS data from the BMC management port of the bare metal server, generate a standardized BIOS template, and perform batch deployment through script commands. It also uses SSH, Redfish and IPMI tools for automated deployment.

Benefits of technology

It enables the simultaneous automated deployment of multiple bare-metal servers of the same model across network segments, reducing manual intervention, ensuring the accuracy and completeness of BIOS configuration, and improving deployment efficiency and server stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115934176B_ABST
    Figure CN115934176B_ABST
Patent Text Reader

Abstract

The application discloses a kind of about bare machine server BIOS automation deployment method, it is related to automation programming technical field, bare machine server carries out BMC management port initialization configuration, opens BMC setting Https (web), SSH, Redfish and IPMI service agreement, by bare machine server SSH, Redfish and different equipment special tool, from bare machine server BMC management port call relevant protocol, by system automatic judgment uses what protocol or tool is directed to different manufacturer's bare machine server and carries out BIOS data acquisition.The application is by system automatic judgment uses what protocol or tool is directed to different manufacturer's bare machine server and carries out BIOS data acquisition, multiple data acquisition protocols are used simultaneously, by system automatic determination uses data acquisition method, ensure that the most complete BIOS configuration item parameter is obtained, reduce manual participation manual data acquisition, by using BIOS template packing and encapsulating automation deployment method, unified generation standardization BIOS template, by system automatic deployment, without manual participation, speed up deployment time.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of automation programming, in particular to a method for BIOS automatic deployment of bare-metal server. BACKGROUND

[0002] Bare-metal server essentially refers to a basic computer hard disk without operating system or software - just the physical server hardware itself, unlike traditional dedicated servers, bare-metal server is more or less a whiteboard, the advantage of this setting is that it can be completely customized, while traditional dedicated servers (with built-in operating system and software) cannot, therefore, users can accurately get what they need from the server without paying for extra features they do not use, bare-metal server is mainly used by users to identify which types of applications are most suitable for hosting solutions, server BIOS is a system setup program through which system hardware and specified BIOS-level options can be managed, including changing NVRAM settings after adding or removing hardware, viewing system hardware configuration, enabling or disabling power management thresholds and managing system security.

[0003] Nowadays, the following two technologies are commonly used for server BIOS deployment, the first one is to install Agent in the operating system, then call the operating system BIOS update tool developed by each server manufacturer through Agent, and update and deploy BIOS from the operating system interface, the second one is to set and synchronize BIOS configuration through IPMI protocol, and achieve BIOS deployment by installing IPMI driver.

[0004] However, the existing technology has the following problems:

[0005] 1. This technology uses Agent program and performs BIOS deployment in the operating system, which occupies operating system resources and affects the normal operation of business; multiple manufacturers install multiple BIOS update tools in their respective server devices, resulting in Agent program becoming more and more huge and being difficult to maintain; and it cannot achieve multi-batch deployment, etc.

[0006] 2. Single protocol cannot complete BIOS configuration items, and BIOS can only communicate with server management module through IPMI driver; server devices that do not support IPMI protocol cannot obtain related BIOS information; and IPMI is a single protocol that cannot achieve batch BIOS deployment for multiple servers, etc. SUMMARY

[0007] The application aims to provide a method for BIOS automatic deployment of bare machine servers, which uses JAVA and C# as the main technical development languages, calls different protocols and tools of Redfish, IPMI and Web Service by using automatic programming, presents and modifies the initial data value of BIOS of the device by calling and reading the data through the BMC management port of the bare machine server, and updates the BIOS of the bare machine server of different manufacturers through the BMC management port of the bare machine server after the configuration by using the script command in batches, so as to solve the problems in the above background art.

[0008] To solve the above technical problems, the technical solution adopted by the application is:

[0009] A method for BIOS automatic deployment of bare machine servers, comprising the following steps:

[0010] Step one, initialize the configuration of the related service protocol of the bare machine server;

[0011] Step two, the system sends instructions to call and judge the protocol of the bare machine server by using different special tools of SSH and Redfish;

[0012] Step three, judge which protocol or tool is used to obtain data;

[0013] Step four, read the BIOS parameter value of the current device by using the return result of the SSH command or the Redfish protocol, save it in the database, and display the BIOS setting item on the system interface;

[0014] Step five, save and generate the BIOS template after modifying the BIOS setting item on the system interface;

[0015] Step six, select the bare machine server to be deployed, which can be deployed on the local machine or on a batch of bare machine servers;

[0016] Step seven, package and encapsulate the BIOS template;

[0017] Step eight, the system sends instructions to deploy the BIOS of the bare machine server by using different special tools of SSH, Redfish and IPMI;

[0018] Step nine, after the deployment is completed, restart the server and read the value of the BMC BIOS parameter by using the SSH / Redfish protocol again;

[0019] Step ten, judge whether the value is consistent with the BIOS template, whether it needs to be redeployed, the mark of successful deployment and failed deployment.

[0020] The further improvement of the technical scheme of the application is that the step one is specifically embodied as that the bare machine server performs BMC management port initialization configuration, and opens BMC setting Https (web), SSH, Redfish and IPMI service protocol.

[0021] The further improvement of the technical scheme of the application is that the step two is specifically embodied as that the related protocol is called from the BMC management port of the bare machine server through the SSH, Redfish and different device special tools of the bare machine server.

[0022] The further improvement of the technical scheme of the application is that the step three is specifically embodied as that the system automatically judges which protocol or tool is used to take BIOS data of the bare machine server of different manufacturers, and multiple taking data protocols are used at the same time, the taking data method is automatically determined by the system, the most complete BIOS configuration item parameter is ensured, and the manual participation in manual taking data is reduced.

[0023] The further improvement of the technical scheme of the application is that the step seven is specifically embodied as that the BIOS template is automatically packaged and encapsulated by the system, the BIOS template packaging and encapsulating automatic deployment method is used, the standardized BIOS template is uniformly generated, the system is automatically deployed, manual participation is not needed, and the deployment time is accelerated.

[0024] The further improvement of the technical scheme of the application is that the step ten includes two kinds of judgments of successful deployment and failed deployment, the successful deployment is specifically embodied as that whether the value is consistent with the BIOS template is judged, if yes, the system judges that the BIOS automatic deployment is completed, the deployment is ended, and the system is marked that the automatic deployment is 100% completed this time.

[0025] The further improvement of the technical scheme of the application is that the failed deployment is specifically embodied as that whether the value is consistent with the BIOS template is judged, if not, the system judges that the BIOS is not deployed, and asks whether it needs to be redeployed, if yes, the system is automatically redeployed, if not, the deployment is ended, the system is marked that the automatic deployment fails this time, the method that whether the value is consistent with the BIOS template is used, and the system automatically analyzes and judges the accuracy and integrity of the BIOS after deployment, and the normal and stable operation of the bare machine server after deployment is ensured.

[0026] Due to the adoption of the above technical scheme, the application has the following technical progress compared with the prior art:

[0027] The application provides a method for BIOS automatic deployment of bare machine servers, which uses JAVA and C# as main technical development languages, calls different protocols and tools of Redfish, IPMI and Web Service through automatic programming, calls and reads BIOS initial data values of devices through scripts, presents and modifies the data values, and updates BIOS of bare machine servers of different manufacturers through the BMC management port of the bare machine servers after modification, so that the same type of bare machine servers can be automatically deployed and updated at the same time through one-time configuration.

[0028] The application provides a method for BIOS automatic deployment of bare machine servers, which automatically determines the protocol or tool for BIOS data acquisition of bare machine servers of different manufacturers, uses multiple data acquisition protocols at the same time, automatically determines the data acquisition method by the system, ensures the most complete BIOS configuration item parameters, and reduces manual participation in manual data acquisition.

[0029] The application provides a method for BIOS automatic deployment of bare machine servers, which uses a BIOS template packaging and encapsulation automatic deployment method to uniformly generate a standardized BIOS template, automatically deploys the template by the system, and does not need manual participation, thereby accelerating the deployment time.

[0030] The application provides a method for BIOS automatic deployment of bare machine servers, which uses a method for determining whether the values are consistent with the BIOS template, automatically analyzes and judges the accuracy and integrity of the deployed BIOS by the system, and ensures the normal and stable operation of the bare machine servers after deployment. BRIEF DESCRIPTION OF DRAWINGS

[0031] Fig. 1 A bare machine server configuration and BIOS template generation flowchart of the application is provided.

[0032] Fig. 2 A bare machine server deployment selection and bare machine server BIOS automatic deployment tool selection flowchart of the application is provided.

[0033] Fig. 3 A BMC BIOS parameter value reading and value consistency judgment flowchart of the application is provided. DETAILED DESCRIPTION

[0034] The application will be further described in detail below in combination with embodiments. EMBODIMENT

[0035] As Figs. 1-3As shown, the present application provides a method for automatic deployment of bare machine server BIOS, comprising the following steps:

[0036] Step one, the bare machine server performs BMC management port initialization configuration, and opens BMC setting Https (web), SSH, Redfish and IPMI service protocol;

[0037] Step two, the system sends instructions to call relevant protocols from the bare machine server BMC management port through the bare machine server SSH, Redfish and different device special tools, uses the automatic programming mode to call Redfish, IPMI, WebService different protocols and tools, and calls, reads and presents the BIOS initial data value of the device through script calling multiple different protocol instructions from the out-of-band BMC management port of the bare machine server to modify the configuration;

[0038] Step three, the modified configuration is saved into the database by the system automatically judging which protocol or tool to use for BIOS data acquisition of bare machine servers of different manufacturers, multiple data acquisition protocols are used at the same time, the system automatically determines the data acquisition method to ensure the most complete BIOS configuration item parameters and reduce manual participation in manual data acquisition;

[0039] Step four, the current device BIOS parameter value is read through the return result of SSH command or Redfish protocol, saved into the database, and the BIOS setting item is displayed on the system interface;

[0040] Step five, after the modification of the BIOS setting item on the system interface, the BIOS template is saved and generated, the standardized BIOS template is uniformly generated, the system automatically deploys without manual participation, and the deployment time is accelerated;

[0041] Step six, the bare machine server to be deployed is selected, which can be deployed on the local machine or on a batch of bare machine servers;

[0042] Step seven, the BIOS template is packaged and encapsulated by the system automatically;

[0043] Step eight, the system sends instructions to perform BIOS automatic deployment on the bare machine server through SSH, Redfish, IPMI different special tools;

[0044] Step nine, after the deployment is completed, the server is restarted, and the BMC BIOS parameter value is read through the SSH / Redfish protocol again;

[0045] Step ten, determine whether the value is consistent with the BIOS template, if consistent, the system determines that the BIOS automation deployment is completed, ends the deployment, and marks in the system that this automation deployment is 100% completed; if not consistent, the system determines that the BIOS deployment is not completed, asks whether it needs to be redeployed, selects "yes" to automatically redeploy, selects "no" to end the deployment, marks in the system that this automation deployment fails, and configures a cross-segment to simultaneously deploy and update multiple bare-metal servers of the same type, the system automatically analyzes and determines the accuracy and integrity of the BIOS after deployment, and ensures the normal and stable operation of the bare-metal server after deployment.

[0046] The working principle of the method for the BIOS automation deployment of the bare-metal server will be described below.

[0047] As shown in Figs. 1-3 When deploying the BIOS of the bare-metal server, first, the BMC management port of the bare-metal server is initialized and configured, the BMC sets the Https (web), SSH, Redfish, and IPMI service protocols, the system sends instructions, calls related protocols from the BMC management port of the bare-metal server through SSH, Redfish, and different device-specific tools, uses an automatic programming method to call different protocols and tools of Redfish, IPMI, and Web Service, calls, reads, and presents the BIOS initial data value of the device from the BMC management port of the bare-metal server, and modifies the configuration, then the modified configuration is saved into the database through the script command, the system automatically determines which protocol or tool to use to obtain the BIOS data of the bare-metal server of different manufacturers, then reads the BIOS parameter value of the current device through the return result of the SSH command or the Redfish protocol, saves it into the database, and displays the BIOS setting item on the system interface, saves and generates the BIOS template after modifying the BIOS setting item on the system interface, generates a standardized BIOS template, automatically deploys the system, selects the bare-metal server to be deployed, can select to deploy the local machine or deploy a batch of bare-metal servers, packs and encapsulates the BIOS template by using the system, next, the system sends instructions to deploy the BIOS of the bare-metal server through SSH, Redfish, and IPMI different specific tools, after the deployment is completed, restarts the server, reads the BMC BIOS parameter value through the SSH / Redfish protocol again, determines whether the value is consistent with the BIOS template, if consistent, the system determines that the BIOS automation deployment is completed, ends the deployment, and marks in the system that this automation deployment is 100% completed; if not consistent, the system determines that the BIOS deployment is not completed, asks whether it needs to be redeployed, selects "yes" to automatically redeploy, selects "no" to end the deployment, and marks in the system that this automation deployment fails.

[0048] The above detailed description of the application is given in general terms, but some modifications or improvements can be made on the basis of the application, which are obvious to those skilled in the art. Therefore, the modifications or improvements without departing from the spirit of the application are within the scope of the application.

Claims

1. A method for BIOS automation deployment for bare metal server, the method comprising: The method comprises the following steps: Step one, the bare machine server starts the related service protocol initialization configuration; Step two, the system sends instructions to call the protocol of the bare machine server through SSH, Redfish and different special tools; Step three, determine which protocol or tool is used to take data; Step four, read the current device BIOS parameter value through the return result of SSH command or Redfish protocol, save it into the database, and display the BIOS setting item on the system interface; Step five, save the generated BIOS template after modifying the BIOS setting item on the system interface; Step six, select the bare machine server to be deployed, which can be deployed on the local machine or on a batch of bare machine servers; Step seven, package and encapsulate the BIOS template; Step eight, the system sends instructions to deploy the BIOS of the bare machine server through SSH, Redfish and IPMI different special tools; Step nine, after the deployment is completed, restart the server and read the BMC BIOS parameter value through SSH / Redfish protocol again; Step ten, determine whether the value is consistent with the BIOS template, whether it needs to be redeployed, and mark the successful and failed deployment.

2. The method for BIOS automated deployment for bare metal server according to claim 1, wherein: The step one is embodied in that the bare machine server initializes the configuration of the BMC management port, and starts the BMC setting Https, SSH, Redfish and IPMI service protocol.

3. The method for BIOS automated deployment for bare metal server according to claim 1, wherein: The step two is embodied in that the bare machine server SSH, Redfish and different device special tools call the related protocol from the bare machine server BMC management port.

4. The method for BIOS automated deployment for bare metal server according to claim 1, wherein: The step three is embodied in that the system automatically determines which protocol or tool is used to take data for BIOS of bare machine servers of different manufacturers.

5. The method for BIOS automated deployment for bare metal server according to claim 1, wherein: The step seven is embodied in that the system automatically packages and encapsulates the BIOS template.

6. The method for BIOS automated deployment for bare metal server according to claim 1, wherein: The step ten includes two judgments of successful and failed deployment. The successful deployment is embodied in that the system determines whether the value is consistent with the BIOS template. If they are consistent, the system determines that the BIOS automatic deployment is completed, ends the deployment, and marks in the system that the automatic deployment is 100% completed.

7. The method for BIOS automated deployment for bare metal server according to claim 6, wherein: The failed deployment is embodied in that the system determines whether the value is consistent with the BIOS template. If they are not consistent, the system determines that the BIOS deployment is not completed, asks whether it needs to be redeployed, selects "yes" to automatically redeploy, and selects "no" to end the deployment and mark in the system that the automatic deployment fails.

Citation Information

Patent Citations

  • Method for acquiring resource information of server, resource pool management system and server

    CN103024079A

  • Method for automatically configuring parameters of multi-model BIOS

    CN104111857A