CN114281890B - BIOS out-of-band management system and method - Google Patents

BIOS out-of-band management system and method Download PDF

Info

Publication number
CN114281890B
CN114281890B CN202111424925.5A CN202111424925A CN114281890B CN 114281890 B CN114281890 B CN 114281890B CN 202111424925 A CN202111424925 A CN 202111424925A CN 114281890 B CN114281890 B CN 114281890B
Authority
CN
China
Prior art keywords
memory
management controller
baseboard management
data
basic input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111424925.5A
Other languages
Chinese (zh)
Other versions
CN114281890A (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 CN202111424925.5A priority Critical patent/CN114281890B/en
Publication of CN114281890A publication Critical patent/CN114281890A/en
Application granted granted Critical
Publication of CN114281890B publication Critical patent/CN114281890B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a BIOS out-of-band management system and method, the system includes: the memory is connected with the basic input and output system and the baseboard management controller through the data link gating device with one of two options respectively; the control port of the data link gating device is connected with the baseboard management controller; the baseboard management controller controls the data link gating device to switch the gating link; when a link between the basic input/output system and the memory is communicated, the basic input/output system and the memory are subjected to data synchronization; when the link between the baseboard management controller and the memory is connected, the baseboard management controller performs out-of-band management on the data of the memory. According to the invention, the BIOS and the BMC directly share the HII database, so that the BMC can access all information required by the BIOS Setup without losing dependence and association relation among options.

Description

BIOS out-of-band management system and method
Technical Field
The invention belongs to the technical field of servers, and particularly relates to a BIOS out-of-band management system and method.
Background
A Basic Input Output System (BIOS) provides an interface for a user to configure server startup parameters, turn on or off certain functions through BIOS Setup. The interface requires a user to operate through a keyboard, a mouse and a display, and although remote operation can be realized with the help of the KVM over Lan, batch operation cannot be supported in the case of large-scale deployment. Thus, some approaches to managing BIOS Setup out-of-band through BMC have emerged.
There are two types of current schemes: (1) A binary data structure is stored at the BMC, holding the value of the BIOS Setup option. The BMC allows the BIOS or user access through the network via the IPMI interface. The working mode is as follows: when the BMC is started for the first time, the BIOS packages the value of the current BIOS Setup option in a defined structure body and sends the value to the BMC for storage; after that, the user can view and modify the values of certain options through the IPMI or Web page, and the BMC marks that the data is updated; checking whether the data at the BMC is updated or not in the subsequent BIOS starting process, and if so, reading and applying the data; if the user directly modifies the value of the option through the BIOS Setup interface, the BIOS sends the updated value to the BMC, and the data stored by the BMC is updated. (2) The BMC stores a description and value data of a BIOS Setup option, and allows the BIOS and a user to access through a network through a Redfish interface. The operation is similar to that of category 1, except that the interface used is a Redfish.
The first prior art has the disadvantage: a. data structure and implementation binding: in the method, because only the binary data structure body is stored at the BMC, the BMC needs to completely bind the interface and the options when the BMC realizes the user access interface in order to meet the requirement of viewing and modifying the specified options. When a fabric expansion occurs or is transplanted to another product or platform, the BIOS and BMC are required to be subjected to a great deal of manpower for redevelopment, debugging and verification. b. Dependency and association relation among options are lost: the validity or configurability of certain options depends on the current value of certain options, and simple data structures cannot express this information. The second prior art solves the first drawback of the first prior art, but fails to solve the second drawback.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a BIOS out-of-band management system and a BIOS out-of-band management method so as to solve the technical problems.
The invention provides a BIOS out-of-band management system, comprising:
the memory is connected with the basic input and output system and the baseboard management controller through the data link gating device with one of two options respectively; the control port of the data link gating device is connected with the baseboard management controller; the baseboard management controller controls the data link gating device to switch the gating link; when a link between the basic input/output system and the memory is communicated, the basic input/output system and the memory are subjected to data synchronization; when the link between the baseboard management controller and the memory is connected, the baseboard management controller performs out-of-band management on the data of the memory.
Further, the baseboard management controller is connected with the control port of the data link gating device through the I2C bus, when the baseboard management controller receives the out-of-band management request, the data link gating device is controlled to be communicated with the link of the baseboard management controller and the memory, and after the out-of-band management request is processed, the data link gating device is controlled to be restored to the communication link of the basic input/output system and the memory.
Further, the basic input/output system includes:
the data synchronization unit is used for synchronizing the local human-computer interface infrastructure database and the parameter values to the memory;
and the data updating unit is used for synchronously updating the updated parameter values in the memory to the local corresponding parameter items.
Further, the baseboard management controller includes:
the data reading unit is used for reading the human-computer interface infrastructure database and the parameter values from the memory, and generating a multi-level information display page based on the human-computer interface infrastructure database and the parameter values by utilizing the human-computer interface infrastructure browser;
and the data interaction unit is used for reading the target data from the memory according to the request of the user terminal and returning the requested target data to the user terminal through the browser interface.
The invention also provides a BIOS out-of-band management method, which comprises the following steps:
in the starting stage of the server, the baseboard management controller controls the data link gating device to communicate the memory with the basic input output system, and the basic input output system synchronizes the created human-computer interface infrastructure database to the memory after detecting that the memory does not have the human-computer interface infrastructure database;
under the default state, the baseboard management controller controls the data link gate to communicate the memory with the basic input/output system, and the basic input/output system synchronously updates the updated parameter value to the memory after modifying the parameter;
the baseboard management controller receives the out-of-band request, controls the data link gate to connect the memory and the baseboard management controller, and reads data from the memory or modifies parameter values in the memory according to the out-of-band request;
and after the out-of-band request processing is completed, the baseboard management controller controls the data link gating device to communicate the memory with the basic input output system, and the basic input output system synchronously updates the updated parameter values to local corresponding parameter items when detecting that the parameter values in the memory are updated.
Further, the man-machine interface infrastructure database stores the topology of the parameter items of the basic input output system and the parameter values of the parameter items.
Further, the baseboard management controller sends control instructions to the data link gate via the I2C bus.
Further, the method further comprises:
the baseboard management controller receives the out-of-band request through the browser interface, and returns the operation result of the out-of-band request to the user side through the browser interface.
Further, the method further comprises:
the baseboard management controller reads the human-machine interface infrastructure database and the parameter values from the memory, and generates a multi-level information display page based on the human-machine interface infrastructure database and the parameter values by using the human-machine interface infrastructure browser.
The BIOS out-of-band management system and the method have the beneficial effects that the BIOS and the BMC directly share the HII database, so that the BMC can access all information required by the BIOS Setup without losing dependence and association relation among options. The invention has little modification to BIOS, when the original BIOS creates the HII database used by BIOS Setup, the original BIOS is stored in the memory, and the invention can be realized only by realizing the storage drive of one HII database. Because the HII database is in a standard format defined in the UEFI specification, the implementation is independent of the processor platform and product, once implemented, available for various UEFI compatible products. The BMC does not need to translate any options to obtain various language descriptions of the BIOS Setup, including help information.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic structural view of an apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solution of the present invention better understood by those skilled in the art, the technical solution of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that, without conflict, the embodiments of the present invention and features of the embodiments may be combined with each other.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art in a specific case.
The invention will be described in detail below with reference to the drawings in connection with embodiments.
Example 1
Referring to fig. 1, the present embodiment provides a BIOS out-of-band management system, including:
the memory is respectively connected with the basic input and output system and the baseboard management controller through the data link gating device with one of two options; the control port of the data link gating device is connected with the baseboard management controller; the baseboard management controller controls the data link gating device to switch the gating link; when a link between the basic input/output system and the memory is communicated, the basic input/output system and the memory are subjected to data synchronization; when the link between the baseboard management controller and the memory is connected, the baseboard management controller performs out-of-band management on the data of the memory.
As shown in fig. 1, switch: the data link gating device is an alternative data link gating device, is connected with the BIOS and the memory by default, and can be switched by the BMC through I2C control.
A memory: the data structure of the UEFI HII database and the current value is saved.
BIOS: checking whether the HII database exists in the memory in the starting process, and if not, storing the created HII database into the memory. If so, it is checked whether the current value data structure has been updated, if so, the current BIOS settings are read and updated, otherwise ignored. After the user modifies the option through BIOS Setup, BIOS uses the current value to update the current value data structure stored in Flash.
BMC: when the user needs to access the BIOS Setup option through out-of-band, the BMC controls the Switch through the I2C link, gates the link between the BMC and the memory and accesses the HII database and the current value data structure. The BMC may use the HII data structure in two ways, mode one: the HII browser is realized, pages, menus and options at all levels are created, and a navigation operation mode is provided. Mode two: the Web API interface is implemented for the user to access the values of all options.
Example 2
The embodiment provides a BIOS out-of-band management method, which comprises the following steps:
s1, in a server starting stage, a baseboard management controller controls a data link gating device to communicate a memory with a basic input output system through an I2C bus, and the basic input output system synchronizes a created human-computer interface infrastructure database to the memory after detecting that the memory does not have the human-computer interface infrastructure database. The human-computer interface infrastructure database stores the parameter item topology of the basic input-output system and the parameter values of each parameter item.
S2, the baseboard management controller controls the data link gating device to communicate the memory and the basic input/output system in a default state, and the basic input/output system synchronously updates the updated parameter value to the memory after modifying the parameter.
And S3, the baseboard management controller receives the out-of-band request, controls the data link gating device to connect the memory and the baseboard management controller, and reads data from the memory or modifies parameter values in the memory according to the out-of-band request.
There are two types of behavior of baseboard management controllers to data operations in memory: first, the baseboard management controller receives the out-of-band request through the browser interface, and returns the operation result of the out-of-band request to the user terminal through the browser interface. The browser interface is used as an interaction interface between the BMC and the user. And secondly, the baseboard management controller reads the human-computer interface infrastructure database and the parameter values from the memory, and a human-computer interface infrastructure browser is utilized to generate a multi-level information display page based on the human-computer interface infrastructure database and the parameter values. The HII browser is realized, pages, menus and options at all levels are created, and a navigation operation mode is provided.
And S4, after the out-of-band request processing is completed, the baseboard management controller controls the data link gating device to communicate the memory with the basic input output system, and if the basic input output system monitors that the parameter value in the memory is updated, the updated parameter value is synchronously updated to a local corresponding parameter item.
Although the present invention has been described in detail by way of preferred embodiments with reference to the accompanying drawings, the present invention is not limited thereto. Various equivalent modifications and substitutions may be made in the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and it is intended that all such modifications and substitutions be within the scope of the present invention/be within the scope of the present invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (8)

1. A BIOS out-of-band management system, comprising:
the memory is connected with the basic input and output system and the baseboard management controller through the data link gating device with one of two options respectively; the control port of the data link gating device is connected with the baseboard management controller; the baseboard management controller controls the data link gating device to switch the gating link; when a link between the basic input/output system and the memory is communicated, the basic input/output system and the memory are subjected to data synchronization; when a link between the baseboard management controller and the memory is connected, the baseboard management controller carries out-of-band management on the data of the memory;
the basic input output system includes:
the data synchronization unit is used for synchronizing the local human-computer interface infrastructure database and the parameter values to the memory;
and the data updating unit is used for synchronously updating the updated parameter values in the memory to the local corresponding parameter items.
2. The system of claim 1, wherein the baseboard management controller is connected to the control port of the data link gate via an I2C bus, the baseboard management controller controls the data link gate to communicate the link between the baseboard management controller and the memory when receiving the out-of-band management request, and controls the data link gate to return to the communication link between the bios and the memory after the out-of-band management request is processed.
3. The system of claim 1, wherein the baseboard management controller comprises:
the data reading unit is used for reading the human-computer interface infrastructure database and the parameter values from the memory, and generating a multi-level information display page based on the human-computer interface infrastructure database and the parameter values by utilizing the human-computer interface infrastructure browser;
and the data interaction unit is used for reading the target data from the memory according to the request of the user terminal and returning the requested target data to the user terminal through the browser interface.
4. A BIOS out-of-band management method, comprising:
in the starting stage of the server, the baseboard management controller controls the data link gating device to communicate the memory with the basic input output system, and the basic input output system synchronizes the created human-computer interface infrastructure database to the memory after detecting that the memory does not have the human-computer interface infrastructure database;
under the default state, the baseboard management controller controls the data link gate to communicate the memory with the basic input/output system, and the basic input/output system synchronously updates the updated parameter value to the memory after modifying the parameter;
the baseboard management controller receives the out-of-band request, controls the data link gate to connect the memory and the baseboard management controller, and reads data from the memory or modifies parameter values in the memory according to the out-of-band request;
and after the out-of-band request processing is completed, the baseboard management controller controls the data link gating device to communicate the memory with the basic input output system, and the basic input output system synchronously updates the updated parameter values to local corresponding parameter items when detecting that the parameter values in the memory are updated.
5. The method of claim 4, wherein the human interface infrastructure database stores parameter item topologies and parameter values for each parameter item of a basic input output system.
6. The method of claim 4, wherein the baseboard management controller sends the control command to the data link gate via the I2C bus.
7. The method according to claim 4, wherein the method further comprises:
the baseboard management controller receives the out-of-band request through the browser interface, and returns the operation result of the out-of-band request to the user side through the browser interface.
8. The method according to claim 4, wherein the method further comprises:
the baseboard management controller reads the human-machine interface infrastructure database and the parameter values from the memory, and generates a multi-level information display page based on the human-machine interface infrastructure database and the parameter values by using the human-machine interface infrastructure browser.
CN202111424925.5A 2021-11-26 2021-11-26 BIOS out-of-band management system and method Active CN114281890B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111424925.5A CN114281890B (en) 2021-11-26 2021-11-26 BIOS out-of-band management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111424925.5A CN114281890B (en) 2021-11-26 2021-11-26 BIOS out-of-band management system and method

Publications (2)

Publication Number Publication Date
CN114281890A CN114281890A (en) 2022-04-05
CN114281890B true CN114281890B (en) 2024-01-19

Family

ID=80870092

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111424925.5A Active CN114281890B (en) 2021-11-26 2021-11-26 BIOS out-of-band management system and method

Country Status (1)

Country Link
CN (1) CN114281890B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116991606B (en) * 2023-09-25 2024-02-02 苏州元脑智能科技有限公司 Baseboard management controller, and processing method and device of basic input/output system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681959A (en) * 2012-04-28 2012-09-19 浪潮电子信息产业股份有限公司 Method for interacting inner-band information and out-of-band information of server
CN110362176A (en) * 2019-06-29 2019-10-22 苏州浪潮智能科技有限公司 Cooling control system and method when a kind of server B MC fails
CN110781501A (en) * 2019-10-10 2020-02-11 苏州浪潮智能科技有限公司 Control circuit and server
CN112130910A (en) * 2020-08-24 2020-12-25 中科可控信息产业有限公司 Equipment starting method and device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016018390A1 (en) * 2014-07-31 2016-02-04 Hewlett-Packard Development Company, L.P. Secure bios password method in server computer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102681959A (en) * 2012-04-28 2012-09-19 浪潮电子信息产业股份有限公司 Method for interacting inner-band information and out-of-band information of server
CN110362176A (en) * 2019-06-29 2019-10-22 苏州浪潮智能科技有限公司 Cooling control system and method when a kind of server B MC fails
CN110781501A (en) * 2019-10-10 2020-02-11 苏州浪潮智能科技有限公司 Control circuit and server
CN112130910A (en) * 2020-08-24 2020-12-25 中科可控信息产业有限公司 Equipment starting method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN114281890A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
EP2944070B1 (en) Service migration across cluster boundaries
KR20180050721A (en) Method and apparatus for controlling smart devices and computer storage media
WO2018192478A1 (en) Cloud management platform, virtual machine management method, system thereof
CN113783765B (en) Method, system, equipment and medium for realizing intercommunication between cloud internal network and cloud external network
CN101170423A (en) A service-oriented service cluster deployment method
CN114281890B (en) BIOS out-of-band management system and method
CN111736867A (en) FPGA updating device, method and storage medium
CN110688172A (en) Method and device for configuring device function mutual exclusion logic, electronic device and storage medium
CN110581885A (en) Method, device and equipment for determining equipment synchronization and storage medium
CN101739406A (en) Method for synchronizing file service operations on double-controller
WO2005124571A1 (en) Mutual access method of data and mutual access system of data
CN107861761B (en) Starting method and system of physical host
CN113110883B (en) Starting method, device, equipment and storage medium of block chain system
CN113660123B (en) Virtual switch upgrading method, device, electronic equipment and storage medium
CN114721686A (en) Configuration data updating method and device, electronic equipment and storage medium
CN110554731B (en) Clock synchronization control method, intelligent terminal and storage medium
CN113711570B (en) Method and system for enabling a computing device to communicate with a cloud network
CN104468671A (en) Configuration information processing method, device and relevant device
EP3286887B1 (en) System and method of a graceful reboot of a network controller
US20030051107A1 (en) System for controlling attributes of storage device
CN113253995B (en) Method, device, equipment and storage medium for developing block chain system
CN112055057B (en) Method, system and equipment for dynamic expansion of Web system
CN116545851A (en) Configuration updating method, device, equipment and medium based on cloud platform
CN114338377A (en) Device control method, system, computer readable medium and electronic device
CN116700774A (en) Application management system and application management method

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