CN107070725A - A kind of method that server two-level management intermodule communication is shaken hands - Google Patents
A kind of method that server two-level management intermodule communication is shaken hands Download PDFInfo
- Publication number
- CN107070725A CN107070725A CN201710333704.4A CN201710333704A CN107070725A CN 107070725 A CN107070725 A CN 107070725A CN 201710333704 A CN201710333704 A CN 201710333704A CN 107070725 A CN107070725 A CN 107070725A
- Authority
- CN
- China
- Prior art keywords
- management module
- server
- management
- tension
- host
- 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
Links
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/04—Network management architectures or arrangements
- H04L41/044—Network management architectures or arrangements comprising hierarchical management structures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of method that server two-level management intermodule communication is shaken hands, this method is the server for two-level management framework, when using network communication mode between management module, the integrated dhcp server functionality of tension management module, after the bottom management module to accessing tension management module network carries out effective Hostname checkings, for the management ip address of bottom management module allocative efficiency, and then tension management module and bottom management module carry out efficient communication by LAN interface.This invention simplifies handshake procedure, the process of detection network connectivty is eliminated, real-time is high, small is influenceed on communication bandwidth.In terms of communication reliability and network security, bottom management module can not externally provide management interface, it is ensured that bottom manages the privacy and security of network, while can also evade the risk for setting bottom management module IP to cause IP address conflict in LAN manually.
Description
Technical field
The present invention relates to computer software development field, specifically a kind of server two-level management intermodule communication is held
The method of hand.
Background technology
With the development of server technology, big data technology and cloud, calculating, storage environment highly dense, High Availabitity
Demand of the high density server platform with its economy and practicality in cloud computing, data center, the Internet, applications is increasingly acute
Increase, the ideal chose progressively as server farms application scenarios.Want in High Availabitity high density server platform it is quick,
It is convenient, effectively manage numerous server nodes, the management module of server is just particularly important, as Client application is fixed
Inhibition and generation demand increases, and the function of server management module is also progressively deeply and perfect.For existing two-level management framework clothes
Business device, user completes the management to each server node by two-level management module, with going deep into and communication number for management function
According to the increase of amount, how quick two-level management intermodule is, stably, it is efficient carry out communication turn into one it is most important the problem of.
In the server platform of two-level management framework, management module is divided into tension management module(CMC, Chassis
Management Controller)With bottom management module(BMC, Baseboard Management Controller), respectively
Individual bottom management module completes the management and control of each server node on server rack, tension management module by with it is each
The communication of individual bottom management module completes management and control to server complete machine.To ensure the high efficiency communicated between management module
Usual network service of the prioritizing selection based on LAN interface, before tension management module sends command request to bottom management module
It is generally necessary to which first sending order obtains the IP address of bottom management module, then judge whether the IP address connects, if network is in
Connected state, retransmits command request.When writing network communication program, no matter as service end or client, usually needing
Ensure detection in real time and the connection status of other side, call select functions to monitor filec descriptor(Socket)Connection status
It is most common method, but thread resistance is easily caused when running into the situation that other side's power-off or network line disconnect suddenly
Plug, if the transmission heartbeat packet for ensureing real-time and taking place frequently will certainly then influence communication bandwidth.Another method is every time
Ping orders are called to encapsulate, using ICMP protocol detection network connectivties, but the consideration based on network security, existing most of services
Shielding has been carried out to Ping orders in the security strategy of device.
The content of the invention
The technical assignment of the present invention is to provide a kind of method that server two-level management intermodule communication is shaken hands.
The present invention technical assignment realize in the following manner, the side that the server two-level management intermodule communication is shaken hands
Method is tension management module when using network communication mode between the server for two-level management framework, management module
Integrated dhcp server functionality, effective Hostname checkings are carried out in the bottom management module to accessing tension management module network
Afterwards, it is the management ip address of bottom management module allocative efficiency, and then tension management module and bottom management module are connect by LAN
Mouth carries out efficient communication.
Dynamic Host Configuration Protocol server is built in described tension management module, installs and is configured after DHCP service in tension management module
The configuration file dhcpd.conf of system DHCP service, editor's gateway, subnet mask and address pool, described address pool is specified
The range of distribution of dynamic IP address allocation.
Described bottom management module is divided into shared mouth eth0 and management mouth eth1, configuration DHCP equipped with two pieces of network interface cards
Server only starts on management mouth eth1, operates as follows:In/etc/sysconfig/dhcpd, the name for starting port
Title is added in DHCPDARGS list:DHCPDARGS=eth1.
Need to carry out identification to client when described Dynamic Host Configuration Protocol server provides DHCP service, i.e., only to bottom pipe
Module dynamic IP address allocation is managed, DHCP service is not provided to other equipment;Above-mentioned response limitation is in configuration DHCP service
Configuration file dhcpd.conf when pass through deny unknown-client statement and host state realize, deny
Unknown-client shows to forbid Dynamic Host Configuration Protocol server to give unknown device dynamic IP address allocation;The effect of host statements is for spy
Fixed client computer provides network parameter;
Host sentence usages are as follows:
host hostname {
[parameter]
[statement]
}。
Described configuration file dhcpd.conf configurations are as follows:
#Sample /etc/dhcpd.conf
option routers 222.205.197.1;
option subnet-mask 255.255.255.0;
option domain-name "sample.org";
option domain-name-servers 202.101.112.55,202.101.98.55,222.205.193.2;
option broadcast-address 222.205.197.255;
default-lease-time 36000;
max-lease-time 360000;
subnet 222.205.197.0 netmask 255.255.255.0 {
range 222.205.197.10 222.205.197.90;
range 222.205.197.100 222.205.197.200;
}
deny unknown-clients;
host servername1 {hardware ethernet 00:a0:c9:a6:96:31;}
host servername2 {hardware ethernet 00:a0:c9:a6:96:32;}
host servername3 {hardware ethernet 00:a0:c9:a6:96:33;}
ddns-update-style ad-hoc。
The concrete operation step of this method is as follows:
Step 1:Dynamic Host Configuration Protocol server is built in tension management module, dhcpd.conf configuration files are configured, starts DHCP service;
Step 2:The state in place of tension management module decision node, if node is in place, for its dynamic or static allocation IP
Location, and step 3 is jumped to, if node is not in place, repeat step 2;
Step 3:Tension management module obtains the management IP of bottom management module by I2C, and step 4 is jumped to if success, no
Then jump to step 5;
Step 4:Tension management module is communicated by LAN interface with bottom management module, jumps to step 2;
Step 5:Tension management module is communicated by I2C interfaces with bottom management module, jumps to step 2.
Compared to the prior art, this method is simple for the method that a kind of server two-level management intermodule communication of the present invention is shaken hands
Handshake procedure is changed, has eliminated the process of detection network connectivty, real-time is high, small is influenceed on communication bandwidth.In reliable communications
Property and network security in terms of, bottom management module can not externally provide management interface, it is ensured that bottom manages the privacy of network
And security, while the risk for setting bottom management module IP to cause IP address conflict in LAN manually can also be evaded.
Brief description of the drawings
Fig. 1 is the schematic flow sheet for a kind of method that server two-level management intermodule communication is shaken hands.
Embodiment
Embodiment 1:
The method that the server two-level management intermodule communication is shaken hands is between the server for two-level management framework, management module
During using network communication mode, the integrated dhcp server functionality of tension management module, to access tension management module
The bottom management module of network is carried out after effective Hostname checkings, is the management ip address of bottom management module allocative efficiency,
And then tension management module and bottom management module carry out efficient communication by LAN interface.
Dynamic Host Configuration Protocol server is built in described tension management module, installs and is configured after DHCP service in tension management module
The configuration file dhcpd.conf of system DHCP service, editor's gateway, subnet mask and address pool, described address pool is specified
The range of distribution of dynamic IP address allocation.
Described bottom management module is divided into shared mouth eth0 and management mouth eth1, configuration DHCP equipped with two pieces of network interface cards
Server only starts on management mouth eth1, operates as follows:In/etc/sysconfig/dhcpd, the name for starting port
Title is added in DHCPDARGS list:DHCPDARGS=eth1.
Need to carry out identification to client when described Dynamic Host Configuration Protocol server provides DHCP service, i.e., only to bottom pipe
Module dynamic IP address allocation is managed, DHCP service is not provided to other equipment;Above-mentioned response limitation is in configuration DHCP service
Configuration file dhcpd.conf when pass through deny unknown-client statement and host state realize, deny
Unknown-client shows to forbid Dynamic Host Configuration Protocol server to give unknown device dynamic IP address allocation;The effect of host statements is for spy
Fixed client computer provides network parameter;
Host sentence usages are as follows:
host hostname {
[parameter]
[statement]
}。
Described configuration file dhcpd.conf configurations are as follows:
#Sample /etc/dhcpd.conf
option routers 222.205.197.1;
option subnet-mask 255.255.255.0;
option domain-name "sample.org";
option domain-name-servers 202.101.112.55,202.101.98.55,222.205.193.2;
option broadcast-address 222.205.197.255;
default-lease-time 36000;
max-lease-time 360000;
subnet 222.205.197.0 netmask 255.255.255.0 {
range 222.205.197.10 222.205.197.90;
range 222.205.197.100 222.205.197.200;
}
deny unknown-clients;
host servername1 {hardware ethernet 00:a0:c9:a6:96:31;}
host servername2 {hardware ethernet 00:a0:c9:a6:96:32;}
host servername3 {hardware ethernet 00:a0:c9:a6:96:33;}
ddns-update-style ad-hoc。
(style can have three kinds of update modes, and other two kinds are:interim none)
After being configured so that, the MAC Address that DCHP servers are specified in only stating host is responded.Host can also be passed through
Sentence binds the MAC Address and IP of network interface card, so as to distribute fixed ip address for bottom management module:
host servername1 {hardware ethernet 00:a0:c9:a6:96:31; fixed-address
222.205.197.11;}
host servername2 {hardware ethernet 00:a0:c9:a6:96:32; fixed-address
222.205.197.12;}
host servername3 {hardware ethernet 00:a0:c9:a6:96:33; fixed-address
222.205.197.13;}
Network service and DHCP service are restarted after the completion of configuration, then checks whether dhcpd starts normally.
The concrete operation step of communication between tension management module and each bottom management module is as follows:
Step 1:Dynamic Host Configuration Protocol server is built in tension management module, dhcpd.conf configuration files are configured, starts DHCP service;
Step 2:The state in place of tension management module decision node, if node is in place, for its dynamic or static allocation IP
Location, and step 3 is jumped to, if node is not in place, repeat step 2;
Step 3:Tension management module obtains the management IP of bottom management module by I2C, and step 4 is jumped to if success, no
Then jump to step 5;
Step 4:Tension management module is communicated by LAN interface with bottom management module, jumps to step 2;
Step 5:Tension management module is communicated by I2C interfaces with bottom management module, jumps to step 2.
By embodiment above, the those skilled in the art can readily realize the present invention.But should
Work as understanding, the present invention is not limited to above-mentioned several embodiments.On the basis of disclosed embodiment, the technology
The technical staff in field can be combined different technical characteristics, so as to realize different technical schemes.
Claims (6)
1. a kind of method that server two-level management intermodule communication is shaken hands, it is characterised in that this method is for two-level management
When using network communication mode between the server of framework, management module, the integrated Dynamic Host Configuration Protocol server work(of tension management module
Can, it is bottom management mould after the bottom management module to accessing tension management module network carries out effective Hostname checkings
The management ip address of block allocative efficiency, and then tension management module and bottom management module carry out efficient communication by LAN interface.
2. the method that a kind of server two-level management intermodule communication according to claim 1 is shaken hands, it is characterised in that institute
Dynamic Host Configuration Protocol server is built in the tension management module stated, configuration system DHCP clothes after DHCP service are installed in tension management module
The configuration file dhcpd.conf of business, editor's gateway, subnet mask and address pool, described address pool specifies dynamically distributes IP
The range of distribution of address.
3. the method that a kind of server two-level management intermodule communication according to claim 1 is shaken hands, it is characterised in that institute
The bottom management module stated is divided into shared mouth eth0 and management mouth eth1 equipped with two pieces of network interface cards, and configuration DHCP server only exists
Manage and start on mouth eth1, operate as follows:In/etc/sysconfig/dhcpd, the title for starting port is added to
In DHCPDARGS list:DHCPDARGS=eth1.
4. the method that a kind of server two-level management intermodule communication according to claim 1,2 or 3 is shaken hands, its feature exists
In needing to carry out identification to client when described Dynamic Host Configuration Protocol server provides DHCP service, i.e., only to bottom management mould
Other equipment are not provided DHCP service by block dynamic IP address allocation;Above-mentioned response limitation is matching somebody with somebody in configuration DHCP service
Stated when putting file dhcpd.conf by deny unknown-client and host states what is realized, deny unknown-
Client shows to forbid Dynamic Host Configuration Protocol server to give unknown device dynamic IP address allocation;The effect of host statements is for specific client
Machine provides network parameter;
Host sentence usages are as follows:
host hostname {
[parameter]
[statement]
}。
5. the method that a kind of server two-level management intermodule communication according to claim 2 is shaken hands, it is characterised in that institute
The configuration file dhcpd.conf configurations stated are as follows:
#Sample /etc/dhcpd.conf
option routers 222.205.197.1;
option subnet-mask 255.255.255.0;
option domain-name "sample.org";
option domain-name-servers 202.101.112.55,202.101.98.55,222.205.193.2;
option broadcast-address 222.205.197.255;
default-lease-time 36000;
max-lease-time 360000;
subnet 222.205.197.0 netmask 255.255.255.0 {
range 222.205.197.10 222.205.197.90;
range 222.205.197.100 222.205.197.200;
}
deny unknown-clients;
host servername1 {hardware ethernet 00:a0:c9:a6:96:31;}
host servername2 {hardware ethernet 00:a0:c9:a6:96:32;}
host servername3 {hardware ethernet 00:a0:c9:a6:96:33;}
ddns-update-style ad-hoc。
6. the method that a kind of server two-level management intermodule communication according to claim 1 is shaken hands, it is characterised in that should
The concrete operation step of method is as follows:
Step 1:Dynamic Host Configuration Protocol server is built in tension management module, dhcpd.conf configuration files are configured, starts DHCP service;
Step 2:The state in place of tension management module decision node, if node is in place, for its dynamic or static allocation IP
Location, and step 3 is jumped to, if node is not in place, repeat step 2;
Step 3:Tension management module obtains the management IP of bottom management module by I2C, and step 4 is jumped to if success, no
Then jump to step 5;
Step 4:Tension management module is communicated by LAN interface with bottom management module, jumps to step 2;
Step 5:Tension management module is communicated by I2C interfaces with bottom management module, jumps to step 2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710333704.4A CN107070725B (en) | 2017-05-12 | 2017-05-12 | A kind of method that server two-level management intermodule communication is shaken hands |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710333704.4A CN107070725B (en) | 2017-05-12 | 2017-05-12 | A kind of method that server two-level management intermodule communication is shaken hands |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107070725A true CN107070725A (en) | 2017-08-18 |
CN107070725B CN107070725B (en) | 2019-10-01 |
Family
ID=59597733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710333704.4A Active CN107070725B (en) | 2017-05-12 | 2017-05-12 | A kind of method that server two-level management intermodule communication is shaken hands |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107070725B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943253A (en) * | 2017-12-13 | 2018-04-20 | 郑州云海信息技术有限公司 | A kind of high density multi-node server system heat radiating structure |
CN109062849A (en) * | 2018-08-01 | 2018-12-21 | 郑州云海信息技术有限公司 | Communication establishing method and device between the management module of two-level management IA frame serverPC |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130254566A1 (en) * | 2012-03-26 | 2013-09-26 | German Florez-Larrahondo | Platform Independent Management Controller |
CN104253865A (en) * | 2014-09-18 | 2014-12-31 | 华南理工大学 | Two-level management method for hybrid desktop cloud service platform |
CN105577420A (en) * | 2014-09-08 | 2016-05-11 | 广达电脑股份有限公司 | Method and system for automatic generation of server network topology |
CN105721534A (en) * | 2014-12-17 | 2016-06-29 | 广达电脑股份有限公司 | System and method for network-based iscsi boot parameter deployment |
-
2017
- 2017-05-12 CN CN201710333704.4A patent/CN107070725B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130254566A1 (en) * | 2012-03-26 | 2013-09-26 | German Florez-Larrahondo | Platform Independent Management Controller |
CN105577420A (en) * | 2014-09-08 | 2016-05-11 | 广达电脑股份有限公司 | Method and system for automatic generation of server network topology |
CN104253865A (en) * | 2014-09-18 | 2014-12-31 | 华南理工大学 | Two-level management method for hybrid desktop cloud service platform |
CN105721534A (en) * | 2014-12-17 | 2016-06-29 | 广达电脑股份有限公司 | System and method for network-based iscsi boot parameter deployment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107943253A (en) * | 2017-12-13 | 2018-04-20 | 郑州云海信息技术有限公司 | A kind of high density multi-node server system heat radiating structure |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN107070725B (en) | 2019-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3664420B1 (en) | Managing address spaces across network elements | |
US8477649B2 (en) | Internet protocol (IP) address sharing and platform dynamic host configuration protocol (DHCP) mediator | |
US9143479B2 (en) | DHCP proxy in a subscriber environment | |
US8125993B2 (en) | Network element having a DHCP lease timer | |
WO2019214560A1 (en) | Dhcp packet processing method and device | |
CN114070723B (en) | Virtual network configuration method and system of bare metal server and intelligent network card | |
WO2015096737A1 (en) | Method, apparatus and system for controlling auto-provisioning of network device | |
US9860117B2 (en) | Automatically generated virtual network elements for virtualized packet networks | |
CN103997414A (en) | Configuration information generation method and network control unit | |
CA2753747C (en) | Method for operating a node cluster system in a network and node cluster system | |
JP2002368763A (en) | Network system, server unit and client unit, and method and program for providing network ip address | |
US9043492B2 (en) | Method to publish remote management services over link local network for zero-touch discovery, provisioning and management | |
US10148610B2 (en) | Method to publish remote management services over link local network for zero-touch discovery, provisioning, and management | |
JP2005517352A (en) | Method and apparatus for borrowing parameters for network address translator configuration | |
CN103747115B (en) | Virtual machine IP address based on Microsoft Loopback Adapter finds method | |
WO2009059505A1 (en) | A remote initialization method and system | |
TW201426553A (en) | Virtual machine management system and method | |
WO2016202016A1 (en) | Device management method, apparatus and system | |
US10778574B2 (en) | Smart network interface peripheral cards | |
CN107070725B (en) | A kind of method that server two-level management intermodule communication is shaken hands | |
JP2010239591A (en) | Network system, relay device, and method of controlling network | |
CN106878485B (en) | Message processing method and device | |
US10785115B2 (en) | Allocating enforcement of a segmentation policy between host and network devices | |
CN115334018B (en) | Container control method and device based on Openstack IaaS cloud architecture and container | |
US11792152B1 (en) | Automatic detection-based IP allocation |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |