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
processed
bios
option information
treated
Prior art date
Application number
CN201610265254.5A
Other languages
Chinese (zh)
Inventor
李梅
迟江波
Original Assignee
浪潮电子信息产业股份有限公司
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 浪潮电子信息产业股份有限公司 filed Critical 浪潮电子信息产业股份有限公司
Priority to CN201610265254.5A priority Critical patent/CN105893097A/en
Publication of CN105893097A publication Critical patent/CN105893097A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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

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

一种处理BI OS的选项信息的方法及装置 A method and apparatus for processing option information of BI OS

技术领域 FIELD

[0001] 本发明涉及计算机技术领域,特别涉及一种处理BIOS(Basic Input Output Sy st em,基本输入输出系统)的选项信息的方法及装置。 [0001] The present invention relates to computer technology, and particularly relates to a method and apparatus for processing a BIOS (Basic Input Output Sy st em, basic input output system) the option information.

背景技术 Background technique

[0002] 着IT技术领域的不断发展,机柜服务器越来越多,在机柜服务器中可以包括多个节点,例如:计算节点、存储节点。 [0002] the development of the IT technology field, more and more servers cabinet, the cabinet may include a plurality of server nodes, for example: computing node, the storage node. 由于机柜可容纳的节点数量巨大,而且一个机房内又有很多机柜。 Due to the large number of nodes can be accommodated the cabinet, but there are a lot of room within the enclosure. 在日常的服务器维护及配置使用方面需要对每个节点的BIOS的选项信息进行处理。 Necessary to treat the BIOS option information for each node in the daily server maintenance and configuration use.

[0003] 现有技术中,针对机柜服务器中的每个节点,通过键盘与当前节点相连,通过键盘向当前节点输入相应的命令,对当前节点的BIOS的选项信息进行处理。 [0003] In the prior art, for each node in the server rack by the current node is connected to the keyboard, enter the appropriate commands through the keyboard option information of the current node to the current node BIOS processed.

[0004] 通过上述描述可见,现有技术需要逐个对每个节点的BIOS的选项信息进行处理, 当节点较多时,需要消耗大量的人力和时间,效率较低。 [0004] The above description is visible through, one by one prior art process requires the BIOS to the option information of each node, when there are many nodes, consumes a lot of time and manpower, inefficient.

发明内容 SUMMARY

[0005] 本发明实施例提供了一种处理BIOS的选项信息的方法及装置,能够提高处理BIOS 的选项信息的效率。 [0005] Example embodiments provide a method and apparatus for processing option information BIOS of the present invention, it is possible to improve the efficiency of processing option information BIOS.

[0006] -方面,本发明实施例提供了一种处理BIOS的选项信息的方法,包括: [0006] - aspect, embodiments of the present invention provides a method of processing options BIOS information, comprising:

[0007] S1:为机柜服务器中每个待处理节点设置标识; [0007] S1: Set identifies the server rack to be processed in each node;

[0008] S2:根据每个待处理节点的标识向每个待处理节点发送获取BIOS的选项信息的获取命令; [0008] S2: BIOS transmits the acquired information to each of the options to be treated according to the identifier of each node of the node to be processed acquisition command;

[0009] S3:接收每个待处理节点根据所述获取命令返回的每个待处理节点的BIOS的选项信息; [0009] S3: BIOS receives the option information of each node to be processed according to the acquired command returns each node to be processed;

[0010] S4:对每个待处理节点的BI0S的选项信息进行修改; [0010] S4: BI0S modify option information for each node to be processed;

[0011] S5:根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点,将修改后的BIOS的选项信息导入到对应的待处理节点的BIOS 中。 [0011] S5: The identity of each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be treated, introducing the modified BIOS option information corresponding to the pending node's BIOS.

[0012]进一步地,所述标识包括:主机名称; [0012] Further, the identifier comprising: a host name;

[0013] 所述S1,包括: [0013] The S1, comprising:

[0014] 为所述机柜服务器中每个待处理节点配置IP地址; [0014] to configure the IP address of the server rack to be processed in each node;

[0015] 为所述机柜服务器中每个待处理节点配置主机名称; [0015] The host name of the server rack to be processed in each node;

[0016] 将每个待处理节点的主机名称和IP地址添加到每个待处理节点的/etc/hosts文件中; [0016] Add the name of each host to be treated and the IP address of the node to be processed to each of the nodes / etc / hosts file;

[0017] 所述S2,包括: [0017] The S2, comprising:

[0018] 根据每个待处理节点的主机名称,确定每个待处理节点的IP地址,根据每个待处理节点的IP地址向每个待处理节点发送所述获取命令; [0018] The host name of each node to be processed, to be processed to determine the IP address of each node, the IP address acquisition command for each node to be processed is transmitted to each node to be processed in accordance with;

[0019] 所述S5中的所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS 的选项信息发送给对应的待处理节点,包括: [0019] S5 in accordance with the identifier of each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be processed, comprising:

[0020] 根据每个待处理节点的主机名称,确定每个待处理节点的IP地址,根据每个待处理节点的IP地址将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点。 [0020] The host name of each node to be processed, determine the IP address of each node to be processed, will be sent to the corresponding IP address according to each processing node of the BIOS to be modified for each node option information to be processed pending node. [0021 ]进一步地,在所述S1之后,在所述S2之前,还包括: [0021] Further, after the Sl, S2 before said, further comprising:

[0022]根据安全外壳协议SSH和每个待处理节点的主机名称,登录每个待处理节点。 [0022] The host name of the SSH secure shell and be each processing node, log in to each node to be processed.

[0023]进一步地,在所述根据安全外壳协议SSH和每个待处理节点的主机名称,登录每个待处理节点之后,在所述S2之前,还包括: After [0023] Further, according to the host name of the SSH secure shell and each of the nodes to be processed, each of the log to be treated node, prior to the S2, further comprising:

[0024]向每个待处理节点发送网络检测信息,判断每个待处理节点的基板管理控制器BMC的标识灯是否点亮,如果是,则执行步骤S2,否则,结束当前流程。 [0024] to be transmitted to each processing node network detection information whether or not each be a baseboard management controller BMC processing node identification lamp is lit, if yes, performing step S2, otherwise, end the current process.

[0025] 进一步地,还包括: [0025] Furthermore, further comprising:

[0026]确定所述机柜服务器上的主节点; [0026] determining the master node on the server rack;

[0027] 所述S2,包括: [0027] The S2, comprising:

[0028] 向所述主节点发送所述获取命令,通过所述主节点将所述向每个待处理节点发送所述获取命令; [0028] the master node transmits the acquisition command, the command acquired by the master node to the transmitting node each be treated;

[0029] 所述S3,包括: [0029] The S3, comprising:

[0030]利用所述主节点接收每个待处理节点的BIOS的选项信息; [0030] using the master node receives each processing node to be the BIOS option information;

[0031]所述S5中的所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS 的选项信息发送给对应的待处理节点,包括: [0031] S5 in accordance with the identifier of each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be processed, comprising:

[0032]利用所述主节点,根据每个待处理节点的标识,将每个待处理节点的修改后的BI0S的选项信息发送给对应的待处理节点。 [0032] The use of the master node, according to the identifier of each node to be processed, and transmits the option information BI0S be modified each processing node corresponding to the node to be processed.

[0033]另一方面,本发明实施例提供了一种处理BIOS的选项信息的装置,包括: [0033] On the other hand, embodiments of the present invention provides an apparatus for processing a BIOS option information, comprising:

[0034]设置单元,用于为机柜服务器中每个待处理节点设置标识; [0034] setting unit for setting the cabinet identifying each server node to be processed;

[0035]命令单元,用于根据每个待处理节点的标识向每个待处理节点发送获取BIOS的选项fg息的获取命令; [0035] The command unit, according to the BIOS transmits the acquired identifier to each node to be processed to each node to be processed fg option information acquisition command;

[0036]接收单元,用于接收每个待处理节点根据所述获取命令返回的每个待处理节点的BIOS的选项信息; [0036] a receiving unit, for receiving each node to be processed according to the option information acquiring each of the BIOS to be returned by the command processing node;

[0037]修改单元,用于对每个待处理节点的BIOS的选项信息进行修改; [0037] The modification unit configured to modify the BIOS option information of each node to be processed;

[0038] 处理单元,用于根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS 的选项信息发送给对应的待处理节点,将修改后的BIOS的选项信息导入到对应的待处理节点的BIOS中。 [0038] The processing unit for identifying each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be treated, introducing the modified BIOS option information to the corresponding processing nodes to be the BIOS.

[0039]进一步地,所述标识包括:主机名称; [0039] Further, the identifier comprising: a host name;

[0040]所述设置单元,用于为所述机柜服务器中每个待处理节点配置IP地址,为所述机柜服务器中每个待处理节点配置主机名称,将每个待处理节点的主机名称和IP地址添加到每个待处理节点的/etc/hosts文件中; [0040] The setting unit, for said each processing node cabinet server IP address to be configured for the server rack to be processed in each node is configured host name, the host name of each node to be processed and IP address to be added to each of the processing nodes / etc / hosts file;

[0041]所述命令单元,用于根据每个待处理节点的主机名称,确定每个待处理节点的IP 地址,根据每个待处理节点的IP地址向每个待处理节点发送所述获取命令; [0041] The command unit, according to the host name of each node to be processed, determine the IP address of each node to be processed is transmitted to each node to be processed in accordance with the IP address of the node to be processed to each acquisition command ;

[0042]所述处理单元在执行所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点时,用于根据每个待处理节点的主机名称, 确定每个待处理节点的IP地址,根据每个待处理节点的IP地址将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点。 When [0042] the processing unit performing the identification in accordance with each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be processed for each to be treated according to the host name of the node, determine the IP address of each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be processed according to the IP address of each node to be processed.

[0043] 进一步地,还包括: [0043] Furthermore, further comprising:

[0044] 登录单元,用于根据安全外壳协议SSH和每个待处理节点的主机名称,登录每个待处理节点。 [0044] registration means, according to the host name and the SSH secure shell each node to be processed, to be processed for each node login.

[0045] 进一步地,还包括: [0045] Furthermore, further comprising:

[0046] 检测单元,用于在登录单元登录每个待处理节点后,向每个待处理节点发送网络检测信息,判断每个待处理节点的基板管理控制器BMC的标识灯是否点亮,如果是,则触发所述命令单元,否则,不触发所述命令单元。 [0046] detection means for each of the log to be processed in the node registration device, to be processed to each of the detection information transmitting network node, determines whether or not each be a baseboard management controller BMC processing node identification lamp is lit, if that trigger the command unit, otherwise, do not trigger the command unit.

[0047] 进一步地,还包括: [0047] Furthermore, further comprising:

[0048] 确定单元,用于确定所述机柜服务器上的主节点; [0048] The determination unit, for determining the master node on the server rack;

[0049] 所述命令单元,用于向所述主节点发送所述获取命令,通过所述主节点将所述向每个待处理节点发送所述获取命令; [0049] The command unit, configured to send to the master node of said acquisition command, said command acquired by the master node to the transmitting node each be treated;

[0050] 所述接收单元,用于利用所述主节点接收每个待处理节点的BIOS的选项信息; [0051]所述处理单元在执行所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点时,用于利用所述主节点,根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点。 [0050] the receiving unit is configured to use the BIOS the master node receives the option information of each node to be processed; [0051] performed in the processing unit according to the identifier of each node to be processed, each sending the modified BIOS to be treated node option information corresponding to the node to be processed, according to the identifier of each node to be processed, the modified BIOS to each node to be processed using the master node options, information is transmitted to the corresponding node to be processed. [0052]在本发明实施例中,通过向每个待处理节点发送获取命令,可以同时获取多个待处理节点的BIOS的选项信息,无需针对每个节点进行获取,将每个待处理节点的修改后的B10S的选项信息发送给对应的待处理节点,并导入到对应待处理节点的B10S中,实现对BIOS的选项信息的处理,无需针对每个节点进行单独的处理,提高了处理BIOS的选项信息的效率。 [0052] In an embodiment of the present invention, by transmitting acquisition command to each node to be treated, the BIOS may acquire option information, while the plurality of nodes to be processed, without acquiring, for each node, each node to be processed B10S option information to be modified to a corresponding processing node, and to be treated is introduced into the corresponding B10S nodes, implement the processing option information to the BIOS, without a separate process for each node, the improved process of BIOS options efficiency information.

附图说明 BRIEF DESCRIPTION

[0053]为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 [0053] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments figures some embodiments of the present invention, those of ordinary skill in the art is concerned, without creative efforts, can derive from these drawings other drawings.

[0054]图1是本发明一实施例提供的一种处理BIOS的选项信息的方法的流程图; [0054] FIG. 1 is a flowchart of a method for processing option information of the BIOS is provided an embodiment of the present invention;

[0055]图2是本发明一实施例提供的另一种处理BIOS的选项信息的方法的流程图; [0055] FIG 2 is a flowchart of another processing option information of the BIOS is provided an embodiment of the present invention;

[0056]图3是本发明一实施例提供的一种处理BIOS的选项信息的装置的示意图; [0056] FIG. 3 is a schematic diagram of apparatus for processing option information of BIOS according to an embodiment of the present invention;

[0057]图4是本发明一实施例提供的另一种处理BIOS的选项信息的装置的示意图。 [0057] FIG. 4 is a schematic diagram of another apparatus BIOS option information of a process according to an embodiment of the present invention.

具体实施方式 Detailed ways

[0058]为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例,基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。 [0058] In order that the invention object, technical solutions, and advantages of the embodiments more clearly, the following the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described the embodiment is an embodiment of the present invention is a part, rather than all the embodiments based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without creative efforts shall fall within the present scope of the invention. [0059]如图1所示,本发明实施例提供了一种处理BIOS的选项信息的方法,该方法可以包括以下步骤: [0059] 1, the embodiment of the present invention provides a method of processing option information of the BIOS, the method may comprise the steps of:

[0060] S1:为机柜服务器中每个待处理节点设置标识; [0060] S1: Set identifies the server rack to be processed in each node;

[0061 ] S2:根据每个待处理节点的标识向每个待处理节点发送获取BIOS的选项信息的获取命令; [0061] S2: BIOS transmits the acquired information to each of the options to be treated according to the identifier of each node of the node to be processed acquisition command;

[0062] S3:接收每个待处理节点根据所述获取命令返回的每个待处理节点的BIOS的选项信息; [0062] S3: BIOS receives the option information of each node to be processed according to the acquired command returns each node to be processed;

[0063] S4:对每个待处理节点的BI0S的选项信息进行修改; [0063] S4: BI0S modify option information for each node to be processed;

[0064] S5:根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点,将修改后的BIOS的选项信息导入到对应的待处理节点的BIOS 中。 [0064] S5: The identity of each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be treated, introducing the modified BIOS option information corresponding to the pending node's BIOS.

[0065] 在本发明实施例中,通过向每个待处理节点发送获取命令,可以同时获取多个待处理节点的BIOS的选项信息,无需针对每个节点进行获取,将每个待处理节点的修改后的B10S的选项信息发送给对应的待处理节点,并导入到对应待处理节点的B10S中,实现对BIOS的选项信息的处理,无需针对每个节点进行单独的处理,提高了处理BIOS的选项信息的效率。 [0065] In an embodiment of the present invention, by transmitting acquisition command to each node to be treated, the BIOS may acquire option information, while the plurality of nodes to be processed, without acquiring, for each node, each node to be processed B10S option information to be modified to a corresponding processing node, and to be treated is introduced into the corresponding B10S nodes, implement the processing option information to the BIOS, without a separate process for each node, the improved process of BIOS options efficiency information.

[0066] 在本发明实施例中,所述标识包括:主机名称; [0066] In an embodiment of the present invention, the identifier comprising: a host name;

[0067] 所述S1,包括: [0067] The S1, comprising:

[0068]为所述机柜服务器中每个待处理节点配置IP地址; [0068] to configure the IP address of the server rack to be processed in each node;

[0069]为所述机柜服务器中每个待处理节点配置主机名称; [0069] The host name of the server rack to be processed in each node;

[0070] 将每个待处理节点的主机名称和IP地址添加到每个待处理节点的/etc/hosts文件中; [0070] Add the name of each host to be treated and the IP address of the node to be processed to each of the nodes / etc / hosts file;

[0071] 所述S2,包括: [0071] The S2, comprising:

[0072]根据每个待处理节点的主机名称,确定每个待处理节点的IP地址,根据每个待处理节点的IP地址向每个待处理节点发送所述获取命令; [0072] The host name of each node to be processed, to be processed to determine the IP address of each node, the IP address acquisition command for each node to be processed is transmitted to each node to be processed in accordance with;

[0073]所述S5中的所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS 的选项信息发送给对应的待处理节点,包括: [0073] S5 in accordance with the identifier of each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be processed, comprising:

[0074]根据每个待处理节点的主机名称,确定每个待处理节点的IP地址,根据每个待处理节点的IP地址将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点。 [0074] The host name of each node to be processed, determine the IP address of each node to be processed, will be sent to the corresponding IP address according to each processing node of the BIOS to be modified for each node option information to be processed pending node. [0075]在该实施例中,通过将主机名称和IP地址添加到待处理节点的/etc/hosts文件中实现对标识的设置。 [0075] In this embodiment, to realize the identification provided by adding a host name and IP address of the node to be treated / etc / hosts file. 举例来说,针对待处理节点A,主机名称为m01,IP地址为192.168.1.1; 将该主机名称和IP地址添加到待处理节点A的hosts文件中。 For example, for node A to be treated, M01 host name, the IP address is 192.168.1.1; add the host name and IP address of the node A to be treated hosts file. 在设置主机名称和IP地址时, 可以按照每个节点在机柜服务器上从上到下的顺序设置,或者从下到上的顺序设置,这样便于用户查找每个节点在机柜服务器的物理位置。 When the host name and IP address is provided, each node may be provided in order from top to bottom on the server rack, or provided sequentially from the upper to lower, it is easy for users to find the physical location of each node in the server rack. 举例来说,从上到下的顺序,主机名称依次是:m01、m02、m03、m04。 For example, from the top down, followed by the host name: m01, m02, m03, m04. 从上到下的顺序,IP地址依次是:192.168.1.1、192.168.1.2、 192.168.1.3^192.168.1.4〇 Top to bottom, IP address followed by: 192.168.1.1,192.168.1.2, 192.168.1.3 ^ 192.168.1.4〇

[0076] 通过为每个待处理节点设置主机名称,可以方便通过主机名称来登录待处理节点。 [0076] log to be processed by the host name of the node to be processed by a node for each host name is provided, it can be convenient. 在所述S1之后,在所述S2之前,还包括: After the S1, prior to the S2, further comprising:

[0077] 根据SSH(Secure Shell,安全外壳协议)和每个待处理节点的主机名称,登录每个待处理节点。 [0077] The host name of the SSH (Secure Shell, Secure Shell Protocol), and each of the nodes to be processed, to be processed for each node login.

[0078] 在该实施例中,基于SSH,用户通过节点的主机名称即可登录到对应的节点中,无需输入IP地址,更加方便快捷。 [0078] In this embodiment, based on SSH, the user can log in via the host name of the node to the corresponding node, without having to enter the IP address, it is more convenient. 另外,还可以通过预先设置的利用一键无密码访问脚本配置好ssh自动登陆待处理节点。 In addition, you can also use a password to access the key without ssh script configured to automatically log in to be processed node set in advance.

[0079]以机柜服务器的48个待处理节点为例,可以通过以下程序同时登陆48个待处理节点,该程序为loginab程序: [0079] In the cabinet 48 server nodes pending for example, can be treated while landing node 48 by the following procedure, the application program is loginab:

[0080] #!/bra/bash function loginab() #命名程序为丨oginab (ssh $1 $2 } flogitmb租序主体为.ssh远程登味至$1( $1 定义为服务器节点主机名称),执行$2 ( $2为实现后续各部分功能的具体程序) fori In {01..48} #定义参数从01循坏至48 du echo "------------Si:--------" :#显请循坏至当前"彳"的值loginab m$i "$ 1" & #执行Ioginab程序,登陆至当前猶环至服. 务器节点主机名称,并执行(此处$1不同于前面定义程序时的$1,而是 [0080] #! / Bra / bash function loginab () # - named as Shu oginab (ssh $ 1 $ 2} flogitmb rent order body is a .ssh remote login flavor to $ 1 ($ 1 is defined as a server node hostname), performed $ 2 ($ 2 to achieve the specific procedures of the function of each subsequent) fori in {01..48} # through a bad parameter defined from 01 48 du echo "------------ Si: ------ - ": # substantially through the bad to make this" left foot "value loginab m $ i" $ 1 "& # Ioginab program execution, the current still login to the server node to ring the host name, and performs (where $ 1. $ 1 differs from the previously defined procedure, but

[0081] 代表前:面的$.2),最后的符号则:表示此命令转入后台操作,.可直接循环至下一步,此处比较重要,如果没有这个命令,本程序则会完成所执行的命令才会继续循环程序,造成运行时间上的叠加done #程序结束 [0081] Representative front: face $ .2), the last symbol: indicates the operation command into the background, can be directly recycled to the next, the more important here, if there is no command, the program will present completion. the command will continue to cycle program, resulting in the end of the overlay done # program running on time

[0082] 要想获取每个待处理节点的BIOS的选项信息,需要保证每个待处理节点通信正常。 [0082] To obtain the BIOS option information of each node to be treated, need to be treated to ensure that each node can communicate. 在所述根据安全外壳协议SSH和每个待处理节点的主机名称,登录每个待处理节点之后,在所述S2之前,还包括: After the host name according to the SSH secure shell to be treated and each of the nodes, the nodes to be processed each log, prior to the S2, further comprising:

[0083]向每个待处理节点发送网络检测信息,判断每个待处理节点的BMC (Baseboard Management Controller,基板管理控制器)的标识灯是否点亮,如果是,则执行步骤S2,否贝1J,结束当前流程。 [0083] transmits the detection information to each network node to be processed, it is determined whether each BMC (Baseboard Management Controller, BMC) to be processed lamp lighting node identifier, if yes, performing step S2, NO shellfish 1J , the current process ends.

[0084]在该实施例中,如果BMC的标识灯点亮说明该待处理节点的通信正常,否则,不正常,需要进行修复。 [0084] In this embodiment, if the identification lamp lighting instructions BMC communication node to be processed normally, otherwise, you do not normally need to be repaired.

[0085] 对待处理节点进行网络检测可以通过以下代码来实现: [0085] The network node detects be treated may be achieved by the following code:

[0086] for i in{01. .48} [0086] for i in {01. .48}

[0087] do ssh m$i ipmitool chassis identify [0087] do ssh m $ i ipmitool chassis identify

[0088]为了方便与每个待处理节点进行交互,可以通过机柜服务器的一个节点来与待处理节点进行交互。 [0088] In order to facilitate interaction with each node to be treated, it may interact with the node to be processed by a node of the server cabinet. 该方法还包括:确定所述机柜服务器上的主节点; The method further comprises: determining a master node on the server rack;

[0089] 所述S2,包括: [0089] The S2, comprising:

[0090] 向所述主节点发送所述获取命令,通过所述主节点将所述向每个待处理节点发送所述获取命令; [0090] the master node transmits the acquisition command, the command acquired by the master node to the transmitting node each be treated;

[0091] 所述S3,包括: [0091] The S3, comprising:

[0092]利用所述主节点接收每个待处理节点的BIOS的选项信息; [0092] The use of the master node receives each processing node to be the BIOS option information;

[0093]所述S5中的所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS 的选项信息发送给对应的待处理节点,包括: [0093] S5 in accordance with the identifier of each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be processed, comprising:

[0094]利用所述主节点,根据每个待处理节点的标识,将每个待处理节点的修改后的BI0S的选项信息发送给对应的待处理节点。 [0094] The use of the master node, according to the identifier of each node to be processed, and transmits the option information BI0S be modified each processing node corresponding to the node to be processed.

[0095]在该实施例中,通过确定出的主节点与待处理节点进行交互,增加了信息传递的安全性, [0095] In this embodiment, by interacting with the master node determining the node to be processed, increasing the safety of information transmission,

[0096]在本发明实施例中,待处理节点返回的BIOS的选项信息可以保存在txt文件,以txt文件的形式进行传输。 [0096] In an embodiment of the present invention, the BIOS returns the node to be processed option information may be stored in a txt file is transmitted in the form of txt file.

[0097]当待处理节点接收到获取命令后,根据该获取命令,将BIOS的选项信息导出到txt 文档中,此步骤可以结合loginab程序使用,作为loginab程序的$2部分。 [0097] When the node receives the pending acquisition command, in accordance with the obtaining command, the BIOS option information exported to txt document, this step may be combined loginab uses, as the $ 2 loginab program portion. 如以下代码: As the following code:

[0098] . /SCELNX64/o/s nvram. txt#将BIOS所有的选项信息导出到nvram. txt文档中,此处的文档名字nvram.txt是自己定义的,当然也以可以写成BIOS, txt等等。 [0098]. / SCELNX64 / o / s nvram. Txt # all the BIOS options to export information to nvram. Txt document, document name nvram.txt here is their own definition, of course, also be written as BIOS, txt, etc. Wait.

[0099] 将上述部分整合为一个脚本,在loginab部分后使用,即可完成将机柜服务器的待处理节点的BIOS的选项信息导出到nvram. txt文档。 [0099] The above section into one script, used after loginab part, to complete the export BIOS pending cabinet server node option information to nvram. Txt file.

[0100] 以BIOS的选项信息中的"Hyper Threading Technology(CPU超线程)"选项为例, 详细说明步骤S4的一种实现方式,其中,nvram. txt文档为保存BIOS的选项信息的txt文档: [0101 ] 打开nvram. txt文档,即可查看到当前BIOS所有选项的信息。 [0100] as an option in the BIOS information "Hyper Threading Technology (CPU Hyper-Threading)" option, for example, an implementation detail step S4, in which, nvram txt document txt document as an option to save the BIOS information: [0101] open nvram. txt file, you can view the current BIOS information on all the options.

[0102] 在nvram. txt文档中搜索"Hyper Threading Technology",找到该选项下面的"BIOS Default = [01 ]Disabled",表明该选项的默认设定值是"Disabled"的。 [0102] Search "Hyper Threading Technology" in nvram. Txt file, locate the option below "BIOS Default = [01] Disabled", indicates that default setting for this option is "Disabled" is.

[0103] 查找到该选项下的"0ptions = *[01 ]Disabled" 和"[00]Enabled",该在"[01 ] Disabled"前面,表明该选项目前的设定值是Disabled。 [0103] found under the option "0ptions = * [01] Disabled" and "[00] Enabled", the front "[01] Disabled", indicating that the current settings option is Disabled.

[0104]如果需要修改该选项的设定值,则将"[0l]Disabled"前面的删掉,并将加至lj "[ 00] Enabled" 前面,保存nvram. txt 文档。 [0104] If you need to modify the settings of this option, then "[0l] Disabled" in front of deleted and added to lj "[00] Enabled" front, save nvram. Txt file.

[0105] 对其他BIOS的选项信息的处理也是如此,而且可以同时修改多个,修改完成后保存nvram. txt文档即可。 [0105] Other treatment options for the BIOS information is true, and can simultaneously modify multiple save nvram changes are complete. Txt document can be.

[0106] 在步骤S5中,将修改后的BIOS的选项信息导入到对应的待处理节点的BIOS中,可以通过以下方式实现: [0106] In step S5, the modified BIOS option information to be introduced into the processing nodes corresponding to the BIOS, may be achieved by:

[0107]向每个待处理节点发送导入命令,控制每个待处理节点的SCE将该待处理节点的修改后的BIOS的选项信息导入到BIOS中。 Option modified BIOS information [0107] to be transmitted to each processing node import command, controls each processing node SCE to be the node to be processed is introduced into the BIOS.

[0108]具体地,将BIOS的选项信息写入到待处理节点的BMC中,将BIOS的选项信息从BMC 读取到BIOS中。 [0108] Specifically, the option information is written to the BIOS BMC node to be treated, the option information is read from the BIOS to the BIOS BMC.

[0109] 以BIOS中的Hyper Threading Technology(CF*U超线程)选项为例,修改待处理节点的BIOS的Hyper Threading Technology(CPU超线程)选项的选项信息的设定,此步骤可以结合loginab程序使用,作为loginab程序的$2部分,具体代码如下: Setting option information [0109] In the BIOS Hyper Threading Technology (CF * U Hyper-Threading) option, for example, to modify the BIOS to be treated node Hyper Threading Technology (CPU Hyper-Threading) option, this step may be combined program loginab use, as a part of $ 2 loginab program specific code as follows:

[0110] • /SCELNX64/i/s nvram. txt#将在nvram • txt文档中的BIOS的选项信息导入到BIOS 中。 [0110] • / SCELNX64 / i / s nvram. Txt # will nvram • txt option information in the document the BIOS into the BIOS.

[0111] 这里是以Hyper Threading Technology为例,但实际nvram. txt文档中包含所有BIOS的选项信息。 [0111] Here is Hyper Threading Technology, for example, but the actual nvram. Txt document contains information about all the BIOS options. 当进行导入时以nvram. txt文档中的信息为准的,即未做处理的BIOS的选项信息,实际不做变更,处理过的BIOS的选项信息,以处理后的为准。 When importing to nvram. Txt file information in the subject, that no such a treatment option BIOS information, not the actual change, treated the BIOS option information to the treated subject.

[0112] 为了检测修改后的B10S的选项信息导入到对应的待处理节点的BI0S中后,修改的BIOS的选项信息是否生效,在步骤S5之后还可以包括: [0112] In order to detect the option information of the B10S and modified BI0S be introduced into the corresponding processing node, the modified BIOS information option is in effect, after the step S5 may further comprise:

[0113]根据每个待处理节点的标识向每个待处理节点发送获取BIOS的选项信息的获取命令; [0113] transmits the acquired information acquisition command options to each of the BIOS to be treated according to the identifier of each node of the node to be processed;

[0114]接收每个待处理节点根据所述获取命令返回的每个待处理节点的BIOS的选项信息。 [0114] Each receiving node to be processed according to the processing nodes to be acquired each command option information returned by the BIOS.

[0115]也就是说,重新获取每个待处理节点的BIOS的选项信息,然后,查看BIOS的选项信息是否修改成功,也可以通过与处理前的BIOS的选项信息进行比较来判断是否修改成功。 [0115] In other words, the option to reacquire the BIOS information for each node to be processed, and then check the BIOS option information is modified successfully, it can be judged whether or not the amendment is successful by comparison with the BIOS option information before treatment. [0116]以BIOS的Hyper Threading Technology(CPU超线程)选项为例,获取BIOS的选项信息到txt文档中。 [0116] to the BIOS Hyper Threading Technology (CPU Hyper-Threading) option, for example, access to the BIOS option to txt document. 此步骤可以结合loginab程序使用,作为loginab程序的$2部分,具体代码如下: This step may be combined loginab uses, as part of $ 2 loginab program specific code as follows:

[0117] ./SCELNX64/o/s nvraml .txt#将BIOS的选项信息导出到nvraml .txt文档中,命名nvraml • txt目的是避免和之前的nvram. txt文档重复,避免覆盖掉之前的nvram. txt文档。 [0117] ./SCELNX64/o/s nvraml .txt # BIOS option to export the information to nvraml .txt document, named nvraml • txt purpose is to avoid and before nvram. Txt document duplication, avoid nvram before overwritten. txt document. [0118] 可以通过比较nvram. txt文档和nvraml • txt文档,来确定是否修改成功。 [01] can. Txt documents and nvraml • txt document by comparing the nvram, to determine whether the modification was successful.

[0119]需要说明的是:在本发明实施例中,每次向待处理节点发送命令,都登录待处理节点。 [0119] Note that: this embodiment, each node sends a command to be processed, the processing nodes are to be logged in the embodiment of the present invention.

[0120]如图2所示,本发明实施例提供了一种处理BIOS的选项信息的方法,在本发明实施例中,通过机柜服务器A中的主节点与待处理节点进行交互,该方法可以包括以下步骤: [0120] 2, the embodiment provides a method for processing option information of the BIOS of the present invention, in the embodiment of the present invention, by interacting rack server A to be the primary node and the processing node, the method may comprising the steps of:

[0121] 步骤201:确定机柜服务器A上的主节点。 [0121] Step 201: determining the master node on the rack server A.

[0122] 该主节点与待处理节点位于同一个机柜服务器上,该主节点可以是机柜服务器A 上的任一节点。 [0122] The master node and the node to be processed is located on the same server rack, the master node may be any node on the rack server A.

[0123] 步骤202:为机柜服务器A中每个待处理节点配置IP地址,为机柜服务器A中每个待处理节点配置主机名称。 [0123] Step 202: Configure IP address for each rack to be processed in the server node A, a host name for each rack to be processed in the server node A.

[0124] 举例来说,主机名称依次是:m01、m02、m03、m04。 [0124] For example, the host name followed by: m01, m02, m03, m04. 从上到下的顺序,IP地址依次是: 192.168.1.U192.168.1.2^192.168.1.3^192.168.1.4〇 Top to bottom, IP address followed by: 192.168.1.U192.168.1.2 ^ 192.168.1.3 ^ 192.168.1.4〇

[0125] 建立主机名称与IP地址的对应关系。 [0125] correspondence between host names and IP addresses.

[0126] 步骤203:将每个待处理节点的主机名称和IP地址添加到每个待处理节点的/etc/ hosts文件中。 [0126] Step 203: Add the name of each host to be treated and the IP address of the node to the / etc / hosts file for each node to be processed.

[0127] 通过该步骤,将主机名称、IP地址与待处理节点对应起来,使得该设置生效。 [0127] By this step, host name, IP address corresponding to the node to be processed together, so that the settings take effect.

[0128] 步骤204:主节点根据SSH和每个待处理节点的主机名称,登录每个待处理节点。 [0128] Step 204: The master node and each of the SSH host name of the node to be processed, to be processed for each node login.

[0129] 登录每个待处理节点后,获取操作待处理节点的权限,可以向待处理节点发送命令,对待处理节点进行控制。 [0129] After logging in to each node to be processed, the operation authority acquisition pending node, may send a command to the node to be processed, processing node treated controls. 主节点每次访问待处理节点时,都对待处理节点进行登录。 Every visit to the master node node to be processed, the processing nodes are treated to log in. [0130] 步骤205:主节点根据每个待处理节点的主机名称,确定每个待处理节点的IP地址,根据每个待处理节点的IP地址向每个待处理节点发送获取BIOS的选项信息的获取命令。 [0130] Step 205: the master node based on the host name of each node to be processed, determine the IP address of each node to be processed, the BIOS transmits the acquisition option information to each node to be processed in accordance with the IP address of each node to be processed get command.

[0131]步骤206:每个待处理节点接收到获取命令后,向主节点返回本节点的BIOS的选项fg息。 [0131] Step 206: each node to be processed after receiving the Get command, the BIOS returns the node to the master node options fg interest.

[0132]具体地,每个待处理节点将本节点的BIOS的选项信息保存到txt文档中,将该txt 文档发送给主节点。 [0132] In particular, each processing node to be stored in the BIOS node option to txt document, the document is sent to the master node txt.

[0133] 该步骤可以通过每个待处理节点上的SCE来完成。 [0133] This step may be accomplished by SCE at each node to be processed.

[0134] 步骤207:主节点接收每个待处理节点根据获取命令返回的每个待处理节点的BIOS的选项信息。 [0134] Step 207: the master node receives information from each node to be processed to be the BIOS each processing node returns acquisition command options.

[0135] 步骤208:对每个待处理节点的BIOS的选项信息进行修改。 [0135] Step 208: the option to modify the BIOS information for each node to be processed.

[0136] 该修改过程,可以是主节点根据预设的脚本或者命令进行自动修改,也可以是用户在主节点上进行操作,通过用户进行修改。 [0136] The modification process, the master node may be automatically modified according to a predetermined script or command, the user may be operating on the master node, be modified by the user.

[0137]具体地,可以对每个待处理节点发来的保存有BIOS的选项信息的txt文档进行修改。 [0137] Specifically, for each node to be processed is sent to the BIOS stored txt file edit option information.

[0138] 步骤209:主节点根据每个待处理节点的主机名称,确定每个待处理节点的IP地址,根据每个待处理节点的IP地址将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点。 [0138] Step 209: the master node based on the host name of each node to be processed, determine the IP address of each node to be processed, the BIOS will be modified each processing node options to be treated according to the IP address of each node information is transmitted to the corresponding node to be processed.

[0139] 将修改后的保存有BIOS的选项信息的txt文档发送给对应的待处理节点。 [0139] There will save the modified txt file transmission option information to the BIOS corresponding to the node to be processed.

[0140] 步骤210:每个待处理节点将修改后的BIOS的选项信息导入到对应的待处理节点的BIOS中。 [0140] Step 210: each node will be treated the modified BIOS option information to be introduced into the processing nodes corresponding to the BIOS.

[0141] 具体地,将修改后的BIOS的选项信息导入到待处理节点的BMC中,将BMC中的修改后的BIOS的选项信息读入到BIOS中。 [0141] Specifically, the modified BIOS option information to be treated is introduced into BMC node, the option information is read after the BMC BIOS changes into the BIOS.

[0142] 将修改后的保存有BIOS的选项信息的txt文档中的BIOS的选项信息导入到本节点的BIOS中。 [0142] will have the option to save the modified BIOS information txt file option in the BIOS information into this node's BIOS.

[0143] 该步骤可以通过每个待处理节点上的SCE来完成。 [0143] This step may be accomplished by SCE at each node to be processed.

[0144] 本发明实施例可以应用在Smart Rack机柜服务器产品上,以当前主流的Linux Redhat 6.40S为载体,由linux bash语言编写的脚本加上调用一些linux服务和SCE工具来实现对所有节点处理BIOS的选项信息。 [0144] Embodiments of the present invention can be applied to Smart Rack rack server products, the current mainstream Linux Redhat 6.40S as the carrier, linux bash scripting language by adding services and SCE call some linux tools to deal with all nodes BIOS option information.

[0145] 当机柜服务器上的待处理节点的需要修改的内容都一样时,例如:都是将"Hyper Threading Technology"(CPU超线程)中的"Options [0145] When a node needs to be processed on the server modifies the contents of the enclosure are the same, for example: all the "Hyper Threading Technology" (CPU Hyper-Threading) in the "Options

[0146] =*[01 ]Disabled"修改为"0ptions = *[00]Enabled",通过本发明实施例可以对所有待处理节点进行批量处理。具体地,获取任一待处理节点的BIOS的选项信息,对BIOS的选项信息进行修改,将修改后的BIOS的选项信息发送给所有的待处理节点,所有的待处理节点将修改后的BIOS的选项信息导入到本节点的BIOS中。通过本发明实施例可以大大提高对BIOS的选项信息进行处理的效率。 [0146] = * [01] Disabled "modify" 0ptions = * [00] Enabled ", the embodiments of the present invention can be batch processing of all pending nodes. In particular, obtaining BIOS any one pending node options information of option information BIOS is modified to send the BIOS modified option information to all pending node, all pending node BIOS the modified option information into the node's BIOS. by the present invention, Example options can greatly improve the efficiency of information processing in the BIOS.

[0147] 如图3、图4所示,本发明实施例提供了一种处理BIOS的选项信息的装置。 [0147] FIG. 3, FIG. 4, embodiments of the present invention provides an apparatus for processing option information to the BIOS. 装置实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。 Apparatus embodiments may be implemented by software may be realized by way of hardware or a combination of hardware and software. 从硬件层面而言,如图3所示,为本发明实施例提供的一种处理BIOS的选项信息的装置所在设备的一种硬件结构图,除了图3所示的处理器、内存、网络接口、以及非易失性存储器之外,实施例中装置所在的设备通常还可以包括其他硬件,如负责处理报文的转发芯片等等。 From the hardware level, shown in Figure 3, where A hardware configuration diagram of apparatus for processing option information BIOS apparatus according to an embodiment of the present invention, in addition processor shown in FIG 3, memory, network interface outside, and a nonvolatile memory device in the embodiment where the apparatus further embodiment typically may include other hardware, such as handles and the like packet forwarding chip. 以软件实现为例,如图4所示,作为一个逻辑意义上的装置,是通过其所在设备的CPU将非易失性存储器中对应的计算机程序指令读取到内存中运行形成的。 Implemented in software, for example, as shown, as a device on the logical sense, the CPU is the device corresponding to the non-volatile memory of the computer program instructions by which it is to read 4 running in memory formation. 本实施例提供的一种处理BIOS的选项信息的装置,包括: Option information apparatus provided by the present embodiment of the BIOS for processing, comprising:

[0148] 设置单元401,用于为机柜服务器中每个待处理节点设置标识; [0148] setting unit 401, the cabinet for the server identifier is provided for each node to be processed;

[0149] 命令单元402,用于根据每个待处理节点的标识向每个待处理节点发送获取BIOS 的选项信息的获取命令; [0149] command unit 402, configured to send the BIOS acquiring option information to be processed according to the identifier of each node to each node acquisition command to be processed;

[0150]接收单元403,用于接收每个待处理节点根据所述获取命令返回的每个待处理节点的BIOS的选项信息; [0150] The receiving unit 403 for receiving each node to be processed according to the option information acquiring each of the BIOS to be returned by the command processing node;

[0151 ]修改单元404,用于对每个待处理节点的BIOS的选项信息进行修改; [0151] The modification unit 404, options for modification of the BIOS information for each node to be processed;

[0152] 处理单元405,用于根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点,将修改后的BIOS的选项信息导入到对应的待处理节点的BIOS中。 [0152] processing unit 405, according to an identifier for each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be treated, introducing the modified BIOS option information to pending node corresponding to the BIOS.

[0153] 在本发明一实施例中,所述标识包括:主机名称; [0153] In an embodiment of the present invention, the identifier comprising: a host name;

[0154] 所述设置单元401,用于为所述机柜服务器中每个待处理节点配置IP地址,为所述机柜服务器中每个待处理节点配置主机名称,将每个待处理节点的主机名称和IP地址添加到每个待处理节点的/etc/hosts文件中; [0154] The setting unit 401 for the cabinet to be treated each server node configure an IP address, the host name of the server rack to be treated in each node, the host name of each node to be processed and IP addresses to be added to each of the processing nodes / etc / hosts file;

[0155] 所述命令单元402,用于根据每个待处理节点的主机名称,确定每个待处理节点的IP地址,根据每个待处理节点的IP地址向每个待处理节点发送所述获取命令; [0155] The command unit 402 is configured to be based on the host name of each processing node, determine the IP address of each node to be treated, the obtaining IP address of each node to be processed is transmitted to each node to be processed in accordance with command;

[0156]所述处理单元405在执行所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点时,用于根据每个待处理节点的主机名称,确定每个待处理节点的IP地址,根据每个待处理节点的IP地址将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点。 When [0156] The processing unit 405 according to the identification performed in each node to be processed, and transmits the modified BIOS for each node to be processed to the option information corresponding to the node to be processed, to be used according to each host name of processing node, determine the IP address of each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be processed according to the IP address of each node to be processed.

[0157] 在本发明一实施例中,还包括: [0157] In an embodiment of the present invention, further comprising:

[0158] 登录单元,用于根据安全外壳协议SSH和每个待处理节点的主机名称,登录每个待处理节点。 [0158] registration means, according to the host name and the SSH secure shell each node to be processed, to be processed for each node login.

[0159] 在本发明一实施例中,还包括: [0159] In an embodiment of the present invention, further comprising:

[0160] 检测单元,用于在登录单元登录每个待处理节点后,向每个待处理节点发送网络检测信息,判断每个待处理节点的基板管理控制器BMC的标识灯是否点亮,如果是,则触发所述命令单元,否则,不触发所述命令单元。 [0160] detection means for each of the log to be processed in the node registration device, to be processed to each of the detection information transmitting network node, determines whether or not each be a baseboard management controller BMC processing node identification lamp is lit, if that trigger the command unit, otherwise, do not trigger the command unit.

[0161] 在本发明一实施例中,还包括: [0161] In an embodiment of the present invention, further comprising:

[0162] 确定单元,用于确定所述机柜服务器上的主节点; [0162] determining means for determining the master node on the server rack;

[0163] 所述命令单元,用于向所述主节点发送所述获取命令,通过所述主节点将所述向每个待处理节点发送所述获取命令; [0163] The command unit, configured to send to the master node of said acquisition command, said command acquired by the master node to the transmitting node each be treated;

[0164]所述接收单元403,用于利用所述主节点接收每个待处理节点的BIOS的选项信息; [0164] The receiving unit 403, configured to use the BIOS master node receives the option information of each node to be processed;

[0165] 所述处理单元405在执行所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点时,用于利用所述主节点,根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点。 When [0165] The processing unit 405 according to the identification performed in each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be processed, means for utilizing the main node, to be treated according to the identifier of each node, and transmits the modified BIOS to be treated each node option information corresponding to the node to be processed.

[0166] 上述装置内的各单元之间的信息交互、执行过程等内容,由于与本发明方法实施例基于同一构思,具体内容可参见本发明方法实施例中的叙述,此处不再赘述。 SUMMARY [0166] information interaction between units inside the apparatus, execution process, since the method embodiments of the present invention based on the same concept, the details see the description in the method embodiment of the present invention embodiment, not further described herein.

[0167] 本发明实施例至少具有如下有益效果: [0167] Example embodiments of the present invention have at least the following advantages:

[0168] 1、在本发明实施例中,通过向每个待处理节点发送获取命令,可以同时获取多个待处理节点的BIOS的选项信息,无需针对每个节点进行获取,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点,并导入到对应待处理节点的BIOS中,实现对BIOS的选项信息的处理,无需针对每个节点进行单独的处理,提高了处理BIOS的选项信息的效率。 [0168] 1, in the embodiment of the invention, the obtaining command is sent to each node to be treated, the BIOS may acquire option information, while the plurality of nodes to be processed, without acquiring, for each node, each to be treated the modified BIOS option information transmitted to the node corresponding to the node to be processed, and be introduced into the processing nodes corresponding to the BIOS, to achieve the processing option information to the BIOS, without a separate process for each node, increasing the processing the efficiency of the BIOS option information.

[0169] 2、在本发明实施例中,当机柜服务器上的待处理节点的需要修改的内容都一样时,获取任一待处理节点的BIOS的选项信息,对BIOS的选项信息进行修改,将修改后的BIOS 的选项信息发送给所有的待处理节点,所有的待处理节点将修改后的BIOS的选项信息导入到本节点的BIOS中。 [0169] 2, in the embodiment of the invention, when required to be processed nodes on the rack server modifies the contents are the same, obtaining option information BIOS any one pending node of option information BIOS modify the the modified BIOS option information to be sent to all processing nodes, all nodes will be processed in the modified BIOS option information into the node BIOS. 通过本发明实施例对所有待处理节点进行批量处理,大大提高对BIOS 的选项信息进行处理的效率。 Embodiments of the present invention, batch processing for all the nodes to be processed, greatly improve the efficiency of processing option information of the BIOS.

[0170]需要说明的是,在本文中,诸如第一和第二之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。 [0170] Incidentally, herein, relational terms such as first and second and the like are only used to distinguish one entity or operation from another entity or action without necessarily requiring or implying such entities or the presence of any such actual relationship or order between operations. 而且,术语"包括"、"包含"或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素, 而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。 Further, the term "comprising", "containing" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a process, method, article, article, or apparatus not include only those elements but not expressly listed further comprising the other elements, or further comprising such process, method, article, or apparatus inherent elements. 在没有更多限制的情况下,由语句"包括一个......"限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同因素。 Without more constraints, by the wording "include a ......" defining element does not exclude the existence of additional identical elements in the element comprising a process, method, article, or apparatus.

[0171]本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储在计算机可读取的存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质中。 [0171] Those of ordinary skill in the art can be appreciated: realize all or part of the steps of the method described above may be implemented by a program instructing relevant hardware to complete, the program may be stored in a computer-readable storage medium, the program execution when, comprising the step of performing the above-described embodiment of the method; and the storage medium comprising: a variety of ROM, RAM, magnetic disk, or an optical medium that can store program code.

[0172]最后需要说明的是:以上所述仅为本发明的较佳实施例,仅用于说明本发明的技术方案,并非用于限定本发明的保护范围。 [0172] Finally, it should be noted that: The above are only preferred embodiments of the present invention, only to illustrate the technical solution of the present invention and are not intended to limit the present invention. 凡在本发明的精神和原则之内所做的任何修改、 等同替换、改进等,均包含在本发明的保护范围内。 Where any modifications within the spirit and principle of the present invention is made of, equivalent replacement, improvement, etc., are included within the scope of the present invention.

Claims (10)

1. 一种处理BIOS的选项信息的方法,其特征在于,包括: Sl:为机柜服务器中每个待处理节点设置标识; S2:根据每个待处理节点的标识向每个待处理节点发送获取BIOS的选项信息的获取命令; S3:接收每个待处理节点根据所述获取命令返回的每个待处理节点的BIOS的选项信息; S4:对每个待处理节点的BIOS的选项信息进行修改; S5:根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点,将修改后的BIOS的选项信息导入到对应的待处理节点的BIOS中。 1. A method of processing options BIOS information, characterized in that, comprising: Sl: the cabinet to be treated each server node disposed identifier; S2: obtaining transmit to each node to be processed according to the identifier of each node to be processed option information acquisition command of the BIOS; S3:; S4 each receiving node to be processed according to the option information acquiring BIOS each processing node to be returned by the command: option to modify the BIOS information for each node to be processed; S5: the identity of each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be treated, introducing the modified BIOS option information corresponding to the node's BIOS to be treated in.
2. 根据权利要求1所述的方法,其特征在于, 所述标识包括:主机名称; 所述Sl,包括: 为所述机柜服务器中每个待处理节点配置IP地址; 为所述机柜服务器中每个待处理节点配置主机名称; 将每个待处理节点的主机名称和IP地址添加到每个待处理节点的/etc/hosts文件中; 所述S2,包括: 根据每个待处理节点的主机名称,确定每个待处理节点的IP地址,根据每个待处理节点的IP地址向每个待处理节点发送所述获取命令; 所述S5中的所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点,包括: 根据每个待处理节点的主机名称,确定每个待处理节点的IP地址,根据每个待处理节点的IP地址将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点。 2. The method according to claim 1, wherein said identifying comprises: the host name; Sl is said, comprising: configuring an IP address to the server rack to be processed in each node; said server cabinet each processing node is configured to be a host name; to be added in each processing node hostname and IP address to each processing node to be / etc / hosts file; the S2, comprising: a host to be treated in each node according to name, the IP address is determined to be for each processing node, the IP address of each acquisition command to be transmitted to each processing node of the node to be processed in accordance with; S5 in accordance with the identifier of each node to be treated, the the modified BIOS to be treated each node option information to be processed corresponding node, comprising: the host name of each node to be processed, determine the IP address of each node to be processed, according to each node to be processed transmitting the IP address of the BIOS to be modified for each option information processing node corresponding to the node to be processed.
3. 根据权利要求2所述的方法,其特征在于,在所述Sl之后,在所述S2之前,还包括: 根据安全外壳协议SSH和每个待处理节点的主机名称,登录每个待处理节点。 3. The method according to claim 2, wherein, after said Sl is, prior to the S2, further comprising: the host name and the SSH secure shell each node to be processed, each of the log to be treated node.
4. 根据权利要求3所述的方法,其特征在于,在所述根据安全外壳协议SSH和每个待处理节点的主机名称,登录每个待处理节点之后,在所述S2之前,还包括: 向每个待处理节点发送网络检测信息,判断每个待处理节点的基板管理控制器BMC的标识灯是否点亮,如果是,则执行步骤S2,否则,结束当前流程。 4. After the method of claim 3, wherein, based on the host name of the SSH secure shell to be treated and each of the nodes, the nodes to be processed each log, prior to the S2, further comprising: each processing node to be transmitted to the network detection information whether or not each be a baseboard management controller BMC processing node identification lamp is lit, if yes, performing step S2, otherwise, end the current process.
5. 根据权利要求1-4中任一所述的方法,其特征在于,还包括: 确定所述机柜服务器上的主节点; 所述S2,包括: 向所述主节点发送所述获取命令,通过所述主节点将所述向每个待处理节点发送所述获取命令; 所述S3,包括: 利用所述主节点接收每个待处理节点的BIOS的选项信息; 所述S5中的所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点,包括: 利用所述主节点,根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点。 5. The method according to any one of claims 1-4, characterized in that, further comprising: determining a master node on the server rack; the S2, comprising: transmitting to the master node of said acquisition command, transmitting by said master node to said each node of said acquisition command to be processed; the S3, comprising: using the master node receives the option information of the BIOS to be treated each node; S5, the said the identity of each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be processed, comprising: using the master node, to be treated according to the identifier of each node, each the modified BIOS pending for transmission to the node option information corresponding to the node to be processed.
6. -种处理BIOS的选项信息的装置,其特征在于,包括: 设置单元,用于为机柜服务器中每个待处理节点设置标识; 命令单元,用于根据每个待处理节点的标识向每个待处理节点发送获取BIOS的选项信息的获取命令; 接收单元,用于接收每个待处理节点根据所述获取命令返回的每个待处理节点的BIOS 的选项信息; 修改单元,用于对每个待处理节点的BIOS的选项信息进行修改; 处理单元,用于根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点,将修改后的BIOS的选项信息导入到对应的待处理节点的BIOS 中。 6. - kind option information processing apparatus of the BIOS, which is characterized by comprising: a setting unit, the cabinet for the server identifier is provided for each node to be processed; command unit for identifying each node to be processed per a pending transmission node acquires a BIOS option information acquisition command; receiving means for receiving for each node to be processed according to the obtained BIOS each processing node to be returned by the command option information; modification unit for each BIOS option information of a node to be processed is modified; a processing unit, for transmitting the modified BIOS to be treated in each node corresponding to the option information to be processed according to the identifier of each node of the node to be processed, the modified after the BIOS option information to be introduced into the processing nodes corresponding to the BIOS.
7. 根据权利要求6所述的装置,其特征在于, 所述标识包括:主机名称; 所述设置单元,用于为所述机柜服务器中每个待处理节点配置IP地址,为所述机柜服务器中每个待处理节点配置主机名称,将每个待处理节点的主机名称和IP地址添加到每个待处理节点的/etc/hosts文件中; 所述命令单元,用于根据每个待处理节点的主机名称,确定每个待处理节点的IP地址, 根据每个待处理节点的IP地址向每个待处理节点发送所述获取命令; 所述处理单元在执行所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点时,用于根据每个待处理节点的主机名称,确定每个待处理节点的IP地址,根据每个待处理节点的IP地址将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点。 7. The device according to claim 6, wherein said identifying comprises: the host name; the setting unit, the cabinet is a server for each node configure an IP address to be treated as a rack server each processing node is configured to be a host name, a host name of each added node to be treated and to be treated IP address to each node / etc / hosts file; said command means, for each node to be treated according to host name, the IP address is determined to be for each processing node, the IP address of each acquisition command to be transmitted to each processing node of the node to be processed according to; the processing unit to be performed according to each of the processing nodes when identification, sends the modified BIOS for each node to be processed to the option information corresponding to the node to be processed, according to the host name of each node to be processed, determine the IP address of each node to be processed, according to each IP address to the processing node sends the modified BIOS to be treated each node option information corresponding to the node to be processed.
8. 根据权利要求7所述的装置,其特征在于,还包括: 登录单元,用于根据安全外壳协议SSH和每个待处理节点的主机名称,登录每个待处理节点。 8. The apparatus according to claim 7, characterized in that, further comprising: registration means, according to the host name and the SSH secure shell each node to be processed, to be processed for each node login.
9. 根据权利要求8所述的装置,其特征在于,还包括: 检测单元,用于在登录单元登录每个待处理节点后,向每个待处理节点发送网络检测信息,判断每个待处理节点的基板管理控制器BMC的标识灯是否点亮,如果是,则触发所述命令单元,否则,不触发所述命令单元。 9. The apparatus according to claim 8, characterized in that, further comprising: a detection unit, after registering means configured to log in to each node to be processed, the network transmits the detection information to each node to be processed, is determined for each pending whether the baseboard management controller BMC node identification lamp is lit, and if so, triggering said command means, otherwise, said command unit is not triggered.
10. 根据权利要求6-9中任一所述的装置,其特征在于,还包括: 确定单元,用于确定所述机柜服务器上的主节点; 所述命令单元,用于向所述主节点发送所述获取命令,通过所述主节点将所述向每个待处理节点发送所述获取命令; 所述接收单元,用于利用所述主节点接收每个待处理节点的BIOS的选项信息; 所述处理单元在执行所述根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点时,用于利用所述主节点,根据每个待处理节点的标识,将每个待处理节点的修改后的BIOS的选项信息发送给对应的待处理节点。 10. An apparatus according to any of claims 6-9, characterized in that, further comprising: determining means for determining the master node on the server rack; said command means, for the master node to sending the Get command to the sending the Get command to each node to be processed by the master node; the receiving unit is configured to use the BIOS the master node receives the option information of each node to be processed; when performing the processing unit according to the identity of each node to be processed, and transmits the modified BIOS to be treated each node option information corresponding to the node to be processed, using for the master node, according to each pending identification processing nodes, sends the modified BIOS to be treated each node option information corresponding to the node to be processed.
CN201610265254.5A 2016-04-25 2016-04-25 Method and device for processing option information of BIOS (basic input output system) 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 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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445528A (en) * 2016-09-27 2017-02-22 郑州云海信息技术有限公司 Method and device for configuring SETUP options of BIOS quickly
WO2018205474A1 (en) * 2017-05-12 2018-11-15 郑州云海信息技术有限公司 Apparatus and method for setting bios option for benchmark test with one click

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 (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106445528A (en) * 2016-09-27 2017-02-22 郑州云海信息技术有限公司 Method and device for configuring SETUP options of BIOS quickly
WO2018205474A1 (en) * 2017-05-12 2018-11-15 郑州云海信息技术有限公司 Apparatus and method for setting bios option for benchmark test with one click

Similar Documents

Publication Publication Date Title
US8589916B2 (en) Deploying and instantiating multiple instances of applications in automated data centers using application deployment template
CN102132256B (en) Provisioning virtual resources using name resolution
US8869132B2 (en) Method and system for executing and undoing distributed server change operations
US9582301B2 (en) Method of defining javascript objects
US9075536B1 (en) Enhanced software application platform
US9135283B2 (en) Self-service configuration for data environment
US8938523B2 (en) System and method for deploying and maintaining software applications
JP6005706B2 (en) Virtual machine morphing for heterogeneous mobile environment
CN102185900B (en) Application service platform system and method for developing application services
US7293255B2 (en) Apparatus and method for automated creation of resource types
CN1551006A (en) Architecture for distributed computing system and automated design, deployment, and management of distributed applications
JP2009532757A (en) How to generate an offline resource of templates
CN106537338A (en) Self-extending cloud
US20050262218A1 (en) System and method for DHCP-based assignment of IP addresses to servers based on geographic identifiers
JP2004015530A5 (en)
JPH08292929A (en) Method for managing communication between remote user and application server
JP5254582B2 (en) Methods for performing the firmware update in a multiprocessor data processing system
CN102571698B (en) A kind of virtual machine access control method, system and apparatus
US20080016178A1 (en) Method and system for remote software installation, recovery, and restoration over a data network
CN101453367B (en) Software deployment method and system and software deployment server and user server
WO2012142854A1 (en) Application service platform system and implementation method thereof
US8639798B2 (en) Managing configuration items
JP6461167B2 (en) System and method for an application server, in the cloud or other environments that support multi-tenancy
JP2001521236A (en) Method and system for providing a remote storage for internet device
JP3307329B2 (en) Network configuration managed access system and method

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination