CN107070725B - 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
- CN107070725B CN107070725B CN201710333704.4A CN201710333704A CN107070725B CN 107070725 B CN107070725 B CN 107070725B CN 201710333704 A CN201710333704 A CN 201710333704A CN 107070725 B CN107070725 B CN 107070725B
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 30
- 238000000034 method Methods 0.000 title claims abstract description 26
- 101100513046 Neurospora crassa (strain ATCC 24698 / 74-OR23-1A / CBS 708.71 / DSM 1257 / FGSC 987) eth-1 gene Proteins 0.000 claims description 9
- 230000000694 effects Effects 0.000 claims description 3
- 230000003068 static effect Effects 0.000 claims description 3
- 238000001514 detection method Methods 0.000 abstract description 3
- 238000005516 engineering process Methods 0.000 description 3
- VOWAEIGWURALJQ-UHFFFAOYSA-N Dicyclohexyl phthalate Chemical compound C=1C=CC=C(C(=O)OC2CCCCC2)C=1C(=O)OC1CCCCC1 VOWAEIGWURALJQ-UHFFFAOYSA-N 0.000 description 1
- 230000001154 acute effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 230000005764 inhibitory process Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/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 methods that server two-level management intermodule communication is shaken hands, this method is the server for two-level management framework, when using network-based communication mode between management module, tension management module integrates dhcp server functionality, after the bottom management module to access tension management module network carries out effective Hostname verifying, 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 procedures, eliminate the process of detection network connectivty, and real-time is high, influence on communication bandwidth small.In terms of communication reliability and network security, bottom management module can not externally provide management interface, ensure that the privacy and safety of bottom management network, while can also evade the risk that manual setting bottom management module IP causes IP address conflict in local area network.
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 technique
With the development of server technology, big data technology and cloud, calculate, storage environment highly dense, High Availabitity
High density server platform is increasingly acute with the demand of its economy and practicability in cloud computing, data center, Internet application
Increase, gradually becomes the ideal chose of server farms application scenarios.In High Availabitity high density server platform want quickly,
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 gradually deeply and perfect.Existing two-level management framework is taken
Business device, user complete the management to each server node by two-level management module, go deep into and communicate number with management function
According to the increase of amount, how quick two-level management intermodule is, stablize, efficiently carries out communication becomes a most important problem.
In the server platform of two-level management framework, management module is divided into tension management module (CMC, Chassis
Management Controller) and bottom management module (BMC, Baseboard Management Controller), respectively
A bottom management module completes managing and controlling for each server node on server rack, tension management module by with it is each
The communication completion of a bottom management module manages and controls server complete machine.To ensure the high efficiency communicated between management module
Usually preferential network communication of the selection based on LAN interface, before tension management module sends command request to bottom management module
The IP address for first sending order acquisition bottom management module is usually required, then judges whether the IP address is connected to, if network is in
Connected state retransmits command request.When writing network communication program, no matter usually being needed as server-side or client
Ensure real-time detection and the connection status of other side, calls the connection status of select function monitoring filec descriptor (socket)
Most common method, but when encounter other side power-off or network line disconnect suddenly the case where when be easy to cause thread to hinder
Plug certainly will then will affect communication bandwidth if the transmission heartbeat packet for guaranteeing real-time and taking place frequently.Another method is every time
Ping order encapsulation is called, using ICMP protocol detection network connectivty, but based on the considerations of network security, existing most of services
Shielding has been carried out to Ping order in the security strategy of device.
Summary of the invention
Technical assignment of the invention is to provide a kind of method that server two-level management intermodule communication is shaken hands.
Technical assignment of the invention realizes in the following manner, the side which shakes hands
Method is the server for two-level management framework, when using network-based communication mode between management module, tension management module
Integrated dhcp server functionality carries out effective Hostname verifying in the bottom management module to access tension management module network
It afterwards, 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 the tension management module, is configured after DHCP service is installed in tension management module
The configuration file dhcpd.conf of system DHCP service, editor's gateway, subnet mask and address pool, the address pool specify
The range of distribution of dynamic IP address allocation.
The bottom management module is furnished with two pieces of network interface cards, is divided into shared mouth eth0 and management mouth eth1, configuration DHCP
Server only starts on management mouth eth1, operates as follows: in/etc/sysconfig/dhcpd, the name for starting port
Title is added in the list of DHCPDARGS: DHCPDARGS=eth1.
It needs to carry out identification to client when the Dynamic Host Configuration Protocol server provides DHCP service, i.e., only to bottom pipe
Module dynamic IP address allocation is managed, does not provide DHCP service 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 statement realize, deny
Unknown-client shows that Dynamic Host Configuration Protocol server is forbidden to give unknown device dynamic IP address allocation;The effect of host statement is for spy
Fixed client computer provides network parameter;
Host sentence usage is as follows:
host hostname {
[parameter]
[statement]
}。
The configuration file dhcpd.conf configuration is 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。
This method specific steps are as follows:
Step 1: building Dynamic Host Configuration Protocol server in tension management module, configure dhcpd.conf configuration file, start DHCP
Service;
Step 2: tension management module judges the state in place of node, if node is in place, for its dynamic or static allocation
IP address, and go to step 3, if node is not in place, repeatedly step 2;
Step 3: tension management module obtains the management IP of bottom management module by I2C, gos to step if success
4, otherwise go to step 5;
Step 4: tension management module is communicated by LAN interface with bottom management module, gos to step 2;
Step 5: tension management module is communicated by I2C interface with bottom management module, gos 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 invention is shaken hands
Handshake procedure is changed, has eliminated the process of detection network connectivty, real-time is high, influences on communication bandwidth small.In reliable communications
Property and network security in terms of, bottom management module can not externally provide management interface, ensure that the privacy of bottom management network
And safety, while the risk that manual setting bottom management module IP causes IP address conflict in local area network can also be evaded.
Detailed description of the invention
Attached drawing 1 is a kind of flow diagram of method that server two-level management intermodule communication is shaken hands.
Specific embodiment
Embodiment 1:
The method that the server two-level management intermodule communication is shaken hands is the server for two-level management framework, manages mould
When using network-based communication mode between block, tension management module integrates dhcp server functionality, to access tension management
It is the management IP of bottom management module allocative efficiency after the bottom management module of module network carries out effective Hostname verifying
Location, and then tension management module and bottom management module carry out efficient communication by LAN interface.
Dynamic Host Configuration Protocol server is built in the tension management module, is configured after DHCP service is installed in tension management module
The configuration file dhcpd.conf of system DHCP service, editor's gateway, subnet mask and address pool, the address pool specify
The range of distribution of dynamic IP address allocation.
The bottom management module is furnished with two pieces of network interface cards, is divided into shared mouth eth0 and management mouth eth1, configuration DHCP
Server only starts on management mouth eth1, operates as follows: in/etc/sysconfig/dhcpd, the name for starting port
Title is added in the list of DHCPDARGS: DHCPDARGS=eth1.
It needs to carry out identification to client when the Dynamic Host Configuration Protocol server provides DHCP service, i.e., only to bottom pipe
Module dynamic IP address allocation is managed, does not provide DHCP service 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 statement realize, deny
Unknown-client shows that Dynamic Host Configuration Protocol server is forbidden to give unknown device dynamic IP address allocation;The effect of host statement is for spy
Fixed client computer provides network parameter;
Host sentence usage is as follows:
host hostname {
[parameter]
[statement]
}。
The configuration file dhcpd.conf configuration is 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 be there are three types of update mode, other two kinds are as follows: interim none)
After being configured so that, DCHP server can only be responded the MAC Address specified in host statement.It can also pass through
Host sentence binds the MAC Address and IP of network interface card, 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 check whether dhcpd starts normally.
Communication between tension management module and each bottom management module specific steps are as follows:
Step 1: building Dynamic Host Configuration Protocol server in tension management module, configure dhcpd.conf configuration file, start DHCP
Service;
Step 2: tension management module judges the state in place of node, if node is in place, for its dynamic or static allocation
IP address, and go to step 3, if node is not in place, repeatedly step 2;
Step 3: tension management module obtains the management IP of bottom management module by I2C, gos to step if success
4, otherwise go to step 5;
Step 4: tension management module is communicated by LAN interface with bottom management module, gos to step 2;
Step 5: tension management module is communicated by I2C interface with bottom management module, gos to step 2.
The technical personnel in the technical field can readily realize the present invention with the above specific embodiments,.But it answers
Work as understanding, the present invention is not limited to above-mentioned several specific embodiments.On the basis of the disclosed embodiments, the technology
The technical staff in field can arbitrarily combine different technical features, to realize different technical solutions.
Claims (5)
1. a kind of method that server two-level management intermodule communication is shaken hands, which is characterized in that this method is for two-level management
The server of framework, when using network-based communication mode between management module, tension management module integrates Dynamic Host Configuration Protocol server function
Can, after the bottom management module to access tension management module network carries out effective Hostname verifying, mould is managed for bottom
The management IP address of block allocative efficiency, and then tension management module and bottom management module carry out efficient communication by LAN interface;
This method specific steps are as follows:
Step 1: building Dynamic Host Configuration Protocol server in tension management module, configure dhcpd.conf configuration file, start DHCP service;
Step 2: tension management module judges the state in place of node, if node is in place, for its dynamic or static allocation IP
Location, and go to step 3, if node is not in place, repeatedly step 2;
Step 3: tension management module obtains the management IP of bottom management module by I2C, gos to step 4 if success, no
Then go to step 5;
Step 4: tension management module is communicated by LAN interface with bottom management module, gos to step 2;
Step 5: tension management module is communicated by I2C interface with bottom management module, gos to step 2.
2. the method that a kind of server two-level management intermodule communication according to claim 1 is shaken hands, which is characterized 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, the address pool, which 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, which is characterized in that institute
The bottom management module stated is furnished with two pieces of network interface cards, is divided into shared mouth eth0 and management mouth eth1, and configuration DHCP server only exists
Start on management mouth eth1, operate as follows: in/etc/sysconfig/dhcpd, the title for starting port being added to
In the list of DHCPDARGS: 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, feature exist
In needing to carry out identification to client when the Dynamic Host Configuration Protocol server provides DHCP service, i.e., only manage mould to bottom
Block dynamic IP address allocation does not provide DHCP service to other equipment;Above-mentioned response limitation is matching in configuration DHCP service
It is realized when setting file dhcpd.conf by deny unknown-client statement and host statement, deny unknown-
Client shows that Dynamic Host Configuration Protocol server is forbidden to give unknown device dynamic IP address allocation;The effect of host statement is for specific client
Machine provides network parameter;
Host sentence usage is 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, which is characterized in that institute
The configuration file dhcpd.conf configuration stated is 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。
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 CN107070725A (en) | 2017-08-18 |
CN107070725B true 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) |
Families Citing this family (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 |
CN109062849B (en) * | 2018-08-01 | 2021-07-16 | 郑州云海信息技术有限公司 | Method and device for establishing communication between management modules of two-stage management architecture server |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9485133B2 (en) * | 2012-03-26 | 2016-11-01 | Dell Products L.P. | Platform independent management controller |
-
2017
- 2017-05-12 CN CN201710333704.4A patent/CN107070725B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
Also Published As
Publication number | Publication date |
---|---|
CN107070725A (en) | 2017-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10601664B2 (en) | Dynamic network and security policy for IoT devices | |
US10116518B2 (en) | Mechanism for management controllers to learn the control plane hierarchy in a data center environment | |
US9930018B2 (en) | System and method for providing source ID spoof protection in an infiniband (IB) network | |
WO2019214560A1 (en) | Dhcp packet processing method and device | |
US8909742B2 (en) | Distributed configuration of network interface cards | |
WO2015096737A1 (en) | Method, apparatus and system for controlling auto-provisioning of network device | |
CN108011824B (en) | Message processing method and network equipment | |
CN103997414A (en) | Configuration information generation method and network control unit | |
US20110141944A1 (en) | Topology discovery of a private network | |
EP3664420A1 (en) | Managing address spaces across network elements | |
JP2002368763A (en) | Network system, server unit and client unit, and method and program for providing network ip address | |
CN103200030B (en) | The apparatus and method of network management | |
CN103747115B (en) | Virtual machine IP address based on Microsoft Loopback Adapter finds method | |
US10673692B2 (en) | Method, apparatus, and system for acquiring configuration file | |
JP2005517352A (en) | Method and apparatus for borrowing parameters for network address translator configuration | |
CN116170409B (en) | SD-WAN network address planning system based on virtual domain name | |
WO2009059505A1 (en) | A remote initialization method and system | |
CN107070725B (en) | A kind of method that server two-level management intermodule communication is shaken hands | |
CN105827496B (en) | Manage the method and device of PE equipment | |
EP3629559B1 (en) | Method for configuring forwarding table for user equipment and apparatus | |
US11411797B2 (en) | Device management method and related device | |
US10785115B2 (en) | Allocating enforcement of a segmentation policy between host and network devices | |
Xie et al. | ARPIM: IP address resource pooling and intelligent management system for broadband IP networks | |
CN111988446B (en) | Message processing method and device, electronic equipment and storage medium | |
EP3343835A1 (en) | Network element management method and system |
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 |