CN105227696A - A kind of server management system MAC Address distribution method - Google Patents

A kind of server management system MAC Address distribution method Download PDF

Info

Publication number
CN105227696A
CN105227696A CN201510678290.XA CN201510678290A CN105227696A CN 105227696 A CN105227696 A CN 105227696A CN 201510678290 A CN201510678290 A CN 201510678290A CN 105227696 A CN105227696 A CN 105227696A
Authority
CN
China
Prior art keywords
mac address
bmc
management system
server
smc
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.)
Granted
Application number
CN201510678290.XA
Other languages
Chinese (zh)
Other versions
CN105227696B (en
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.)
Inspur Cloud Information Technology Co Ltd
Original Assignee
Inspur Group 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 Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201510678290.XA priority Critical patent/CN105227696B/en
Publication of CN105227696A publication Critical patent/CN105227696A/en
Application granted granted Critical
Publication of CN105227696B publication Critical patent/CN105227696B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Abstract

The present invention be more particularly directed to a kind of server management system MAC Address distribution method.This server management system MAC Address distribution method, after MAC Address request monitoring process receives MAC Address request message, from MAC Address resource pool, take out a MAC Address be not assigned with return to MAC Address distribution process, and identifying this MAC Address state for distribute, the MAC Address used before MAC Address distribution process amendment SMC is this MAC Address; SMC makes to use the same method according to the BMC quantity in cabinet and obtains the MAC Address of BMC from MAC Address server subsequently, and arranges the MAC Address of each BMC.This server management system MAC Address distribution method, decrease human intervention, improve MAC Address allocative efficiency, solve the efficiency that MAC Address is artificially set low, easily there is the problem of the mistakes such as MAC Address conflict, unified distribution can be carried out to the MAC Address of SMC and BMC in server management system simply efficiently.

Description

A kind of server management system MAC Address distribution method
Technical field
The present invention relates to server admin technical field, particularly a kind of server management system MAC Address distribution method.
Background technology
Management system in blade server or whole machine cabinet server comprises a SMC and multiple BMC usually, SMC needs to be communicated by LAN with extraneous and SMC and BMC, in order to support that the LAN needs that communicate are that the LAN interface of each Management Controller arranges unique MAC Address when machine dispatches from the factory.But the efficiency artificially arranging MAC Address is not high, easily occurs the mistakes such as MAC Address conflict yet.How simply to carry out unified distribution to the MAC Address of SMC and BMC in server management system is efficiently technical issues that need to address.
In order to solve the problem of efficient unified distribution MAC Address, the present invention proposes a kind of server management system MAC Address distribution method.
Summary of the invention
The present invention, in order to make up the defect of prior art, provides a kind of simple server management system MAC Address distribution method efficiently.
The present invention is achieved through the following technical solutions:
A kind of server management system MAC Address distribution method, it is characterized in that: server management system comprises a SMC and multiple BMC, described SMC carries out Socket by LAN with MAC Address server and communicates, and described SMC is communicated with multiple BMC by IPMB bus;
After MAC Address request monitoring process receives the MAC Address request message of MAC Address distribution process transmission, from MAC Address resource pool, take out a MAC Address be not assigned with return to MAC Address distribution process, and identifying this MAC Address state for distribute, the MAC Address that described MAC Address distribution process uses before using IPMI order amendment SMC is this MAC Address;
Described SMC makes to use the same method according to the BMC quantity in cabinet and obtains the MAC Address of BMC from MAC Address server subsequently, and using IPMI order to arrange through the MAC Address of IPMB bus to each BMC, the MAC Address be assigned with in the MAC Address resource pool that MAC Address server identifies can not be used to MAC Address again and distribute.
Server management system MAC Address distribution method of the present invention, comprises the following steps:
(1) set up LAN between server management system with MAC Address server to be connected;
(2) MAC Address server and server management system is started;
(3), after described SMC has started, in serial ports, the MAC Address distribution process on it is manually run;
(4) MAC Address given tacit consent in described MAC Address distribution process use firmware is carried out Socket with managing I P with the MAC Address request monitoring process in the MAC Address server in same network segment and is communicated, and sends MAC Address request command;
(5) after described MAC Address request monitoring process receives the MAC Address request command from MAC Address distribution process, from MAC Address resource pool, take out one be not identified as the MAC Address of having distributed, returned to MAC Address distribution process by MAC Address request-reply, identified this MAC Address for distribution state simultaneously;
(6) MAC Address that described MAC Address distribution process uses IPMI order SetLANConfigurationParameters to arrange SMC is be designated the MAC Address of having distributed in described step (5);
(7) described SMC makes to use the same method according to the quantity of BMC in cabinet and obtains the MAC Address of BMC from MAC Address server;
(8) described MAC Address distribution process uses IPMI order SetLANConfigurationParameters to arrange the MAC Address of each BMC through IPMB bus;
(9) described MAC Address distribution process exits, and the MAC Address assigning process of complete machine management system completes.
In described step (4), when MAC Address for acquiescence is invalid, MAC Address distribution process can arrange an interim MAC Address by IPMI order SetLANConfigurationParameters, this interim MAC Address can be random generation, also can be hard coded in program.
In described step (7), described BMC can send initialization completion signal after completing initialization procedure, and described SMC counts the quantity of BMC in conjunction with the SlotID of each BMC and the initialization completion signal that detects;
Described SMC once obtains the MAC Address of a BMC by MAC Address request command, determines to perform number of times, without the need to increasing new request command and corresponding request-reply according to the quantity of BMC.
The invention has the beneficial effects as follows: this server management system MAC Address distribution method, decrease human intervention, improve MAC Address allocative efficiency, solve the efficiency that MAC Address is artificially set low, easily there is the problem of the mistakes such as MAC Address conflict, unified distribution can be carried out to the MAC Address of SMC and BMC in server management system simply efficiently.
Accompanying drawing explanation
Accompanying drawing 1 is server management system MAC Address distribution system schematic diagram of the present invention;
Accompanying drawing 2 is server management system MAC Address distribution method schematic diagram of the present invention.
Embodiment
In order to make technical problem to be solved by this invention, technical scheme and beneficial effect clearly understand, below in conjunction with drawings and Examples, the present invention will be described in detail.It should be noted that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
A server typically with multiple blade, is provided with a management support plate and several computing units, and the important component such as chassis power supply, fan.Management support plate places a SMC, each computing unit places a BMC.Described SMC and MAC Address server transmit MAC Address request command and MAC Address request-reply by LAN, and described SMC and BMC transmits IPMI by IPMB bus and arranges network configuration parameters order, as shown in Figure 1.
As shown in Figure 2, described SMC is according to following steps distribution server management system MAC Address:
(1) set up LAN between server management system with MAC Address server to be connected;
(2) MAC Address server and server management system is started;
(3), after described SMC has started, in serial ports, the MAC Address distribution process on it is manually run;
(4) MAC Address given tacit consent in described MAC Address distribution process use firmware is carried out Socket with managing I P with the MAC Address request monitoring process in the MAC Address server in same network segment and is communicated, and sends MAC Address request command;
When MAC Address for acquiescence is invalid, MAC Address distribution process can arrange an interim MAC Address by IPMI order SetLANConfigurationParameters, this interim MAC Address can be random generation, also can be hard coded in program;
(5) after described MAC Address request monitoring process receives the MAC Address request command from MAC Address distribution process, from MAC Address resource pool, take out one be not identified as the MAC Address of having distributed, returned to MAC Address distribution process by MAC Address request-reply, identified this MAC Address for distribution state simultaneously;
The MAC Address be assigned with in the MAC Address resource pool that MAC Address server identifies can not be used to MAC Address again and distribute;
(6) MAC Address that described MAC Address distribution process uses IPMI order SetLANConfigurationParameters to arrange SMC is be designated the MAC Address of having distributed in described step (5);
(7) described SMC makes to use the same method according to the quantity of BMC in cabinet and obtains the MAC Address of BMC from MAC Address server;
Described BMC can send initialization completion signal after completing initialization procedure, and described SMC counts the quantity of BMC in conjunction with the SlotID of each BMC and the initialization completion signal that detects;
Described SMC once obtains the MAC Address of a BMC by MAC Address request command, determines to perform number of times, without the need to increasing new request command and corresponding request-reply according to the quantity of BMC;
(8) described MAC Address distribution process uses IPMI order SetLANConfigurationParameters to arrange the MAC Address of each BMC through IPMB bus;
(9) described MAC Address distribution process exits, and the MAC Address assigning process of complete machine management system completes.
Above-described embodiment, the just one of the specific embodiment of the invention, the usual change that those skilled in the art carries out within the scope of technical solution of the present invention and replacement all should be included in protection scope of the present invention.

Claims (4)

1. a server management system MAC Address distribution method, it is characterized in that: server management system comprises a SMC and multiple BMC, described SMC carries out Socket by LAN with MAC Address server and communicates, and described SMC is communicated with multiple BMC by IPMB bus;
After MAC Address request monitoring process receives the MAC Address request message of MAC Address distribution process transmission, from MAC Address resource pool, take out a MAC Address be not assigned with return to MAC Address distribution process, and identifying this MAC Address state for distribute, the MAC Address that described MAC Address distribution process uses before using IPMI order amendment SMC is this MAC Address;
Described SMC makes to use the same method according to the BMC quantity in cabinet and obtains the MAC Address of BMC from MAC Address server subsequently, and using IPMI order to arrange through the MAC Address of IPMB bus to each BMC, the MAC Address be assigned with in the MAC Address resource pool that MAC Address server identifies can not be used to MAC Address again and distribute.
2. server management system MAC Address distribution method according to claim 1, is characterized in that comprising the following steps:
(1) set up LAN between server management system with MAC Address server to be connected;
(2) MAC Address server and server management system is started;
(3), after described SMC has started, in serial ports, the MAC Address distribution process on it is manually run;
(4) MAC Address given tacit consent in described MAC Address distribution process use firmware is carried out Socket with managing I P with the MAC Address request monitoring process in the MAC Address server in same network segment and is communicated, and sends MAC Address request command;
(5) after described MAC Address request monitoring process receives the MAC Address request command from MAC Address distribution process, from MAC Address resource pool, take out one be not identified as the MAC Address of having distributed, returned to MAC Address distribution process by MAC Address request-reply, identified this MAC Address for distribution state simultaneously;
(6) MAC Address that described MAC Address distribution process uses IPMI order SetLANConfigurationParameters to arrange SMC is be designated the MAC Address of having distributed in described step (5);
(7) described SMC makes to use the same method according to the quantity of BMC in cabinet and obtains the MAC Address of BMC from MAC Address server;
(8) described MAC Address distribution process uses IPMI order SetLANConfigurationParameters to arrange the MAC Address of each BMC through IPMB bus;
(9) described MAC Address distribution process exits, and the MAC Address assigning process of complete machine management system completes.
3. server management system MAC Address distribution method according to claim 2, it is characterized in that: in described step (4), when MAC Address for acquiescence is invalid, MAC Address distribution process can arrange an interim MAC Address by IPMI order SetLANConfigurationParameters, this interim MAC Address can be random generation, also can be hard coded in program.
4. server management system MAC Address distribution method according to claim 2, it is characterized in that: in described step (7), described BMC can send initialization completion signal after completing initialization procedure, and described SMC counts the quantity of BMC in conjunction with the SlotID of each BMC and the initialization completion signal that detects;
Described SMC once obtains the MAC Address of a BMC by MAC Address request command, determines to perform number of times, without the need to increasing new request command and corresponding request-reply according to the quantity of BMC.
CN201510678290.XA 2015-10-20 2015-10-20 A kind of server management system MAC Address distribution method Active CN105227696B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510678290.XA CN105227696B (en) 2015-10-20 2015-10-20 A kind of server management system MAC Address distribution method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510678290.XA CN105227696B (en) 2015-10-20 2015-10-20 A kind of server management system MAC Address distribution method

Publications (2)

Publication Number Publication Date
CN105227696A true CN105227696A (en) 2016-01-06
CN105227696B CN105227696B (en) 2018-05-04

Family

ID=54996365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510678290.XA Active CN105227696B (en) 2015-10-20 2015-10-20 A kind of server management system MAC Address distribution method

Country Status (1)

Country Link
CN (1) CN105227696B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812190A (en) * 2016-04-29 2016-07-27 中国人民解放军国防科学技术大学 Network address management method of Feiteng server blade system
CN106060187A (en) * 2016-05-26 2016-10-26 杭州华三通信技术有限公司 Address allocation methods and devices
CN109062849A (en) * 2018-08-01 2018-12-21 郑州云海信息技术有限公司 Communication establishing method and device between the management module of two-level management IA frame serverPC
CN110677509A (en) * 2019-09-09 2020-01-10 无锡江南计算技术研究所 Automatic address configuration system suitable for high-performance computer
CN110971720A (en) * 2019-11-15 2020-04-07 新华三半导体技术有限公司 MAC address maintenance method and related equipment
CN112104762A (en) * 2020-09-14 2020-12-18 南京南瑞继保电气有限公司 Online distribution method for addresses of sub-module controllers in multi-level converter
CN116723175A (en) * 2023-08-04 2023-09-08 天津华来科技股份有限公司 MAC (media access control) automatic application method and device for test equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905510A (en) * 2006-08-18 2007-01-31 华为技术有限公司 Method for obtaining MAC address by communication apparatus and communication system
US20120166632A1 (en) * 2010-12-28 2012-06-28 Oracle International Corporation Unified system lifecycle for components in an integrated software and hardware system
CN104767838A (en) * 2014-01-06 2015-07-08 三星电子株式会社 Micro server, method of allocating MAC address, and computer readable recording medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1905510A (en) * 2006-08-18 2007-01-31 华为技术有限公司 Method for obtaining MAC address by communication apparatus and communication system
US20120166632A1 (en) * 2010-12-28 2012-06-28 Oracle International Corporation Unified system lifecycle for components in an integrated software and hardware system
CN104767838A (en) * 2014-01-06 2015-07-08 三星电子株式会社 Micro server, method of allocating MAC address, and computer readable recording medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812190A (en) * 2016-04-29 2016-07-27 中国人民解放军国防科学技术大学 Network address management method of Feiteng server blade system
CN105812190B (en) * 2016-04-29 2019-03-05 中国人民解放军国防科学技术大学 A kind of network address controller method of FT server blade system
CN106060187A (en) * 2016-05-26 2016-10-26 杭州华三通信技术有限公司 Address allocation methods and devices
CN109062849A (en) * 2018-08-01 2018-12-21 郑州云海信息技术有限公司 Communication establishing method and device between the management module of two-level management IA frame serverPC
CN109062849B (en) * 2018-08-01 2021-07-16 郑州云海信息技术有限公司 Method and device for establishing communication between management modules of two-stage management architecture server
CN110677509A (en) * 2019-09-09 2020-01-10 无锡江南计算技术研究所 Automatic address configuration system suitable for high-performance computer
CN110677509B (en) * 2019-09-09 2022-04-12 无锡江南计算技术研究所 Automatic address configuration system suitable for high-performance computer
CN110971720A (en) * 2019-11-15 2020-04-07 新华三半导体技术有限公司 MAC address maintenance method and related equipment
CN112104762A (en) * 2020-09-14 2020-12-18 南京南瑞继保电气有限公司 Online distribution method for addresses of sub-module controllers in multi-level converter
CN116723175A (en) * 2023-08-04 2023-09-08 天津华来科技股份有限公司 MAC (media access control) automatic application method and device for test equipment and storage medium
CN116723175B (en) * 2023-08-04 2023-11-21 天津华来科技股份有限公司 MAC (media access control) automatic application method and device for test equipment and storage medium

Also Published As

Publication number Publication date
CN105227696B (en) 2018-05-04

Similar Documents

Publication Publication Date Title
CN105227696A (en) A kind of server management system MAC Address distribution method
US10333771B2 (en) Diagnostic monitoring techniques for server systems
CN103138972B (en) Server cabinet system
TWI568231B (en) Method and system of automatic generation of server network topology
CN110554943B (en) Multi-node server CMC management system and method based on I3C
CN104901858A (en) System communication method based on CAN bus
US11009929B2 (en) Persistent power over ethernet
US9641483B2 (en) Method of providing a naming service inside an industrial communication system, and a router
CN103139248B (en) Machine frame system
CN103117874A (en) Blade server management network rapid configuration method
CN103135732A (en) Server cabinet system
TW201328271A (en) Method for obtaining external IP addresses and IP system using the same
CN105592127A (en) Application management system for cloud computing environment
CN105389278A (en) CAN bus based serial communication method for master and slave machines
CN105516386A (en) Media access control (MAC) address conflict detecting and processing method and system for server management system
CN111324503B (en) Machine frame management device, method and computer readable storage medium
US9912534B2 (en) Computer system, method for starting a server computer, server computer, management station, and use
CN102469168A (en) Method for setting network address
CN113658351A (en) Product production method and device, electronic equipment and storage medium
CN104348645A (en) Server and data transmission method of server
CN103916280B (en) A kind of blade server management network active DHCP distribution method
CN104572402A (en) Server and method for realizing power consumption management of server
CN104951346A (en) Process management method for embedded system as well as system
CN103455398A (en) Method for avoiding failed information interaction inside and outside belt
CN104363208A (en) Computer intercluster key management method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20180802

Address after: 250100 S06 tower, 1036, Chao Lu Road, hi tech Zone, Ji'nan, Shandong.

Patentee after: Shandong wave cloud Mdt InfoTech Ltd

Address before: No. 1036, Shandong high tech Zone wave road, Ji'nan, Shandong

Patentee before: Inspur Group Co., Ltd.

TR01 Transfer of patent right
CP03 Change of name, title or address

Address after: 250100 No. 1036 Tidal Road, Jinan High-tech Zone, Shandong Province, S01 Building, Tidal Science Park

Patentee after: Inspur cloud Information Technology Co., Ltd

Address before: 250100 Ji'nan science and technology zone, Shandong high tide Road, No. 1036 wave of science and Technology Park, building S06

Patentee before: SHANDONG LANGCHAO YUNTOU INFORMATION TECHNOLOGY Co.,Ltd.

CP03 Change of name, title or address