CN110941453A - Method and device for initializing Baseboard Management Controller (BMC) configuration - Google Patents

Method and device for initializing Baseboard Management Controller (BMC) configuration Download PDF

Info

Publication number
CN110941453A
CN110941453A CN201911049799.2A CN201911049799A CN110941453A CN 110941453 A CN110941453 A CN 110941453A CN 201911049799 A CN201911049799 A CN 201911049799A CN 110941453 A CN110941453 A CN 110941453A
Authority
CN
China
Prior art keywords
configuration
bmc
configuration file
initialization
items
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.)
Withdrawn
Application number
CN201911049799.2A
Other languages
Chinese (zh)
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 Wave Intelligent Technology Co Ltd
Original Assignee
Suzhou Wave 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 Wave Intelligent Technology Co Ltd filed Critical Suzhou Wave Intelligent Technology Co Ltd
Priority to CN201911049799.2A priority Critical patent/CN110941453A/en
Publication of CN110941453A publication Critical patent/CN110941453A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • 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/4403Processor initialisation
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

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

Abstract

The embodiment of the invention discloses a method and a device for initializing BMC configuration, wherein the method comprises the following steps: when the BMC is started, reading and analyzing a configuration file stored by the BMC to perform configuration initialization; wherein the configuration items in the configuration file comprise a device basic attribute item and a user configuration item. Therefore, the configuration initialization is carried out through the configuration file, and the BMC configuration initialization process is simplified.

Description

Method and device for initializing Baseboard Management Controller (BMC) configuration
Technical Field
The embodiment of the invention relates to a Baseboard Management Controller (BMC) technology, in particular to a method and a device for initializing BMC configuration.
Background
As software with an out-of-band monitoring level, BMC (Baseboard Management Controller) is becoming more and more important in the running process of a server, and can monitor the states of a CPU (central processing unit), a memory, and some important devices through BMC, modify a BIOS (Basic input output System) start option, guide System start, and the like through BMC. However, the complexity of the current scenario applied by the server is continuously increased, the requirements of the client are also continuously increased according to the service of the client, and these directly result in that the BMC system is also complicated and increased, and some customized configurations need to be made for different scenarios and different clients to meet the requirements.
Currently, some curing configurations of BMCs are stored in eeproms (Electrically erasable programmable read only memory), and some customized configurations for customers mainly include the following two ways:
the first method is as follows: the script is executed out-of-band. The mode can be realized through a script command set mode, for example, through some IPMI (Intelligent Platform Management Interface) commands, and different platforms have differences in commands and different projects also have differences in keywords, so that the applicability is poor, and the Management and the maintenance are inconvenient.
The second method comprises the following steps: the image is recompiled. Since some configurations are integrated into the code, once a problem arises, the mirror package must be reissued to resolve the problem. Therefore, the configuration problem is solved by recompiling the mirror image, the operation universality and the manageability are poor, the flow is troublesome, the unified management of resources cannot be realized, and the overall maintenance is not facilitated.
Disclosure of Invention
In view of this, an embodiment of the present invention provides a method for initializing a BMC configuration of a baseboard management controller, including:
when the BMC is started, reading and analyzing a configuration file stored by the BMC to perform configuration initialization;
wherein the configuration items in the configuration file comprise a device basic attribute item and a user configuration item.
The embodiment of the invention also provides a device for initializing the configuration of the baseboard management controller BMC, which comprises the following steps:
the initialization module is used for reading and analyzing the configuration file stored by the BMC to carry out configuration initialization when the BMC is started;
wherein the configuration file comprises a device basic property item and a user configuration item.
The embodiment of the invention also provides a device for initializing the configuration of the baseboard management controller BMC, which comprises the following steps: the system comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the method for initializing the BMC configuration is realized.
The embodiment of the invention also provides a computer readable storage medium, wherein an information processing program is stored on the computer readable storage medium, and when the information processing program is executed by a processor, the steps of the method for initializing the BMC configuration are realized.
According to the technical scheme provided by the embodiment of the invention, the configuration initialization is carried out through the configuration file, so that the BMC configuration initialization process is simplified.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. Other advantages of the application may be realized and attained by the instrumentalities and combinations particularly pointed out in the specification, claims, and drawings.
Drawings
The accompanying drawings are included to provide an understanding of the present disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the examples serve to explain the principles of the disclosure and not to limit the disclosure.
Fig. 1 is a flowchart illustrating a method for initializing BMC configuration according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for initializing BMC configuration according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for initializing BMC configuration according to another embodiment of the present invention;
fig. 4 is a schematic structural diagram of a device for initializing BMC configuration according to an embodiment of the present invention.
Detailed Description
The present application describes embodiments, but the description is illustrative rather than limiting and it will be apparent to those of ordinary skill in the art that many more embodiments and implementations are possible within the scope of the embodiments described herein. Although many possible combinations of features are shown in the drawings and discussed in the detailed description, many other combinations of the disclosed features are possible. Any feature or element of any embodiment may be used in combination with or instead of any other feature or element in any other embodiment, unless expressly limited otherwise.
The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in this application may also be combined with any conventional features or elements to form a unique inventive concept as defined by the claims. Any feature or element of any embodiment may also be combined with features or elements from other inventive aspects to form yet another unique inventive aspect, as defined by the claims. Thus, it should be understood that any of the features shown and/or discussed in this application may be implemented alone or in any suitable combination. Accordingly, the embodiments are not limited except as by the appended claims and their equivalents. Furthermore, various modifications and changes may be made within the scope of the appended claims.
Further, in describing representative embodiments, the specification may have presented the method and/or process as a particular sequence of steps. However, to the extent that the method or process does not rely on the particular order of steps set forth herein, the method or process should not be limited to the particular sequence of steps described. Other orders of steps are possible as will be understood by those of ordinary skill in the art. Therefore, the particular order of the steps set forth in the specification should not be construed as limitations on the claims. Further, the claims directed to the method and/or process should not be limited to the performance of their steps in the order written, and one skilled in the art can readily appreciate that the sequences may be varied and still remain within the spirit and scope of the embodiments of the present application.
Fig. 1 is a flowchart illustrating a method for initializing BMC configuration according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 101, when the BMC is started, reading and analyzing a configuration file stored by the BMC to perform configuration initialization;
wherein the configuration items in the configuration file comprise a device basic attribute item and a user configuration item.
Wherein the device basic attribute item comprises at least one of:
field replaceable unit FRU information, project ID;
the user configuration item includes at least one of:
and the local area network serial SOL redirects the default starting items of the output port selection and the basic input/output system BIOS.
The format of the device basic attribute item and the user configuration item is BMC _ XXX _ CONFIG _ VALUE ═ X;
wherein, the left side of the equal sign is the name of the configuration item, and the right side is the value of the configuration item corresponding to the name of the configuration item; the type of value of the configuration item includes one of:
boolean type variables BOOL, character string, character type variables char, functions int and NA;
wherein the NA represents a configuration that is not supported by the corresponding configuration item.
Wherein the type of value of the configuration item comprises one of:
boolean type variables BOOL, string, character type variables char, functions int, NA.
Before BMC is started, the method further comprises:
and saving the configuration file to the BMC.
Wherein the saving the configuration file to the BMC includes:
storing the configuration file to a BMC memory space/BMC/conf/and/BMC/def/two directories;
the configuration file name is defined as config.ini, the configuration file under the/BMC/conf/directory is used for loading when the BMC is started, and the configuration file under the/BMC/def/directory is used for recovering default configuration.
Reading and analyzing a configuration file stored by the user to perform configuration initialization, wherein the configuration initialization comprises the following steps:
reading config.ini files from the/BMC/conf/path, reading configuration items one by one, and then calling an interface to be set in the electrified erasable programmable read only memory eeprom or to be stored in a corresponding memory variable.
Wherein, the method also comprises:
recording configuration items which fail to be read when reading the configuration items one by one;
and re-reading the failed configuration items, and if the failed configuration items are read for more than the preset times, printing serial port information and recording black box logs.
Wherein, the method also comprises:
modifying the configuration items in the configuration file;
and when the BMC is started again, carrying out configuration initialization according to the modified configuration file.
The technical scheme provided by the embodiment of the invention simplifies the initialization process of BMC configuration.
Fig. 2 is a flowchart illustrating a method for initializing BMC configuration according to another embodiment of the present invention, as shown in fig. 2, the method includes:
step 201, storing a configuration file into BMC;
wherein the saving the configuration file to the BMC includes:
storing the configuration file to a BMC memory space/BMC/conf/and/BMC/def/two directories;
specifically, a profile name may be predefined as config.ini, and the profile includes a device basic attribute item, and a user profile item, which is defined in a format of "BMC _ XXX _ CONFIG _ VALUE ═ X", where the left side of the equal sign is the profile name and the right side is the VALUE of the profile item. Wherein the types of values include: BOOL (Boolean type variable) type, string (string), char (character type variable), int (function), NA. Where NA represents a configuration that is not supported by the corresponding configuration item. Each configuration item and corresponding value in the configuration file may be preset, for example, the basic pre-configured device attributes include FRU (Field replaceable Unit) information, item ID, and other information, and the pre-configured user configuration items include SOL (Serial On Lan, local area network Serial) redirection output port selection, BIOS default boot items, and other information, which may be filled in the configuration file in advance, and then packaged together with the image file to be packaged into a complete image package through a packaging tool. And refreshing the packaged mirror image into a rom of the BMC through a refreshing tool, wherein the configuration file is stored under two directories of a BMC memory space/BMC/conf/and a BMC/def/at the moment, the file under the/BMC/conf/directory is used for current loading, and the configuration file under the/BMC/def/directory is used for restoring default configuration.
Step 202, when the BMC is started, reading and analyzing a configuration file stored by the BMC to perform configuration initialization;
reading and analyzing a configuration file stored by the user to perform configuration initialization, wherein the configuration initialization comprises the following steps:
reading config.ini files from the/BMC/conf/path, reading configuration items one by one, and then calling an interface to be set in the electrified erasable programmable read only memory eeprom or to be stored in a corresponding memory variable.
Specifically, when the BMC is started, after a bottom layer driver and a hardware signal ready, the BMC enters a config function module, which is used to read and analyze a configuration file, read a config.ini file from a designated/BMC/conf/path, read configuration items one by one, and then call an interface to be set in an eeprom or store a corresponding memory variable.
In addition, when reading the configuration items one by one, recording the configuration items which fail to be read; re-reading the failed configuration items, if the failed configuration items are read for more than the preset times, printing serial port information, and recording black box logs
For example, when a configuration item fails to be read, the configuration item is recorded until the configuration file is traversed, and the item which has just failed is executed again. If the serial port still fails, serial port information can be printed, and black box logs are recorded, so that later analysis is facilitated. This completes the initialization of the configuration.
Step 203, modifying the configuration items in the configuration file;
wherein the modifying the configuration item in the configuration file comprises:
receiving and executing a modification command of the configuration items in the configuration file, writing the modified configuration items to the corresponding storage space, and updating the values of the corresponding configuration items in the config.ini file under the/BMC/conf/path.
Specifically, when the device is in a normal operation process, some configurations may be modified through some IPMI commands, and at this time, the modified configuration information is written to the corresponding storage space, and the values of the corresponding configuration items in the config.ini file in the/BMC/conf/directory are updated.
And step 204, when the BMC is started again, carrying out configuration initialization according to the modified configuration file.
Since the values of the corresponding configuration items in the config.ini file under the BMC/conf/directory are updated at the same time in step 203, the BMC can be initialized according to the current latest configuration when being started next time.
By analogy, the configuration items in the configuration file only need to be modified to meet the customized configuration requirements of different projects.
According to the technical scheme provided by the embodiment of the invention, the BMC configuration initialization is carried out based on the configuration file, as long as all the current configurable information is stored in the configuration file, if the configuration needs to be modified, the corresponding configuration item in the configuration file can be directly modified, and then the BMC is restarted to initialize the modified configuration item again, so that the requirements of different clients in different scenes can be met.
According to the technical scheme provided by the embodiment of the invention, the configuration file is used as a BMC configuration initialization entry to replace the original modification mode of commanding through an external script or compiling a new mirror image, so that the requirements of different clients on different configurations can be met, all the configurations can be conveniently managed in a unified manner, and omission is eliminated. The whole initialization process is simplified, and later maintenance is facilitated.
The technical scheme provided by the embodiment of the invention better meets the requirements under the current complex operation environment. And in the later period, if the configuration needs to be modified, the corresponding configuration items in the configuration file can be directly modified, and then the BMC is restarted to initialize the modified configuration again so as to meet the actual requirement.
Fig. 3 is a flowchart illustrating a method for initializing BMC configuration according to another embodiment of the present invention, as shown in fig. 3, the method includes:
step 301, storing the configuration file to a BMC memory space/BMC/conf/and/BMC/def/two directories;
the configuration file name may be predefined as config.ini, and the configuration file includes a device basic attribute item and a user configuration item, and the defined format is "BMC _ XXX _ configuration _ VALUE ═ X", where the left side of the equal sign is the configuration item name and the right side is the VALUE of the configuration item. Wherein the types of values include: BOOL (Boolean type variable) type, string (string), char (character type variable), int (function), NA. Where NA represents a configuration that is not supported by the corresponding configuration item.
Each configuration item and corresponding value in the configuration file may be preset, for example, the basic pre-configured device attributes include FRU (Field replaceable Unit) information, item ID, and other information, and the pre-configured user configuration items include SOL (Serial On Lan, local area network Serial) redirection output port selection, BIOS default boot items, and other information, which may be filled in the configuration file in advance, and then packaged together with the image file to be packaged into a complete image package through a packaging tool. And refreshing the packaged mirror image into a rom of the BMC through a refreshing tool, wherein the configuration file is stored under two directories of a BMC memory space/BMC/conf/and a BMC/def/at the moment, the file under the/BMC/conf/directory is used for current loading, and the configuration file under the/BMC/def/directory is used for restoring default configuration.
Specifically, all items to be configured may be presented in the configuration file in a macro manner, and the selectable values include a configuration type and a value type, and the configuration type options include: TRUE, flag, NA; the value type options are: BOOL (Boolean type variable) type, string (character string), char (character type variable), int (function), etc. If the item ID of the current device is set, it may be defined as MACRO _ BMC _ PROJECT _ ID _ VALUE 4, which means that the default VALUE of the currently set item ID is 4. And when the BMC is started, reading the configuration file, acquiring the configuration of the project ID, and calling an interface to write the configuration into the eeprom. Other related configuration items are defined in the configuration file according to the fixed format, no matter which project platform can be directly defined according to the configuration name, no specific implementation command in the BMC is concerned, the method is more convenient, and the configuration of a subsequent client can be directly modified through the configuration file without providing a script or a mirror image again, so that later maintenance and upgrading are facilitated.
Step 302, when the BMC is started, reading config.ini files from the/BMC/conf/path, reading configuration items one by one, and then calling an interface to be set in the electrified erasable programmable read only memory (eeprom) or to be stored in a corresponding memory variable;
when the BMC is started, after a bottom layer driving device and a hardware signal ready, a config function module is entered, wherein the module is used for reading and analyzing a configuration file, reading a config.ini file from a designated/BMC/conf/path, reading configuration items one by one, and then calling an interface to be set in the eeprom or storing a corresponding memory variable.
In addition, when reading the configuration items one by one, recording the configuration items which fail to be read; re-reading the failed configuration items, if the failed configuration items are read for more than the preset times, printing serial port information, and recording black box logs
For example, when a configuration item fails to be read, the configuration item is recorded until the configuration file is traversed, and the item which has just failed is executed again. If the serial port still fails, serial port information can be printed, and black box logs are recorded, so that later analysis is facilitated. This completes the initialization of the configuration.
Step 303, modifying the configuration items in the configuration file; and when the BMC is started again, carrying out configuration initialization according to the modified configuration file.
When the device is in a normal operation process, some configurations are modified sometimes through some IPMI commands, and the modified configuration information is written into the corresponding storage space, and meanwhile, the value of the corresponding item in the config.ini file under the BMC/conf/directory is updated, so that the BMC can be initialized according to the current latest configuration when being started next time.
For example, taking the configuration item as the item ID as an example, the specific configuration modification process is as follows:
1. finding the corresponding item ID configuration item in the configuration file config.ini file, if setting the item ID value to 7, the specific format is as follows:
BMC_PROJECT_ID_CONFIG_VALUE=7;
2. after the original mirror image is decomposed through a unpacking tool, a configuration file in the unpacked mirror image is replaced by a modified config.ini file, and then the mirror image is unpacked again by using a packing tool to generate the mirror image;
3. and uploading the newly packaged mirror image in a web refreshing mode, and executing a refreshing action.
After the refresh is completed, after the BMC is started, the ID of the current item is inquired through the related command, and the modified value is found. The whole configuration item modification process is completed.
According to the technical scheme provided by the embodiment of the invention, all the attributes and the configuration information are defined in the file in a configuration file mode, so that the code logic of the BMC configuration management block is simplified, the configuration class is taken as a resource to be uniformly managed, and the operation and the maintenance are convenient. In addition, the configuration file is introduced, so that the code portability can be improved, specific command keywords in the code are saved, and configuration initialization is finished by unifying configuration items defined in the configuration file.
Fig. 4 is a schematic structural diagram of an apparatus for BMC configuration initialization according to an embodiment of the present invention, as shown in fig. 4, the apparatus includes:
the initialization module is used for reading and analyzing the configuration file stored by the BMC to carry out configuration initialization when the BMC is started;
wherein the configuration file comprises a device basic property item and a user configuration item.
The format of the device basic attribute item and the user configuration item is BMC _ XXX _ CONFIG _ VALUE ═ X;
wherein, the left side of the equal sign is the name of the configuration item, and the right side is the value of the configuration item corresponding to the name of the configuration item; the type of value of the configuration item includes one of:
boolean type variables BOOL, character string, character type variables char, functions int and NA;
wherein the NA represents a configuration that is not supported by the corresponding configuration item.
The device basic attribute item includes at least one of:
field replaceable unit FRU information, project ID;
the user configuration item includes at least one of:
and the local area network serial SOL redirects the default starting items of the output port selection and the basic input/output system BIOS.
Wherein, the device still includes:
and the storage unit is used for storing the configuration file into the BMC.
The storage unit is specifically configured to store the configuration file in a BMC memory space/BMC/conf/and/BMC/def/two directories;
the configuration file name is defined as config.ini, the configuration file under the/BMC/conf/directory is used for loading when the BMC is started, and the configuration file under the/BMC/def/directory is used for recovering default configuration.
Wherein the initialization module comprises:
and configuring a config function module, which is used for reading config.ini files from the/BMC/conf/path, reading configuration items one by one, and then calling an interface to be set in the electrified erasable programmable read-only memory eeprom or to be stored in a corresponding memory variable.
Wherein, the initialization module further comprises:
the recording module is used for recording the configuration items which are failed to read when the configuration items are read one by one;
the configuration config function module is further configured to re-read the failed configuration item,
the recording module is further used for printing serial port information and recording black box logs if reading fails more than preset times.
Wherein, the device still includes:
the modification module is used for modifying the configuration items in the configuration file;
the initialization module is further configured to initialize configuration according to the modified configuration file when the BMC is restarted.
The embodiment of the invention also provides a device for initializing the configuration of the baseboard management controller BMC, which comprises the following steps: a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program, when executed by the processor, implements any of the methods for BMC configuration initialization described above.
An embodiment of the present invention further provides a computer-readable storage medium, where an information processing program is stored on the computer-readable storage medium, and when the information processing program is executed by a processor, the information processing program implements any of the steps of the BMC configuration initialization method described above.
The technical scheme provided by the above embodiment of the invention provides a new initialization scheme, which can uniformly manage and configure related resources, centralizes some inherent attributes and configurations in a configuration file, facilitates uniform management and allocation of resources, improves operability and maintainability, and can be applied to BMC monitoring management and other out-of-band management systems.
The technical scheme provided by the embodiment of the invention uses a configuration file mode for initialization, can also be applied to a system with a large number of configuration items, is convenient for the management of configuration resources of the whole system and avoids omission.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (10)

1. A method for initializing BMC configuration of a Baseboard Management Controller (BMC), comprising:
when the BMC is started, reading and analyzing a configuration file stored by the BMC to perform configuration initialization;
wherein the configuration items in the configuration file comprise a device basic attribute item and a user configuration item.
2. The method of claim 1,
the device basic attribute item includes at least one of:
field replaceable unit FRU information, project ID;
the user configuration item includes at least one of:
and the local area network serial SOL redirects the default starting items of the output port selection and the basic input/output system BIOS.
3. The method of claim 1, wherein prior to boot-up of the BMC, the method further comprises:
and saving the configuration file to the BMC.
4. The method of claim 3, wherein saving the configuration file to the BMC comprises:
storing the configuration file to a BMC memory space/BMC/conf/and/BMC/def/two directories;
the configuration file name is defined as config.ini, the configuration file under the/BMC/conf/directory is used for loading when the BMC is started, and the configuration file under the/BMC/def/directory is used for recovering default configuration.
5. The method of claim 4, wherein reading and parsing the configuration file stored in the method for configuration initialization comprises:
reading config.ini files from the/BMC/conf/path, reading configuration items one by one, and then calling an interface to be set in the electrified erasable programmable read only memory eeprom or to be stored in a corresponding memory variable.
6. The method of claim 5, further comprising:
recording configuration items which fail to be read when reading the configuration items one by one;
and re-reading the failed configuration items, and if the failed configuration items are read for more than the preset times, printing serial port information and recording black box logs.
7. The method of claim 4, further comprising:
modifying the configuration items in the configuration file;
and when the BMC is started again, carrying out configuration initialization according to the modified configuration file.
8. An apparatus for BMC configuration initialization of a baseboard management controller, comprising:
the initialization module is used for reading and analyzing the configuration file stored by the BMC to carry out configuration initialization when the BMC is started;
wherein the configuration file comprises a device basic property item and a user configuration item.
9. An apparatus for BMC configuration initialization of a baseboard management controller, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing a method of BMC configuration initialization as claimed in any of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon an information processing program which, when executed by a processor, implements the steps of a method of BMC configuration initialization according to any of claims 1 to 7.
CN201911049799.2A 2019-10-31 2019-10-31 Method and device for initializing Baseboard Management Controller (BMC) configuration Withdrawn CN110941453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911049799.2A CN110941453A (en) 2019-10-31 2019-10-31 Method and device for initializing Baseboard Management Controller (BMC) configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911049799.2A CN110941453A (en) 2019-10-31 2019-10-31 Method and device for initializing Baseboard Management Controller (BMC) configuration

Publications (1)

Publication Number Publication Date
CN110941453A true CN110941453A (en) 2020-03-31

Family

ID=69906182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911049799.2A Withdrawn CN110941453A (en) 2019-10-31 2019-10-31 Method and device for initializing Baseboard Management Controller (BMC) configuration

Country Status (1)

Country Link
CN (1) CN110941453A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416681A (en) * 2020-11-24 2021-02-26 超越科技股份有限公司 BMC-based sensor development and debugging method
CN113127823A (en) * 2021-03-26 2021-07-16 山东英信计算机技术有限公司 Method, system and medium for managing local serial port login and authority
CN113805964A (en) * 2021-09-10 2021-12-17 济南浪潮数据技术有限公司 Firmware configuration item directory generation optimization method, device, equipment and medium
CN114816570A (en) * 2022-04-13 2022-07-29 京东城市(北京)数字科技有限公司 Method, apparatus, device and medium for processing configuration information and generating application program
CN114978891A (en) * 2022-05-17 2022-08-30 西安易朴通讯技术有限公司 Processing method, equipment and storage medium for network equipment BIOS configuration

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416681A (en) * 2020-11-24 2021-02-26 超越科技股份有限公司 BMC-based sensor development and debugging method
CN113127823A (en) * 2021-03-26 2021-07-16 山东英信计算机技术有限公司 Method, system and medium for managing local serial port login and authority
CN113127823B (en) * 2021-03-26 2022-06-07 山东英信计算机技术有限公司 Method, system and medium for managing local serial port login and authority
CN113805964A (en) * 2021-09-10 2021-12-17 济南浪潮数据技术有限公司 Firmware configuration item directory generation optimization method, device, equipment and medium
CN113805964B (en) * 2021-09-10 2024-02-23 济南浪潮数据技术有限公司 Firmware configuration item catalog generation optimization method, device, equipment and medium
CN114816570A (en) * 2022-04-13 2022-07-29 京东城市(北京)数字科技有限公司 Method, apparatus, device and medium for processing configuration information and generating application program
CN114978891A (en) * 2022-05-17 2022-08-30 西安易朴通讯技术有限公司 Processing method, equipment and storage medium for network equipment BIOS configuration
CN114978891B (en) * 2022-05-17 2024-04-30 西安易朴通讯技术有限公司 Processing method, device and storage medium for BIOS configuration of network device

Similar Documents

Publication Publication Date Title
CN110941453A (en) Method and device for initializing Baseboard Management Controller (BMC) configuration
US10908887B2 (en) Dynamic container deployment with parallel conditional layers
CN106227579B (en) Docker container construction method and Docker management console
CN102402446B (en) Method and device for installing application software
CN107491329B (en) Docker mirror image construction method, device, storage medium and electronic device
US11086711B2 (en) Machine-trainable automated-script customization
CN112181602A (en) Resource arranging method and device, electronic equipment and storage medium
US9501296B2 (en) Hypervisor automation manager for starting an operation system with customization data from a disk image
KR20200115020A (en) Hyperledger fabric network creation method, controller and storage medium
CN106708587B (en) Parameter configuration method and system
CN107239309B (en) Patch generation method and device, updating method, electronic device and storage medium
US20190266040A1 (en) Distributed Product Deployment Validation
CN108829449A (en) A kind of method, apparatus, equipment and the medium of BIOS start-up operation system
CN105159716A (en) Memory device initialization method and electronic equipment
CN116301596A (en) Software RAID construction method, device, equipment and storage medium
CN111061541A (en) Method, system, computer storage medium and terminal for creating virtual machine
CN114072765B (en) Method for container-based virtualization system
CN110806891A (en) Method and device for generating software version of embedded equipment
CN113849379B (en) Method, device, equipment and readable medium for collecting server asset information
WO2023084345A1 (en) Automated deployment of enterprise archive with dependency on application server via script
CN115525396A (en) Application management method and device based on cloud protogenesis
CN115469807A (en) Disk function configuration method, device, equipment and storage medium
CN115202674A (en) Helm-based automatic deployment method for local volumes in kubernets cluster
CN110716753B (en) Cloud host initialization method and device, storage medium and electronic equipment
CN112181606A (en) Container configuration updating method, device and system, storage medium and electronic equipment

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20200331