CN113703852B - Out-of-band management method and device of server, electronic equipment and readable storage medium - Google Patents

Out-of-band management method and device of server, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113703852B
CN113703852B CN202110930687.9A CN202110930687A CN113703852B CN 113703852 B CN113703852 B CN 113703852B CN 202110930687 A CN202110930687 A CN 202110930687A CN 113703852 B CN113703852 B CN 113703852B
Authority
CN
China
Prior art keywords
option
band
name
option name
current
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
CN202110930687.9A
Other languages
Chinese (zh)
Other versions
CN113703852A (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 CN202110930687.9A priority Critical patent/CN113703852B/en
Publication of CN113703852A publication Critical patent/CN113703852A/en
Application granted granted Critical
Publication of CN113703852B publication Critical patent/CN113703852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application discloses a server out-of-band management method, a server out-of-band management device, an electronic device and a readable storage medium. Generating an option name standard for out-of-band management in advance based on the option name for in-band management; the option name criteria satisfy conditions that identify options, are common to industry, and are written using standard code. Modifying each option name in the defined option name file according to the option name standard; out-of-band option names for out-of-band management are automatically generated by scanning the definition option name file. And carrying out-of-band option management based on the out-of-band option name, so that the out-of-band management efficiency of the server can be effectively improved.

Description

Out-of-band management method and device of server, electronic equipment and readable storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method and apparatus for out-of-band management of a server, an electronic device, and a readable storage medium.
Background
The server management modes comprise an out-of-band management mode and an in-band management mode, the out-of-band management mode manages the server through out-of-band management controllers such as a BMC (Baseboard Management Controller ) and the like, the out-of-band management does not need to log in an operating system and a configuration interface of managed equipment, the work and the safety of the server are not influenced, and the server management method is an important means for improving the management efficiency of a computer. In-band management is a way to operate or execute a hypervisor on a local machine to manage the local computer, which can have a perturbation on the computer performance and can threaten the computer security. Because of the advantages of the out-of-band management mode, most servers adopt the out-of-band management mode, the availability and the serviceability of the servers can be improved through efficient out-of-band management, and the labor cost and the time cost of server deployment and management are greatly reduced.
Redfish is an out-of-band management standard which has wide application and good universality and is suitable for a server, and the standard is used for providing services through Json (JavaScript Object Notation, javaScript object profile) files to interact data and unified Restful (Representational State Transfer). One of the important functions of the Redfish is a BIOS (Basic Input Output System basic input output system) setting management function, including display of BIOS settings, modification and configuration reservation, upgrading of the BIOS, batch modification of the BIOS and import of BIOS settings through scripts, and high efficiency. There is a naming function of the BIOS option in the BIOS setting management. The related art typically creates an option name for out-of-band management for each selection manually.
However, manually creating the option name for each option is not only time consuming and labor intensive, inefficient, but the option name may change from version to version. In the out-of-band management of the server, the out-of-band option management is completed through two information of an option name and an option value, the change of the option name can cause failure of executing out-of-band option modification by using a script of an original option name, and the script needs to be frequently modified to influence the efficiency of the out-of-band management.
In view of this, how to improve the out-of-band management efficiency of the server is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application provides a method and a device for out-of-band management of a server, electronic equipment and a readable storage medium, and the out-of-band management efficiency of the server is effectively improved.
In order to solve the technical problems, the embodiment of the invention provides the following technical scheme:
an aspect of the present invention provides a method for managing out-of-band of a server, including:
generating an option name standard for out-of-band management in advance based on the option name for in-band management; the option name standard meets the conditions of identifying options, being universal in industry and written by using standard codes;
modifying each option name in the option name definition file according to the option name standard;
and automatically generating out-of-band option names for out-of-band management by scanning the definition option name file so as to carry out-of-band option management based on the out-of-band option names.
Optionally, the process of automatically generating the out-of-band option name managed by scanning the definition option name file includes:
scanning the definition option name file to obtain the initial option names of all options;
judging whether the current option is a preset type option for each option;
if the current option is the preset type option, automatically generating an out-of-band option name of the current option according to equipment identification information and an initial option name of the current option;
and if the current option is not the preset type option, taking the initial option name of the current option as the out-of-band option name of the current option.
Optionally, the process of automatically generating the out-of-band option name managed by scanning the definition option name file includes:
scanning the definition option name file to obtain the initial option names of all options;
judging whether the current option is a preset type option for each option;
if the current option is the preset type option, generating the out-of-band option name according to the silk-screen information of the current option;
and if the current option is not the preset type option, generating an initial option name of the current option as an out-of-band option name of the current option.
Optionally, the process of automatically generating the out-of-band option name managed by scanning the definition option name file includes:
pre-creating an out-of-band option name automatic generation function module;
and calling a make file of the out-of-band option name automatic generation function module, calling a script in the make file to scan the definition option name file to obtain initial option names of all options, and automatically generating out-of-band option names managed out-of-band according to the initial option names of all options.
Optionally, the automatically generating the out-of-band option name of the out-of-band management according to the option name of each option includes:
judging whether the out-of-band option name automatic generation function module carries a manual appointed identification of the current option for each option;
if the out-of-band option name automatic generation function module carries a manual appointed identification of a current option, taking a user-defined option name input by a user as the out-of-band option name;
and if the out-of-band option name automatic generation function module does not carry the manual appointed identification of the current option, taking the initial option name as the out-of-band option name.
Optionally, the process of modifying each option name in the defined option name file according to the option name standard includes:
judging whether the UNI file and the BIOS setting page description file have option names which do not meet the option name standard;
if the UNI file and the BIOS setting page description file have target option names which do not meet the option name standard, modifying each target option name according to the option name standard.
Another aspect of the embodiment of the present invention provides an out-of-band management apparatus of a server, including:
the option name standard making module is used for generating an option name standard for out-of-band management in advance based on the option name for in-band management; the option name standard meets the conditions of identifying options, being universal in industry and written by using standard codes;
the in-band name unifying module is used for modifying each option name in the defined option name file according to the option name standard;
and the out-of-band name generation module is used for automatically generating out-of-band option names for out-of-band management by scanning the definition option name file so as to carry out-of-band option management based on the out-of-band option names.
Optionally, the out-of-band name generation module is further configured to: scanning the definition option name file to obtain the initial option names of all options; judging whether the current option is a preset type option for each option; if the current option is the preset type option, automatically generating an out-of-band option name of the current option according to equipment identification information and an initial option name of the current option; and if the current option is not the preset type option, taking the initial option name of the current option as the out-of-band option name of the current option.
The embodiment of the invention also provides electronic equipment, which comprises a processor, wherein the processor is used for realizing the steps of the out-of-band management method of the server according to any one of the previous claims when executing the computer program stored in the memory.
Finally, an embodiment of the present invention provides a readable storage medium, where a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for out-of-band management of a server according to any of the preceding claims.
The technical scheme provided by the application has the advantages that the option name standard is established based on the principle of good readability and good universality by taking the in-band option name as the standard, and the in-band option names of all options are revised according to the option name standard. The method can automatically generate the option names with good readability and consistent in-band and out-of-band option names based on the modified in-band option names, can keep the option names with cross-generation compatibility, and overcomes various problems caused by the option names in out-of-band BIOS (basic input/output system) option management, so that the out-of-band management efficiency of the server can be effectively improved, the time cost and the labor cost of the server management are reduced, and the serviceability and the usability of the server are improved.
In addition, the embodiment of the invention also provides a corresponding implementation device, electronic equipment and a readable storage medium for the out-of-band management method of the server, so that the method has more practicability, and the device, the electronic equipment and the readable storage medium have corresponding advantages.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions of the related art, the drawings that are required to be used in the embodiments or the description of the related art will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to those of ordinary skill in the art.
Fig. 1 is a flow chart of a method for out-of-band management of a server according to an embodiment of the present invention;
FIG. 2 is a block diagram of a specific implementation of an out-of-band management apparatus of a server according to an embodiment of the present invention;
fig. 3 is a block diagram of an embodiment of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to better understand the aspects of the present invention, the present invention will be described in further detail with reference to the accompanying drawings and detailed description. It will be apparent that the described embodiments are only some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of this application and in the above-described figures, are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may include other steps or elements not expressly listed.
Having described the technical solutions of embodiments of the present invention, various non-limiting implementations of the present application are described in detail below.
Referring first to fig. 1, fig. 1 is a flow chart of a method for out-of-band management of a server according to an embodiment of the present invention, where the embodiment of the present invention may include the following:
s101: an option name standard for out-of-band management is generated in advance based on the option name for in-band management.
In order to keep cross-version, cross-platform and cross-generation compatibility of the option names, an option name standard needs to be established, and each option is named according to the option name standard. The option name criteria in this step need to meet conditions that can identify options, are common to industry, and are written using standard codes. The identifiable option is used for realizing good readability of the option name, is commonly used in the industry for realizing good universality of the option name, and is based on the option name managed in-band, so as to keep the option names out of band consistent. Good readability means that which option is identified after the option name is seen, and when a certain option needs to be modified, the corresponding option name can be easily found. The good universality means that if the industry has a common name, the common name is needed, the good universality can keep the vitality of the option names, so that the cross-generation compatibility is kept, and if the universality is not available, the standard is needed to be frequently modified. In-band and out-of-band consistent means that the option names displayed by the in-band BIOS setup page are the same as the out-of-band option names, rather than having a different option name each. Maintaining cross-version, cross-platform, cross-generation compatibility means that the option name is kept unchanged, so that the option name is prevented from being changed continuously, and clients need to modify out-of-band management scripts along with the change, thereby increasing unnecessary workload. That is, the option name standard takes the in-band option name as the blue book, and the principle is that: the method has the advantages of good readability and universality, can use standard codes such as Ascii codes and the like, avoid using special characters, keep in-band and out-of-band consistency, keep cross-version, cross-platform and cross-generation compatibility.
S102: and modifying each option name in the defined option name file according to the option name standard.
The definition option name file of the present embodiment refers to a file containing all option names, including but not limited to UNI files and Vfr/Hfr/Sd files, which provide a series of tokens (Token) to represent texts, which may have different implementations (e.g., may use different languages, different encoding formats), but may all be represented using uniform tokens in code calls. Vfr (a high-level Visual Forms Representation) is a visual table representation language used in UEFI (Unified Extensible Firmware Interface ) to describe BIOS setup pages, hfr and Sd files are variants of Vfr files. That is, the embodiment can firstly determine whether the UNI file and the BIOS setting page description file have option names which do not meet the option name standard; if the UNI file and the BIOS setting page description file have target option names which do not meet the option name standard, modifying each target option name according to the option name standard. If the UNI file and the BIOS setting page description file do not have the target option names which do not meet the option name standard, ending.
Because the option name standard is made by taking the in-band option name as the blue book, the workload of checking and modifying is not great, mainly the version upgrading is ensured to be that the modified part accords with the version naming standard, the difficulty and the complexity of the whole technical scheme are not increased, and the implementation is easier.
S103: out-of-band option names for out-of-band management are automatically generated by scanning the definition option name file to perform out-of-band option management based on the out-of-band option names.
In this step, since the option names of all the options in the definition option name file have been labeled in the previous step, the standardized option names of the options can be extracted by scanning the definition option name file, the option names are generated as the option names managed out-of-band, and the option names managed in-band are acquired from the definition option name file, while ensuring the consistency of the option names in-band and out-of-band. The server is managed out of band based on the standardized option names, so that the option names of the options which need to be modified are difficult to find due to poor readability of the option names, and what options are difficult to see by the out-of-band BIOS setting interface. And the problem that the script using the original option name fails to execute out-of-band option modification is not caused by the change of the option name. The method and the device have the advantages that the trouble to the client caused by inconsistent option names displayed by the out-of-band management option names and the BIOS setting interface is avoided, and the difficulty in manufacturing the out-of-band management table of the product specification is not increased naturally.
In the technical scheme provided by the embodiment of the invention, the option name standard is established based on the principle of good readability and good universality by taking the in-band option name as the standard, and the in-band option name of each option is revised according to the option name standard. The method can automatically generate the option names with good readability and consistent in-band and out-of-band option names based on the modified in-band option names, can keep the option names with cross-generation compatibility, and overcomes various problems caused by the option names in out-of-band BIOS (basic input/output system) option management, so that the out-of-band management efficiency of the server can be effectively improved, the time cost and the labor cost of the server management are reduced, and the serviceability and the usability of the server are improved.
It should be noted that, in the present application, the steps may be executed simultaneously or in a certain preset order as long as the steps conform to the logic order, and fig. 1 is only a schematic manner and does not represent only such an execution order.
In the above embodiment, how to perform step S102 is not limited, and an alternative implementation of out-of-band option names for out-of-band management in this embodiment may include the following steps:
pre-creating an out-of-band option name automatic generation function module;
and calling a make file of the out-of-band option name automatic generation function module, calling a script scanning definition option name file in the make file, such as scanning Vfr/Hfr/Sd and UNI files, obtaining initial option names of all options, and automatically generating out-of-band option names of out-of-band management according to the initial option names of all options.
Because the option names in the UNI file are adapted for in-band display, using the option name strings defined in the UNI file as the option names configured out-of-band may maintain the option name in-band and out-of-band consistency.
It can be understood that the source files in an engineering are not counted, and they are placed in several directories according to types, functions and modules respectively, and the make file defines a series of rules to specify which files need to be compiled first, which files need to be compiled later, which files need to be compiled again, even if more complex functional operations are performed, because the make file can also execute commands of an operating system just like a Shell script. In the embodiment, the make file can be used for adding the script into the compiling process, the out-of-band option names of the options are automatically generated, the generated option names are good in readability, consistent in-band and out-of-band, and cross-generation compatibility is kept.
It will be appreciated that for some special options, for example, the use of an automatic generation scheme for some options may generate duplicate option names, which may be detrimental to out-of-band option management, to address this special case, a manual designation of option names may be used for some important and common options, ensuring that the option names do not duplicate. Based on the above embodiment, the present application further provides a technical solution compatible with manual specification, which may include the following:
and calling a previously created make file of the out-of-band option name automatic generation function module, and calling a script in the make file to scan the Vfr/Hfr/Sd and the UNI file to obtain the initial option name of each option.
Judging whether the out-of-band option name automatic generation function module carries a manual appointed identification of the current option for each option; if the out-of-band option name automatic generation function module carries a manual appointed identification of the current option, the user-defined option name input by the user is used as the out-of-band option name; if the out-of-band option name automatic generation function module does not carry the manual appointed identification of the current option, the initial option name is used as the out-of-band option name.
In this embodiment, the out-of-band option name automatic generation function module may add a fixedstructures.uni, and set a corresponding identification value and an option identifier through the fixedstructures.uni to tell the system whether to manually specify an option name for a certain option. However, the out-of-band option names are manually specified directly in the UNI where the options are located, which does not affect the implementation of the present application.
In addition, for some special options, the in-band option names are different when presented to the user, but extracting the in-band option names according to the scheme to regenerate the out-of-band option names can cause the out-of-band option names to be repeated. For example, there are options related to Pcie (peripheral component interconnect express, high speed serial computer expansion bus standard) root ports, each Cpu (central processing unit) has multiple stacks (groups of IO devices in Cpu, each group is called a Stack), and each Stack has multiple root ports under it. For the multipath server, the number of the pcie root ports is large, so that a plurality of options with the same option name exist. Such as the PCI-E Port option, for enabling and disabling the pc ie root ports, each with an option named PCI-E Port. In-band BIOS setup page, since these options with the same option name will appear on different Cpu, stack and Root Port configuration pages, no misunderstanding will be caused. The out-of-band option name, if the out-of-band option name is the same as the in-band option name, may cause the out-of-band option name to be repeated, thereby rendering some options unmodified. To address this particular problem, the present application provides two embodiments, which may include the following:
as an alternative implementation, the option name file can be scanned and defined first to obtain the initial option names of the options; judging whether the current option is a preset type option for each option; if the current option is a preset type option, automatically generating an out-of-band option name of the current option according to the equipment identification information and an initial option name of the current option; if the current option is not the preset type option, the initial option name of the current option is used as the out-of-band option name of the current option.
As an alternative implementation parallel to the above embodiment, the option name file may be scanned and defined first to obtain the initial option name of each option; judging whether the current option is a preset type option for each option; if the current option is a preset type option, generating an out-of-band option name according to the screen printing information of the current option; if the current option is not the preset type option, generating an initial option name of the current option as an out-of-band option name of the current option.
In the above embodiment, the preset type option may be, for example, a ppie root port. For the first implementation mode, the out-of-band option name is generated according to the embodiment, cpu#Stack#Port# can be added before the option name, different options are distinguished through equipment identification information, the automatic generation workload of the scheme is small, the readability is good, and the option is the option of which root Port. However, the inconsistent out-of-band option names and in-band option names in this scheme, that is, the inconsistent option names for out-of-band management and the option names displayed on the BIOS setup interface, may cause trouble in use. In the server out-of-band management, the out-of-band option management is completed through the information of the option name and the option value, the option name change can cause failure of executing out-of-band option modification by using the script of the original option name, and the script needs to be frequently modified. The option names for out-of-band management are inconsistent with the option names displayed by the BIOS setting interface, the same option has different names which can cause parts for the use of clients, an out-of-band management table is attached to the product specification for corresponding the out-of-band management option and the in-band management option, the BIOS of the server has thousands of options, and the difference between the names of the out-of-band management option and the in-band management option can increase the difficulty of table making and is easy to make mistakes. These problems all affect the efficiency of out-of-band management. The second technical scheme adopts the silk-screen information of the project to manually designate the out-of-band option names, the project needs to be adapted according to the project design, and the in-band and out-of-band consistency can be kept, but the manual designation brings inconvenience to users. The embodiment provides various generation modes of out-of-band option names of special options and advantages and disadvantages of each generation mode, and a person skilled in the art can flexibly select the out-of-band option names according to actual conditions, which all do not affect the implementation of the application.
In addition, it should be noted that, the technical scheme provided by the application is also suitable for other problems of out-of-band management, and can optimize and evaluate the out-of-band management, so that the effect of the out-of-band management is consistent with the area of in-band management, the characteristics of more convenience and safety of the out-of-band management are maintained, the efficiency of the out-of-band management is improved, the time cost and the labor cost of the out-of-band management of the server are reduced, and the serviceability and the usability of the server are improved. In addition to option names for out-of-band management, option linkage problems in out-of-band option management can also be handled using this method and concept. The effect of out-of-band modification is consistent with that of in-band modification, so that the out-of-band management capability is improved.
The embodiment of the invention also provides a corresponding device for the out-of-band management method of the server, so that the method has more practicability. Wherein the device may be described separately from the functional module and the hardware. The following describes an out-of-band management apparatus of a server according to an embodiment of the present invention, and the out-of-band management apparatus of the server described below and the out-of-band management method of the server described above may be referred to correspondingly.
Based on the angles of the functional modules, referring to fig. 2, fig. 2 is a block diagram of an out-of-band management device of a server according to an embodiment of the present invention, where the device may include:
an option name standard formulation module 201, configured to generate an option name standard for out-of-band management in advance based on an option name for in-band management; the option name criteria satisfy conditions that identify options, are common to industry, and are written using standard code.
The in-band name unifying module 202 is configured to modify each option name in the defined option name file according to the option name standard.
The out-of-band name generation module 203 is configured to automatically generate an out-of-band option name for out-of-band management by scanning the definition option name file, so as to perform out-of-band option management based on the out-of-band option name.
Optionally, in some implementations of this embodiment, the out-of-band name generating module 203 may be configured to: scanning a definition option name file to obtain initial option names of all options; judging whether the current option is a preset type option for each option; if the current option is a preset type option, automatically generating an out-of-band option name of the current option according to the equipment identification information and an initial option name of the current option; if the current option is not the preset type option, the initial option name of the current option is used as the out-of-band option name of the current option.
As an optional implementation manner of this embodiment, the above-mentioned out-of-band name generating module 203 may be further configured to: scanning a definition option name file to obtain initial option names of all options; judging whether the current option is a preset type option for each option; if the current option is a preset type option, generating an out-of-band option name according to the screen printing information of the current option; if the current option is not the preset type option, generating an initial option name of the current option as an out-of-band option name of the current option.
As another optional implementation manner of this embodiment, the above-mentioned out-of-band name generating module 203 may be further used, for example: pre-creating an out-of-band option name automatic generation function module; and calling a make file of the out-of-band option name automatic generation function module, calling a script scanning definition option name file in the make file to obtain initial option names of all options, and automatically generating out-of-band option names of out-of-band management according to the initial option names of all options.
As another optional implementation manner of this embodiment, the above-mentioned out-of-band name generating module 203 may be further used, for example: judging whether the out-of-band option name automatic generation function module carries a manual appointed identification of the current option for each option; if the out-of-band option name automatic generation function module carries a manual appointed identification of the current option, the user-defined option name input by the user is used as the out-of-band option name; if the out-of-band option name automatic generation function module does not carry the manual appointed identification of the current option, the initial option name is used as the out-of-band option name.
Alternatively, in some implementations of the present embodiment, the in-band name unification module 202 may be configured to: judging whether the UNI file and the BIOS setting page description file have option names which do not meet the option name standard; if the UNI file and the BIOS setting page description file have target option names which do not meet the option name standard, modifying each target option name according to the option name standard.
The functions of each functional module of the out-of-band management device of the server according to the embodiment of the present invention may be specifically implemented according to the method in the embodiment of the method, and the specific implementation process may refer to the related description of the embodiment of the method, which is not repeated herein.
Therefore, the embodiment of the invention can effectively improve the out-of-band management efficiency of the server.
The above-mentioned out-of-band management device of the server is described from the perspective of a functional module, and further, the application also provides an electronic device, which is described from the perspective of hardware. Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application in an implementation manner. As shown in fig. 3, the electronic device comprises a memory 30 for storing a computer program; a processor 31 for implementing the steps of the out-of-band management method of the server as mentioned in any of the above embodiments when executing a computer program.
Processor 31 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and processor 31 may also be a controller, microcontroller, microprocessor, or other data processing chip, among others. The processor 31 may be implemented in at least one hardware form of DSP (Digital Signal Processing ), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array ). The processor 31 may also comprise a main processor, which is a processor for processing data in an awake state, also called CPU (Central Processing Unit ); a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 31 may be integrated with a GPU (Graphics Processing Unit, image processor) for taking care of rendering and drawing of content that the display screen is required to display. In some embodiments, the processor 31 may also include an AI (Artificial Intelligence ) processor for processing computing operations related to machine learning.
Memory 30 may include one or more computer-readable storage media, which may be non-transitory. Memory 30 may also include high-speed random access memory as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. The memory 30 may in some embodiments be an internal storage unit of the electronic device, such as a hard disk of a server. The memory 30 may in other embodiments also be an external storage device of the electronic device, such as a plug-in hard disk provided on a server, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash Card (Flash Card) or the like. Further, the memory 30 may also include both internal storage units and external storage devices of the electronic device. The memory 30 may be used to store not only application software installed in an electronic device, but also various types of data, such as: code of a program that executes the vulnerability processing method, or the like, may also be used to temporarily store data that has been output or is to be output. In this embodiment, the memory 30 is at least used for storing a computer program 301, where the computer program, when loaded and executed by the processor 31, is capable of implementing the relevant steps of the out-of-band management method of a server disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 30 may further include an operating system 302, data 303, and the like, where the storage manner may be transient storage or permanent storage. The operating system 302 may include Windows, unix, linux, among other things. The data 303 may include, but is not limited to, data corresponding to the out-of-band management result of the server, and the like.
In some embodiments, the electronic device may further include a display 32, an input/output interface 33, a communication interface 34, alternatively referred to as a network interface, a power supply 35, and a communication bus 36. Among other things, the display 32, input output interface 33 such as a Keyboard (Keyboard) belong to a user interface, which may optionally also include standard wired interfaces, wireless interfaces, etc. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like. The display may also be referred to as a display screen or display unit, as appropriate, for displaying information processed in the electronic device and for displaying a visual user interface. The communication interface 34 may optionally include a wired interface and/or a wireless interface, such as a WI-FI interface, a bluetooth interface, etc., typically used to establish a communication connection between the electronic device and other electronic devices. The communication bus 36 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 3, but not only one bus or one type of bus.
Those skilled in the art will appreciate that the configuration shown in fig. 3 is not limiting of the electronic device and may include more or fewer components than shown, for example, may also include sensors 37 to perform various functions.
The functions of each functional module of the electronic device according to the embodiment of the present invention may be specifically implemented according to the method in the embodiment of the method, and the specific implementation process may refer to the related description of the embodiment of the method, which is not repeated herein.
Therefore, the embodiment of the invention can effectively improve the out-of-band management efficiency of the server.
It will be appreciated that the out-of-band management method of the server in the above embodiments may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a stand alone product. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution contributing to the prior art, or in a software product stored in a storage medium, performing all or part of the steps of the methods of the various embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrically erasable programmable ROM, registers, a hard disk, a multimedia card, a card-type Memory (e.g., SD or DX Memory, etc.), a magnetic Memory, a removable disk, a CD-ROM, a magnetic disk, or an optical disk, etc., that can store program code.
Based on this, an embodiment of the present invention further provides a readable storage medium storing a computer program, where the computer program when executed by a processor performs the steps of the method for out-of-band management of a server according to any of the embodiments above.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different point from other embodiments, so that the same or similar parts between the embodiments are referred to each other. For the hardware including the device and the electronic equipment disclosed in the embodiments, the description is relatively simple because the hardware includes the device and the electronic equipment corresponding to the method disclosed in the embodiments, and relevant places refer to the description of the method.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The out-of-band management method, the device, the electronic equipment and the readable storage medium of the server provided by the application are described in detail. The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the method of the present invention and its core ideas. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present invention, and such improvements and modifications fall within the scope of the claims of the present application.

Claims (9)

1. A method for out-of-band management of a server, comprising:
generating an option name standard for out-of-band management in advance based on the option name for in-band management; the option name standard meets the conditions of identifying options, being universal in industry and written by using standard codes;
modifying each option name in the option name definition file according to the option name standard;
automatically generating out-of-band option names for out-of-band management by scanning the definition option name file so as to perform out-of-band option management based on the out-of-band option names;
the process of automatically generating the out-of-band option names managed by scanning the definition option name file comprises the following steps:
pre-creating an out-of-band option name automatic generation function module;
and calling a make file of the out-of-band option name automatic generation function module, calling a script in the make file to scan the definition option name file to obtain initial option names of all options, and automatically generating out-of-band option names managed out-of-band according to the initial option names of all options.
2. The out-of-band management method of a server according to claim 1, wherein the process of automatically generating the out-of-band option name for out-of-band management by scanning the definition option name file comprises:
scanning the definition option name file to obtain the initial option names of all options;
judging whether the current option is a preset type option for each option;
if the current option is the preset type option, automatically generating an out-of-band option name of the current option according to equipment identification information and an initial option name of the current option;
and if the current option is not the preset type option, taking the initial option name of the current option as the out-of-band option name of the current option.
3. The out-of-band management method of a server according to claim 1, wherein the process of automatically generating the out-of-band option name for out-of-band management by scanning the definition option name file comprises:
scanning the definition option name file to obtain the initial option names of all options;
judging whether the current option is a preset type option for each option;
if the current option is the preset type option, generating the out-of-band option name according to the silk-screen information of the current option;
and if the current option is not the preset type option, generating an initial option name of the current option as an out-of-band option name of the current option.
4. The method for out-of-band management of a server according to claim 1, wherein the automatically generating the out-of-band option name for out-of-band management according to the option name of each option comprises:
judging whether the out-of-band option name automatic generation function module carries a manual appointed identification of the current option for each option;
if the out-of-band option name automatic generation function module carries a manual appointed identification of a current option, taking a user-defined option name input by a user as the out-of-band option name;
and if the out-of-band option name automatic generation function module does not carry the manual appointed identification of the current option, taking the initial option name as the out-of-band option name.
5. The out-of-band management method of a server according to claim 1, wherein the process of modifying each option name in a defined option name file according to the option name standard comprises:
judging whether the UNI file and the BIOS setting page description file have option names which do not meet the option name standard;
if the UNI file and the BIOS setting page description file have target option names which do not meet the option name standard, modifying each target option name according to the option name standard.
6. An out-of-band management apparatus for a server, comprising:
the option name standard making module is used for generating an option name standard for out-of-band management in advance based on the option name for in-band management; the option name standard meets the conditions of identifying options, being universal in industry and written by using standard codes;
the in-band name unifying module is used for modifying each option name in the defined option name file according to the option name standard;
the out-of-band name generation module is used for automatically generating out-of-band option names for out-of-band management by scanning the definition option name file so as to carry out-of-band option management based on the out-of-band option names;
wherein the out-of-band name generation module is further configured to: pre-creating an out-of-band option name automatic generation function module; and calling a make file of the out-of-band option name automatic generation function module, calling a script in the make file to scan the definition option name file to obtain initial option names of all options, and automatically generating out-of-band option names managed out-of-band according to the initial option names of all options.
7. The server out-of-band management apparatus of claim 6, wherein the out-of-band name generation module is further configured to: scanning the definition option name file to obtain the initial option names of all options; judging whether the current option is a preset type option for each option; if the current option is the preset type option, automatically generating an out-of-band option name of the current option according to equipment identification information and an initial option name of the current option; and if the current option is not the preset type option, taking the initial option name of the current option as the out-of-band option name of the current option.
8. An electronic device comprising a processor and a memory, the processor being configured to implement the steps of the out-of-band management method of the server of any of claims 1 to 5 when executing a computer program stored in the memory.
9. A readable storage medium, characterized in that the readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the out-of-band management method of a server according to any of claims 1 to 5.
CN202110930687.9A 2021-08-13 2021-08-13 Out-of-band management method and device of server, electronic equipment and readable storage medium Active CN113703852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110930687.9A CN113703852B (en) 2021-08-13 2021-08-13 Out-of-band management method and device of server, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110930687.9A CN113703852B (en) 2021-08-13 2021-08-13 Out-of-band management method and device of server, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113703852A CN113703852A (en) 2021-11-26
CN113703852B true CN113703852B (en) 2023-08-08

Family

ID=78652646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110930687.9A Active CN113703852B (en) 2021-08-13 2021-08-13 Out-of-band management method and device of server, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113703852B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9122501B1 (en) * 2014-09-08 2015-09-01 Quanta Computer Inc. System and method for managing multiple bios default configurations
CN109445865A (en) * 2018-11-09 2019-03-08 郑州云海信息技术有限公司 A kind of BIOS option remote batch setting method, device, terminal and storage medium
CN109815721A (en) * 2019-01-30 2019-05-28 郑州云海信息技术有限公司 A kind of method, apparatus, terminal and storage medium for modifying BIOS Setup option password by BMC
CN110399169A (en) * 2019-07-19 2019-11-01 苏州浪潮智能科技有限公司 Amending method, device, equipment and the readable storage medium storing program for executing of BIOS option

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9122501B1 (en) * 2014-09-08 2015-09-01 Quanta Computer Inc. System and method for managing multiple bios default configurations
CN109445865A (en) * 2018-11-09 2019-03-08 郑州云海信息技术有限公司 A kind of BIOS option remote batch setting method, device, terminal and storage medium
CN109815721A (en) * 2019-01-30 2019-05-28 郑州云海信息技术有限公司 A kind of method, apparatus, terminal and storage medium for modifying BIOS Setup option password by BMC
CN110399169A (en) * 2019-07-19 2019-11-01 苏州浪潮智能科技有限公司 Amending method, device, equipment and the readable storage medium storing program for executing of BIOS option

Also Published As

Publication number Publication date
CN113703852A (en) 2021-11-26

Similar Documents

Publication Publication Date Title
CN111078315B (en) Microservice arranging and executing method and system, architecture, equipment and storage medium
US9977655B2 (en) System and method for automatic extraction of software design from requirements
CN113703781B (en) Storage system interface generation method and device, electronic equipment and readable storage medium
CN109614325B (en) Method and device for determining control attribute, electronic equipment and storage medium
CN114691188A (en) Compatibility evaluation method, device, equipment and storage medium
CN109614094B (en) Drawing method of GPU glCallList view model based on UML
CN114398282A (en) Test script generation method, device, equipment and storage medium
CN112214256B (en) Machine learning operation control method and device, electronic equipment and storage medium
CN112306473B (en) Program interface parameter transmission method, system and related equipment
CN113590593A (en) Method and device for generating data table information, storage medium and electronic device
CN111124730B (en) Error positioning method and device of server and computer storage medium
CN113703852B (en) Out-of-band management method and device of server, electronic equipment and readable storage medium
CN116009847A (en) Code generation method, device, electronic equipment and storage medium
US11182272B2 (en) Application state monitoring
CN115543534A (en) Training task management method and device, electronic equipment and storage medium
CN110119335A (en) Server NTP process monitoring method, electronic device and storage medium
CN115981788A (en) Distributed storage deployment method, device, equipment and storage medium
CN109582411A (en) Graphical user interface creating method, device, computer equipment and storage medium
CN114356379A (en) Backup-based service upgrading method, device, equipment and storage medium
CN115269021A (en) Operation processing method, device and medium for network card
CN113918194A (en) Page component display method and device, electronic equipment and storage medium
CN113312900A (en) Data verification method and device
CN112527443A (en) Prompt box display method and device, electronic equipment and computer readable storage medium
CN109783134B (en) Front-end page configuration method and device and electronic equipment
CN113010129A (en) Virtual studio full-flow multi-terminal blackboard writing extraction method and device

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