CN112241349A - Method and system for automatically configuring and managing network IP address of whole cabinet server - Google Patents

Method and system for automatically configuring and managing network IP address of whole cabinet server Download PDF

Info

Publication number
CN112241349A
CN112241349A CN202011130507.0A CN202011130507A CN112241349A CN 112241349 A CN112241349 A CN 112241349A CN 202011130507 A CN202011130507 A CN 202011130507A CN 112241349 A CN112241349 A CN 112241349A
Authority
CN
China
Prior art keywords
cabinet
unit
server
bmc
address
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
CN202011130507.0A
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.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC Electronics 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 Shandong Chaoyue CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN202011130507.0A priority Critical patent/CN112241349A/en
Publication of CN112241349A publication Critical patent/CN112241349A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test

Abstract

The invention discloses a method and a system for automatically configuring and managing a network IP address by a whole cabinet server, belonging to the field of service test, aiming at solving the technical problem of ensuring the normal operation of the management function of an RMC under the condition of saving manpower and material resources, and adopting the following technical scheme: the method comprises the steps that two dial switches are respectively arranged on a back plate of each server node in a cabinet, and the two dial switches are respectively connected with GPIO pins of a BMC; the two dial switches are respectively used for representing the cabinet number where the current server node is located and the unit number of the current server node; the state of the dial switch is set according to the requirements of the cabinet number and the unit number, the node BMC and the CPU management network port address are automatically configured by the whole cabinet server, the management function of the RMC can be ensured to run normally, and the RMC can automatically identify the type, the type and the quantity of the information to be monitored in the cabinet. The invention also discloses a system for automatically configuring and managing the network IP address by the whole cabinet server.

Description

Method and system for automatically configuring and managing network IP address of whole cabinet server
Technical Field
The invention relates to the field of server testing, in particular to a method and a system for automatically configuring and managing network IP addresses of a server of a whole cabinet.
Background
With the advent of the big data era, the whole cabinet server is more and more widely applied in practice. A plurality of server nodes are integrated in the whole cabinet, and the RMC responsible for monitoring and managing the whole cabinet is used for unified management and centralized monitoring. Each server node can be a computer system which operates independently, and each server node is provided with a Baseboard management controller (BMC Baseboard management controller) which collects and manages various sensor monitoring information on the node; meanwhile, the CPU of each server node also performs management work required under part of the system to acquire system monitoring information. Typically, information monitored by the BMCs of the nodes and information monitored by the CPU systems are reported to the cabinet RMC through the management network.
Generally, as a plurality of server nodes in a whole cabinet are up to dozens of hundreds, the RMC (centralized monitoring Management Controller) mainly monitors and manages key temperature information of the server nodes and functions of turning on and off the computer, and the like, and other data information of the server nodes, such as Management and viewing of current, voltage, temperature and log files, online upgrade, and the like, needs to enter the BMC of the server node for Management. Because the server nodes in the whole cabinet are often deployed in a plurality of cabinets, and different server nodes can be divided into types such as a computing unit and a storage unit according to different functions, the server nodes are distinguished through the setting of IP addresses. When the power is powered on for the first time, the IP addresses of the BMC and the CPU are not set to avoid the problem of IP conflict, the IP needs to be independently set under the system or debugging serial ports of the CPU and the BMC, and after the IP addresses of the server nodes are set, the RMC needs to be removed to set the IP addresses of the targets to be monitored in a classified mode. Under the condition of more server nodes, a large amount of manpower and material resources are consumed, and meanwhile, the function of the whole management system is easily influenced by errors.
Disclosure of Invention
The technical task of the invention is to provide a method and a system for automatically configuring and managing a network IP address by a server of a whole cabinet, so as to solve the problem of ensuring the normal operation of the management function of an RMC under the condition of saving manpower and material resources.
The technical task of the invention is realized in the following way, a method for automatically configuring and managing the IP address of a whole cabinet server is characterized in that two dial switches are respectively arranged on the back plate of each server node in a cabinet, and the two dial switches are respectively connected with the GPIO pin of a BMC; the two dial switches are respectively used for representing the cabinet number where the current server node is located and the unit number of the current server node; the state of the dial switch is set according to the requirements of the cabinet number and the unit number, the node BMC and the CPU management network port address are automatically configured by the whole cabinet server, the management function of the RMC can be ensured to run normally, and the RMC can automatically identify the type, the type and the quantity of the information to be monitored in the cabinet.
Preferably, the method is specifically as follows:
s1, setting IP addresses of all server nodes in the cabinet;
s2, RMC scans each unit BMC and CPU in the cabinet.
Preferably, the IP address setting of each server node in the cabinet in step S1 is as follows:
s101, powering on each server node and carrying out initialization processing;
s102, scanning a backboard cabinet number and a unit number by a unit BMC on each server node;
s103, configuring the IP address of the unit BMC according to the scanned unit number;
s104, the unit BMC sends the slot position information to the CPU;
s105, the CPU sets the own IP address.
Preferably, after each server node is powered on in step S101, the unit BMC of each server node determines its own unit type according to its own fixed difference; and simultaneously, reading the high-low level state of the GPIO pins connected with the two dial switches, judging the unit number and the cabinet number of the device, and setting the IP address of the device.
Preferably, the step S104 of sending the slot information to the CPU by the unit BMC means that the information of the unit number and the cabinet number is transmitted to the CPU of each server node through the communication bus, and an IP address of the management network under the system is set.
More preferably, the cell types include JS, CC, JH, GL, AQ and CL.
Preferably, in the step S2, the RMC scans each unit BMC and CPU in the cabinet as follows:
s201, powering on a cabinet RMC and carrying out initialization processing;
s202, the cabinet RMC scans each unit BMC and CPU in the cabinet according to the IP range and the type set by different unit BMC, and records the number of scanned server nodes;
and S203, repeating the step S202 until the number of the scanned server nodes is the maximum number capable of being placed in the cabinet, stopping scanning, and executing management work through the scanned IP addresses.
A system for automatically configuring and managing network IP addresses of a server of a whole cabinet comprises a cabinet, wherein a server node and a cabinet RMC are arranged in the cabinet, two 8-bit dial switches are arranged on a back plate of the server node, and the two 8-bit dial switches are respectively connected with GPIO pins of a unit BMC of each server node; the two dial switches are respectively used for representing the cabinet number where the current server node is located and the unit number of the current server node;
the unit BMC of each server node sets the IP address of the unit BMC, transmits the unit number and the cabinet number to the CPU of the node server through a communication bus, and sets the IP address of a management network under the system; and the cabinet RMC scans each unit BMC and CPU in the cabinet according to the IP range and the type set by different unit BMC, and records the number of the scanned server nodes.
Preferably, the unit BMC judges the unit type of the unit according to different self-fixing conditions; and simultaneously, reading the high-low level state of the GPIO pins connected with the two dial switches, judging the unit number and the cabinet number of the device, and setting the IP address of the device.
More preferably, the cell types include JS, CC, JH, GL, AQ and CL.
The method and the system for automatically configuring and managing the network IP address by the whole cabinet server have the following advantages: the invention realizes the automatic configuration of the node BMC and the CPU management network port address of the whole cabinet server, ensures the normal operation of the management function of the RMC, ensures that the RMC can automatically identify the type, the type and the number of units to be monitored in the cabinet, saves manpower and material resources and improves the function of the whole management system.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a block diagram of a process for setting IP addresses of server nodes in a cabinet;
FIG. 2 is a block diagram of the flow of RMC scanning each unit BMC and CPU in the cabinet.
Detailed Description
The method and system for automatically configuring and managing network IP addresses of a whole cabinet server of the invention are described in detail below with reference to the drawings and the specific embodiments of the specification.
Example (b):
the invention relates to a method for automatically configuring and managing network IP addresses of servers of a whole cabinet, which is characterized in that two 8-bit dial switches A1 and A2 are respectively arranged on a back panel of each server node in the cabinet, and the two 8-bit dial switches A1 and A2 are respectively connected with GPIO pins of a BMC; the dial switch A1 is used for representing the cabinet number where the current server node is located; the dial switch A2 is used for representing the unit number of the current server node; the states of the dial-up switches A1 and A2 are set according to the requirements of the cabinet number and the unit number, so that the whole cabinet server can automatically configure the addresses of the nodes BMC and the CPU management network port, the management function of the RMC can be ensured to normally operate, and the RMC can automatically identify the type, the type and the number of the units of information to be monitored in the cabinet; the method comprises the following specific steps:
s1, setting IP addresses of all server nodes in the cabinet;
s2, RMC scans each unit BMC and CPU in the cabinet.
As shown in fig. 1, in this embodiment, the IP addresses of the server nodes in the cabinet in step S1 are specifically set as follows:
s101, powering on each server node and carrying out initialization processing;
s102, scanning a backboard cabinet number and a unit number by a unit BMC on each server node;
s103, configuring the IP address of the unit BMC according to the scanned unit number;
s104, the unit BMC sends the slot position information to the CPU;
s105, the CPU sets the own IP address.
After each server node is powered on in step S101 in this embodiment, the unit BMC of each server node determines its own unit type according to its own fixed difference: JS, CC, JH, GL, AQ and CL; and simultaneously, reading the high-low level state of the GPIO pins connected with the two dial switches, and judging the unit number of the GPIO pins as follows: 1. 2, 3, 4., cabinet number: 1. 2, 3, 4., judging that the self is JS1, JS2, JS3, JS4, CC1, CC2, CC3, CC4, CC5, JH1, JH2, GL1, CL1, CL2, CL3, AQ1, AQ2, and setting the self IP address.
In this embodiment, the step S104 of sending the slot information to the CPU by the unit BMC means that information of the unit number and the cabinet number is transmitted to the CPU of each server node through the communication bus, and an IP address of the management network under the system is set.
As shown in fig. 2, in step S2 in this embodiment, the details of the RMC scanning each unit BMC and CPU in the cabinet are as follows:
s201, powering on a cabinet RMC and carrying out initialization processing;
s202, the cabinet RMC scans each unit BMC and CPU in the cabinet according to the IP range and the type set by different unit BMC, and records the number of scanned server nodes;
and S203, because the space in the cabinet is limited and the number of the server nodes in the cabinet is limited, repeating the step S202 until the number of the scanned server nodes is the maximum number which can be placed in the cabinet, stopping scanning and executing management work through the scanned IP addresses.
Example 2:
the system for automatically configuring and managing the network IP address of the server of the whole cabinet comprises a cabinet, wherein a server node and a cabinet RMC are arranged in the cabinet, two 8-bit dial switches A1 and A2 are arranged on a back plate of the server node, and the two 8-bit dial switches A1 and A2 are respectively connected with GPIO pins of a unit BMC of each server node; the code switches A1 are used for representing the cabinet number where the current server node is located; the dial switch A2 is used for representing the unit number of the current server node; the unit BMC of each server node sets the IP address of the unit BMC, transmits the unit number and the cabinet number to the CPU of the node server through a communication bus, and sets the IP address of a management network under the system; and the cabinet RMC scans each unit BMC and CPU in the cabinet according to the IP range and the type set by different unit BMC, and records the number of the scanned server nodes.
The unit BMC of each server node judges the unit type of the server node according to the fixed difference: JS, CC, JH, GL, AQ and CL; and simultaneously, reading the high-low level state of the GPIO pins connected with the two dial switches, and judging the unit number of the GPIO pins as follows: 1. 2, 3, 4., cabinet number: 1. 2, 3, 4., judging that the self is JS1, JS2, JS3, JS4, CC1, CC2, CC3, CC4, CC5, JH1, JH2, GL1, CL1, CL2, CL3, AQ1, AQ2, and setting the self IP address. And the unit and cabinet information is transmitted to a CPU of the server node through a communication bus, and an IP address of a management network under the system is set. The number of server nodes within the cabinet is limited due to the limited space within the cabinet. The cabinet RMC scans the corresponding IP addresses according to the unit types, records the number of the scanned server nodes, stops scanning when the number of the scanned server nodes is the maximum number which can be placed in the cabinet, and executes management work according to the scanned IP addresses.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for automatically configuring and managing network IP addresses of a server of a whole cabinet is characterized in that two dial switches are respectively arranged on a back plate of each server node in the cabinet, and the two dial switches are respectively connected with GPIO pins of a BMC; the two dial switches are respectively used for representing the cabinet number where the current server node is located and the unit number of the current server node; the state of the dial switch is set according to the requirements of the cabinet number and the unit number, the node BMC and the CPU management network port address are automatically configured by the whole cabinet server, the management function of the RMC can be ensured to run normally, and the RMC can automatically identify the type, the type and the quantity of the information to be monitored in the cabinet.
2. The method for automatically configuring and managing the network IP address of the whole cabinet server according to claim 1 is characterized by comprising the following steps:
s1, setting IP addresses of all server nodes in the cabinet;
s2, RMC scans each unit BMC and CPU in the cabinet.
3. The method for automatically configuring and managing the IP addresses of the servers in the whole rack according to claim 2, wherein the IP addresses of the server nodes in the rack in the step S1 are specifically set as follows:
s101, powering on each server node and carrying out initialization processing;
s102, scanning a backboard cabinet number and a unit number by a unit BMC on each server node;
s103, configuring the IP address of the unit BMC according to the scanned unit number;
s104, the unit BMC sends the slot position information to the CPU;
s105, the CPU sets the own IP address.
4. The method for automatically configuring and managing the IP address of the whole cabinet server according to claim 3, wherein after each server node is powered on in the step S101, the unit BMC of each server node judges the unit type of the server node according to the different fixation of the unit BMC; and simultaneously, reading the high-low level state of the GPIO pins connected with the two dial switches, judging the unit number and the cabinet number of the device, and setting the IP address of the device.
5. The method for automatically configuring and managing the network IP address of the whole rack server according to claim 3 or 4, wherein the step S104 of sending the slot information to the CPU by the unit BMC means that the information of the unit number and the rack number is transmitted to the CPU of each server node through a communication bus, and the IP address of the management network under the system is set.
6. The method for automatically configuring and managing the IP address of the whole cabinet server as claimed in claim 4, wherein the unit types include JS, CC, JH, GL, AQ and CL.
7. The method for automatically configuring and managing the network IP address of the whole rack server according to claim 2, wherein in the step S2, the RMC scans the BMC and the CPU of each unit in the rack as follows:
s201, powering on a cabinet RMC and carrying out initialization processing;
s202, the cabinet RMC scans each unit BMC and CPU in the cabinet according to the IP range and the type set by different unit BMC, and records the number of scanned server nodes;
and S203, repeating the step S202 until the number of the scanned server nodes is the maximum number capable of being placed in the cabinet, stopping scanning, and executing management work through the scanned IP addresses.
8. A system for automatically configuring and managing network IP addresses of a server of a whole cabinet is characterized by comprising the cabinet, wherein a server node and a cabinet RMC are arranged in the cabinet, two 8-bit dial switches are arranged on a back plate of the server node, and the two 8-bit dial switches are respectively connected with pins of a unit BMC (baseboard management controller) of each server node; the two dial switches are respectively used for representing the cabinet number where the current server node is located and the unit number of the current server node;
the unit BMC of each server node sets the IP address of the unit BMC, transmits the unit number and the cabinet number to the CPU of the node server through a communication bus, and sets the IP address of a management network under the system; and the cabinet RMC scans each unit BMC and CPU in the cabinet according to the IP range and the type set by different unit BMC, and records the number of the scanned server nodes.
9. The system for automatically configuring and managing the IP addresses of the complete equipment cabinet server according to claim 8, wherein the unit BMC judges the type of the unit according to the fixed difference of the unit; and simultaneously, reading the high-low level state of the GPIO pins connected with the two dial switches, judging the unit number and the cabinet number of the device, and setting the IP address of the device.
10. The system for automatically configuring and managing the Internet Protocol (IP) address of a whole cabinet server according to claim 9, wherein the unit types include JS, CC, JH, GL, AQ and CL.
CN202011130507.0A 2020-10-21 2020-10-21 Method and system for automatically configuring and managing network IP address of whole cabinet server Pending CN112241349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011130507.0A CN112241349A (en) 2020-10-21 2020-10-21 Method and system for automatically configuring and managing network IP address of whole cabinet server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011130507.0A CN112241349A (en) 2020-10-21 2020-10-21 Method and system for automatically configuring and managing network IP address of whole cabinet server

Publications (1)

Publication Number Publication Date
CN112241349A true CN112241349A (en) 2021-01-19

Family

ID=74169548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011130507.0A Pending CN112241349A (en) 2020-10-21 2020-10-21 Method and system for automatically configuring and managing network IP address of whole cabinet server

Country Status (1)

Country Link
CN (1) CN112241349A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113556412A (en) * 2021-07-29 2021-10-26 中车南京浦镇车辆有限公司 Network address setting method for rail transit vehicle terminal equipment
CN113805950A (en) * 2021-08-30 2021-12-17 超越科技股份有限公司 Method for managing server by cluster management system
CN115037722A (en) * 2022-06-06 2022-09-09 无锡锐格思信息技术有限公司 Method and system for automatically configuring and managing network IP address

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203745879U (en) * 2014-02-21 2014-07-30 晏朋飞 RS485 data acquisition device
CN106533792A (en) * 2016-12-12 2017-03-22 北京锐安科技有限公司 Method and device for monitoring and configuring resources
CN108040131A (en) * 2017-11-10 2018-05-15 中国电子科技集团公司第三十二研究所 Method for automatically configuring network port address of node management module by whole cabinet server
US10313301B1 (en) * 2018-03-20 2019-06-04 Aic Inc. Intellectual rack and IP addresses managing method thereof
CN110113444A (en) * 2019-04-24 2019-08-09 深圳市国鑫恒宇科技有限公司 Method and system based on node location configuration BMC static ip address

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203745879U (en) * 2014-02-21 2014-07-30 晏朋飞 RS485 data acquisition device
CN106533792A (en) * 2016-12-12 2017-03-22 北京锐安科技有限公司 Method and device for monitoring and configuring resources
CN108040131A (en) * 2017-11-10 2018-05-15 中国电子科技集团公司第三十二研究所 Method for automatically configuring network port address of node management module by whole cabinet server
US10313301B1 (en) * 2018-03-20 2019-06-04 Aic Inc. Intellectual rack and IP addresses managing method thereof
CN110113444A (en) * 2019-04-24 2019-08-09 深圳市国鑫恒宇科技有限公司 Method and system based on node location configuration BMC static ip address

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113556412A (en) * 2021-07-29 2021-10-26 中车南京浦镇车辆有限公司 Network address setting method for rail transit vehicle terminal equipment
CN113805950A (en) * 2021-08-30 2021-12-17 超越科技股份有限公司 Method for managing server by cluster management system
CN115037722A (en) * 2022-06-06 2022-09-09 无锡锐格思信息技术有限公司 Method and system for automatically configuring and managing network IP address

Similar Documents

Publication Publication Date Title
CN112241349A (en) Method and system for automatically configuring and managing network IP address of whole cabinet server
US9619243B2 (en) Synchronous BMC configuration and operation within cluster of BMC
US10429914B2 (en) Multi-level data center using consolidated power control
US9800087B2 (en) Multi-level data center consolidated power control
CN106055438B (en) The method and system of memory bar exception on a kind of quick positioning mainboard
US8762774B2 (en) Distributed blade server system, management server and switching method
US8719390B2 (en) Server management apparatus and server management method
CN110489367B (en) Method and system for flexibly allocating and easily managing backplane by CPLD (complex programmable logic device)
CN109587005B (en) Connection detection method and device, computer equipment and readable storage medium
CN103324495A (en) Method and system for data center server boot management
CN102571441A (en) Method, system and device for intelligently managing whole machine cabinet
US10340981B2 (en) Data center management using device identification over power-line
US7685348B2 (en) Dedicated server management card with hot swap functionality
US20190392148A1 (en) Validation of installation of removeable computer hardware components
US6973412B2 (en) Method and apparatus involving a hierarchy of field replaceable units containing stored data
GB2398405A (en) Consolidating data regarding a hierarchy of field replaceable units containing stored data
US8819484B2 (en) Dynamically reconfiguring a primary processor identity within a multi-processor socket server
US8694987B2 (en) Server rack system
CN103138941A (en) Communication method for server rack system
CN112019455B (en) Switch monitoring device and method based on programmable logic device
CN113805950A (en) Method for managing server by cluster management system
CN115599617B (en) Bus detection method and device, server and electronic equipment
EP3508980B1 (en) Equipment rack and method of ensuring status reporting therefrom
CN102193850A (en) Time updating system of multi-mainboard server
CN117215859B (en) Main and standby BIOS automatic switching method, automatic switching device and computer

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