CN105024849A - Method for batch operation of high-density cabinet server on each node BMC - Google Patents
Method for batch operation of high-density cabinet server on each node BMC Download PDFInfo
- Publication number
- CN105024849A CN105024849A CN201510295589.7A CN201510295589A CN105024849A CN 105024849 A CN105024849 A CN 105024849A CN 201510295589 A CN201510295589 A CN 201510295589A CN 105024849 A CN105024849 A CN 105024849A
- Authority
- CN
- China
- Prior art keywords
- node
- bmc
- batch
- nodes
- sharelink
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000003068 static effect Effects 0.000 claims abstract description 8
- 230000008569 process Effects 0.000 abstract description 8
- 238000005516 engineering process Methods 0.000 abstract description 4
- 230000001360 synchronised effect Effects 0.000 abstract 1
- 108010028984 3-isopropylmalate dehydratase Proteins 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000003252 repetitive effect Effects 0.000 description 2
- 230000001154 acute effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000036541 health Effects 0.000 description 1
- 208000015181 infectious disease Diseases 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a method for batch operation of a high-density cabinet server on each node BMC, which relates to a server BMC operation technology.A node name is set for all nodes in a high-density cabinet according to the sequence of physical positions from top to bottom, a system IP address is distributed, ssh is configured and automatically logged in after distribution is finished, BMC identification LEDs of all nodes are sequentially lightened, after the completion, a static IP of Sharelink is set corresponding to the system IP, and whether a system network of each node is unobstructed is detected; and selecting a certain node in the cabinet as a control node, performing out-of-band access to each node and executing BMC operation. The invention can realize synchronous execution of various operations on the BMC of each node, greatly saves the time for executing the operations on the BMC by the node one by one, and can avoid the risk of operation failure caused by misoperation possibly occurring in the waiting process.
Description
Technical field
The present invention relates to server B MC operating technology, a kind of high density equipment cabinet server is to the method for each Node B MC batch operation specifically.
Background technology
IPMI is the abbreviation of intelligent platform management interface (Intelligent Platform Management Interface), is a kind of industrial standard that the ancillary equipment used in the business system of management based on Intel structure adopts.User can utilize the physical health feature of IPMI monitor server, as temperature, voltage, fan operating state, power supply status etc., can also pass through the remote environment such as serial ports, Modem and Lan management server system (comprising remote on-off).
IPMI information passes through BMC(Baseboard Management Controller, baseboard management controller) exchange, use low-level hardware intelligent management and do not use operating system to manage.It has two major advantages: first, and this configuration allows to carry out being with outer server admin; Secondly, operating system need not the task of bearing transport system state data.
High density server rack Smart Rack comprises the server node of 20 to 40 same structures and configuration usually, test and regular maintenance process in, need to carry out various types of a large amount of repetitive operation to the BMC of these nodes.Under normal circumstances, to capture BMC daily record, content is the BMC daily record of 1000, approximately need just can print for 20 to 30 seconds to be then saved to document under linux system, if carry out grasping manipulation one by one at each node, need each node to print successively, then can need the time of more than 10 to 20 minutes.Also be like this as other to the operation of BMC, and when a large amount of repetitive operation, there will be the mistake that some are difficult to avoid unavoidably.
Summary of the invention
The present invention is directed to the weak point that prior art exists, provide a kind of practical high density equipment cabinet server to the method for each Node B MC batch operation.
A kind of high density equipment cabinet server of the present invention is to the method for each Node B MC batch operation, the technical scheme solving the problems of the technologies described above employing is as follows: the method for this high density equipment cabinet server to each Node B MC batch operation comprises preposition work and batch XM BMC operates two steps, described preposition work comprises: the whole nodes in high density rack are arranged nodename according to physical location order from top to bottom, and distribution system IP address, configure ssh after being assigned and automatically log in, light the BMC identification LEDs of all nodes successively, batch XM BMC operation is entered after completing, described batch XM BMC operation comprises: arranged by the static IP correspondence system IP of Sharelink, whether unobstructedly detect each node system network (Sharelink network), choose some nodes in rack, as Controlling vertex, carry out each node of out-of-band access and perform BMC operation.
Preferably, carry out each node of out-of-band access and perform BMC operation: performing shell script, configure BMC Sharelink IP, use each Node B MC of Controlling vertex out-of-band access, by logging in the Node B MC Sharelink IP address to previous cycle arrives outside this script use ipmitool tool belt, then perform concrete operations instruction and proceed to consistency operation, direct cycle to last node.
Preferably, based on the bash script under (SuSE) Linux OS.
The beneficial effect that the method for a kind of high density equipment cabinet server of the present invention to each Node B MC batch operation compared with prior art has is: the method can under linux system fast and convenient whole nodes efficiently to whole rack, carry out BMC simultaneous operation operation, because the major part of operational order has been incorporated in script, only need the concrete instruction inputting action required, can realize synchronously performing various operation to the BMC of each node, the BMC executable operations to great deal of nodes can be completed fast and accurately, save in a large number one by one node to the time of BMC executable operations, and the misoperation that may occur in waiting process can be avoided, and cause the risk of operation failure, not only in test job, improve operating efficiency, it is convenient, practical, applied widely to also provide the maintenance work in server later stage, is easy to promote.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, below in conjunction with specific embodiment, a kind of high density equipment cabinet server of the present invention is further described the method for each Node B MC batch operation.
A kind of high density equipment cabinet server of the present invention is to the method for each Node B MC batch operation, comprise preposition work and operate two steps with batch XM BMC, described preposition work comprises: the whole nodes in high density rack are arranged nodename according to physical location order from top to bottom, and distribution system IP address, configure ssh after being assigned and automatically log in, light the BMC identification LEDs of all nodes successively, after completing, enter batch XM BMC operation; Described batch XM BMC operation comprises: arranged by the static IP correspondence system IP of Sharelink, whether unobstructedly detect each node system network (Sharelink network); Choose some nodes in rack, as Controlling vertex, to use ipmitool instrument by the BMC Sharelink IP out-of-band access Node B MC of each node, and proceed to backstage after performing specified command, perform next node.
Embodiment:
Described in the present embodiment, a kind of high density equipment cabinet server is to the method for each Node B MC batch operation, carry out each node of out-of-band access and the detailed process of executable operations is: perform shell script, configure BMC Sharelink IP, use each Node B MC of Controlling vertex out-of-band access, by logging in the Node B MC Sharelink IP address to previous cycle arrives outside this script use ipmitool tool belt, then perform concrete operations instruction and proceed to consistency operation, direct cycle to last node.
High density equipment cabinet server described in the present embodiment, to the method for each Node B MC batch operation, is form based on the bash script edit under (SuSE) Linux OS; Using nodes some in rack as Controlling vertex, this Controlling vertex is utilized to complete operations by the BMC of other nodes of ipmitool instrument out-of-band access.
The specific implementation process of described preposition job step is:
Whole nodes in rack are sequentially arranged nodename and distributing IP address, such as cu1/192.168.1.1 from top to bottom according to physical location; Cu2/192.168.1.2; Cu40/192.168.1.40; Configure ssh after being assigned automatically to log in;
Then by order: For i in { 1..40}
dosshcu$iipmitool chassis identify;
Light the BMC identification LEDs of all nodes successively, whether unobstructedly detect each meshed network, batch XM BMC can be carried out after having detected and operate.
Below for 40 node Smart Rack servers, described the static IP correspondence system IP of Sharelink to be arranged:
#!/bin/bash
function setsharelinkip()
Naming program is setsharelinkip. herein
{
echo "--$i-is settting....."
Type information, i(currency) is setting
ssh cu$i "/usr/bin/ipmitool lan set 8 ipsrc static;
Long-range to the i-th node, perform ipmitool program by sharelink(8) IP pattern (ipsrc) be set to static state (static);
/usr/bin/ipmitool lan set 8 ipaddr 192.168.1.`echo "100+$i" | bc`;
Sharelink(8 is set) IP address (ipaddr) be 192.168.1.(100+i currency), `echo " 100+ $ i " | bc` is expressed as and prints 100+i result of calculation (| bc);
/usr/bin/ipmitool lan set 8 netmask 255.255.255.0" &
}
Sharelink(8 is set) subcode cover net (netmask) for 255.255.255.0, & represent enter backstage proceed to perform next step; Above Programm etsharelinkip has write.Note in the end order & symbol below, if do not add & symbol herein, then the Sharelink IP of next node arranges and can carry out after being provided with of a upper node, and two nodes arrange Sharelink IP does not conflict mutually simultaneously, therefore, add this & symbol, what directly proceed to next node arranges action, to save time.
Next step performs this program of setsharelinkip in script:
for i in {1..40},
Defined parameters " i " is circulated to 40 from 1;
do
setsharelinkip
Perform setsharelinkip program, the BMC Sharelink IP of 1 to 40 node is set;
Done
EP (end of program).
Described step batch to the detailed process that each Node B MC operates is:
!/bin/bash
function ipmigo ()
Naming program is ipmigo herein,
{
ipmitool -I lan -H $1 -U username -P passwd $2
}
Use ipmitool, set up network channel (-I lan), link IP address is the main frame of " $ 1 ", (-H $ 1), $ 1 is variable herein, the BMC IP of acute pyogenic infection of finger tip access, can specify BMC IP during follow-up utility command, input user name and password, (be the user name of access BMC after-U, be password after-P), $ 2 is concrete operations instruction, and the operating instruction according to ipmitool is filled in.
for i in {101..140}
I is circulated to 140 from 101
do ipmigo 192.168.1.$i "$2" | tee $i.dat &
Executable operations, ipmigo 192.168.1. $ i " $ 2 ", 192.168.1. $ i is the BMC IP address set above herein, and traveled through to 192.168.1.140 by 192.168.1.101, " $ 2 " is the concrete operations order of execution.Use &, proceed to backstage after this step being performed, after order sends, proceed to next node BMC at once, and without the need to etc. to be operatedly to complete.Only need reservation operations result to $ i.dat;
So greatly save the operating time, originally need the time complete operation of 40 times, only need single time to complete after using this order, and avoid the misoperation that may occur in waiting process, and cause operation failure;
done
EP (end of program).All operations operation can be completed and store operation result by above-mentioned specific implementation process.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; any claims according to the invention and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.
Claims (3)
1. a high density equipment cabinet server is to the method for each Node B MC batch operation, it is characterized in that, comprise preposition work and operate two steps with batch XM BMC, described preposition work comprises: the whole nodes in high density rack are arranged nodename according to physical location order from top to bottom, and distribution system IP address, configure ssh after being assigned and automatically log in, lighting the BMC identification LEDs of all nodes successively, after completing, entering batch XM BMC operation; Described batch XM BMC operation comprises: arranged by the static IP correspondence system IP of Sharelink, whether unobstructedly detect each node system network; Choose some nodes in rack, as Controlling vertex, carry out each node of out-of-band access and perform BMC operation.
2. according to claim 1 a kind of high density equipment cabinet server to the method for each Node B MC batch operation, it is characterized in that, carry out each node of out-of-band access and perform BMC operation: performing shell script, configure BMC Sharelink IP, use each Node B MC of Controlling vertex out-of-band access, by logging in the Node B MC Sharelink IP address to previous cycle arrives outside this script use ipmitool tool belt, then perform concrete operations instruction and proceed to consistency operation, direct cycle to last node.
3. a kind of high density equipment cabinet server, to the method for each Node B MC batch operation, is characterized in that according to claim 1, based on the bash script under (SuSE) Linux OS.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510295589.7A CN105024849A (en) | 2015-06-02 | 2015-06-02 | Method for batch operation of high-density cabinet server on each node BMC |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510295589.7A CN105024849A (en) | 2015-06-02 | 2015-06-02 | Method for batch operation of high-density cabinet server on each node BMC |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105024849A true CN105024849A (en) | 2015-11-04 |
Family
ID=54414578
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510295589.7A Pending CN105024849A (en) | 2015-06-02 | 2015-06-02 | Method for batch operation of high-density cabinet server on each node BMC |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105024849A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426184A (en) * | 2015-11-12 | 2016-03-23 | 浪潮电子信息产业股份有限公司 | Method for setting static IP of Linux system of whole cabinet in batch |
CN106302864A (en) * | 2016-10-21 | 2017-01-04 | 用友网络科技股份有限公司 | A kind of IP in order arranges system |
CN107800802A (en) * | 2017-11-10 | 2018-03-13 | 郑州云海信息技术有限公司 | A kind of Rack whole machine cabinets write-in and the method for reading UUID |
CN107819834A (en) * | 2017-10-27 | 2018-03-20 | 郑州云海信息技术有限公司 | The method and system of the state of quick confirmed service device PCIe device and position under Linux |
CN108040131A (en) * | 2017-11-10 | 2018-05-15 | 中国电子科技集团公司第三十二研究所 | Method for automatically configuring network port address of node management module by whole cabinet server |
CN109413223A (en) * | 2018-11-07 | 2019-03-01 | 郑州云海信息技术有限公司 | Server B MC network interface IP address configuration method, device, equipment and medium |
CN109587282A (en) * | 2018-11-12 | 2019-04-05 | 郑州云海信息技术有限公司 | A kind of method and system towards SR whole machine cabinet automatic configuration node IP |
CN111934945A (en) * | 2020-07-10 | 2020-11-13 | 浪潮电子信息产业股份有限公司 | Method and system for testing plugging and unplugging of BMC sharelink network port |
CN113347287A (en) * | 2021-08-06 | 2021-09-03 | 苏州浪潮智能科技有限公司 | Host discovery and addition method, device, equipment and medium in data center |
CN114363166A (en) * | 2022-01-04 | 2022-04-15 | 北京全路通信信号研究设计院集团有限公司 | Network equipment configuration method, cabinet, network management system and network configuration system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050114640A1 (en) * | 2003-11-17 | 2005-05-26 | International Business Machines Corporation | Method and system for efficiently binding a customer order with a processing system assembly in a manufacturing environment |
CN104375860A (en) * | 2014-10-30 | 2015-02-25 | 浪潮电子信息产业股份有限公司 | Method for refreshing high-density cabinet nodes BMC in batch |
CN104375859A (en) * | 2014-10-29 | 2015-02-25 | 浪潮电子信息产业股份有限公司 | Method for refreshing nodes BMC in batch for Rack complete machine cabinet |
-
2015
- 2015-06-02 CN CN201510295589.7A patent/CN105024849A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050114640A1 (en) * | 2003-11-17 | 2005-05-26 | International Business Machines Corporation | Method and system for efficiently binding a customer order with a processing system assembly in a manufacturing environment |
CN104375859A (en) * | 2014-10-29 | 2015-02-25 | 浪潮电子信息产业股份有限公司 | Method for refreshing nodes BMC in batch for Rack complete machine cabinet |
CN104375860A (en) * | 2014-10-30 | 2015-02-25 | 浪潮电子信息产业股份有限公司 | Method for refreshing high-density cabinet nodes BMC in batch |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105426184A (en) * | 2015-11-12 | 2016-03-23 | 浪潮电子信息产业股份有限公司 | Method for setting static IP of Linux system of whole cabinet in batch |
CN106302864A (en) * | 2016-10-21 | 2017-01-04 | 用友网络科技股份有限公司 | A kind of IP in order arranges system |
CN107819834A (en) * | 2017-10-27 | 2018-03-20 | 郑州云海信息技术有限公司 | The method and system of the state of quick confirmed service device PCIe device and position under Linux |
CN107800802A (en) * | 2017-11-10 | 2018-03-13 | 郑州云海信息技术有限公司 | A kind of Rack whole machine cabinets write-in and the method for reading UUID |
CN108040131A (en) * | 2017-11-10 | 2018-05-15 | 中国电子科技集团公司第三十二研究所 | Method for automatically configuring network port address of node management module by whole cabinet server |
CN109413223A (en) * | 2018-11-07 | 2019-03-01 | 郑州云海信息技术有限公司 | Server B MC network interface IP address configuration method, device, equipment and medium |
CN109587282A (en) * | 2018-11-12 | 2019-04-05 | 郑州云海信息技术有限公司 | A kind of method and system towards SR whole machine cabinet automatic configuration node IP |
CN109587282B (en) * | 2018-11-12 | 2022-02-18 | 郑州云海信息技术有限公司 | Method and system for SR (scheduling request) oriented automatic node IP (Internet protocol) configuration of complete equipment cabinet |
CN111934945A (en) * | 2020-07-10 | 2020-11-13 | 浪潮电子信息产业股份有限公司 | Method and system for testing plugging and unplugging of BMC sharelink network port |
CN113347287A (en) * | 2021-08-06 | 2021-09-03 | 苏州浪潮智能科技有限公司 | Host discovery and addition method, device, equipment and medium in data center |
CN113347287B (en) * | 2021-08-06 | 2021-10-15 | 苏州浪潮智能科技有限公司 | Host discovery and addition method, device, equipment and medium in data center |
WO2023010821A1 (en) * | 2021-08-06 | 2023-02-09 | 苏州浪潮智能科技有限公司 | Host discovery and addition method and apparatus in data center, and device and medium |
US11888812B1 (en) | 2021-08-06 | 2024-01-30 | Inspur Suzhou Intelligent Technology Co., Ltd. | Host discovery and addition method and apparatus in data center, and device and medium |
CN114363166A (en) * | 2022-01-04 | 2022-04-15 | 北京全路通信信号研究设计院集团有限公司 | Network equipment configuration method, cabinet, network management system and network configuration system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105024849A (en) | Method for batch operation of high-density cabinet server on each node BMC | |
CN102693141A (en) | BMC based Firmware automatic update system of programmable logic device of server | |
CN104615487B (en) | Parallel task optimization system and method | |
CN104461611A (en) | Method for refreshing node BIOS (basic input/output system) of RACK (RACK operating system) in batches | |
CN106681738A (en) | Method of modifying BIOS current values of Rack server based on Map String | |
CN105260208A (en) | Method for automatically refreshing RAID card drive in batches by server | |
CN105955742A (en) | BIOS refreshing method, service system and BIOS refreshing system | |
CN110851320A (en) | Server downtime supervision method, system, terminal and storage medium | |
CN105204880B (en) | computer system and setting method of basic input and output system | |
CN108228430A (en) | A kind of server monitoring method and device | |
CN107911251A (en) | A kind of method for configuring network equipment, device and medium | |
CN107111595A (en) | Dual purpose guides register | |
CN108134690A (en) | Network service deployment flow control method, apparatus and system | |
CN107094091A (en) | A kind of intelligent substation station level network configuration method of calibration and system | |
CN106775884A (en) | Method and equipment for upgrading control program of wind generating set | |
CN108989123A (en) | A kind of server configuration method and device | |
CN104506389A (en) | Integral high-density server stability testing method | |
CN105849699B (en) | Method for controlling data center architecture equipment | |
CN107800802A (en) | A kind of Rack whole machine cabinets write-in and the method for reading UUID | |
CN108650132A (en) | A kind of cabinet power supply stability detection method, device, equipment and storage medium | |
CN108334426A (en) | A kind of more SSD/HDD integration tests and tele-control system and its method | |
CN109960614A (en) | Server system and management method | |
CN109669905A (en) | A kind of hot removing method, system and the relevant apparatus of PCIE device | |
US11714687B2 (en) | Dynamic preparation of a new network environment, and subsequent monitoring thereof | |
CN107018032A (en) | A kind of monitoring system server and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20151104 |
|
WD01 | Invention patent application deemed withdrawn after publication |