CN105227696B - 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
CN105227696B
CN105227696B CN201510678290.XA CN201510678290A CN105227696B CN 105227696 B CN105227696 B CN 105227696B CN 201510678290 A CN201510678290 A CN 201510678290A CN 105227696 B CN105227696 B CN 105227696B
Authority
CN
China
Prior art keywords
mac address
bmc
smc
management system
server
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.)
Active
Application number
CN201510678290.XA
Other languages
Chinese (zh)
Other versions
CN105227696A (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 is more particularly directed to a kind of server management system MAC Address distribution method.The server management system MAC Address distribution method, after MAC Address request monitoring process receives MAC Address request message, a unassigned MAC Address is taken out from MAC Address resource pool and returns to MAC Address distribution process, and the MAC Address state is identified to have distributed, the MAC Address used before MAC Address distribution process modification SMC is the MAC Address;BMC quantity of the subsequent SMC in cabinet obtains the MAC Address of BMC using same method from MAC Address server, and the MAC Address of each BMC is configured.The server management system MAC Address distribution method, reduce human intervention, improve MAC Address allocative efficiency, it is low to solve the artificial efficiency that MAC Address is set, easily there is the problem of mistake such as MAC Address conflict, unified distribution simply and efficiently can be carried out to the MAC Address of SMC in server management system and BMC.

Description

A kind of server management system MAC Address distribution method
Technical field
The present invention relates to server admin technical field, more particularly to a kind of server management system MAC Address distribution side Method.
Background technology
Management system in blade server or whole machine cabinet server generally comprise a SMC and multiple BMC, SMC with Extraneous and SMC needs to communicate by LAN with BMC, in order to support LAN communication to need when machine dispatches from the factory for each management The LAN interface of controller sets unique MAC Address.But it is artificial that the inefficient of MAC Address is set, with also easily there is MAC The mistakes such as location conflict.How unified distribution simply and efficiently to be carried out to the MAC Address of SMC in server management system and BMC It is a technical issues that need to address.
In order to solve the problems, such as efficiently to distribute unitedly MAC Address, the present invention is with proposing a kind of server management system MAC Location distribution method.
The content of the invention
In order to compensate for the shortcomings of the prior art, the present invention provides a kind of simple efficient server management system MAC Location distribution method.
The present invention is achieved through the following technical solutions:
A kind of server management system MAC Address distribution method, it is characterised in that:Server management system includes one SMC and multiple BMC, the SMC carry out Socket communications by LAN and MAC Address server, and the SMC passes through IPMB buses Communicate with multiple BMC;
After MAC Address request monitoring process receives the MAC Address request message that MAC Address distribution process is sent, from MAC A unassigned MAC Address is taken out in the resource pool of location and returns to MAC Address distribution process, and identifies the MAC Address state To have distributed, the MAC Address distribution process is the MAC Address using the MAC Address used before IPMI orders modification SMC;
BMC quantity of the subsequent SMC in cabinet obtains BMC's using same method from MAC Address server MAC Address, and the MAC Address of each BMC is configured through IPMB buses using IPMI orders, MAC Address server is marked MAC Address allocated will not be used for MAC Address distribution again in the MAC Address resource pool of knowledge.
Server management system MAC Address distribution method of the present invention, comprises the following steps:
(1)LAN connections are established between server management system and MAC Address server;
(2)Start MAC Address server and server management system;
(3)After the SMC start completions, the MAC Address of operation thereon distributes process manually in serial ports;
(4)The MAC Address distribution process uses the MAC Address and management IP and the MAC in same network segment given tacit consent in firmware MAC Address request monitoring process in address server carries out Socket communications, sends MAC Address request command;
(5)After the MAC Address request monitoring process receives the MAC Address request command from MAC Address distribution process, One is taken out from MAC Address resource pool and is not identified as allocated MAC Address, is returned by MAC Address request-reply Process is distributed back to MAC Address, while identifies this MAC Address to have distributed state;
(6)The MAC Address distribution process is set using IPMI order Set LAN Configuration Parameters The MAC Address for putting SMC is the step(5)In be identified as allocated MAC Address;
(7)The SMC obtains BMC's using same method according to the quantity of BMC in cabinet from MAC Address server MAC Address;
(8)The MAC Address distribution process is passed through using IPMI order Set LAN Configuration Parameters IPMB buses set the MAC Address of each BMC;
(9)The MAC Address distribution process exits, and the MAC Address assigning process of complete machine management system is completed.
The step(4)In, for acquiescence MAC Address it is invalid in the case of, MAC Address distribution process can pass through IPMI order Set LAN Configuration Parameters one interim MAC Address of setting, this interim MAC Location randomly generates or is hard coded into program.
The step(7)In, the BMC can send initialization completion signal, the SMC knots after initialization procedure is completed Close the Slot ID of each BMC and the initialization completion signal detected counts the quantity of BMC;
The SMC once obtains the MAC Address of a BMC by MAC Address request command, is determined according to the quantity of BMC Number is performed, without increasing new request command and corresponding request-reply.
The beneficial effects of the invention are as follows:The server management system MAC Address distribution method, reduces human intervention, carries High MAC Address allocative efficiency, solves that the artificial efficiency for setting MAC Address is low, the mistake such as MAC Address conflict easily occurs Problem, simply and efficiently can carry out unified distribution to the MAC Address of SMC in server management system and BMC.
Brief description of the drawings
Attached drawing 1 is server management system MAC Address distribution system schematic diagram of the present invention;
Attached drawing 2 is server management system MAC Address distribution method schematic diagram of the present invention.
Embodiment
In order to which technical problems, technical solutions and advantages to be solved are more clearly understood, tie below Accompanying drawings and embodiments are closed, the present invention will be described in detail.It should be noted that specific embodiment described herein is only used To explain the present invention, it is not intended to limit the present invention.
One server typically with multiple blades, equipped with a management support plate and several computing units, and machine The important components such as case power supply, fan.Manage and a SMC is placed on support plate, a BMC is placed on each computing unit.The SMC MAC Address request command is transmitted by LAN with MAC Address server and MAC Address request-reply, the SMC and BMC pass through IPMB buses transmission IPMI sets network configuration parameters order, as shown in Figure 1.
As shown in Figure 2, the SMC is according to following steps distribution server management system MAC Address:
(1)LAN connections are established between server management system and MAC Address server;
(2)Start MAC Address server and server management system;
(3)After the SMC start completions, the MAC Address of operation thereon distributes process manually in serial ports;
(4)The MAC Address distribution process uses the MAC Address and management IP and the MAC in same network segment given tacit consent in firmware MAC Address request monitoring process in address server carries out Socket communications, sends MAC Address request command;
For acquiescence MAC Address it is invalid in the case of, MAC Address distribution process can pass through IPMI order Set LAN Configuration Parameters set an interim MAC Address, this interim MAC Address can be randomly generated Or be hard coded into program;
(5)After the MAC Address request monitoring process receives the MAC Address request command from MAC Address distribution process, One is taken out from MAC Address resource pool and is not identified as allocated MAC Address, is returned by MAC Address request-reply Process is distributed back to MAC Address, while identifies this MAC Address to have distributed state;
MAC Address allocated will not be used for MAC again in the MAC Address resource pool that MAC Address server is identified Address is distributed;
(6)The MAC Address distribution process is set using IPMI order Set LAN Configuration Parameters The MAC Address for putting SMC is the step(5)In be identified as allocated MAC Address;
(7)The SMC obtains BMC's using same method according to the quantity of BMC in cabinet from MAC Address server MAC Address;
The BMC can send initialization completion signal after initialization procedure is completed, and the SMC is with reference to each BMC's Slot ID and the initialization completion signal detected count the quantity of BMC;
The SMC once obtains the MAC Address of a BMC by MAC Address request command, is determined according to the quantity of BMC Number is performed, without increasing new request command and corresponding request-reply;
(8)The MAC Address distribution process is passed through using IPMI order Set LAN Configuration Parameters IPMB buses set the MAC Address of each BMC;
(9)The MAC Address distribution process exits, and the MAC Address assigning process of complete machine management system is completed.
One kind of embodiment described above, the simply specific embodiment of the invention, those skilled in the art is in this hair The usual variations and alternatives carried out in the range of bright technical solution should all include within the scope of the present invention.

Claims (3)

  1. A kind of 1. server management system MAC Address distribution method, it is characterised in that:Server management system includes a SMC Socket communications are carried out by LAN and MAC Address server with multiple BMC, the SMC, the SMC by IPMB buses with it is more A BMC communicates;
    After MAC Address request monitoring process receives the MAC Address request message that MAC Address distribution process is sent, provided from MAC Address A unassigned MAC Address is taken out in the pond of source and returns to MAC Address distribution process, and identifies the MAC Address state as Distribution, the MAC Address distribution process are the MAC Address using the MAC Address used before IPMI orders modification SMC;
    BMC quantity of the subsequent SMC in cabinet with obtaining the MAC of BMC using same method from MAC Address server Location, and the MAC Address of each BMC is configured through IPMB buses using IPMI orders, MAC Address server is identified MAC Address allocated will not be used for MAC Address distribution again in MAC Address resource pool;
    Specifically include following steps:
    (1)LAN connections are established between server management system and MAC Address server;
    (2)Start MAC Address server and server management system;
    (3)After the SMC start completions, the MAC Address of operation thereon distributes process manually in serial ports;
    (4)The MAC Address distribution process uses the MAC Address and management IP and the MAC Address in same network segment given tacit consent in firmware MAC Address request monitoring process in server carries out Socket communications, sends MAC Address request command;
    (5)After the MAC Address request monitoring process receives the MAC Address request command from MAC Address distribution process, from One is taken out in MAC Address resource pool and is not identified as allocated MAC Address, is returned it into by MAC Address request-reply Process is distributed to MAC Address, while identifies this MAC Address to have distributed state;
    (6)The MAC Address distribution process sets SMC using IPMI order Set LAN Configuration Parameters MAC Address be the step(5)In be identified as allocated MAC Address;
    (7)The SMC with obtaining the MAC of BMC according to the quantity of BMC in cabinet using same method from MAC Address server Location;
    (8)The MAC Address distribution process is using IPMI order Set LAN Configuration Parameters through IPMB Bus sets the MAC Address of each BMC;
    (9)The MAC Address distribution process exits, and the MAC Address assigning process of complete machine management system is completed.
  2. 2. server management system MAC Address distribution method according to claim 1, it is characterised in that:The step(4) In, for acquiescence MAC Address it is invalid in the case of, MAC Address distribution process can pass through IPMI order Set LAN Configuration Parameters set an interim MAC Address, this interim MAC Address can be randomly generated Or be hard coded into program.
  3. 3. server management system MAC Address distribution method according to claim 1, it is characterised in that:The step(7) In, the BMC can send initialization completion signal after initialization procedure is completed, and the SMC combines the Slot ID of each BMC The quantity of BMC is counted with the initialization completion signal detected;
    The SMC once obtains the MAC Address of a BMC by MAC Address request command, determines to perform according to the quantity of BMC Number, without increasing new request command and corresponding request-reply.
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 CN105227696A (en) 2016-01-06
CN105227696B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109062849B (en) * 2018-08-01 2021-07-16 郑州云海信息技术有限公司 Method and device for establishing communication between management modules of two-stage management architecture server
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
CN112104762B (en) * 2020-09-14 2023-05-12 南京南瑞继保电气有限公司 Online distribution method for addresses of sub-module controllers in multi-level converter
CN116723175B (en) * 2023-08-04 2023-11-21 天津华来科技股份有限公司 MAC (media access control) automatic application method and device for test equipment and storage medium

Citations (2)

* 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
CN104767838A (en) * 2014-01-06 2015-07-08 三星电子株式会社 Micro server, method of allocating MAC address, and computer readable recording medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8607225B2 (en) * 2010-12-28 2013-12-10 Oracle International Corporation Managed upgrades of components in an integrated software and hardware system

Patent Citations (2)

* 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
CN104767838A (en) * 2014-01-06 2015-07-08 三星电子株式会社 Micro server, method of allocating MAC address, and computer readable recording medium

Also Published As

Publication number Publication date
CN105227696A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN105227696B (en) A kind of server management system MAC Address distribution method
US20200204450A1 (en) Method, Apparatus, and System for Implementing Software-Defined Network SDN
US9866548B2 (en) Authentication-free configuration for service controllers
TW201611559A (en) Method and system of automatic generation of server network topology
CN111083576B (en) Equipment control method and device and storage medium
CN105099898B (en) A kind of PPPOE message forwarding methods and BRAS servers
JP2014096675A5 (en) Virtual machine processing apparatus and setting method
GB0914831D0 (en) Method and apparatus for setting a secure communication path between virtual machines
CN103138972A (en) Server cabinet system
EP3298725A1 (en) Power-over-ethernet power method and system
CN103138985A (en) Method and system of process of service host computer of supporting network
WO2023083004A1 (en) Arm server and data processing method
WO2017076331A1 (en) Startup method and device
US11522754B2 (en) Systems and methods for Zero-Touch Provisioning of a switch in intermediate distribution frames and main distribution frames
US20170346798A1 (en) Key negotiation method and system, network entity and computer storage medium
CN105827496B (en) Manage the method and device of PE equipment
CN102917017A (en) Universal automatic IP (Internet Protocol) allocation method when cloning virtual machines
CN100508468C (en) Self-adapting exchange method for dynamic management data of distributed node
CN106878060A (en) The active and standby synchronization system and method for a kind of multi-service integrated access device
CN108234266B (en) Data transmission method and device for bus type communication network and storage medium
CN103297514A (en) Virtual machine management platform and virtual machine management method based on cloud infrastructure
CN107734391A (en) The implementation method of intelligent television application upgrade
CN106961368A (en) A kind of household electrical appliances Cloud Server method of work and household electrical appliances cloud server system method of work
CN114567519A (en) Method and device for multithread parallel management of instruction messages of multiple intelligent devices
CN112910954B (en) Remote management method and system for electric power Internet of things equipment

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