CN113849207A - ARM server and retention mode selection method for option configuration thereof - Google Patents

ARM server and retention mode selection method for option configuration thereof Download PDF

Info

Publication number
CN113849207A
CN113849207A CN202111026495.1A CN202111026495A CN113849207A CN 113849207 A CN113849207 A CN 113849207A CN 202111026495 A CN202111026495 A CN 202111026495A CN 113849207 A CN113849207 A CN 113849207A
Authority
CN
China
Prior art keywords
option
bios firmware
option configuration
retention mode
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111026495.1A
Other languages
Chinese (zh)
Other versions
CN113849207B (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111026495.1A priority Critical patent/CN113849207B/en
Publication of CN113849207A publication Critical patent/CN113849207A/en
Application granted granted Critical
Publication of CN113849207B publication Critical patent/CN113849207B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an ARM server and a retention mode selection method of option configuration thereof, wherein the retention mode selection method of the option configuration in the ARM server comprises the following steps: establishing communication connection between BIOS firmware in the ARM server and BMC by using an out-of-band function module Redfish of the ARM server; when the BIOS firmware is upgraded, controlling the BMC to send an option configuration retention mode selection instruction to the BIOS firmware by using communication connection according to a user command; and controlling the BIOS firmware to select the option configuration retention mode of the option function setting interface of the ARM server according to the option configuration retention mode selection instruction. The technical scheme of the invention can solve the problem that the option configuration of the original option function setting interface cannot be reserved when the UUID value is different because the option configuration depends on the UUID in the prior art.

Description

ARM server and retention mode selection method for option configuration thereof
Technical Field
The invention relates to the technical field of ARM servers, in particular to an ARM server and a retention mode selection method for option configuration of the ARM server.
Background
With the rapid development of the random access memory ARM in recent years, more and more scenes are used by ARM servers based on the ARM architecture on the market. It is often necessary in ARM servers to update versions of BIOS firmware.
In the prior art, each time a new BIOS firmware version is upgraded or an old BIOS firmware version is returned, the problem of whether to keep option configuration and update the BIOS or not to keep option configuration and restore default values of option configuration is faced. For these two options, there are various differences and limitations to the final effect achieved by different strategies: firstly, the number of function setting options contained in the BIOS firmware version is not limited, and the states of three values, i.e., an option value, a default value, and a current setting value, which can be selected by different function setting options, are critical to ensure that the states of the functions of the current server are stable. If the option configuration is incorrect, the use of the ARM server is affected, and even serious security defects that the ARM server cannot be normally started are caused.
The ARM server usually integrates a UUID value of a universal unique identifier in a BIOS mirror image, the UUID value can be checked every time a BIOS firmware version is updated, if the UUID value of the updated BIOS firmware version is inconsistent with the UUID value of the current BIOS firmware version, a NVRAM (non-volatile random access memory) area can be overwritten, and as a result, an option configuration option can be restored to a default value, so that the change of the UUID between different versions of BIOS firmware can directly influence whether original configuration is kept; the UUID value between the BIOS firmware of the same version is not changed, so that if the original configuration is not retained in the BIOS firmware of the same version, a command to restore the default value (for example, adding IPMI command clear-cmos to restore the default value) needs to be separately added, or a button to restore the default value of the option is set in the option function setting interface of the BIOS firmware.
The scheme depends on the UUID value, and is matched with other functions to update and upgrade the reserved/unreserved configuration of the same BIOS version/different BIOS firmware versions, the update and upgrade can not conflict with the change of the UUID value, and the existing configuration of the installation option can not be reserved when the UUID value is different. The means of recovering options relied upon in refreshing with the BIOS firmware version does not fully guarantee that all options can be restored to the default values.
Disclosure of Invention
The invention provides an ARM server and a retention mode selection method of option configuration thereof, and aims to solve the problem that option configuration of an original option function setting interface cannot be retained when UUID values are different because the option configuration depends on the UUID values in the prior art.
According to a first aspect of the present invention, the present invention provides a method for selecting a reservation mode of option configuration in an ARM server, comprising:
establishing communication connection between BIOS firmware in the ARM server and BMC by using an out-of-band function module Redfish of the ARM server;
when the BIOS firmware is upgraded, controlling the BMC to send an option configuration retention mode selection instruction to the BIOS firmware by using communication connection according to a user command;
and controlling the BIOS firmware to select the option configuration retention mode of the option function setting interface of the ARM server according to the option configuration retention mode selection instruction.
Preferably, the method for selecting a retention mode of the option configuration further includes: before the BIOS firmware is upgraded, controlling Redfish to store an option configuration file, wherein the option configuration file stores current option configuration information of an option function setting interface;
the method for selecting the option configuration retention mode of the option function setting interface of the ARM server comprises the following steps:
when the option configuration retention mode is to retain the current option configuration, controlling the BIOS firmware to read an option configuration file stored by Redfish;
the BIOS firmware configures the option value of the option function setting interface according to the current option configuration information contained in the option configuration file.
Preferably, the method for selecting a retention mode of the option configuration further includes:
judging whether the option value of the option function setting interface after the BIOS firmware configuration is consistent with the current option configuration information contained in the option configuration file;
if the option value is consistent with the current option configuration information, controlling the BIOS firmware to normally start up;
and if the option value is inconsistent with the current option configuration information, reporting abnormal alarm information by the BIOS firmware through the BMC.
Preferably, the method for selecting a retention mode of option configuration, the step of selecting the retention mode of option configuration of the option function setting interface of the ARM server, includes:
and when the option configuration retention mode is not to retain the current option configuration, controlling the BIOS firmware to restore all options of the option function setting interface to a default value state.
Preferably, before the step of controlling the BMC to send the option configuration retention mode selection instruction to the BIOS firmware using the communication connection, the method for selecting the retention mode of the option configuration further includes:
controlling the BMC to send a default downloading instruction to the BIOS firmware through communication connection;
and the BIOS firmware restores all the options of the option function setting interface to a default value state according to the default downloading instruction.
According to a second aspect of the present invention, the present invention also provides an ARM server, including:
the system comprises an out-of-band functional module Redfish, basic input output system BIOS firmware and a baseboard management controller BMC; wherein the content of the first and second substances,
the Redfish is used for establishing communication connection between the BIOS firmware and the BMC;
the BMC is used for sending an option configuration retention mode selection instruction to the BIOS firmware by using communication connection according to a user command when the BIOS firmware is upgraded;
and the BIOS firmware is used for selecting the option configuration retention mode of the option function setting interface of the ARM server according to the option configuration retention mode selection instruction.
Preferably, the ARM server further includes:
the Redfish is also used for storing an option configuration file before the BIOS firmware is upgraded, wherein the option configuration file stores the current option configuration information of the option function setting interface;
the BIOS firmware is specifically used for reading the option configuration file stored by the Redfish when the option configuration retention mode is to retain the current option configuration;
the BIOS firmware is specifically used for configuring option values of the option function setting interface according to the current option configuration information contained in the option configuration file.
Preferably, the ARM server further includes:
the BIOS firmware is also used for judging whether the option value of the configured option function setting interface is consistent with the current option configuration information contained in the option configuration file;
the BIOS firmware is also used for normally starting up when the option value is consistent with the current option configuration information;
and the BIOS firmware is also used for reporting abnormal alarm information through the BMC when the option value is inconsistent with the current option configuration information.
Preferably, the ARM server and the BIOS firmware are further configured to restore all options of the option function setting interface to a default state when the option configuration retention mode is not to retain the current option configuration.
Preferably, the ARM server and the BMC are further configured to send a default download instruction to the BIOS firmware through a communication connection;
and the BIOS firmware is also used for restoring all options of the option function setting interface to a default value state according to the default downloading instruction.
In summary, according to the scheme for selecting the retention mode of option configuration in the ARM server provided by the application, the communication connection between the BIOS firmware in the ARM server and the BMC is established by using the Redfish of the ARM server; and then when the BIOS firmware is upgraded, according to a user command, the BMC sends an option configuration retention mode selection instruction to the BIOS firmware by using the communication connection, wherein the instruction can control whether the BIOS firmware selects to retain the existing option configuration to complete BIOS updating or sets the option as a default value to update the BIOS firmware. The BIOS firmware can select the option configuration retention mode of the option function setting interface of the ARM server according to the option configuration retention mode selection instruction. Therefore, the ARM server can select whether to keep the option configuration in the original option function setting interface when the BIOS is updated through the Redfish; the retention mode of option configuration can be freely selected no matter the BIOS firmware of the same version is updated or the BIOS firmware of different versions is updated; the method does not need to rely on the UUID as in the background art, and the problem that the option configuration of the original option function setting interface cannot be reserved when the UUID values are different is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the structures shown in the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a first method for selecting a reservation mode of option configuration in an ARM server according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a first option configuration reservation mode selection method provided in the embodiment shown in fig. 1;
fig. 3 is a flowchart illustrating a second option configuration reservation mode selection method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for selecting a reservation mode of option configuration in a second ARM server according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating a method for selecting a reservation mode of option configuration in a third ARM server according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for selecting a reservation mode of option configuration in a fourth ARM server according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an ARM server according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main technical problems of the embodiment of the invention are as follows:
in the prior art, an ARM server usually integrates a UUID value of a universal unique identifier into a BIOS image, the UUID value is checked every time a BIOS firmware version is updated, if the UUID value of the updated BIOS firmware version is inconsistent with the UUID value of a current BIOS firmware version, a non-volatile random access memory (NVRAM) area is overwritten, and as a result, an option configuration option is restored to a default value, so that the change of the UUID between different versions of BIOS firmware can directly affect whether original configuration is retained; the UUID value between the BIOS firmware of the same version is not changed, so that if the original configuration is not retained in the BIOS firmware of the same version, a command to restore the default value (for example, adding IPMI command clear-cmos to restore the default value) needs to be separately added, or a button to restore the default value of the option is set in the option function setting interface of the BIOS firmware.
The scheme depends on the UUID value, and is matched with other functions to update and upgrade the reserved/unreserved configuration of the same BIOS version/different BIOS firmware versions, the update and upgrade can not conflict with the change of the UUID value, and the existing configuration of the installation option can not be reserved when the UUID value is different. The means of recovering options relied upon in refreshing with the BIOS firmware version does not fully guarantee that all options can be restored to the default values.
In order to solve the above problem, specifically referring to fig. 1, fig. 1 is a schematic flow chart of a method for selecting a retention mode of option configuration in an ARM server according to an embodiment of the present invention, and as shown in fig. 1, the method for selecting a retention mode of option configuration in an ARM server includes:
s110: and establishing communication connection between the BIOS firmware in the ARM server and the BMC by using the out-of-band function module Redfish of the ARM server. Redfish is a functional module managed by the ARM server out of band, the Redfish is provided with an interface USB over lan, communication between the BIOS firmware and the BMC can be realized through the interface, and therefore an instruction can be sent to the BIOS firmware through the BMC to control operation of the BIOS firmware.
S120: when the BIOS firmware is upgraded, controlling the BMC to send an option configuration retention mode selection instruction to the BIOS firmware by using communication connection according to a user command. The BMC can receive a command that a user selects to reserve the original configuration of the option function setting interface or not, and can send an option configuration reservation mode selection instruction to the BIOS firmware by using the communication connection established by the Redfish through the user command. The instruction controls the BIOS firmware to select to reserve the original option configuration of the option function setting interface or not to reserve the original option configuration of the option function setting interface.
S130: and controlling the BIOS firmware to select the option configuration retention mode of the option function setting interface of the ARM server according to the option configuration retention mode selection instruction. The option configuration retaining mode mainly comprises the step of retaining the original option configuration when the BIOS firmware is updated, or the step of restoring the original option configuration to a default value instead of retaining the original option configuration when the BIOS firmware is updated.
As a preferred embodiment, as shown in fig. 2, the method for selecting a reserved mode of the option configuration further includes: s210: before the BIOS firmware is upgraded, controlling the Redfish to store an option configuration file, wherein the option configuration file stores the current option configuration information of an option function setting interface. Before updating and upgrading BIOS firmware, storing a json file by utilizing a Redfish function, wherein the json file is used for storing current option configuration information of an option function setting interface Setup of a server; thus, by using the current option configuration, the BIOS firmware can be upgraded by using the json file to recover the original option configuration.
As shown in fig. 2, the step S130: the step of selecting the option configuration retention mode of the option function setting interface of the ARM server comprises the following steps:
s131: when the option configuration retention mode is to retain the current option configuration, controlling the BIOS firmware to read an option configuration file stored by Redfish;
s132: the BIOS firmware configures the option value of the option function setting interface according to the current option configuration information contained in the option configuration file.
Before updating, BIOS stores an option configuration file by using Redfish, wherein the option configuration file is mainly a json file and is used for storing option configuration information of a current option function setting interface Setup of a server. Because the readability of the json file is good, the configured option values can be changed by modifying the json file.
When the user commands to keep the configuration update, the BMC can control the BIOS firmware to read the previously saved option configuration file, i.e., the json configuration file. According to the current option configuration information in the json configuration file, the BIOS firmware can use Redfish to reconfigure the option value of the current option function setting interface. When the configuration of the option values is finished, the configuration of all options in the option function setting interface is consistent with the option values before the BIOS version is updated.
In addition, as a preferred embodiment, as shown in fig. 3, the step of selecting the option configuration retention mode of the option function setting interface of the ARM server further includes: s133: and when the option configuration retention mode is not to retain the current option configuration, controlling the BIOS firmware to restore all options of the option function setting interface to a default value state.
In summary, according to the method for selecting the retention mode of option configuration in the ARM server provided by the application, the communication connection between the BIOS firmware in the ARM server and the BMC is established by using the Redfish of the ARM server; and then when the BIOS firmware is upgraded, according to a user command, the BMC sends an option configuration retention mode selection instruction to the BIOS firmware by using the communication connection, wherein the instruction can control whether the BIOS firmware selects to retain the existing option configuration to complete BIOS updating or sets the option as a default value to update the BIOS firmware. The BIOS firmware can select the option configuration retention mode of the option function setting interface of the ARM server according to the option configuration retention mode selection instruction. Therefore, the ARM server can select whether to keep the option configuration in the original option function setting interface when the BIOS is updated through the Redfish; the retention mode of option configuration can be freely selected no matter the BIOS firmware of the same version is updated or the BIOS firmware of different versions is updated; the method does not need to rely on the UUID as in the background art, and the problem that the option configuration of the original option function setting interface cannot be reserved when the UUID values are different is solved.
As a preferred embodiment, as shown in fig. 4, the method for selecting a reserved mode of an option configuration provided in the embodiment of the present application further includes, in addition to the above steps:
s310: judging whether the option value of the option function setting interface after the BIOS firmware configuration is consistent with the current option configuration information contained in the option configuration file;
s320: if the option value is consistent with the current option configuration information, controlling the BIOS firmware to normally start up;
s330: and if the option value is inconsistent with the current option configuration information, reporting abnormal alarm information by the BIOS firmware through the BMC.
In the technical scheme provided by the embodiment of the application, whether the option value of the option function setting interface after the configuration of the BIOS firmware is consistent with the current option configuration information contained in the option configuration file or not is judged, so that whether the configured option value is consistent with the option value before the updating of the BIOS firmware or not can be determined, and at the moment, when the option value is consistent with the current option configuration information, the successful configuration is determined, and the BIOS firmware is controlled to be normally started for use. When the option value is inconsistent with the current option configuration information, the abnormal alarm information is fed back through the BMC, so that the BIOS firmware configuration options can be controlled again through the BMC, or relevant operators are informed to check the operation.
As a preferred embodiment, as shown in fig. 5, the method for selecting a retention mode of an option configuration according to the embodiment of the present application, before the step of controlling the BMC to send an option configuration retention mode selection instruction to the BIOS firmware by using a communication connection, further includes the following steps:
s410: controlling the BMC to send a default downloading instruction to the BIOS firmware through communication connection; the default downloading instruction is a load default command, and the BIOS firmware can be controlled to restore the default value by sending the default downloading instruction to the BIOS firmware through the BMC.
S420: and the BIOS firmware restores all the options of the option function setting interface to a default value state according to the default downloading instruction.
In the embodiment of the application, the default downloading instruction is sent to the BIOS firmware, and the BIOS firmware can restore all the options of the option setting interface to the default value state, so that the effective operation of the ARM server is guaranteed before a user command is received, and repeated operation is not needed when the user command is the restoration default value.
As a preferred embodiment, as shown in fig. 6, a method for selecting a retention mode of option configuration in an ARM server provided in the embodiment of the present application includes a BMC end of a baseboard management controller and a BIOS end, which specifically includes the following steps:
s510: and the baseboard management controller BMC end executes the process.
S520: and receiving and transmitting a command which is selected by a user whether to keep the configuration to refresh the BIOS version.
S530: and sending a command to the BIOS to execute the default download default.
S540: when the retention configuration is selected, a command is sent to the BIOS to read the json file.
S550: and continuing the rest starting-up process.
The basic input output system BIOS end executes the following procedures:
s560: and collecting the configuration condition of the current option before refreshing the BIOS and storing the configuration condition into a json file.
S570: and after the BIOS is refreshed, starting the computer to execute the default value of the default download default recovery option.
S580: and after receiving a command for reading the json file, configuring the value of the current option according to the json.
S590: and continuing normal startup.
In addition, based on the same concept of the embodiment of the method, the embodiment of the present invention further provides an ARM server for implementing the method of the present invention, and since the principle of solving the problem of the embodiment of the system is similar to that of the method, the embodiment of the system at least has all the beneficial effects brought by the technical solution of the embodiment, and details are not repeated herein.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an ARM server according to an embodiment of the present invention, and as shown in fig. 7, the ARM server includes:
an out-of-band function module Redfish102, basic input output system BIOS firmware 103 and a baseboard management controller BMC 101; wherein the content of the first and second substances,
the Redfish102 is used for establishing communication connection between the BIOS firmware 103 and the BMC 101;
the BMC101 is used for sending an option configuration retention mode selection instruction to the BIOS firmware 103 according to a user command by using communication connection when the BIOS firmware 103 is upgraded;
the BIOS firmware 103 is configured to select an option configuration retention mode of the option function setting interface of the ARM server 100 according to the option configuration retention mode selection instruction.
Because the default value of the option in the option function setting interface is restored once before the version of the BIOS firmware 103 is updated every time, the change of the universally unique identifier UUID mentioned in the background art is not influenced, the BIOS firmware 103 selects the instruction configuration option through the option configuration retention mode of the BMC101, the usability of updating the version of the BIOS firmware 103 is ensured, the modifiability of the configuration file is increased, the flexibility of the configuration option is improved, and the problem that the use of a client is seriously influenced by incorrect configuration after the update can be effectively avoided.
As a preferred embodiment, as shown in fig. 7, in the ARM server provided in the embodiment of the present application,
redfish102, further configured to store an option configuration file before the BIOS firmware 103 is upgraded, where the option configuration file stores current option configuration information of an option function setting interface;
the BIOS firmware 103 is specifically used for reading an option configuration file stored by the Redfish102 when the option configuration retention mode is to retain the current option configuration;
the BIOS firmware 103 is specifically configured to configure an option value of the option function setting interface according to current option configuration information included in the option configuration file.
As a preferred embodiment, as shown in fig. 7, an ARM server provided in this embodiment further includes:
the BIOS firmware 103 is further configured to determine whether an option value of the configured option function setting interface is consistent with current option configuration information included in the option configuration file;
the BIOS firmware 103 is also used for normally starting up when the option value is consistent with the current option configuration information;
the BIOS firmware 103 is further configured to report the abnormal alarm information through the BMC when the option value is inconsistent with the current option configuration information.
As a preferred embodiment, as shown in fig. 7, in the ARM server provided in the embodiment of the present application, the BIOS firmware 103 is further configured to restore all options of the option function setting interface to a default state when the option configuration retention mode is not to retain the current option configuration.
As a preferred embodiment, in the ARM server provided in the embodiment of the present application, the BMC101 is further configured to send a default download instruction to the BIOS firmware 103 through a communication connection;
the BIOS firmware 103 is further configured to restore all options of the option function setting interface to a default state according to the default download instruction.
To sum up, the ARM server provided in the embodiment of the present application establishes a communication connection between the BIOS firmware 103 and the BMC101 by using the Redfish 102; then, when the BIOS firmware 103 is upgraded, according to a user command, the BMC101 sends an option configuration retention mode selection instruction to the BIOS firmware 103 using the communication connection, where the instruction can control whether the BIOS firmware 103 selects to retain an existing option configuration to complete BIOS update or set an option as a default value to update the BIOS firmware 103. The BIOS firmware 103 can select an option configuration retention mode of the option function setting interface of the ARM server according to the option configuration retention mode selection instruction. Therefore, the ARM server can select whether to keep the option configuration in the original option function setting interface when the BIOS firmware 103 is updated through the Redfish 102; the retention mode of option configuration can be freely selected no matter the BIOS firmware 103 of the same version is updated or the BIOS firmware 103 of different versions is updated; the method does not need to rely on the UUID as in the background art, and the problem that the option configuration of the original option function setting interface cannot be reserved when the UUID values are different is solved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It should be noted that in the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A method for selecting a reservation mode of option configuration in an ARM server is characterized by comprising the following steps:
establishing communication connection between BIOS firmware in the ARM server and BMC by using an out-of-band function module Redfish of the ARM server;
when the BIOS firmware is upgraded, controlling the BMC to send an option configuration retention mode selection instruction to the BIOS firmware by using the communication connection according to a user command;
and controlling the BIOS firmware to select the option configuration retention mode of the option function setting interface of the ARM server according to the option configuration retention mode selection instruction.
2. The method of claim 1, further comprising: before the BIOS firmware is upgraded, controlling the Redfish to store an option configuration file, wherein the option configuration file stores the current option configuration information of the option function setting interface;
the step of selecting the option configuration retention mode of the option function setting interface of the ARM server comprises the following steps:
when the option configuration retention mode is to retain the current option configuration, controlling the BIOS firmware to read the option configuration file stored by the Redfish;
and the BIOS firmware configures the option value of the option function setting interface according to the current option configuration information contained in the option configuration file.
3. The method of claim 2, further comprising:
judging whether the option value of the option function setting interface after the BIOS firmware is configured is consistent with the current option configuration information contained in the option configuration file;
if the option value is consistent with the current option configuration information, controlling the BIOS firmware to be normally started;
and if the option value is inconsistent with the current option configuration information, reporting abnormal alarm information by the BIOS firmware through the BMC.
4. The option configuration reservation method of claim 1, wherein the step of selecting the option configuration reservation method of the option function setting interface of the ARM server comprises:
and when the option configuration retention mode is not to retain the current option configuration, controlling the BIOS firmware to restore all options of the option function setting interface to a default value state.
5. The option configuration retention mode selection method of claim 1, wherein prior to the step of controlling the BMC to send option configuration retention mode selection instructions to the BIOS firmware using the communication connection, the method further comprises:
controlling the BMC to send a default downloading instruction to the BIOS firmware through the communication connection;
and the BIOS firmware restores all options of the option function setting interface to a default value state according to the default downloading instruction.
6. An ARM server, comprising:
the system comprises an out-of-band functional module Redfish, basic input output system BIOS firmware and a baseboard management controller BMC; wherein the content of the first and second substances,
the Redfish is used for establishing communication connection between the BIOS firmware and the BMC;
the BMC is used for sending an option configuration retention mode selection instruction to the BIOS firmware by using the communication connection according to a user command when the BIOS firmware is upgraded;
and the BIOS firmware is used for selecting the option configuration retention mode of the option function setting interface of the ARM server according to the option configuration retention mode selection instruction.
7. The ARM server of claim 6, further comprising:
the Redfish is also used for saving an option configuration file before the BIOS firmware is upgraded, wherein the option configuration file saves the current option configuration information of the option function setting interface;
the BIOS firmware is specifically configured to read the option configuration file stored by the Redfish when the option configuration retention mode is to retain the current option configuration;
the BIOS firmware is specifically configured to configure an option value of the option function setting interface according to current option configuration information included in the option configuration file.
8. The ARM server of claim 7, further comprising:
the BIOS firmware is also used for judging whether the option value of the configured option function setting interface is consistent with the current option configuration information contained in the option configuration file;
the BIOS firmware is also used for normally starting up when the option value is consistent with the current option configuration information;
the BIOS firmware is further configured to report abnormal alarm information through the BMC when the option value is inconsistent with the current option configuration information.
9. The ARM server of claim 6, wherein the BIOS firmware is further configured to restore all options of the option function setup interface to a default state when the option configuration retention mode is not to retain a current option configuration.
10. The ARM server of claim 6,
the BMC is further configured to send a default download instruction to the BIOS firmware via the communication connection;
and the BIOS firmware is also used for restoring all options of the option function setting interface to a default value state according to the default downloading instruction.
CN202111026495.1A 2021-09-02 2021-09-02 ARM server and reservation mode selection method for option configuration of ARM server Active CN113849207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111026495.1A CN113849207B (en) 2021-09-02 2021-09-02 ARM server and reservation mode selection method for option configuration of ARM server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111026495.1A CN113849207B (en) 2021-09-02 2021-09-02 ARM server and reservation mode selection method for option configuration of ARM server

Publications (2)

Publication Number Publication Date
CN113849207A true CN113849207A (en) 2021-12-28
CN113849207B CN113849207B (en) 2023-11-14

Family

ID=78976835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111026495.1A Active CN113849207B (en) 2021-09-02 2021-09-02 ARM server and reservation mode selection method for option configuration of ARM server

Country Status (1)

Country Link
CN (1) CN113849207B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170451A (en) * 2017-12-28 2018-06-15 曙光信息产业股份有限公司 A kind of method and system of server B MC controls bios version upgrading
CN109445865A (en) * 2018-11-09 2019-03-08 郑州云海信息技术有限公司 A kind of BIOS option remote batch setting method, device, terminal and storage medium
CN110377347A (en) * 2019-06-29 2019-10-25 苏州浪潮智能科技有限公司 A kind of automatic inspection method and system of Redfish setting BIOS option
CN111949332A (en) * 2020-08-27 2020-11-17 英业达科技有限公司 Method, system and device for modifying options of basic input and output system
CN111966380A (en) * 2020-08-21 2020-11-20 苏州浪潮智能科技有限公司 BMC (baseboard management controller) firmware upgrading method, system, terminal and storage medium
US20210004242A1 (en) * 2019-07-01 2021-01-07 Quanta Computer Inc. Method and system for remote selection of boot device
CN112506574A (en) * 2020-12-03 2021-03-16 浪潮电子信息产业股份有限公司 Method for modifying BIOS configuration options in ARM server based on CentOS in-band
CN113010214A (en) * 2021-03-12 2021-06-22 山东英信计算机技术有限公司 BIOS option setting method, system and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108170451A (en) * 2017-12-28 2018-06-15 曙光信息产业股份有限公司 A kind of method and system of server B MC controls bios version upgrading
CN109445865A (en) * 2018-11-09 2019-03-08 郑州云海信息技术有限公司 A kind of BIOS option remote batch setting method, device, terminal and storage medium
CN110377347A (en) * 2019-06-29 2019-10-25 苏州浪潮智能科技有限公司 A kind of automatic inspection method and system of Redfish setting BIOS option
US20210004242A1 (en) * 2019-07-01 2021-01-07 Quanta Computer Inc. Method and system for remote selection of boot device
CN111966380A (en) * 2020-08-21 2020-11-20 苏州浪潮智能科技有限公司 BMC (baseboard management controller) firmware upgrading method, system, terminal and storage medium
CN111949332A (en) * 2020-08-27 2020-11-17 英业达科技有限公司 Method, system and device for modifying options of basic input and output system
CN112506574A (en) * 2020-12-03 2021-03-16 浪潮电子信息产业股份有限公司 Method for modifying BIOS configuration options in ARM server based on CentOS in-band
CN113010214A (en) * 2021-03-12 2021-06-22 山东英信计算机技术有限公司 BIOS option setting method, system and storage medium

Also Published As

Publication number Publication date
CN113849207B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN103748569A (en) System and methods for driverless operation of USB device
CN102141921A (en) Method for upgrading system of terminal equipment and terminal equipment
JP5895385B2 (en) Image output apparatus and program thereof
CN112069154A (en) Automatic operation and maintenance method and related device for etcd distributed database
CN108897646B (en) Switching method of BIOS (basic input output System) chips and substrate management controller
CN111885420B (en) Standby protection method and device, smart television and readable storage medium
CN113849207B (en) ARM server and reservation mode selection method for option configuration of ARM server
CN114546537B (en) Starting sequence deployment method and related device for multiple operating systems
CN106484442B (en) Server system and method for updating startup mapping file
CN115174596A (en) Equipment remote copying method, device and medium
CN106507434B (en) Data processing method and device
CN115357355A (en) Method, device and equipment for software cross-system migration and readable storage medium
CN111399871B (en) System updating method, device, equipment and medium of HBA card
CN113721959A (en) Information processing method and device and electronic equipment
KR20060134446A (en) Method for programming memory of electronic control unit
CN111399940A (en) Data processing method of intelligent system, storage medium and intelligent terminal
CN109684134B (en) Method and server for rapidly deploying firmware settings among multiple devices
CN109189562B (en) Method and device for controlling process operation
KR100429903B1 (en) Method for updating images in home gateway system
CN111273933A (en) BIOS FW refreshing method and device
CN113688143B (en) Server with system setting data synchronization function
CN109117150B (en) Customized home application installation method and device and set top box
JP2000276337A (en) Terminal device, system managing device, program automatic switching system, control method for terminal device, and control method for system managing device
CN114710443B (en) Traffic scheduling method and device for forwarding server
CN116166291A (en) System upgrading method, display device and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant