CN107844328A - A kind of server B IOS collocation methods and system - Google Patents

A kind of server B IOS collocation methods and system Download PDF

Info

Publication number
CN107844328A
CN107844328A CN201711098201.XA CN201711098201A CN107844328A CN 107844328 A CN107844328 A CN 107844328A CN 201711098201 A CN201711098201 A CN 201711098201A CN 107844328 A CN107844328 A CN 107844328A
Authority
CN
China
Prior art keywords
node
bios
information
server
ios
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
CN201711098201.XA
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201711098201.XA priority Critical patent/CN107844328A/en
Publication of CN107844328A publication Critical patent/CN107844328A/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/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The invention discloses a kind of server B IOS collocation methods, comprise the following steps:Each nodename is set, is each node distribution address;Export the BIOS information of each node and modify as needed;Amended BIOS information is imported into BIOS.This method can facilitate, be efficient, accurately synchronizing operation to all nodes on server cabinet.And operating efficiency not only can be improved to test job with any number of BIOS configuration informations of single treatment, it is convenient that the maintenance work and client's configuration use to the server later stage also provide.

Description

A kind of server B IOS collocation methods and system
Technical field
The present invention relates to server cabinet configuring technical field, especially a kind of server B IOS collocation methods and system.
Background technology
Because the open ended number of nodes of rack is huge, and there are many racks again in a computer room.In daily service Device is safeguarded and configuration use needs to handle BIOS configuration informations, if node is operated one by one, certainly will be expended Substantial amounts of time and manpower.Therefore, synchronizing processing to the BIOS configuration informations of all nodes of SMART RACK whole machine cabinets is It is very necessary.Smart Rack servers in factory testing or are delivered to customer in use, needing to confirm configuration information at present It is whether correct.If wishing to handle BIOS configuration information, individually each node can only be operated, it is necessary to more Operator or personnel after sale take a substantial amount of time to operate;Need to first pass through by the way of .ipmitool+ order parameters BMC, then purpose is realized by BIOS.2. the SRAM areas that the part instruction for needing BMC to handle is stored in BMC chip in advance Domain, BIOS total Options values are stored in BIOS NVRAM.Detailed process:Ipmitool+ orders are performed under system, BMC is received After to instruction the information in SRAM can be handled and flag is set, be then issued to BIOS, BIOS is as requested in NVRAM BIOS option value modify, the method, which has, to be limited in that, is wanted to realize and is changed some BIOS option, it is necessary to BMC Support, if BMC does not support it is obsolete.If there is a kind of method, realize that a few minutes can synchronously be located to whole cabinet Reason, but also it is errorless to detect configuration item, it will greatly improve the operating efficiency that detection is delivered, will Win Clients recognize Can.
The content of the invention
It is an object of the invention to provide a kind of server B IOS collocation methods and system, improves test job work effect Rate.
To achieve the above object, the present invention uses following technical proposals:
A kind of server B IOS collocation methods, comprise the following steps:
Each nodename is set, is each node distribution address;
Export the BIOS information of each node and modify as needed;
Amended BIOS information is imported into BIOS.
Further, it is described that each nodename is set, it is each node distribution address, including:
By whole nodes in rack according to order from top to bottom, each nodename is set and distributes IP address;
Configuration file under each node system is changed, ensures a key without each node of password login.
Further, the BIOS information of each node of the export and modify as needed, including:
It is host node that one is selected in each node, and remaining node is used as from node;
Node system obtains the instruction response message of each node by host node;
The BIOS option information of each node is exported, reconfigures the option information.
Further, the node system obtains the instruction response message of each node by host node, including:
Host node reception processing information command;
Host node sends to other nodes according to processing information command synchronization and instructed;
Each node responds to information command;
Host node receives the response message of other nodes.
Further, it is described that amended BIOS information is imported into BIOS after step, in addition to:
The BIOS information of each node is exported again, and checking reconfigures whether BIOS option information succeeds.
A kind of server B IOS configures system, including:Node configuration module, it is each node distribution IP address, and from each section A host node is chosen in point, remaining is assigned as from node;
Node instruction sending module, node system send configuration-direct to host node, host node by command synchronization to from Node;
Nodal information respond module, the instruction response message of each node is sent to node system;
Configuration information export module, export the BIOS option information of each node.
The effect provided in the content of the invention is only the effect of embodiment, rather than whole effects that invention is all, above-mentioned A technical scheme in technical scheme has the following advantages that or beneficial effect:
The invention provides a kind of server B IOS collocation methods, using H2OUVE+ order parameters, it is not necessary to by BMC, Directly interacted with BIOS.H2OUVE can export to all BIOS options in BIOS NVRAM in txt documents, then Modify.H2OUVE+ order parameters are performed under system, all BIOS options in BIOS NVRAM are exported into txt texts In shelves, BIOS has what option can directly exports what option, the support without BMC.Can conveniently, efficiently, accurately Operation is synchronized to all nodes on server cabinet.And can be with any number of BIOS configuration informations of single treatment, no Operating efficiency only is improved to test job, the maintenance work and client to the server later stage configure use and also provided just It is prompt.
Brief description of the drawings
Fig. 1 is the inventive method schematic flow sheet.
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by embodiment, and its accompanying drawing is combined, to this hair It is bright to be described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention Structure.In order to simplify disclosure of the invention, hereinafter the part and setting of specific examples are described.In addition, the present invention can be with Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated Relation between various embodiments are discussed and/or set.It should be noted that part illustrated in the accompanying drawings is not necessarily to scale Draw.Present invention omits the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the present invention.
As shown in figure 1, a kind of server B IOS collocation methods and system, comprise the following steps:
S1, each nodename is set, is each node distribution address;
S2, the BIOS information for exporting each node are simultaneously modified as needed;
S3, amended BIOS information imported into BIOS.
In step S1, by whole nodes in rack according to order from top to bottom, the Hostname of each node is set And distribute IP address.Such as:R01/192.168.1.1;R02/192.168.1.2;……;R48/192.168.1.48.
Meanwhile change under each node system /etc/hosts files:By 192.168.1.1 R01; 192.168.1.2R02;……;192.168.1.48 R48 information is added in hosts files.The modification purpose can ensure It may log into later using ssh+ host name, it is ensured that each node has been changed;
Then, ssh has been configured without cryptographic acess script using a key to log in automatically.By performing order:
for i in{01..48}
do ssh m$i ipmitool chassis identify
The BMC mark lamps of all nodes are lighted successively, whether unobstructed detect each meshed network.After the completion of detection next just It is the inventive method introduced herein.
The whole process of this method realization " exemplified by Quiet Boot " (static state starts), is introduced by BIOS option.
(1) Part I script, while log in 48 nodes:
(2) Part II script, all option informations of BIOS are exported in txt documents, this step must combine Loginnode programs use, the parts of $ 2 as loginnode programs.
./h2ouve-lx64-gs ram.txt # export option informations all BIOS
Document into ram.txt documents herein
Name ram.txt is oneself definition.
It is a script by above-mentioned thin consolidation, is used behind loginnode parts, you can is completed to rack whole node BIOS total Options information export to ram.txt documents.
Because order ./h2ouve-lx64-gs ram.txt are export BIOS all information.Now with " Quiet Exemplified by Boot (static state starts) ", to introduce the processing for how realizing this BIOS configuration information.
1), by opening ram.txt documents, you can view the information of current BIOS total Options.
2) " Quiet Boot ", it can be seen that " (0) [*] Disabled (Default) " and " (1) [], are searched in a document Enabled ", should " * " before " Disabled ", show that the setting value before the option is Disabled, and Disabled It is afterwards Default ", showing the default setting value of the option is
" Disabled's ".
(0x6E, 1,0x61D25395F30E92B3) Quiet Boot
Ca1lback ID=0x2
(1)[]Enabled
(0)[*]Disabled(Default)
3), if it is desired to changing the setting value of the option, only need " * " before " Disabled " to delete, and " * " is added to Before " Enabled ", ram.txt documents are then preserved.
(0x6E, 1,0x61D25395F30E92B3) Quiet Boot
Cailback ID=0x2
(1)[*]Enabled
(0)[0Disabled(Default)
4), the processing to other BIOS informations be also in this way, and can change simultaneously multiple, preserved after the completion of modification Ram.txt documents.
(3) Part III script, " Quiet Boot " (static state starts) setting, this step are also necessary for modification BIOS option Used with reference to loginnode programs, the parts of $ 2 as loginnode programs.
./h2ouve-lx64-ss the BIOS information in ram.txt documents is imported into BIOS by ram.txt #
The meaning of this part is:Although being handled in ram.txt documents BIOS information, it is only limitted at this Handled in document, for node, node does not receive the order for wanting processing information also.
Therefore, ordered by this and come into force after treated BIOS configuration informations are imported.
(4) Part IV script, BIOS option " Quiet Boot " (static state starts) amended state, Ye Shitong are read Export BIOS information is crossed into txt documents, specific inspection method has been introduced in (2) part.This step must also combine Loginnode programs use, the parts of $ 2 as loginnode programs../h2ouve-lx64-gsram1.txt# by BIOS institutes Some option informations are exported in ram1.txt documents, and the purpose of naming ram1.txt is to avoid and nvram.txt documents before Document before repeating to override, the erroneous point set before can not being checked when some BIOS information goes wrong is at which.
A kind of server B IOS configures system, including:Node configuration module, it is each node distribution IP address, and from each section A host node is chosen in point, remaining is assigned as from node;
Node instruction sending module, node system send configuration-direct to host node, host node by command synchronization to from Node;
Nodal information respond module, the instruction response message of each node is sent to node system;
Configuration information export module, export the BIOS option information of each node.
Although above-mentioned the embodiment of the present invention is described with reference to accompanying drawing, model not is protected to the present invention The limitation enclosed, one of ordinary skill in the art should be understood that on the basis of technical scheme those skilled in the art are not Need to pay various modifications or deformation that creative work can make still within protection scope of the present invention.

Claims (6)

1. a kind of server B IOS collocation methods, it is characterized in that, comprise the following steps:
Each nodename is set, is each node distribution address;
Export the BIOS information of each node and modify as needed;
Amended BIOS information is imported into BIOS.
2. a kind of server B IOS collocation methods as claimed in claim 1, it is characterized in that, it is described that each nodename is set, be Each node distribution address, including:
By whole nodes in rack according to order from top to bottom, each nodename is set and distributes IP address;
Configuration file under each node system is changed, ensures a key without each node of password login.
3. a kind of server B IOS collocation methods as claimed in claim 1, it is characterized in that, the BIOS letters of each node of export Cease and modify as needed, including:
It is host node that one is selected in each node, and remaining node is used as from node;
Node system obtains the instruction response message of each node by host node;
The BIOS option information of each node is exported, reconfigures the option information.
4. a kind of server B IOS collocation methods as claimed in claim 2, it is characterized in that, the node system passes through host node The instruction response message of each node is obtained, including:
Host node reception processing information command;
Host node sends to other nodes according to processing information command synchronization and instructed;
Each node responds to information command;
Host node receives the response message of other nodes.
5. a kind of server B IOS collocation methods as claimed in claim 1, it is characterized in that, it is described by amended BIOS information It imported into BIOS after step, in addition to:
The BIOS information of each node is exported again, and checking reconfigures whether BIOS option information succeeds.
6. a kind of server B IOS configures system, using the method described in the claims, it is characterized in that, including:Node is matched somebody with somebody Module is put, is each node distribution IP address, and a host node is chosen from each node, remaining is assigned as from node;
Node instruction sending module, node system send configuration-direct to host node, and host node is by command synchronization to from node;
Nodal information respond module, the instruction response message of each node is sent to node system;
Configuration information export module, export the BIOS option information of each node.
CN201711098201.XA 2017-11-09 2017-11-09 A kind of server B IOS collocation methods and system Pending CN107844328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711098201.XA CN107844328A (en) 2017-11-09 2017-11-09 A kind of server B IOS collocation methods and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711098201.XA CN107844328A (en) 2017-11-09 2017-11-09 A kind of server B IOS collocation methods and system

Publications (1)

Publication Number Publication Date
CN107844328A true CN107844328A (en) 2018-03-27

Family

ID=61681904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711098201.XA Pending CN107844328A (en) 2017-11-09 2017-11-09 A kind of server B IOS collocation methods and system

Country Status (1)

Country Link
CN (1) CN107844328A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213701A (en) * 2018-08-28 2019-01-15 郑州云海信息技术有限公司 Control method, system, equipment and the storage medium of the peripheral hardware of shared I O board
CN109582377A (en) * 2018-12-04 2019-04-05 郑州云海信息技术有限公司 BIOS option amending method, device, equipment and storage medium
CN113064643A (en) * 2021-03-16 2021-07-02 山东英信计算机技术有限公司 Method, system and medium for instantly-effective modification of BIOS set value

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957568A (en) * 2012-11-21 2013-03-06 浪潮电子信息产业股份有限公司 Monitoring management method of multi-node server
CN105338028A (en) * 2014-07-30 2016-02-17 浙江宇视科技有限公司 Method and device for selecting master and slave nodes in distributed server cluster
CN105893097A (en) * 2016-04-25 2016-08-24 浪潮电子信息产业股份有限公司 Method and device for processing option information of BIOS (basic input output system)

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957568A (en) * 2012-11-21 2013-03-06 浪潮电子信息产业股份有限公司 Monitoring management method of multi-node server
CN105338028A (en) * 2014-07-30 2016-02-17 浙江宇视科技有限公司 Method and device for selecting master and slave nodes in distributed server cluster
CN105893097A (en) * 2016-04-25 2016-08-24 浪潮电子信息产业股份有限公司 Method and device for processing option information of BIOS (basic input output system)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109213701A (en) * 2018-08-28 2019-01-15 郑州云海信息技术有限公司 Control method, system, equipment and the storage medium of the peripheral hardware of shared I O board
CN109582377A (en) * 2018-12-04 2019-04-05 郑州云海信息技术有限公司 BIOS option amending method, device, equipment and storage medium
CN113064643A (en) * 2021-03-16 2021-07-02 山东英信计算机技术有限公司 Method, system and medium for instantly-effective modification of BIOS set value

Similar Documents

Publication Publication Date Title
CN106681738A (en) Method of modifying BIOS current values of Rack server based on Map String
CN107844328A (en) A kind of server B IOS collocation methods and system
CN106227780B (en) A kind of the automation screenshot evidence collecting method and system of magnanimity webpage
CN103227786B (en) A kind of website login information filling method and device
US20150113610A1 (en) System and method for centralizedly controlling server user rights
CN104301316A (en) Single sign-on system and implementation method thereof
WO2016101635A1 (en) Method, apparatus and device for synchronizing login status, and computer storage medium
CN106878265A (en) A kind of data processing method and device
CN105376077B (en) Processing method, the sending method of log, apparatus and system of network behavior information
CN104753960B (en) A kind of system configuration management method based on single-sign-on
AU5561200A (en) Method and system for extracting application protocol characteristics
CN101562545B (en) WOL test method
US8910281B1 (en) Identifying malware sources using phishing kit templates
CN106034113A (en) Data processing method and data processing device
US11038789B2 (en) System and method for automated generation of web decoding templates
CN104915252B (en) A kind of process port management means and method
CN114124490A (en) Method and device for releasing new media content, storage medium and electronic equipment
CN109299116B (en) Data synchronization method, device, equipment and readable storage medium
CN103326924B (en) The control method of emersion message task, server and instant communication client
CN104967698A (en) Network data crawling method and apparatus
CN107147497B (en) Information processing method and device
CN103685536A (en) Monopolized type virtual desktop management method
CN104009999B (en) Prevent method, device and network access server that ARP is cheated
CN107819834A (en) The method and system of the state of quick confirmed service device PCIe device and position under Linux
CN107800802A (en) A kind of Rack whole machine cabinets write-in and the method for reading UUID

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180327