Configuration method and device for server and server system
By automating the acquisition and testing of BIOS configuration data through the control terminal, the problem of high costs associated with manual adjustments in server BIOS configuration is solved, enabling efficient BIOS option configuration and testing, shortening server uptime, and saving economic costs.
Patent Information
- Application Number
- CN202511029346.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-24
- Publication Date
- 2025-11-11
AI Technical Summary
Existing technologies for server BIOS configuration suffer from high costs, long testing times, and low efficiency due to manual adjustments. They are particularly difficult to meet the diverse needs for stability and performance, especially in scenarios involving CPU introduction and business switching.
The system automatically acquires multiple sets of BIOS configuration data and test sets through a control terminal, determines the target test set based on the server type, sets BIOS options sequentially and performs tests, generates configuration results, and achieves automated BIOS option configuration and testing.
It saves manpower and time costs, improves efficiency, shortens server uptime, provides economic benefits, and helps business departments quickly verify and develop BIOS configuration schemes.
Smart Images

Figure CN120929145A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of server technology, and in particular to a configuration method, apparatus and server system for a server. Background Technology
[0002] Under current business requirements, the numerous BIOS (Basic Input Output System) options on the platform itself—such as the hundreds of commonly used options on Intel CPU platforms—and the different configuration methods such as Hyperthreading, Turbo mode, NUMA configuration, and Energy Performance BIAS, all have varying impacts on overall server performance. Although the platform's CRB has default BIOS options, the diverse business contexts of servers necessitate customized BIOS configuration strategies for different server types. For example, public cloud servers and general-purpose AI servers require different BIOS configurations.
[0003] How to determine the optimal BIOS configuration strategy for server business needs, especially in scenarios such as the introduction of new CPUs and server business switching, to meet the diverse needs of businesses for server stability, performance, power consumption, etc.
[0004] The traditional method involves manually adjusting BIOS options, followed by stability and performance testing within the system. This process requires dedicated personnel for testing, verification, and result collection. Since each test case is separate—such as FIO testing, Perf testing, or benchmark stream testing—each test case requires individual testing and verification, resulting in excessive time and manpower costs. Summary of the Invention
[0005] The purpose of this application is to provide a configuration method, apparatus, and server system for a server.
[0006] In a first aspect, embodiments of this application provide a configuration method for a server, applied to a control terminal, wherein the control terminal establishes a connection with at least one server, the server including a management port and a service port, and the method includes:
[0007] Obtain multiple sets of BIOS configuration data and multiple test sets from the server;
[0008] Based on the server type information, determine the target test set corresponding to the server from multiple test sets;
[0009] Based on multiple sets of BIOS configuration data, the server's BIOS options are sequentially set to various test states through the management port. Each test state corresponds to a different set of BIOS configuration data. Based on the target test set, the server set to various test states is tested through the service port.
[0010] Generate configuration results for the BIOS options for the server.
[0011] In some embodiments, based on multiple sets of BIOS configuration data, the server's BIOS options are sequentially set to various test states via the management port. Each test state corresponds one-to-one with one of the multiple sets of BIOS configuration data. Then, based on the target test set, the server set to these multiple test states is tested via the service port, including:
[0012] Repeatedly configure and test the server's BIOS options based on one set of BIOS configuration data, and then configure and test the server's BIOS options based on another set of BIOS configuration data, until the configuration and testing of the server's BIOS options based on multiple sets of BIOS configuration data is completed;
[0013] This includes configuring and testing the server's BIOS options based on a set of BIOS configuration data, including:
[0014] Based on a set of BIOS configuration data, the server's BIOS options are set to a test state via the management port;
[0015] Based on the target test set, the server, which has been set to a test state, is tested through the business port.
[0016] In some embodiments, the test set includes multiple test items; and, based on the target test set, testing the server, which has been configured to a test state, via a service port includes:
[0017] Following the preset test order, based on multiple test items of the target test set, the server, which has been set to a test state, is tested sequentially through the business port.
[0018] In some embodiments, generating configuration results for BIOS options for the server includes:
[0019] Generate test reports for multiple sets of BIOS configuration data for the server;
[0020] Based on the scores of each BIOS configuration in the test report, determine the configuration results of the BIOS options for the server.
[0021] In some embodiments, before obtaining multiple sets of BIOS configurations and multiple sets of test sets for the server, the following steps are included:
[0022] Send a first verification command to the server's management port to perform the first verification on the server's management port; wherein the first verification command includes the management port's IP address, username, and password;
[0023] A second verification command is sent to the server's service port to perform a second verification on the server's service port; wherein, the second verification command includes the service port's IP address, username, and password;
[0024] If both the first and second verifications pass, multiple test sets are copied to the server through the business port.
[0025] In some embodiments, it also includes:
[0026] Send event subscription commands to the server's management port to monitor the server's health status. In the event of an alarm event, the server's management port sends an alarm signal to the control terminal.
[0027] In some embodiments, the BIOS options of a set of BIOS configuration data include at least the cooling mode of the server's fans;
[0028] The server's fan cooling modes include performance cooling mode, balanced cooling mode, and silent cooling mode.
[0029] The power consumption of the server in performance cooling mode is higher than that of the server in balanced cooling mode.
[0030] The power consumption of a server in balanced cooling mode is higher than that of a server in silent cooling mode.
[0031] In some embodiments, after generating the configuration results for the BIOS options of the server, the process includes:
[0032] Output the configuration result;
[0033] Import the configuration results in batches into servers of the same type.
[0034] Secondly, embodiments of this application provide a configuration device for a server, applied to a control terminal, the control terminal establishing connections with multiple servers, each server including a management port and a service port, the device comprising:
[0035] The acquisition module is configured to acquire multiple sets of BIOS configuration data and multiple test sets from the server.
[0036] The determination module is configured to determine the target test set corresponding to the server from multiple test sets based on the server type information;
[0037] The setup and testing module is configured to sequentially set the server's BIOS options to multiple test states through the management port based on multiple sets of BIOS configuration data. Each test state corresponds one-to-one with multiple sets of BIOS configuration data. Based on the target test set, the server set to multiple test states is tested through the service port.
[0038] The generation module is configured to generate configuration results for BIOS options for the server.
[0039] Thirdly, embodiments of this application provide a server system, including a control terminal and at least one server;
[0040] The control terminal establishes a connection with at least one server; the server includes a management port and a service port.
[0041] The control terminal establishes a connection with the management port of each server through the first communication link, and establishes a connection with the service port of each server through the second communication link;
[0042] The control terminal executes the server configuration method provided in any of the above embodiments.
[0043] This application provides a server configuration method, comprising: acquiring multiple sets of BIOS configuration data and multiple test sets of the server; determining the target test set corresponding to the server from the multiple test sets based on the server type information; sequentially setting the server's BIOS options to multiple test states through a management port based on the multiple sets of BIOS configuration data, wherein each test state corresponds one-to-one with the multiple sets of BIOS configuration data; and testing the server set to multiple test states through a business port based on the target test set; and generating configuration results for the server's BIOS options. Using the technical solution provided in this application, the configuration and testing of server BIOS options can be automated, and configuration results can be automatically generated. Compared with traditional manual operations, this saves labor and time costs and improves efficiency. Moreover, in the long run, it can also greatly save economic costs, help business departments quickly verify and formulate BIOS setting schemes, and shorten server launch time. Attached Figure Description
[0044] Figure 1 A flowchart illustrating a server configuration method provided in an embodiment of this application;
[0045] Figure 2 A flowchart illustrating step S40 provided in an embodiment of this application;
[0046] Figure 3A schematic diagram illustrating the process of verifying management ports and service ports provided in an embodiment of this application;
[0047] Figure 4 This application provides an embodiment of a server system architecture and interaction diagram;
[0048] Figure 5 A schematic diagram of the architecture of a control terminal provided in an embodiment of this application;
[0049] Figure 6 A flowchart illustrating another server configuration method provided in this application embodiment;
[0050] Figure 7 This is a schematic diagram of a configuration device for a server provided in an embodiment of this application. Detailed Implementation
[0051] Various embodiments and features of this application are described herein with reference to the accompanying drawings.
[0052] It should be understood that various modifications can be made to the embodiments described herein. Therefore, the above description should not be considered as limiting, but merely as an example of embodiments. Other modifications within the scope and spirit of this application will be apparent to those skilled in the art.
[0053] The accompanying drawings, which are included in and form part of this specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0054] These and other features of this application will become apparent from the following description of preferred forms of embodiments given as non-limiting examples, with reference to the accompanying drawings.
[0055] It should also be understood that although this application has been described with reference to some specific examples, those skilled in the art can certainly implement many other equivalent forms of this application.
[0056] The above and other aspects, features and advantages of this application will become more apparent when taken in conjunction with the accompanying drawings and in view of the following detailed description.
[0057] Specific embodiments of this application are described thereafter with reference to the accompanying drawings; however, it should be understood that the claimed embodiments are merely examples of this application, which can be implemented in various ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that could obscure the application. Therefore, the specific structural and functional details claimed herein are not intended to be limiting, but merely serve as the basis and representative basis for the claims to teach those skilled in the art to use this application in a variety of substantially any suitable detailed structures.
[0058] This specification may use the phrases “in one embodiment,” “in another embodiment,” “in yet another embodiment,” or “in other embodiments,” all of which may refer to one or more of the same or different embodiments according to this application.
[0059] The application scenarios and fields of the server configuration method, device and server system provided in the embodiments of this application include: rapid performance verification before Internet data center servers go live, rapid verification of server stability and performance of traditional server manufacturers, etc.
[0060] This application provides a configuration method for a server, applied to a control terminal, in conjunction with... Figure 1 As shown, the control terminal establishes a connection with at least one server. The server includes a management port and a service port. This application establishes a management and service communication link based on the control terminal and the server node. Specifically, the control terminal establishes a connection with the management port (BMC) of each server through a first communication link and with the service port (OS) of each server through a second communication link.
[0061] The server configuration method provided in this application includes:
[0062] S20: Obtain multiple sets of BIOS configuration data and multiple test sets from the server;
[0063] For example, the control terminal can obtain multiple sets of BIOS configuration data from the server through the management port and multiple sets of test sets through the service port; wherein, the service test set is copied to the server by the control terminal through the service port.
[0064] S30, based on the server type information, determine the target test set corresponding to the server from multiple test sets;
[0065] The server type corresponds to the test set, and the test set is strongly correlated with the business type.
[0066] For example, server type information may include compute servers, storage servers, etc. Furthermore, the server type information can be determined based on the obtained server machine model. Different types of servers require different test sets. For instance, compute servers require higher CPU performance, while storage servers have lower CPU performance requirements but higher requirements for hard drive performance. Therefore, different types of servers have different business applications, and thus different test sets.
[0067] The target test set can be one or more.
[0068] S40, based on multiple sets of BIOS configuration data, sequentially sets the server's BIOS options to various test states through the management port. Each test state corresponds one-to-one with multiple sets of BIOS configuration data. Based on the target test set, the server that has been set to multiple test states is tested through the service port.
[0069] For example, the process could begin by setting the server's BIOS options to the first test state via the management port based on the first set of BIOS configuration data. Then, based on the target test set, the server set to the first test state could be tested via the service port. Next, based on the second set of BIOS configuration data, the server's BIOS options could be set to the second test state via the management port. Then, based on the target test set, the server set to the second test state could be tested via the service port, and so on, until all BIOS configuration data is set and tested.
[0070] S50 generates configuration results for the BIOS options for the server.
[0071] For example, after all BIOS configuration data has been set and tested, the configuration results of the BIOS options for the server are generated based on the test results.
[0072] This application provides a server configuration method that automates the configuration and testing of server BIOS options and automatically generates configuration results. Compared to traditional manual operations, this method saves labor and time costs and improves efficiency. Moreover, in the long run, it can significantly reduce economic costs, help business departments quickly verify and formulate BIOS setting schemes, and shorten server launch time.
[0073] In some embodiments, based on multiple sets of BIOS configuration data, the server's BIOS options are sequentially set to various test states via the management port. Each test state corresponds one-to-one with one of the multiple sets of BIOS configuration data. Then, based on the target test set, the server set to these multiple test states is tested via the service port, including:
[0074] Repeatedly configure and test the server's BIOS options based on one set of BIOS configuration data, and then configure and test the server's BIOS options based on another set of BIOS configuration data, until the configuration and testing of the server's BIOS options based on multiple sets of BIOS configuration data is completed;
[0075] Among them, see Figure 2 As shown, based on a set of BIOS configuration data, the server's BIOS options are configured and tested, including:
[0076] S401, based on a set of BIOS configuration data, sets the server's BIOS options to a test state via the management port;
[0077] S402, based on the target test set, tests the server that has been set to a test state through the business port.
[0078] This embodiment first sets and tests the server's BIOS options based on one set of BIOS configuration data, then sets and tests the server's BIOS options based on another set of BIOS configuration data, and so on, until all BIOS configuration data has been used to set and test the server's BIOS options. The BIOS options set by all BIOS configuration data can be tested using a target test set to generate configuration results for the server's BIOS options. Based on the configuration results, the optimal BIOS configuration strategy for the server can be determined.
[0079] In some embodiments, the test set includes multiple test items; and, based on the target test set, testing the server, which has been configured to a test state, via a service port includes:
[0080] Following the preset test order, based on multiple test items of the target test set, the server, which has been set to a test state, is tested sequentially through the business port.
[0081] For example, the test items in the target test set include FIO, Stream, NetPerf, SPEC POWER, etc., which can be tested sequentially according to a preset order. For example, FIO, Stream, NetPerf, SPEC POWER, etc. can be tested in a preset order until all test items in the target test set have been tested.
[0082] In some embodiments, generating configuration results for BIOS options for the server includes:
[0083] Generate test reports for multiple sets of BIOS configuration data for the server;
[0084] Based on the scores of each BIOS configuration in the test report, determine the configuration results of the BIOS options for the server.
[0085] Optionally, the method further includes: outputting a test report.
[0086] This test report refers to the test report on server stability and performance.
[0087] Optionally, the method further includes: outputting configuration results; and importing the configuration results in batches into servers of the same type.
[0088] This application embodiment can import the configuration results in batches to servers of the same type, so that servers of the same type can configure BIOS options according to the configuration results.
[0089] In some embodiments, see Figure 3 As shown, before obtaining multiple sets of BIOS configurations and multiple test sets for the server, the following steps are included:
[0090] S10, send a first verification command to the server's management port to perform a first verification on the server's management port; wherein, the first verification command includes the management port's IP address, username, and password;
[0091] S11, send a second verification command to the server's service port to perform a second verification on the server's service port; wherein, the second verification command includes the service port's IP address, username, and password;
[0092] S12, if both the first and second verifications pass, copy multiple test sets to the server through the business port.
[0093] For example, the control terminal sends a verification command containing the IP address, username, and password of the management port to the server. After receiving the verification command, the server verifies that it matches the IP address, username, and password of the management port stored locally. If the verification is successful, the server sends a verification success feedback message to the control terminal.
[0094] For example, the control terminal sends a verification command containing the IP address, username, and password of the service port to the server. After receiving the verification command, if the server finds that it matches the IP address, username, and password of the service port stored locally, the verification is successful, and the server sends a verification success feedback message to the control terminal.
[0095] Then, the control terminal copies multiple test sets to the server through the service port.
[0096] Optionally, before sending the first authentication command to the server's management port to perform the first authentication on the server's management port, the following steps are included:
[0097] Send a power-on command to the server's management port to power on the server.
[0098] Specifically, in combination Figure 4The control terminal establishes a connection with the server's management port (BMC, Baseboard Management Controller) via the Redfish protocol to manage the server. Redfish is a management standard based on HTTPS services, utilizing a RESTful interface for device management. Each HTTPS operation submits or returns a resource or result in UTF-8 encoded JSON format (JSON is a key-value data format), much like a web application returns HTML to a browser. This technology offers advantages such as reduced development complexity, ease of implementation, ease of use, and scalability, allowing for design flexibility. The Redfish management port used in this approach allows for remote BIOS option configuration, remote machine power on / off, and event registration / subscription, promptly synchronizing alarm events to the fault alarm pool when the server's health status changes.
[0099] On the business side, the control terminal uses Python's paramiko library to establish SSH and SFTP connections with the server's business port (OS, Operating System) to enable remote command execution and file upload / download functions.
[0100] Combination Figure 5 The schematic diagram of the control terminal shown includes an input unit, a recipe unit, a test unit, and an output unit.
[0101] The input unit is used to output the BMC IP, username, and password, as well as the OS IP, username, and password.
[0102] The recipe unit is used for BIOS option settings, as well as customized BIOS option settings.
[0103] The test unit is used for test set setup and custom test set setup.
[0104] The output unit is used to output test reports on server stability and performance.
[0105] The input unit requires the BMC username and password, OS account name and password, and corresponding IP address of all test servers. The input unit verifies the accessibility of the server and is the basis for subsequent automated testing.
[0106] The recipe unit defines multiple sets of BIOS configuration data. Each set of BIOS configuration data is a combination of different BIOS settings, which can define customized packages and support free BIOS option settings.
[0107] Test units are the selection of system test sets. Multiple test sets are defined, and test sets that adapt to business requirements can also be freely defined.
[0108] After the above configuration is completed, the output unit will generate a test report on server stability and performance, and display the test results under the corresponding test set in the BIOS options corresponding to different BIOS configuration data groups.
[0109] Specifically, the interaction commands between the control terminal and the server's management port can include the following:
[0110] To enable automated interaction between the configuration tool and the server, the configuration tool is a series of scripts built using Python. Its main interactive functions include:
[0111] a: Verify the validity of node BMC users via the Redfish protocol. The main commands are as follows:
[0112] Operation method: GET
[0113] URL: https: / / {bmc_ip} / redfish / v1 / SessionService / Sessions
[0114] This URL command can retrieve authentication parameters for use in subsequent Redfish commands, and also serves as a command for Redfish management network monitoring verification.
[0115] b: Event subscription mechanism
[0116] Operation type: POST
[0117] URL: https: / / {{bmc_ip}} / redfish / v1 / EventService / Subscriptions
[0118] Request message body:
[0119] {
[0120] "Destination":event_destination,
[0121] "EventTypes": event_types
[0122] "Context":context,
[0123] "Protocol":protocal,
[0124] }
[0125] The event subscription mechanism registers an event alarm mechanism with the BMC. When an alarm event occurs in the system, the BMC will send an alarm event to the corresponding fault pool. The event subscription mechanism is used to monitor the health status of the server at any time.
[0126] c: Remotely modify BIOS options
[0127] Operation method: PATCH
[0128] URL:https: / / {bmc_ip} / refish / v1 / Systems / Self / Bios / SD
[0129] Request message body:
[0130] {
[0131] "Attributes":
[0132] {
[0133] "BootMode":"UEFIOnly",
[0134] "HyperThreading":"Enabled"
[0135] }
[0136] }
[0137] On the Intel platform, configurable options include HyperThreading, EIST, TurboMode, PackageCState, C1E, NUMA, EnergyPerformanceBIAS, MonitorMWAIT, BootMode, HardwarePStates, and PowerPerformanceTuning. Depending on the specific BIOS configuration, different request message bodies will be generated.
[0138] HyperThreading is a technology that allows a single physical core to handle multiple threads simultaneously. It virtualizes a physical core into two logical cores, enabling the operating system to schedule these two logical cores to execute tasks concurrently.
[0139] EIST (Enhanced Intel SpeedStep Technology) is a technology that dynamically adjusts the processor's frequency and voltage. It can automatically adjust the processor's operating frequency and voltage based on the system load, thereby reducing power consumption and heat generation while maintaining performance.
[0140] Turbo Mode is a technology that increases the operating frequency of other cores by shutting down some cores. It is based on the "Integrated Power Gate" power management technology of the Nehalem architecture, which allows some cores to be shut down and power to be concentrated on other cores, enabling them to run at higher frequencies and thus improving overall performance.
[0141] In some embodiments, it also includes:
[0142] Send event subscription commands to the server's management port to monitor the server's health status. In the event of an alarm event, the server's management port sends an alarm signal to the control terminal.
[0143] This application embodiment monitors the server's health status by sending an event subscription command to the server's management port, and can promptly issue alerts if any abnormalities occur during server testing.
[0144] In some embodiments, the BIOS options in a set of BIOS configuration data include at least: HyperThreading, TurboMode, C1E, NUMA, EnergyPerformanceBIAS, and the cooling mode of the server's fans;
[0145] The server's fan cooling modes include performance cooling mode, balanced cooling mode, and silent cooling mode.
[0146] The power consumption of the server in performance cooling mode is higher than that of the server in balanced cooling mode.
[0147] The power consumption of a server in balanced cooling mode is higher than that of a server in silent cooling mode.
[0148] Generally, performance-oriented cooling modes operate at higher fan speeds, theoretically maximizing server performance but also consuming more power. Balanced cooling modes balance performance and power consumption. Silent cooling modes prioritize power efficiency, minimizing server operating costs.
[0149] The BIOS options for each set of BIOS configuration data can be freely set, as shown in Table 1 for examples.
[0150] Table 1: BIOS Options for Multiple BIOS Configuration Data Sets
[0151]
[0152] Among them, B01, B02, B03… represent the first set of BIOS configuration data, the second set of BIOS configuration data, the third set of BIOS configuration data…
[0153] HyperThreading, TurboMode, C1E, NUMA, EnergyPerformanceBIAS, and the server's fan cooling mode are BIOS options for the server.
[0154] In some embodiments, the test items in one set of test sets include at least: FIO, Stream, NetPerf, SPECPOWER, and SPEC CPU.
[0155] The test items for each test set can be set freely, as shown in Table 2 for examples.
[0156] Table 2: Test Items for Multiple Test Sets
[0157]
[0158] Where C01, C02, C03… represent the first test set, the second test set, the third test set…
[0159] FIO, Stream, NetPerf, SPEC POWER, and SPEC CPU are the test items.
[0160] Specifically, before conducting performance and stability tests on the server, multiple sets of BIOS configuration data in the server are first determined. These multiple sets of BIOS configuration data can be selected BIOS configuration data or freely customized BIOS configuration data. For any set of BIOS configuration data, a test set or a freely customized test set can be selected. This test set is strongly related to the business content.
[0161] Among them, FIO is an excellent tool for testing IOPS, used for stress testing and verification of hardware, supporting various I / O engines, and is one of the main indicators for measuring disk performance. NetPerf is a network performance measurement tool, primarily based on TCP or UDP transmission. Depending on the application, it can perform different modes of network performance testing. STREAM is a widely used comprehensive memory bandwidth performance measurement tool in the industry, SPEC CPU is a benchmark test group for evaluating CPU performance, and SPEC POWER is a performance / power ratio benchmark test, both of which are enabled by default in all test sets.
[0162] After the BIOS option configurations and target test set are determined, automated testing is performed on the server. Following the automated testing, the control terminal generates a test report on server stability and performance based on the test results. Based on the score of each BIOS configuration in this test report, the configuration results for the BIOS options on the server are determined. This test report and configuration results can be sent to a designated email address for batch import into similar servers. Servers of the same type can then configure their BIOS options according to these results.
[0163] See Figure 6 The specific process of the server configuration method provided in this application embodiment may include: After the control terminal verifies the server's management port and service port, it copies multiple test sets to the server through the service port; then, it sequentially reads multiple sets of BIOS configuration data and multiple test sets from the server, and determines the target test set corresponding to the server from the multiple test sets based on the server type information; then, it sets the server's BIOS options according to one set of BIOS configuration data and restarts the server; then, it automatically tests the multiple test items of the target test set sequentially using scripts, determines whether the target test set has been tested completely, and if so, saves the test results; otherwise, it returns to continue testing. Finally, it determines whether all sets of BIOS configuration data have been tested completely; if so, it outputs a test report on server stability and performance; otherwise, it returns to test the next set of BIOS configuration data.
[0164] Based on the same inventive concept, embodiments of this application provide a configuration device for a server, applied to a control terminal. The control terminal establishes connections with multiple servers, each including a management port and a service port. See [link to relevant documentation]. Figure 7 As shown, the configuration device for the server includes:
[0165] The acquisition module is configured to acquire multiple sets of BIOS configuration data and multiple test sets from the server.
[0166] The determination module is configured to determine the target test set corresponding to the server from multiple test sets based on the server type information;
[0167] The setup and testing module is configured to sequentially set the server's BIOS options to multiple test states through the management port based on multiple sets of BIOS configuration data. Each test state corresponds one-to-one with multiple sets of BIOS configuration data. Based on the target test set, the server set to multiple test states is tested through the service port.
[0168] The generation module is configured to generate configuration results for BIOS options for the server.
[0169] The server configuration device provided in this application can automatically configure and test the server's BIOS options and automatically generate configuration results. Compared with traditional manual operations, it can save labor and time costs and improve efficiency. Moreover, in the long run, it can also greatly save economic costs, help business departments quickly verify and formulate BIOS setting schemes, and shorten server go-live time.
[0170] Based on the same inventive concept, see [link to inventive concept] Figure 4 This application provides a server system, including a control terminal and at least one server;
[0171] The control terminal establishes a connection with at least one server; the server includes a management port and a service port.
[0172] The control terminal establishes a connection with the management port of each server through the first communication link, and establishes a connection with the service port of each server through the second communication link;
[0173] The control terminal executes the server configuration method provided in any of the above embodiments.
[0174] The server system provided in this application embodiment can automatically configure and test the BIOS options of the server and automatically generate configuration results. Compared with traditional manual operations, it can save labor and time costs and improve efficiency. Moreover, in the long run, it can also greatly save economic costs, help business departments quickly verify and formulate BIOS setting schemes, and shorten server go-live time.
[0175] The above embodiments are merely exemplary embodiments of this application and are not intended to limit this application. The scope of protection of this application is defined by the claims. Those skilled in the art can make various modifications or equivalent substitutions to this application within its substance and scope of protection, and such modifications or equivalent substitutions should also be considered to fall within the scope of protection of this application.
Claims
1. A configuration method for a server, characterized in that, The method, applied to a control terminal that establishes a connection with at least one server, the server including a management port and a service port, includes: Obtain multiple sets of BIOS configuration data and multiple sets of test sets from the server; Based on the server type information, determine the target test set corresponding to the server from multiple test sets; Based on multiple sets of BIOS configuration data, the BIOS options of the server are sequentially set to multiple test states through the management port. Each test state corresponds one-to-one with a set of BIOS configuration data. Based on the target test set, the server set to multiple test states is tested through the service port. Generate the configuration results for the BIOS options of the server.
2. The method according to claim 1, characterized in that, Based on multiple sets of BIOS configuration data, the BIOS options of the server are sequentially set to various test states through the management port. Each test state corresponds one-to-one with one of the multiple sets of BIOS configuration data. Then, based on the target test set, the server, already set to various test states, is tested through the service port, including: Repeatedly configure and test the server's BIOS options based on one set of BIOS configuration data, and then configure and test the server's BIOS options based on another set of BIOS configuration data, until the configuration and testing of the server's BIOS options based on multiple sets of BIOS configuration data is completed; This includes setting and testing the BIOS options of the server based on a set of BIOS configuration data, including: Based on a set of BIOS configuration data, the BIOS options of the server are set to a test state via the management port; Based on the target test set, the server, which has been set to a test state, is tested through the service port.
3. The method according to claim 2, characterized in that, The test set includes multiple test items; and, based on the target test set, the server, which has been set to a test state, is tested through the service port, including: According to the preset test order, the server, which has been set to a test state, is tested sequentially through the service port based on multiple test items of the target test set.
4. The method according to claim 1, characterized in that, Generate configuration results for the BIOS options of the server, including: Generate a test report for multiple sets of BIOS configuration data for the server; Based on the score of each BIOS configuration in the test report, the configuration result of the BIOS options for the server is determined.
5. The method according to claim 1, characterized in that, Before obtaining multiple sets of BIOS configurations and multiple sets of test sets for the server, the process includes: A first verification command is sent to the management port of the server to perform a first verification on the management port of the server; wherein the first verification command includes the IP address, username and password of the management port; A second verification command is sent to the service port of the server to perform a second verification on the service port of the server; wherein the second verification command includes the IP address, username and password of the service port; If both the first and second verifications pass, multiple test sets are copied to the server through the service port.
6. The method according to claim 1, characterized in that, Also includes: Send event subscription commands to the server's management port to monitor the server's health status. In the event of an alarm event, the server's management port sends an alarm signal to the control terminal.
7. The method according to any one of claims 1 to 6, characterized in that, One set of BIOS configuration data includes at least the server's fan cooling mode in the BIOS options; The server's fan cooling modes include performance cooling mode, balanced cooling mode, and silent cooling mode. The power consumption of the server corresponding to the performance cooling mode is higher than that of the server corresponding to the balanced cooling mode. The power consumption of the server in the balanced cooling mode is higher than that of the server in the silent cooling mode.
8. The method according to claim 1, characterized in that, After generating the configuration results for the BIOS options of the server, the following are included: Output the configuration result; Import the configuration results in batches into servers of the same type.
9. A configuration device for a server, characterized in that, The device is used in a control terminal that establishes connections with multiple servers, each server including a management port and a service port. The device includes: The acquisition module is configured to acquire multiple sets of BIOS configuration data and multiple sets of test sets from the server; The determination module is configured to determine the target test set corresponding to the server from multiple test sets based on the server type information; The setup and testing module is configured to sequentially set the BIOS options of the server to multiple test states through the management port based on multiple sets of BIOS configuration data. Each test state corresponds one-to-one with multiple sets of BIOS configuration data. The module also tests the server, which has been set to multiple test states, through the service port according to the target test set. The generation module is configured to generate configuration results for the BIOS options of the server.
10. A server system, characterized in that, Includes a control terminal and at least one server; The control terminal establishes a connection with at least one server; the server includes a management port and a service port. The control terminal establishes a connection with the management port of each server through a first communication link and with the service port of each server through a second communication link. The control terminal performs the configuration method for the server as described in any one of claims 1 to 8.