CN105893097A - Method and device for processing option information of BIOS (basic input output system) - Google Patents

Method and device for processing option information of BIOS (basic input output system) Download PDF

Info

Publication number
CN105893097A
CN105893097A CN201610265254.5A CN201610265254A CN105893097A CN 105893097 A CN105893097 A CN 105893097A CN 201610265254 A CN201610265254 A CN 201610265254A CN 105893097 A CN105893097 A CN 105893097A
Authority
CN
China
Prior art keywords
node
pending node
pending
bios
option information
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.)
Pending
Application number
CN201610265254.5A
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.)
Inspur Electronic Information Industry Co Ltd
Original Assignee
Inspur Electronic Information Industry 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 Inspur Electronic Information Industry Co Ltd filed Critical Inspur Electronic Information Industry Co Ltd
Priority to CN201610265254.5A priority Critical patent/CN105893097A/en
Publication of CN105893097A publication Critical patent/CN105893097A/en
Pending legal-status Critical Current

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/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)
  • Stored Programmes (AREA)

Abstract

The invention provides a method and device for processing the option information of BIOS (basic input output system). The method comprises the following steps: setting an identifier for each to-be-processed node in a cabinet server; sending an acquisition command for acquiring the option information of BIOS to each to-be-processed node according to the identifier of each to-be-processed node; receiving the option information of BIOS of each to-be-processed node returned by each to-be-processed node according to the acquisition command; modifying the option information of BIOS of each to-be-processed node; sending the modified option information of BIOS of each to-be-processed node to corresponding to-be-processed node according to the identifier of each to-be-processed node; and importing the modified option information of BIOS into the BIOS of corresponding to-be-processed node. The invention provides a method and device for processing the option information of BIOS, and the efficiency of processing the option information of BIOS can be improved.

Description

A kind of method and device of the option information processing BIOS
Technical field
The present invention relates to field of computer technology, process BIOS (Basic Input particularly to one Output System, basic input output system) the method and device of option information.
Background technology
The development of IT technical field, equipment cabinet server gets more and more, permissible in equipment cabinet server Including multiple nodes, such as: calculate node, memory node.Owing to the open ended number of nodes of rack is huge Greatly, and there is again a lot of rack in a machine room.Need at daily server maintenance and configuration use The option information of the BIOS of each node is processed.
In prior art, for each node in equipment cabinet server, it is connected with present node by keyboard, By keyboard to the corresponding order of present node input, the option information of the BIOS of present node is carried out Process.
Visible by foregoing description, prior art needs the option information of BIOS to each node one by one Process, when node is more, need to consume substantial amounts of manpower and time, inefficient.
Summary of the invention
Embodiments provide the method and device of a kind of option information processing BIOS, it is possible to carry The efficiency of the option information of high disposal BIOS.
On the one hand, a kind of method embodiments providing option information processing BIOS, including:
S1: mark is set for pending node each in equipment cabinet server;
S2: according to each pending node mark to each pending node send obtain BIOS choosing The acquisition order of item information;
S3: receive each pending node according to the described each pending node obtaining order return The option information of BIOS;
S4: the option information of the BIOS of each pending node is modified;
S5: according to the mark of each pending node, by the amended BIOS of each pending node Option information be sent to correspondence pending node, the option information of amended BIOS is imported to In the BIOS of corresponding pending node.
Further, described mark includes: Hostname;
Described S1, including:
For pending node configuration of IP address each in described equipment cabinet server;
For each pending node configuration Hostname in described equipment cabinet server;
Add Hostname and the IP address of each pending node to each pending node In/etc/hosts file;
Described S2, including:
According to the Hostname of each pending node, determine the IP address of each pending node, according to The IP address of each pending node sends described acquisition to each pending node and orders;
The described mark according to each pending node in described S5, by repairing of each pending node The option information of the BIOS after changing is sent to the pending node of correspondence, including:
According to the Hostname of each pending node, determine the IP address of each pending node, according to The option information of the amended BIOS of each pending node is sent out by the IP address of each pending node Give the pending node of correspondence.
Further, after described S1, before described S2, also include:
According to safety shell protocol SSH and the Hostname of each pending node, log in each pending Node.
Further, described according to safety shell protocol SSH with the host name of each pending node Claim, after logging in each pending node, before described S2, also include:
Network detection information is sent, it is judged that the substrate management of each pending node to each pending node Whether the mark lamp of controller BMC is lighted, if it is, perform step S2, otherwise, terminates current Flow process.
Further, also include:
Determine the host node in described equipment cabinet server;
Described S2, including:
Send described acquisition to described host node to order, by described host node by described to each pending Node sends described acquisition and orders;
Described S3, including:
Utilize the option information of the BIOS of the described host node each pending node of reception;
The described mark according to each pending node in described S5, by repairing of each pending node The option information of the BIOS after changing is sent to the pending node of correspondence, including:
Utilize described host node, according to the mark of each pending node, by repairing of each pending node The option information of the BIOS after changing is sent to the pending node of correspondence.
On the other hand, embodiments provide the device of a kind of option information processing BIOS, bag Include:
Unit is set, for arranging mark for pending node each in equipment cabinet server;
Order unit, sends acquisition for the mark according to each pending node to each pending node The acquisition order of the option information of BIOS;
Receive unit, locate according to described each the waiting obtaining order return for receiving each pending node The option information of the BIOS of reason node;
Amendment unit, for modifying to the option information of the BIOS of each pending node;
Processing unit, for the mark according to each pending node, by the amendment of each pending node After the option information of BIOS be sent to the pending node of correspondence, by the option of amended BIOS In the BIOS of the pending node that information imports to correspondence.
Further, described mark includes: Hostname;
Described unit is set, for for pending node configuration of IP address each in described equipment cabinet server, Hostname is configured, by the master of each pending node for each pending node in described equipment cabinet server Machine title and IP address add to each pending node /etc/hosts file in;
Described order unit, for the Hostname according to each pending node, determines each pending The IP address of node, sends described according to the IP address of each pending node to each pending node Obtain order;
Described processing unit is performing the described mark according to each pending node, by each pending joint When the option information of the amended BIOS of point is sent to the pending node of correspondence, for according to each The Hostname of pending node, determines the IP address of each pending node, according to each pending joint The option information of the amended BIOS of each pending node is sent to treating of correspondence by the IP address of point Process node.
Further, also include:
Log in unit, be used for according to safety shell protocol SSH and the Hostname of each pending node, Log in each pending node.
Further, also include:
Detector unit, for after logging in the unit each pending node of login, to each pending node Send network detection information, it is judged that the mark lamp of the baseboard management controller BMC of each pending node Whether light, if it is, trigger described order unit, otherwise, do not trigger described order unit.
Further, also include:
Determine unit, for determining the host node in described equipment cabinet server;
Described order unit, orders, by described host node for sending described acquisition to described host node Described acquisition order is sent to each pending node by described;
Described reception unit, for utilizing the choosing of the BIOS of the described host node each pending node of reception Item information;
Described processing unit is performing the described mark according to each pending node, by each pending joint When the option information of amended BIOS of point is sent to the pending node of correspondence, it is used for utilizing described Host node, according to the mark of each pending node, by the amended BIOS of each pending node Option information be sent to correspondence pending node.
In embodiments of the present invention, obtain order by sending to each pending node, can obtain simultaneously Take the option information of the BIOS of multiple pending node, it is not necessary to obtain for each node, will be every The option information of the amended BIOS of individual pending node is sent to the pending node of correspondence, and leads Enter in the BIOS of corresponding pending node, it is achieved the process to the option information of BIOS, it is not necessary to pin Each node is individually processed, improves the efficiency of the option information processing BIOS.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that below, Accompanying drawing in description is some embodiments of the present invention, for those of ordinary skill in the art, not On the premise of paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the flow process of the method for a kind of option information processing BIOS that one embodiment of the invention provides Figure;
Fig. 2 is the stream of the method for the another kind of option information processing BIOS that one embodiment of the invention provides Cheng Tu;
Fig. 3 is the signal of the device of a kind of option information processing BIOS that one embodiment of the invention provides Figure;
Fig. 4 is showing of the device of the another kind of option information processing BIOS that one embodiment of the invention provides It is intended to.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments, based on Embodiment in the present invention, those of ordinary skill in the art are institute on the premise of not making creative work The every other embodiment obtained, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, a kind of method embodiments providing option information processing BIOS, The method may comprise steps of:
S1: mark is set for pending node each in equipment cabinet server;
S2: according to each pending node mark to each pending node send obtain BIOS choosing The acquisition order of item information;
S3: receive each pending node according to the described each pending node obtaining order return The option information of BIOS;
S4: the option information of the BIOS of each pending node is modified;
S5: according to the mark of each pending node, by the amended BIOS of each pending node Option information be sent to correspondence pending node, the option information of amended BIOS is imported to In the BIOS of corresponding pending node.
In embodiments of the present invention, obtain order by sending to each pending node, can obtain simultaneously Take the option information of the BIOS of multiple pending node, it is not necessary to obtain for each node, will be every The option information of the amended BIOS of individual pending node is sent to the pending node of correspondence, and leads Enter in the BIOS of corresponding pending node, it is achieved the process to the option information of BIOS, it is not necessary to pin Each node is individually processed, improves the efficiency of the option information processing BIOS.
In embodiments of the present invention, described mark includes: Hostname;
Described S1, including:
For pending node configuration of IP address each in described equipment cabinet server;
For each pending node configuration Hostname in described equipment cabinet server;
Add Hostname and the IP address of each pending node to each pending node In/etc/hosts file;
Described S2, including:
According to the Hostname of each pending node, determine the IP address of each pending node, according to The IP address of each pending node sends described acquisition to each pending node and orders;
The described mark according to each pending node in described S5, by repairing of each pending node The option information of the BIOS after changing is sent to the pending node of correspondence, including:
According to the Hostname of each pending node, determine the IP address of each pending node, according to The option information of the amended BIOS of each pending node is sent out by the IP address of each pending node Give the pending node of correspondence.
In this embodiment, by Hostname and IP address are added to pending node /etc/hosts File realizes the setting to mark.For example, for pending node A, Hostname is m01, IP address is 192.168.1.1;This Hostname and IP address are added to the hosts of pending node A In file.When arranging Hostname and IP address, can according to each node in equipment cabinet server from Order top to bottm is arranged, or order from top to bottom is arranged, and is so easy to user and searches each node Physical location in equipment cabinet server.For example, order from top to bottom, Hostname successively: m01、m02、m03、m04.Order from top to bottom, IP address successively: 192.168.1.1, 192.168.1.2、192.168.1.3、192.168.1.4。
By arranging Hostname for each pending node, can facilitate to be logged in by Hostname and treat Process node.After described S1, before described S2, also include:
According to SSH (Secure Shell, safety shell protocol) and the Hostname of each pending node, Log in each pending node.
In this embodiment, based on SSH, user can sign in correspondence by the Hostname of node In node, it is not necessary to input IP address, more convenient.Furthermore it is also possible to by the profit pre-set Configure ssh with a key without cryptographic acess script and automatically log in pending node.
As a example by 48 pending nodes of equipment cabinet server, 48 can be logged in by following procedure simultaneously Individual pending node, this program is loginab program:
Want to obtain the option information of the BIOS of each pending node, need to ensure each pending joint Point communication is normal.Described according to safety shell protocol SSH with the Hostname of each pending node, After logging in each pending node, before described S2, also include:
Network detection information is sent, it is judged that the BMC of each pending node to each pending node Whether the mark lamp of (Baseboard Management Controller, baseboard management controller) is lighted, If it is, perform step S2, otherwise, terminate current process.
In this embodiment, if the mark lamp of BMC is lighted illustrates that the communication of this pending node is normal, Otherwise, abnormal, need to repair.
Pending node carries out network detection to be realized by code below:
for i in{01..48}
do ssh m$i ipmitool chassis identify
Interact with each pending node for convenience, can be by a node of equipment cabinet server Interact with pending node.The method also comprises determining that the host node in described equipment cabinet server;
Described S2, including:
Send described acquisition to described host node to order, by described host node by described to each pending Node sends described acquisition and orders;
Described S3, including:
Utilize the option information of the BIOS of the described host node each pending node of reception;
The described mark according to each pending node in described S5, by repairing of each pending node The option information of the BIOS after changing is sent to the pending node of correspondence, including:
Utilize described host node, according to the mark of each pending node, by repairing of each pending node The option information of the BIOS after changing is sent to the pending node of correspondence.
In this embodiment, the host node being determined by out interacts with pending node, adds letter The safety of breath transmission,
In embodiments of the present invention, the option information of the BIOS that pending node returns can be saved in txt File, is transmitted with the form of txt file.
After pending node receives acquisition order, according to this acquisition order, the option of BIOS is believed Breath exports in txt document, and this step can use in conjunction with loginab program, as loginab program $ 2 part.Such as code below:
./SCELNX64/o/s all of for BIOS option information is exported to by nvram.txt# In nvram.txt document, document name nvram.txt herein is oneself definition, the most also with permissible Write as BIOS.txt etc..
It is a script by above-mentioned thin consolidation, uses after loginab part, can complete rack The option information of the BIOS of the pending node of server exports to nvram.txt document.
With " Hyper Threading Technology (CPU hyperthread) " in the option information of BIOS As a example by option, describing a kind of implementation of step S4 in detail, wherein, nvram.txt document is for preserving The txt document of the option information of BIOS:
Open nvram.txt document, the information of current BIOS total Options can be viewed.
In nvram.txt document, search for " Hyper Threading Technology ", find under this option " BIOS Default=[01] Disabled " in face, shows that the default setting value of this option is " Disabled " 's.
Find " Options=* [01] Disabled " and " [00] Enabled " under this option, be somebody's turn to do " * " Before " [01] Disabled ", show that the setting value before this option is Disabled.
If needing to revise the setting value of this option, then " * " before " [01] Disabled " is deleted, And " * " is added to before " [00] Enabled ", preserve nvram.txt document.
Process to the option information of other BIOS is also such, and can revise multiple simultaneously, repaiies Nvram.txt document is preserved after having changed.
In step s 5, the option information of amended BIOS is imported to the pending node of correspondence In BIOS, can be accomplished by:
Sending to each pending node and import order, this is waited to locate by the SCE controlling each pending node The option information of the amended BIOS of reason node imports in BIOS.
Specifically, the option information of BIOS is written in the BMC of pending node, by BIOS's Option information reads BIOS from BMC.
As a example by Hyper Threading Technology (CPU hyperthread) option in BIOS, amendment The option of Hyper Threading Technology (CPU hyperthread) option of the BIOS of pending node The setting of information, this step can use in conjunction with loginab program, as $ 2 part of loginab program, Specific code is as follows:
./SCELNX64/i/s nvram.txt# is by the option of the BIOS in nvram.txt document Information imports in BIOS.
Here it is as a example by Hyper Threading Technology, but actual nvram.txt document wraps Option information containing all BIOS.It is as the criterion with the information in nvram.txt document when importing, The option information of the BIOS i.e. not processed, reality does not changes, the option letter of the BIOS processed Breath, with being as the criterion after processing.
In order to detect the BIOS that the option information of amended BIOS imports to the pending node of correspondence After in, whether the option information of the BIOS of amendment comes into force, and can also include after step s 5:
Mark according to each pending node sends the option letter obtaining BIOS to each pending node The acquisition order of breath;
Receive each pending node according to the described BIOS obtaining each pending node that order returns Option information.
It is to say, reacquire the option information of the BIOS of each pending node, then, check The option information of BIOS is the most successfully modified, it is also possible to by entering with the option information of BIOS before treatment Row relatively judges whether successfully modified.
As a example by Hyper Threading Technology (CPU hyperthread) option of BIOS, obtain The option information of BIOS is in txt document.This step can use in conjunction with loginab program, as $ 2 part of loginab program, specific code is as follows:
./SCELNX64/o/s the option information of BIOS is exported to by nvram1.txt# In nvram1.txt document, name nvram1.txt purpose is to avoid repeating with nvram.txt document before, Avoid the nvram.txt document before overriding.
Can determine whether successfully modified by comparing nvram.txt document and nvram1.txt document.
It should be understood that in embodiments of the present invention, send order to pending node every time, all step on Record pending node.
As in figure 2 it is shown, a kind of method embodiments providing option information processing BIOS, In embodiments of the present invention, interacted with pending node by the host node in equipment cabinet server A, The method may comprise steps of:
Step 201: determine the host node in equipment cabinet server A.
This host node and pending node are positioned in same equipment cabinet server, and this host node can be rack Any node in server A.
Step 202: for pending node configuration of IP address each in equipment cabinet server A, for rack service Each pending node configuration Hostname in device A.
For example, Hostname is successively: m01, m02, m03, m04.Order from top to bottom, IP address is successively: 192.168.1.1,192.168.1.2,192.168.1.3,192.168.1.4.
Set up the corresponding relation of Hostname and IP address.
Step 203: add Hostname and the IP address of each pending node to each pending joint Point /etc/hosts file in.
By this step, Hostname, IP address are mapped with pending node so that this setting Come into force.
Step 204: host node, according to SSH and the Hostname of each pending node, logs in each treating Process node.
After logging in each pending node, obtain the authority operating pending node, can be to pending joint Point sends order, is controlled pending node.When host node accesses pending node every time, the most right Pending node logs in.
Step 205: host node, according to the Hostname of each pending node, determines each pending joint The IP address of point, sends acquisition according to the IP address of each pending node to each pending node The acquisition order of the option information of BIOS.
Step 206: after each pending node receives acquisition order, return this node to host node The option information of BIOS.
Specifically, the option information of the BIOS of this node is saved in txt document by each pending node, This txt document is sent to host node.
This step can be completed by the SCE on each pending node.
Step 207: host node receives each pending node according to obtaining each pending of order return The option information of the BIOS of node.
Step 208: the option information of the BIOS of each pending node is modified.
This amendment process, can be that host node is revised, also automatically according to the script preset or order Can be that user operates on the primary node, be modified by user.
Specifically, can be to the txt of the option information preserving BIOS that each pending node is sent Document is modified.
Step 209: host node, according to the Hostname of each pending node, determines each pending joint The IP address of point, according to amended by each pending node of the IP address of each pending node The option information of BIOS is sent to the pending node of correspondence.
The txt document of the option information of the amended BIOS of preserving is sent to the pending joint of correspondence Point.
Step 210: the option information of amended BIOS is imported to correspondence by each pending node In the BIOS of pending node.
Specifically, the option information of amended BIOS is imported in the BMC of pending node, will The option information of the amended BIOS in BMC is read in BIOS.
The option information of the BIOS in the txt document of the option information of the amended BIOS of preserving is led Enter in the BIOS of this node.
This step can be completed by the SCE on each pending node.
The embodiment of the present invention can be applied on Smart Rack equipment cabinet server product, with current main-stream Linux Redhat 6.4OS is carrier, linux bash language the script write is plus calling some linux Service and SCE instrument realize the option information to all node processing BIOS.
When the content needing to revise of the pending node in equipment cabinet server is all the same, such as: be all By " the Options in " Hyper Threading Technology " (CPU hyperthread)
=* [01] Disabled " it is revised as " Options=* [00] Enabled ", implemented by the present invention Example can carry out batch processing to all pending nodes.Specifically, arbitrary pending node is obtained The option information of BIOS, modifies to the option information of BIOS, by the option of amended BIOS Information is sent to all of pending node, and all of pending node is by the option of amended BIOS Information imports in the BIOS of this node.Can be greatly improved BIOS's by the embodiment of the present invention Option information carries out the efficiency processed.
As shown in Figure 3, Figure 4, a kind of option information processing BIOS is embodiments provided Device.Device embodiment can be realized by software, it is also possible to by hardware or the side of software and hardware combining Formula realizes.For hardware view, as it is shown on figure 3, a kind of process BIOS provided for the embodiment of the present invention A kind of hardware structure diagram of device place equipment of option information, except the processor shown in Fig. 3, interior Deposit, outside network interface and nonvolatile memory, in embodiment, the equipment at device place is generally also Other hardware can be included, such as the forwarding chip etc. of responsible process message.As a example by implemented in software, as Shown in Fig. 4, as the device on a logical meaning, it is that the CPU by its place equipment is by non-volatile Property memorizer in corresponding computer program instructions read internal memory runs and formed.The present embodiment provides The device of a kind of option information processing BIOS, including:
Unit 401 is set, for arranging mark for pending node each in equipment cabinet server;
Order unit 402, for sending to each pending node according to the mark of each pending node Obtain the acquisition order of the option information of BIOS;
Receive unit 403, obtain each of order return for receiving each pending node according to described The option information of the BIOS of pending node;
Amendment unit 404, for modifying to the option information of the BIOS of each pending node;
Processing unit 405, for the mark according to each pending node, by each pending node The option information of amended BIOS is sent to the pending node of correspondence, by amended BIOS's In the BIOS of the pending node that option information imports to correspondence.
In an embodiment of the present invention, described mark includes: Hostname;
Described unit 401 is set, for for each pending node configuration of IP ground in described equipment cabinet server Location, configures Hostname for each pending node in described equipment cabinet server, by each pending node Hostname and IP address add to each pending node /etc/hosts file in;
Described order unit 402, for the Hostname according to each pending node, determines each treating Process the IP address of node, send to each pending node according to the IP address of each pending node Described acquisition is ordered;
Described processing unit 405 is performing the described mark according to each pending node, each waiting is located When the option information of the amended BIOS of reason node is sent to the pending node of correspondence, for basis The Hostname of each pending node, determines the IP address of each pending node, locates according to each waiting The option information of the amended BIOS of each pending node is sent to correspondence by the IP address of reason node Pending node.
In an embodiment of the present invention, also include:
Log in unit, be used for according to safety shell protocol SSH and the Hostname of each pending node, Log in each pending node.
In an embodiment of the present invention, also include:
Detector unit, for after logging in the unit each pending node of login, to each pending node Send network detection information, it is judged that the mark lamp of the baseboard management controller BMC of each pending node Whether light, if it is, trigger described order unit, otherwise, do not trigger described order unit.
In an embodiment of the present invention, also include:
Determine unit, for determining the host node in described equipment cabinet server;
Described order unit, orders, by described host node for sending described acquisition to described host node Described acquisition order is sent to each pending node by described;
Described reception unit 403, for utilizing described host node to receive the BIOS of each pending node Option information;
Described processing unit 405 is performing the described mark according to each pending node, each waiting is located When the option information of the amended BIOS of reason node is sent to the pending node of correspondence, it is used for utilizing Described host node, according to the mark of each pending node, amended by each pending node The option information of BIOS is sent to the pending node of correspondence.
The contents such as the information between each unit in said apparatus is mutual, execution process, due to the present invention Embodiment of the method is based on same design, and particular content can be found in the narration in the inventive method embodiment, this Place repeats no more.
The embodiment of the present invention at least has the advantages that
1, in embodiments of the present invention, order is obtained by sending to each pending node, can be simultaneously Obtain the option information of the BIOS of multiple pending node, it is not necessary to obtain for each node, will The option information of the amended BIOS of each pending node is sent to the pending node of correspondence, and Import in the BIOS of corresponding pending node, it is achieved the process to the option information of BIOS, it is not necessary to Individually process for each node, improve the efficiency of the option information processing BIOS.
2, in embodiments of the present invention, when the content needing amendment of the pending node in equipment cabinet server Time all the same, obtain the option information of the BIOS of arbitrary pending node, the option information to BIOS Modify, the option information of amended BIOS is sent to all of pending node, all of The option information of amended BIOS is imported in the BIOS of this node by pending node.By this Inventive embodiments carries out batch processing to all pending nodes, is greatly improved the option information to BIOS Carry out the efficiency processed.
It should be noted that in this article, the relational terms of such as first and second etc be used merely to by One entity or operation separate with another entity or operating space, and not necessarily require or imply this Relation or the order of any this reality is there is between a little entities or operation.And, term " includes ", " comprise " or its any other variant is intended to comprising of nonexcludability, so that include that one is The process of row key element, method, article or equipment not only include those key elements, but also include the brightest Other key elements really listed, or also include intrinsic for this process, method, article or equipment Key element.In the case of there is no more restriction, statement " include one " and limit Key element, it is not excluded that there is also another in including the process of described key element, method, article or equipment Outer same factor.
One of ordinary skill in the art will appreciate that: realize all or part of step of said method embodiment Can be completed by the hardware that programmed instruction is relevant, aforesaid program can be stored in embodied on computer readable Storage medium in, this program upon execution, performs to include the step of said method embodiment;And it is aforementioned Storage medium include: various Jie that can store program code such as ROM, RAM, magnetic disc or CD In matter.
Last it should be understood that the foregoing is only presently preferred embodiments of the present invention, it is merely to illustrate this The technical scheme of invention, is not intended to limit protection scope of the present invention.All spirit in the present invention and former Any modification, equivalent substitution and improvement etc. done within then, are all contained in protection scope of the present invention.

Claims (10)

1. the method for the option information processing BIOS, it is characterised in that including:
S1: mark is set for pending node each in equipment cabinet server;
S2: according to each pending node mark to each pending node send obtain BIOS choosing The acquisition order of item information;
S3: receive each pending node according to the described each pending node obtaining order return The option information of BIOS;
S4: the option information of the BIOS of each pending node is modified;
S5: according to the mark of each pending node, by the amended BIOS of each pending node Option information be sent to correspondence pending node, the option information of amended BIOS is imported to In the BIOS of corresponding pending node.
Method the most according to claim 1, it is characterised in that
Described mark includes: Hostname;
Described S1, including:
For pending node configuration of IP address each in described equipment cabinet server;
For each pending node configuration Hostname in described equipment cabinet server;
Add Hostname and the IP address of each pending node to each pending node In/etc/hosts file;
Described S2, including:
According to the Hostname of each pending node, determine the IP address of each pending node, according to The IP address of each pending node sends described acquisition to each pending node and orders;
The described mark according to each pending node in described S5, by repairing of each pending node The option information of the BIOS after changing is sent to the pending node of correspondence, including:
According to the Hostname of each pending node, determine the IP address of each pending node, according to The option information of the amended BIOS of each pending node is sent out by the IP address of each pending node Give the pending node of correspondence.
Method the most according to claim 2, it is characterised in that after described S1, described Before S2, also include:
According to safety shell protocol SSH and the Hostname of each pending node, log in each pending Node.
Method the most according to claim 3, it is characterised in that described according to safety shell protocol SSH and the Hostname of each pending node, after logging in each pending node, at described S2 Before, also include:
Network detection information is sent, it is judged that the substrate management of each pending node to each pending node Whether the mark lamp of controller BMC is lighted, if it is, perform step S2, otherwise, terminates current Flow process.
5. according to described method arbitrary in claim 1-4, it is characterised in that also include:
Determine the host node in described equipment cabinet server;
Described S2, including:
Send described acquisition to described host node to order, by described host node by described to each pending Node sends described acquisition and orders;
Described S3, including:
Utilize the option information of the BIOS of the described host node each pending node of reception;
The described mark according to each pending node in described S5, by repairing of each pending node The option information of the BIOS after changing is sent to the pending node of correspondence, including:
Utilize described host node, according to the mark of each pending node, by repairing of each pending node The option information of the BIOS after changing is sent to the pending node of correspondence.
6. the device of the option information processing BIOS, it is characterised in that including:
Unit is set, for arranging mark for pending node each in equipment cabinet server;
Order unit, sends acquisition for the mark according to each pending node to each pending node The acquisition order of the option information of BIOS;
Receive unit, locate according to described each the waiting obtaining order return for receiving each pending node The option information of the BIOS of reason node;
Amendment unit, for modifying to the option information of the BIOS of each pending node;
Processing unit, for the mark according to each pending node, by the amendment of each pending node After the option information of BIOS be sent to the pending node of correspondence, by the option of amended BIOS In the BIOS of the pending node that information imports to correspondence.
Device the most according to claim 6, it is characterised in that
Described mark includes: Hostname;
Described unit is set, for for pending node configuration of IP address each in described equipment cabinet server, Hostname is configured, by the master of each pending node for each pending node in described equipment cabinet server Machine title and IP address add to each pending node /etc/hosts file in;
Described order unit, for the Hostname according to each pending node, determines each pending The IP address of node, sends described according to the IP address of each pending node to each pending node Obtain order;
Described processing unit is performing the described mark according to each pending node, by each pending joint When the option information of the amended BIOS of point is sent to the pending node of correspondence, for according to each The Hostname of pending node, determines the IP address of each pending node, according to each pending joint The option information of the amended BIOS of each pending node is sent to treating of correspondence by the IP address of point Process node.
Device the most according to claim 7, it is characterised in that also include:
Log in unit, be used for according to safety shell protocol SSH and the Hostname of each pending node, Log in each pending node.
Device the most according to claim 8, it is characterised in that also include:
Detector unit, for after logging in the unit each pending node of login, to each pending node Send network detection information, it is judged that the mark lamp of the baseboard management controller BMC of each pending node Whether light, if it is, trigger described order unit, otherwise, do not trigger described order unit.
10. according to described device arbitrary in claim 6-9, it is characterised in that also include:
Determine unit, for determining the host node in described equipment cabinet server;
Described order unit, orders, by described host node for sending described acquisition to described host node Described acquisition order is sent to each pending node by described;
Described reception unit, for utilizing the choosing of the BIOS of the described host node each pending node of reception Item information;
Described processing unit is performing the described mark according to each pending node, by each pending joint When the option information of amended BIOS of point is sent to the pending node of correspondence, it is used for utilizing described Host node, according to the mark of each pending node, by the amended BIOS of each pending node Option information be sent to correspondence pending node.
CN201610265254.5A 2016-04-25 2016-04-25 Method and device for processing option information of BIOS (basic input output system) Pending CN105893097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610265254.5A CN105893097A (en) 2016-04-25 2016-04-25 Method and device for processing option information of BIOS (basic input output system)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610265254.5A CN105893097A (en) 2016-04-25 2016-04-25 Method and device for processing option information of BIOS (basic input output system)

Publications (1)

Publication Number Publication Date
CN105893097A true CN105893097A (en) 2016-08-24

Family

ID=56704636

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610265254.5A Pending CN105893097A (en) 2016-04-25 2016-04-25 Method and device for processing option information of BIOS (basic input output system)

Country Status (1)

Country Link
CN (1) CN105893097A (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201438A (en) * 2016-07-05 2016-12-07 河北建筑工程学院 Based on Intel Platform Server CPU to the implantation method of personal computer and system
CN106445528A (en) * 2016-09-27 2017-02-22 郑州云海信息技术有限公司 Method and device for configuring SETUP options of BIOS quickly
CN106648732A (en) * 2016-09-27 2017-05-10 郑州云海信息技术有限公司 DOS-based extraction and modification method for BIOS
CN106681738A (en) * 2017-01-05 2017-05-17 郑州云海信息技术有限公司 Method of modifying BIOS current values of Rack server based on Map String
CN106911499A (en) * 2017-02-19 2017-06-30 郑州云海信息技术有限公司 The method and device that a kind of rapid configuration BMC systems are set
CN106919421A (en) * 2017-02-19 2017-07-04 郑州云海信息技术有限公司 A kind of server system sets two-level management collocation method and device
CN107153557A (en) * 2017-05-05 2017-09-12 郑州云海信息技术有限公司 It is a kind of based on the device and method operated under Linux system to BIOS
CN107220057A (en) * 2017-06-01 2017-09-29 郑州云海信息技术有限公司 The method that BIOS based on Linux is extracted, changes and imported
CN107291466A (en) * 2017-06-16 2017-10-24 郑州云海信息技术有限公司 A kind of BIOS based on Windows Server is extracted and amending method
CN107844328A (en) * 2017-11-09 2018-03-27 郑州云海信息技术有限公司 A kind of server B IOS collocation methods and system
CN108718255A (en) * 2018-06-11 2018-10-30 郑州云海信息技术有限公司 A kind of method and system of quick reading service device system asset information
WO2018205474A1 (en) * 2017-05-12 2018-11-15 郑州云海信息技术有限公司 Apparatus and method for setting bios option for benchmark test with one click
CN109582377A (en) * 2018-12-04 2019-04-05 郑州云海信息技术有限公司 BIOS option amending method, device, equipment and storage medium
CN114327733A (en) * 2021-12-31 2022-04-12 中科可控信息产业有限公司 Dynamic updating method, device, equipment and medium for starting interactive interface

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080060086A1 (en) * 2003-08-23 2008-03-06 Softex Incorporated Electronic Device Security and Tracking System and Method
CN102880519A (en) * 2012-08-24 2013-01-16 曙光信息产业(北京)有限公司 Basic input output system (BIOS) configuration batch modification method
CN102880479A (en) * 2011-07-15 2013-01-16 联想(北京)有限公司 Method and device for remotely modifying basic input output system (BIOS) attribute parameters
CN104461611A (en) * 2014-11-05 2015-03-25 浪潮电子信息产业股份有限公司 Method for refreshing node BIOSes of RACK cabinet in batches
CN104991782A (en) * 2015-07-23 2015-10-21 英业达科技有限公司 Method and system for modifying BIOS configuration
CN105389218A (en) * 2015-10-12 2016-03-09 浪潮电子信息产业股份有限公司 Methods of server cabinet for processing basic input output system (BIOS) information, and nodes

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080060086A1 (en) * 2003-08-23 2008-03-06 Softex Incorporated Electronic Device Security and Tracking System and Method
CN102880479A (en) * 2011-07-15 2013-01-16 联想(北京)有限公司 Method and device for remotely modifying basic input output system (BIOS) attribute parameters
CN102880519A (en) * 2012-08-24 2013-01-16 曙光信息产业(北京)有限公司 Basic input output system (BIOS) configuration batch modification method
CN104461611A (en) * 2014-11-05 2015-03-25 浪潮电子信息产业股份有限公司 Method for refreshing node BIOSes of RACK cabinet in batches
CN104991782A (en) * 2015-07-23 2015-10-21 英业达科技有限公司 Method and system for modifying BIOS configuration
CN105389218A (en) * 2015-10-12 2016-03-09 浪潮电子信息产业股份有限公司 Methods of server cabinet for processing basic input output system (BIOS) information, and nodes

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201438A (en) * 2016-07-05 2016-12-07 河北建筑工程学院 Based on Intel Platform Server CPU to the implantation method of personal computer and system
CN106445528B (en) * 2016-09-27 2020-05-26 苏州浪潮智能科技有限公司 Method and device for rapidly configuring SETUP option of BIOS
CN106445528A (en) * 2016-09-27 2017-02-22 郑州云海信息技术有限公司 Method and device for configuring SETUP options of BIOS quickly
CN106648732A (en) * 2016-09-27 2017-05-10 郑州云海信息技术有限公司 DOS-based extraction and modification method for BIOS
CN106681738A (en) * 2017-01-05 2017-05-17 郑州云海信息技术有限公司 Method of modifying BIOS current values of Rack server based on Map String
CN106911499A (en) * 2017-02-19 2017-06-30 郑州云海信息技术有限公司 The method and device that a kind of rapid configuration BMC systems are set
CN106919421A (en) * 2017-02-19 2017-07-04 郑州云海信息技术有限公司 A kind of server system sets two-level management collocation method and device
CN107153557A (en) * 2017-05-05 2017-09-12 郑州云海信息技术有限公司 It is a kind of based on the device and method operated under Linux system to BIOS
WO2018205474A1 (en) * 2017-05-12 2018-11-15 郑州云海信息技术有限公司 Apparatus and method for setting bios option for benchmark test with one click
CN107220057A (en) * 2017-06-01 2017-09-29 郑州云海信息技术有限公司 The method that BIOS based on Linux is extracted, changes and imported
CN107291466A (en) * 2017-06-16 2017-10-24 郑州云海信息技术有限公司 A kind of BIOS based on Windows Server is extracted and amending method
CN107844328A (en) * 2017-11-09 2018-03-27 郑州云海信息技术有限公司 A kind of server B IOS collocation methods and system
CN108718255A (en) * 2018-06-11 2018-10-30 郑州云海信息技术有限公司 A kind of method and system of quick reading service device system asset information
CN109582377A (en) * 2018-12-04 2019-04-05 郑州云海信息技术有限公司 BIOS option amending method, device, equipment and storage medium
CN114327733A (en) * 2021-12-31 2022-04-12 中科可控信息产业有限公司 Dynamic updating method, device, equipment and medium for starting interactive interface

Similar Documents

Publication Publication Date Title
CN105893097A (en) Method and device for processing option information of BIOS (basic input output system)
US9471285B1 (en) Identifying software components in a software codebase
US10237295B2 (en) Automated event ID field analysis on heterogeneous logs
CA2946224C (en) Method and apparatus for automating the building of threat models for the public cloud
US10313184B2 (en) Configuration command template creation assistant using cross-model analysis to identify common syntax and semantics
CN107798038B (en) Data response method and data response equipment
IL275042A (en) Self-adaptive application programming interface level security monitoring
US10460123B1 (en) System and method for automatically securing sensitive data in public cloud using a serverless architecture
CN111695156A (en) Service platform access method, device, equipment and storage medium
US8627274B2 (en) Software tool and method for generating a virtual appliance
CN111414407A (en) Data query method and device of database, computer equipment and storage medium
CN105610819B (en) The method and apparatus of the query service of server info are provided
CN104572122A (en) Software application data generating device and method
CN106789363A (en) A kind of method and device to virtual machine configuration network interface card
CN106681738A (en) Method of modifying BIOS current values of Rack server based on Map String
CN109905293A (en) A kind of terminal device recognition methods, system and storage medium
US20140229933A1 (en) Virtual machine discovery and identification
CN111859076B (en) Data crawling method, device, computer equipment and computer readable storage medium
CN108076457A (en) A kind of safety-type power grid private radio communication module of wisdom based on linux system
CN109951354A (en) A kind of terminal device recognition methods, system and storage medium
CN107844519A (en) Electronic installation, data base querying scenario generation method and storage medium
CN106600082A (en) Processing method and device of task in service system, and service system construction system
US9830177B1 (en) Computer implemented method and system, and computer program product, for determining compliance with a configuration parameter before deployment of a virtual appliance into a network appliance
CN108089910A (en) The method and apparatus for configuring virtual machine IP address
CN110874365B (en) Information query method and related equipment thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160824