[go: up one dir, main page]

CN108718255A - A kind of method and system of quick reading service device system asset information - Google Patents

A kind of method and system of quick reading service device system asset information Download PDF

Info

Publication number
CN108718255A
CN108718255A CN201810596252.3A CN201810596252A CN108718255A CN 108718255 A CN108718255 A CN 108718255A CN 201810596252 A CN201810596252 A CN 201810596252A CN 108718255 A CN108718255 A CN 108718255A
Authority
CN
China
Prior art keywords
node
server
baseboard management
management controller
bmc
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
CN201810596252.3A
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 CN201810596252.3A priority Critical patent/CN108718255A/en
Publication of CN108718255A publication Critical patent/CN108718255A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/28Restricting access to network management systems or functions, e.g. using authorisation function to access network configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer And Data Communications (AREA)

Abstract

本发明提供一种快速读取服务器系统资产信息的方法及系统,方法:步骤S1.基板管理控制器BMC与服务器所有节点建立网络连接;步骤S2.基板管理控制器BMC同时登陆服务器所有节点;步骤S3.基板管理控制器BMC快速读取服务器每个节点系统资产信息。系统包括网络连接创建模块、节点登录模块和节点资产信息读取模块。本发明可以快速、高效、准确的对整机柜服务器上的所有节点进行同步作业,在整机柜服务器测试工作中以及日常维护中为测试人员及操作员节省了大量的宝贵时间,大大提高了工作效率。

The present invention provides a method and system for quickly reading server system asset information, the method: Step S1. The baseboard management controller BMC establishes a network connection with all nodes of the server; Step S2. The baseboard management controller BMC simultaneously logs in to all nodes of the server; step S3. The baseboard management controller BMC quickly reads the system asset information of each node of the server. The system includes a network connection creation module, a node login module and a node asset information reading module. The present invention can quickly, efficiently and accurately perform synchronous operation on all the nodes on the server of the whole cabinet, save a lot of precious time for testers and operators in the test work and daily maintenance of the server of the whole cabinet, and greatly improve the work efficiency.

Description

一种快速读取服务器系统资产信息的方法及系统A method and system for quickly reading server system asset information

技术领域technical field

本发明属于服务器测试领域,具体涉及一种快速读取服务器系统资产信息的方法及系统。The invention belongs to the field of server testing, and in particular relates to a method and system for quickly reading server system asset information.

背景技术Background technique

随着IT领域技术的不断发展,互联网+的提出,整机柜服务器目前已很成熟,可灵活配置和集中管理,其形态可分为计算和存储节点。由于机柜可容纳的节点数量巨大,而且一个机房内又有很多机柜。在日常的服务器维护及配置使用方面需要对服务器的系统资产信息进行读取,如果对每个节点都进行单独操作,势必耗费大量的时间和人力。With the continuous development of IT technology and the introduction of Internet+, the whole cabinet server is now very mature, can be flexibly configured and centrally managed, and its form can be divided into computing and storage nodes. Because the number of nodes that the cabinet can accommodate is huge, and there are many cabinets in one computer room. In terms of daily server maintenance and configuration, it is necessary to read the system asset information of the server. If each node is operated separately, it will consume a lot of time and manpower.

目前的整机柜服务器在出厂检测或者交付客户使用时需要确认系统资产信息是否正确,读取系统资产信息,只能对每一个节点进行单一操作,这就需要大量的人力耗费大量的时间来操作。The current whole cabinet server needs to confirm whether the system asset information is correct when it is tested at the factory or delivered to customers. To read the system asset information, only a single operation can be performed on each node, which requires a lot of manpower and a lot of time to operate. .

此为现有技术的不足,因此,针对现有技术中的上述缺陷,提供一种快速读取服务器系统资产信息的方法及系统,是非常有必要的。This is the deficiency of the prior art. Therefore, it is very necessary to provide a method and system for quickly reading the asset information of the server system in view of the above-mentioned defects in the prior art.

发明内容Contents of the invention

本发明的目的在于,针对上述读取大量整机柜服务器节点的系统资产信息需要耗费大量的人力和时间的缺陷,提供一种快速读取服务器系统资产信息的方法及系统,以解决上述技术问题。The purpose of the present invention is to provide a method and system for quickly reading server system asset information to solve the above-mentioned technical problems .

为实现上述目的,本发明给出以下技术方案:To achieve the above object, the present invention provides the following technical solutions:

一种快速读取服务器系统资产信息的方法,包括如下步骤:A method for quickly reading server system asset information, comprising the following steps:

步骤S1.基板管理控制器BMC与服务器所有节点建立网络连接;Step S1. The baseboard management controller BMC establishes a network connection with all nodes of the server;

步骤S2.基板管理控制器BMC同时登陆服务器所有节点;Step S2. The baseboard management controller BMC logs in to all nodes of the server at the same time;

步骤S3.基板管理控制器BMC快速读取服务器每个节点系统资产信息。Step S3. The baseboard management controller BMC quickly reads the system asset information of each node of the server.

进一步地,步骤S1和步骤S2之间还包括:Further, between step S1 and step S2 also includes:

步骤S2A.检测基板管理控制器BMC与服务器每个节点的网络是否连通;Step S2A. Detect whether the network between the baseboard management controller BMC and each node of the server is connected;

若否,返回步骤S1;If not, return to step S1;

若是,进入步骤S2。提前检测基板管理控制器BMC与服务器每个节点的网络是否连通,防止出现基板管理控制器BMC登陆服务器节点不成功,读取不到服务器节点系统资产信息的情况。If yes, go to step S2. Detect whether the baseboard management controller BMC is connected to the network of each server node in advance to prevent the baseboard management controller BMC from failing to log in to the server node and failing to read the system asset information of the server node.

进一步地,步骤S2A中,基板管理控制器BMC命令发送点亮服务器每个节点的BMC标识LED的命令,判断基板管理控制器BMC与服务器每个节点的网络是否连通。网络连通,则对应服务器节点上的BMC标识LED会被点亮,反之,若服务器节点上的BMC标识LED没被点亮,则对应的服务器节点与基板管理控制器BMC之间的没有不连通,需要重新建立连接。Further, in step S2A, the baseboard management controller BMC commands to send a command to turn on the BMC identification LED of each node of the server, and judges whether the network of the baseboard management controller BMC and each node of the server is connected. If the network is connected, the BMC identification LED on the corresponding server node will be lit. Conversely, if the BMC identification LED on the server node is not lit, there is no disconnection between the corresponding server node and the baseboard management controller BMC. The connection needs to be re-established.

进一步地,步骤S2和步骤S3中,基板管理控制器BMC登录服务器每个节点后,后台读取该节点的资产信息。基板管理控制器BMC前台线程负责登录服务器节点,后台线程负责读取节点的资产信息,将读取信息的工作放在后台进行,从而将登录的时间大大缩短,实现了基板管理控制器BMC对服务器每个节点的同时登录。Further, in step S2 and step S3, after the baseboard management controller BMC logs in to each node of the server, the background reads the asset information of the node. The front thread of the baseboard management controller BMC is responsible for logging in to the server node, and the background thread is responsible for reading the asset information of the node. Simultaneous logins for each node.

进一步地,步骤S1之前还包括如下步骤:Further, before step S1, the following steps are also included:

步骤S1A.为服务器每个节点设置名称并分配IP地址,并将每个节点的名称及其对应的IP地址放入该服务器节点的IP地址与节点名称解析文件中。配置好IP地址和合适的域名能保证基板管理控制器BMC快速登陆服务器每个节点,令登录时间能大大缩短,实现同时登录。Step S1A. Set a name and assign an IP address for each node of the server, and put the name of each node and its corresponding IP address into the IP address and node name resolution file of the server node. Configuring the IP address and appropriate domain name can ensure that the baseboard management controller BMC can quickly log in to each node of the server, greatly shortening the login time and realizing simultaneous login.

本发明还给出如下技术方案:The present invention also provides following technical scheme:

一种快速读取服务器系统资产信息的系统,包括A system for quickly reading server system asset information, including

网络连接创建模块,用于基板管理器BMC与服务器所有节点建立网络连接;The network connection creation module is used for the baseboard manager BMC to establish network connections with all nodes of the server;

节点登录模块,用于基板管理控制器BMC同时登陆服务器所有待测节点;The node login module is used for the baseboard management controller BMC to log in all the nodes to be tested of the server at the same time;

节点资产信息读取模块,用于基板管理控制器BMC快速读取服务器每个节点系统资产信息。提前检测基板管理控制器BMC与服务器每个节点的网络是否连通,防止出现基板管理控制器BMC登陆服务器节点不成功,读取不到服务器节点系统资产信息的情况。The node asset information reading module is used for the baseboard management controller BMC to quickly read the system asset information of each node of the server. Detect whether the baseboard management controller BMC is connected to the network of each server node in advance to prevent the baseboard management controller BMC from failing to log in to the server node and failing to read the system asset information of the server node.

进一步地,还包括网络连接检测模块,用于检测基板管理控制器BMC与服务器每个节点的网络是否连通。网络连通,则对应服务器节点上的BMC标识LED会被点亮,反之,若服务器节点上的BMC标识LED没被点亮,则对应的服务器节点与基板管理控制器BMC之间的没有不连通,需要重新建立连接。Further, a network connection detection module is also included, which is used to detect whether the baseboard management controller BMC is connected to the network of each node of the server. If the network is connected, the BMC identification LED on the corresponding server node will be lit. Conversely, if the BMC identification LED on the server node is not lit, there is no disconnection between the corresponding server node and the baseboard management controller BMC. The connection needs to be re-established.

进一步地,网络连接检测模块中,基板管理控制器BMC命令发送点亮服务器每个节点的BMC标识LED的命令,判断基板管理控制器BMC与服务器每个节点的网络是否连通。Further, in the network connection detection module, the baseboard management controller BMC commands to send a command to turn on the BMC identification LED of each node of the server, and judges whether the baseboard management controller BMC is connected to the network of each node of the server.

进一步地,节点登录模块和节点资产信息读取模块中,基板管理控制器BMC登录服务器每个节点后,后台读取该节点的资产信息。基板管理控制器BMC前台线程负责登录服务器节点,后台线程负责读取节点的资产信息,将读取信息的工作放在后台进行,从而将登录的时间大大缩短,实现了基板管理控制器BMC对服务器每个节点的同时登录。Further, in the node login module and the node asset information reading module, after the baseboard management controller BMC logs in to each node of the server, the background reads the asset information of the node. The front thread of the baseboard management controller BMC is responsible for logging in to the server node, and the background thread is responsible for reading the asset information of the node. Simultaneous logins for each node.

进一步地,还包括节点名称和IP地址配置模块,用于为服务器每个节点设置名称并分配IP地址,并将每个节点的名称及其对应的IP地址放入该服务器节点的IP地址与节点名称解析文件中。配置好IP地址和合适的域名能保证基板管理控制器BMC快速登陆服务器每个节点,令登录时间能大大缩短,实现同时登录。Further, it also includes a node name and IP address configuration module, which is used to set a name and assign an IP address for each node of the server, and put the name of each node and its corresponding IP address into the IP address of the server node and the node in the name resolution file. Configuring the IP address and appropriate domain name can ensure that the baseboard management controller BMC can quickly log in to each node of the server, greatly shortening the login time and realizing simultaneous login.

本发明的有益效果在于:The beneficial effects of the present invention are:

本发明可以快速、高效、准确的对整机柜服务器上的所有节点进行同步作业,在整机柜服务器测试工作中以及日常维护中为测试人员及操作员节省了大量的宝贵时间,大大提高了工作效率。The present invention can quickly, efficiently and accurately perform synchronous operations on all the nodes on the whole cabinet server, save a lot of precious time for testers and operators in the testing work and daily maintenance of the whole cabinet server, and greatly improve the work efficiency.

此外,本发明设计原理可靠,结构简单,具有非常广泛的应用前景。In addition, the design principle of the present invention is reliable, the structure is simple, and has very wide application prospects.

由此可见,本发明与现有技术相比,具有突出的实质性特点和显著的进步,其实施的有益效果也是显而易见的。It can be seen that, compared with the prior art, the present invention has outstanding substantive features and remarkable progress, and the beneficial effects of its implementation are also obvious.

附图说明Description of drawings

图1为本发明的方法流程图;Fig. 1 is method flowchart of the present invention;

图2为本发明的系统示意图;Fig. 2 is a schematic diagram of the system of the present invention;

其中,1-网络连接创建模块;2-节点登录模块;3-节点资产信息读取模块;4-网络连接检测模块;5-节点名称和IP地址配置模块。Among them, 1-network connection creation module; 2-node login module; 3-node asset information reading module; 4-network connection detection module; 5-node name and IP address configuration module.

具体实施方式:Detailed ways:

为使得本发明的目的、特征、优点能够更加的明显和易懂,下面将结合本发明具体实施例中的附图,对本发明中的技术方案进行清楚、完整地描述。In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the present invention will be clearly and completely described below in conjunction with the drawings in the specific embodiments of the present invention.

实施例1:Example 1:

如图1所示,本发明提供一种快速读取服务器系统资产信息的方法,包括如下步骤:As shown in Figure 1, the present invention provides a method for quickly reading server system asset information, including the following steps:

步骤S1A.为服务器每个节点设置名称并分配IP地址,并将每个节点的名称及其对应的IP地址放入该服务器节点的IP地址与节点名称解析文件中;Step S1A. Set a name and assign an IP address for each node of the server, and put the name of each node and its corresponding IP address into the IP address and node name resolution file of the server node;

步骤S1.基板管理控制器BMC与服务器所有节点建立网络连接;Step S1. The baseboard management controller BMC establishes a network connection with all nodes of the server;

步骤S2A.检测基板管理控制器BMC与服务器每个节点的网络是否连通;基板管理控制器BMC命令发送点亮服务器每个节点的BMC标识LED的命令,判断基板管理控制器BMC与服务器每个节点的网络是否连通;Step S2A. Detect whether the network between the baseboard management controller BMC and each node of the server is connected; the baseboard management controller BMC command sends a command to light up the BMC identification LED of each node of the server, and judges whether the baseboard management controller BMC is connected to each node of the server Whether the network is connected;

若否,返回步骤S1;If not, return to step S1;

若是,进入步骤S2;If yes, go to step S2;

步骤S2.基板管理控制器BMC同时登陆服务器所有节点;Step S2. The baseboard management controller BMC logs in to all nodes of the server at the same time;

步骤S3.基板管理控制器BMC快速读取服务器每个节点系统资产信息;基板管理控制器BMC登录服务器每个节点后,后台读取该节点的资产信息。Step S3. The baseboard management controller BMC quickly reads the system asset information of each node of the server; after the baseboard management controller BMC logs in to each node of the server, the background reads the asset information of the node.

提前检测基板管理控制器BMC与服务器每个节点的网络是否连通,防止出现基板管理控制器BMC登陆服务器节点不成功,读取不到服务器节点系统资产信息的情况;Detect whether the baseboard management controller BMC is connected to the network of each server node in advance to prevent the baseboard management controller BMC from failing to log in to the server node and failing to read the system asset information of the server node;

网络连通,则对应服务器节点上的BMC标识LED会被点亮,反之,若服务器节点上的BMC标识LED没被点亮,则对应的服务器节点与基板管理控制器BMC之间的没有不连通,需要重新建立连接;If the network is connected, the BMC identification LED on the corresponding server node will be lit. Conversely, if the BMC identification LED on the server node is not lit, there is no disconnection between the corresponding server node and the baseboard management controller BMC. The connection needs to be re-established;

基板管理控制器BMC前台线程负责登录服务器节点,后台线程负责读取节点的资产信息,将读取信息的工作放在后台进行,从而将登录的时间大大缩短,实现了基板管理控制器BMC对服务器每个节点的同时登录;The front thread of the baseboard management controller BMC is responsible for logging in to the server node, and the background thread is responsible for reading the asset information of the node. Simultaneous login for each node;

配置好IP地址和合适的域名能保证基板管理控制器BMC快速登陆服务器每个节点,令登录时间能大大缩短,实现同时登录。Configuring the IP address and appropriate domain name can ensure that the baseboard management controller BMC can quickly log in to each node of the server, greatly shortening the login time and realizing simultaneous login.

实施例2:Example 2:

上述实施例1中,以Linux Redhat 6.4为载体,由Linux bash语言编写脚本调用linux服务和工具来实现对服务器所以节点的资产信息进行读取,以半机柜24节点为例,具体实现过程如下:In the above-mentioned embodiment 1, Linux Redhat 6.4 is used as the carrier, and Linux bash language is used to write scripts to call linux services and tools to realize reading the asset information of all nodes of the server. Taking half-rack 24 nodes as an example, the specific implementation process is as follows:

步骤S1A.为服务器每个节点设置名称并分配IP地址,并将每个节点的名称及其对应的IP地址放入该服务器节点的IP地址与节点名称解析文件中;Step S1A. Set a name and assign an IP address for each node of the server, and put the name of each node and its corresponding IP address into the IP address and node name resolution file of the server node;

将机柜中的节点按照从下到上顺序设置节点名称并分配IP地址,例如m01/192.168.1.1;m02/192.168.1.2;……;m48/192.168.1.24,同时修改每个节点系统下的/etc/hosts文件,将192.168.1.1m01;192.168.1.2m02;……;192.168.1.48m24信息加入到hosts文件内,该修改目的保证以后使用ssh+主机名就可以登录,确保每个节点都修改完,然后利用一键无密码访问脚本配置好ssh自动登陆。一键无密码访问脚本为本领域的公知常识,此处不再赘述;Set the node names and assign IP addresses to the nodes in the cabinet in order from bottom to top, such as m01/192.168.1.1; etc/hosts file, add 192.168.1.1m01; 192.168.1.2m02; ...; 192.168.1.48m24 information to the hosts file. The purpose of this modification is to ensure that you can log in with ssh+hostname in the future, and ensure that each node has been modified. , and then use the one-key passwordless access script to configure ssh automatic login. One-key password-free access to scripts is common knowledge in this field, and will not be repeated here;

步骤S1.基板管理控制器BMC与服务器所有节点建立网络连接;Step S1. The baseboard management controller BMC establishes a network connection with all nodes of the server;

步骤S2A.检测基板管理控制器BMC与服务器每个节点的网络是否连通;基板管理控制器BMC命令发送点亮服务器每个节点的BMC标识LED的命令,判断基板管理控制器BMC与服务器每个节点的网络是否连通;Step S2A. Detect whether the network between the baseboard management controller BMC and each node of the server is connected; the baseboard management controller BMC command sends a command to light up the BMC identification LED of each node of the server, and judges whether the baseboard management controller BMC is connected to each node of the server Whether the network is connected;

通过命令:By command:

for i in{01..24}for i in{01..24}

do ssh m$i ipmitool chassis identifydo ssh m$i ipmitool chassis identify

依次点亮所有节点的BMC标识LED,检测各节点网络是否通畅;Turn on the BMC identification LEDs of all nodes in turn to check whether the network of each node is smooth;

若否,返回步骤S1;If not, return to step S1;

若是,进入下一步;If yes, go to the next step;

步骤S2.基板管理控制器BMC同时登陆服务器所有节点;Step S2. The baseboard management controller BMC logs in to all nodes of the server at the same time;

步骤S3.基板管理控制器BMC快速读取服务器每个节点系统资产信息;基板管理控制器BMC登录服务器每个节点后,后台读取该节点的资产信息;Step S3. The baseboard management controller BMC quickly reads the system asset information of each node of the server; after the baseboard management controller BMC logs in to each node of the server, the background reads the asset information of the node;

shab程序的$2部分如下:The $2 part of the shab program is as follows:

将上述部分整合为一个脚本,在shab部分后使用,即可完成对所有节点系统资产信息的快速读取。Integrate the above parts into a script and use it after the shab part to complete the quick reading of all node system asset information.

实施例3:Example 3:

如图2所示,本发明提供一种快速读取服务器系统资产信息的系统,包括As shown in Figure 2, the present invention provides a system for quickly reading server system asset information, including

网络连接创建模块1,用于基板管理器BMC与服务器所有节点建立网络连接;The network connection creation module 1 is used for the baseboard manager BMC to establish network connections with all nodes of the server;

节点登录模块2,用于基板管理控制器BMC同时登陆服务器所有节点;Node login module 2, used for the baseboard management controller BMC to log in to all nodes of the server at the same time;

节点资产信息读取模块3,用于基板管理控制器BMC快速读取服务器每个节点系统资产信息;基板管理控制器BMC登录服务器每个节点后,后台读取该节点的资产信息;The node asset information reading module 3 is used for the baseboard management controller BMC to quickly read the system asset information of each node of the server; after the baseboard management controller BMC logs in to each node of the server, the background reads the asset information of the node;

网络连接检测模块4,用于检测基板管理控制器BMC与服务器每个节点的网络是否连通;基板管理控制器BMC命令发送点亮服务器每个节点的BMC标识LED的命令,判断基板管理控制器BMC与服务器每个节点的网络是否连通;The network connection detection module 4 is used to detect whether the network of the baseboard management controller BMC and each node of the server is connected; the baseboard management controller BMC command sends a command to light up the BMC identification LED of each node of the server, and judges whether the baseboard management controller BMC Whether the network with each node of the server is connected;

包括节点名称和IP地址配置模块5,用于为服务器每个节点设置名称并分配IP地址,并将每个节点的名称及其对应的IP地址放入该服务器节点的IP地址与节点名称解析文件中。Including the node name and IP address configuration module 5, which is used to set the name and assign an IP address for each node of the server, and put the name of each node and its corresponding IP address into the IP address and node name resolution file of the server node middle.

本发明的实施例是说明性的,而非限定性的,上述实施例只是帮助理解本发明,因此本发明不限于具体实施方式中所述的实施例,凡是由本领域技术人员根据本发明的技术方案得出的其他的具体实施方式,同样属于本发明保护的范围。The embodiments of the present invention are illustrative, rather than limiting, and the above-mentioned embodiments are only to help understand the present invention, so the present invention is not limited to the embodiments described in the specific implementation manner, and those skilled in the art according to the technology of the present invention Other specific implementation modes derived from the scheme also belong to the protection scope of the present invention.

Claims (10)

1. a kind of method of quick reading service device system asset information, which is characterized in that include the following steps:
Step S1. baseboard management controllers BMC establishes network connection with all nodes of server;
Step S2. baseboard management controllers BMC while all nodes of game server;
The each node system assets information of the quick reading service devices of step S3. baseboard management controllers BMC.
2. a kind of method of quick reading service device system asset information as described in claim 1, which is characterized in that step S1 Further include between step S2:
Whether step S2A. detections baseboard management controller BMC is connected to the network of each node of server;
If it is not, return to step S1;
If so, entering step S2.
3. a kind of method of quick reading service device system asset information as claimed in claim 2, which is characterized in that
In step S2A, baseboard management controller BMC orders send the order for the BMC identification LEDs for lighting each node of server, Judge whether baseboard management controller BMC and the network of each node of server are connected to.
4. a kind of method of quick reading service device system asset information as described in claim 1, which is characterized in that
In step S2 and step S3, after each node of baseboard management controller BMC login service devices, the money of the node is read from the background Produce information.
5. a kind of method of quick reading service device system asset information as described in claim 1, which is characterized in that step S1 Further include following steps before:
Step S1A. is that each node of server is arranged title and distributes IP address, and by the title and its correspondence of each node IP address be put into the IP address of the server node in nodename resolution file.
6. a kind of system of quick reading service device system asset information, which is characterized in that including
Network connection creation module(1), network connection is established for substrate manager BMC and all nodes of server;
Node registers module(2), for baseboard management controller BMC while all nodes to be measured of game server;
Node assets information read module(3), for each node system money of the quick reading service devices of baseboard management controller BMC Produce information.
7. a kind of system of quick reading service device system asset information as claimed in claim 6, which is characterized in that further include Network connection sensing module(4), for detecting whether baseboard management controller BMC is connected to the network of each node of server.
8. a kind of system of quick reading service device system asset information as claimed in claim 7, which is characterized in that
Network connection sensing module(4)In, baseboard management controller BMC orders send the BMC marks for lighting each node of server The order for knowing LED, judges whether baseboard management controller BMC and the network of each node of server are connected to.
9. a kind of system of quick reading service device system asset information as claimed in claim 6, which is characterized in that node is stepped on Record module(2)With node assets information read module(3)In, after each node of baseboard management controller BMC login service devices, after Platform reads the assets information of the node.
10. a kind of system of quick reading service device system asset information as claimed in claim 6, which is characterized in that also wrap Include nodename and IP address configuration module(5), for title to be arranged for each node of server and distributes IP address, and will be every The title of a node and its corresponding IP address are put into IP address and the nodename resolution file of the server node.
CN201810596252.3A 2018-06-11 2018-06-11 A kind of method and system of quick reading service device system asset information Pending CN108718255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810596252.3A CN108718255A (en) 2018-06-11 2018-06-11 A kind of method and system of quick reading service device system asset information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810596252.3A CN108718255A (en) 2018-06-11 2018-06-11 A kind of method and system of quick reading service device system asset information

Publications (1)

Publication Number Publication Date
CN108718255A true CN108718255A (en) 2018-10-30

Family

ID=63912104

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810596252.3A Pending CN108718255A (en) 2018-06-11 2018-06-11 A kind of method and system of quick reading service device system asset information

Country Status (1)

Country Link
CN (1) CN108718255A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806179A (en) * 2021-09-23 2021-12-17 中国工商银行股份有限公司 Out-of-band information management device and method for machine room server and machine room

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
CN104461611A (en) * 2014-11-05 2015-03-25 浪潮电子信息产业股份有限公司 A method for refreshing node BIOS in batches of RACK cabinets
CN105260208A (en) * 2015-10-10 2016-01-20 浪潮电子信息产业股份有限公司 A method for server to automatically refresh RAID card drivers in batches
CN105608002A (en) * 2015-12-17 2016-05-25 浪潮电子信息产业股份有限公司 A method to simultaneously capture all node information of the entire Rack cabinet
CN105893097A (en) * 2016-04-25 2016-08-24 浪潮电子信息产业股份有限公司 Method and device for processing option information of BIOS (basic input output system)
CN106445591A (en) * 2016-09-19 2017-02-22 郑州云海信息技术有限公司 A method for automatically swiping RAID card FW by a server in batches

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
CN104461611A (en) * 2014-11-05 2015-03-25 浪潮电子信息产业股份有限公司 A method for refreshing node BIOS in batches of RACK cabinets
CN105260208A (en) * 2015-10-10 2016-01-20 浪潮电子信息产业股份有限公司 A method for server to automatically refresh RAID card drivers in batches
CN105608002A (en) * 2015-12-17 2016-05-25 浪潮电子信息产业股份有限公司 A method to simultaneously capture all node information of the entire Rack cabinet
CN105893097A (en) * 2016-04-25 2016-08-24 浪潮电子信息产业股份有限公司 Method and device for processing option information of BIOS (basic input output system)
CN106445591A (en) * 2016-09-19 2017-02-22 郑州云海信息技术有限公司 A method for automatically swiping RAID card FW by a server in batches

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806179A (en) * 2021-09-23 2021-12-17 中国工商银行股份有限公司 Out-of-band information management device and method for machine room server and machine room

Similar Documents

Publication Publication Date Title
TWI741505B (en) Topology processing method, device and system
CN104360922A (en) Method for automatically monitoring BMC working state based on ipmitool
CN102123044B (en) Detection device and method of network topology consistency based on topology discovery technology
CN103377061A (en) Firmware updating management system and method
CN115150252A (en) A network fault detection method, system and device
CN101651561B (en) Network topology analytical method and system based on rule engine
CN107612775A (en) A kind of node two level connects the DC method of testings and system of server
TWI638553B (en) Method for detecting internet protocol address and media access control address
CN105389242A (en) A method for realizing batch acquisition of server information of the whole cabinet
CN114661535A (en) Operation and maintenance management method and device for Internet of things equipment, electronic equipment and storage medium
CN107643964A (en) A kind of method of automatic batch test whole machine cabinet server performance
CN107094091A (en) A kind of intelligent substation station level network configuration method of calibration and system
CN109684138A (en) A kind of visualization hard disk automatic test approach, device, terminal and storage medium
CN102143414B (en) Method for implementing network connection test between local-side device and terminal device in EPON (Ethernet passive optical network)
CN111339055B (en) Big data cluster capacity expansion method and device
CN203492034U (en) Data center server and asset management system, and server management device
CN110166322B (en) A detection method and related device of a metering automation terminal
CN108718255A (en) A kind of method and system of quick reading service device system asset information
CN107800802A (en) A kind of Rack whole machine cabinets write-in and the method for reading UUID
CN106600461A (en) data verification method, device and equipment
CN108650132A (en) A kind of cabinet power supply stability detection method, device, equipment and storage medium
CN118802520A (en) A Nginx configuration detection method and device for network range system
CN106714415A (en) Lighting remote control system
CN113992505A (en) Network equipment configuration method and device, electronic equipment and readable storage medium
CN101388882B (en) Network protocol address configuration system and method

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: 20181030