CN111064643B - Node server and data interaction method and related device thereof - Google Patents

Node server and data interaction method and related device thereof Download PDF

Info

Publication number
CN111064643B
CN111064643B CN201911386472.4A CN201911386472A CN111064643B CN 111064643 B CN111064643 B CN 111064643B CN 201911386472 A CN201911386472 A CN 201911386472A CN 111064643 B CN111064643 B CN 111064643B
Authority
CN
China
Prior art keywords
bmc
cmc
target
local area
area network
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
CN201911386472.4A
Other languages
Chinese (zh)
Other versions
CN111064643A (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN201911386472.4A priority Critical patent/CN111064643B/en
Publication of CN111064643A publication Critical patent/CN111064643A/en
Application granted granted Critical
Publication of CN111064643B publication Critical patent/CN111064643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2801Broadband local area networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/04Network management architectures or arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application provides a node server, including CMC and BMC, include: the BMC is connected with the local area network switch, the local area network switch is connected with the CMC, and the BMC, the CMC and the local area network switch form an internal local area network; the first MAC address of the CMC is used for the connection of an internal local area network to an external network, and corresponds to the IP address allocated to the CMC by the external network; the second MAC address of the CMC is used for communicating with each BMC through a local area network switch; the BMCs each contain port numbers assigned by the CMC. According to the method and the system, the local area network inside the server is established, a large number of IP addresses are saved, the complexity of network topology is reduced, and meanwhile the management cost of the server is saved. The application also provides a data interaction method of the node server and a computer readable storage medium, which have the beneficial effects.

Description

Node server and data interaction method and related device thereof
Technical Field
The present application relates to the field of servers, and in particular, to a node server, a data interaction method thereof, and a related device.
Background
With the rapid development of big data and cloud computing services, the service of a server data center continuously increases, and the number and the scale of the data centers rapidly increase. The large data center oriented to internet application is rapidly developed towards the direction of cloud formation, distribution and resource utilization, higher requirements are put forward on an IT infrastructure, and requirements on computing and storage performance of a network server are increasingly large. The traditional general server is applied in a large scale, which causes the problems of low density, high energy consumption, large workload of installation and maintenance and the like, and the high-density multi-node server/whole cabinet server is produced and gradually becomes a trend.
The method is characterized in that the method comprises the steps of setting a plurality of servers in a server, setting a plurality of servers in a server group, setting a plurality of nodes in a server group, setting a plurality of servers in a server group, and setting a plurality of nodes in a server group.
Disclosure of Invention
The application aims to provide a node server, a data interaction method thereof, a data interaction system and a computer readable storage medium, which can reduce the pressure of network address allocation of equipment nodes.
In order to solve the above technical problem, the present application provides a node server, including CMC and BMC, which is characterized by including:
the BMC is connected with a local area network switch, the local area network switch is connected with the CMC, and the BMC, the CMC and the local area network switch form an internal local area network;
the first MAC address of the CMC is used for the external network connection of the internal local area network, and corresponds to the IP address allocated to the CMC by the external network; the second MAC address of the CMC is used for communicating with each BMC through the local area network switch; the BMCs each contain a port number assigned by the CMC.
The BMC and the local area network switch and the CMC are connected by I3C buses.
Wherein the CMC further comprises:
and the data mapping database is used for storing the system state parameters of all the BMCs.
The application also provides a data interaction method for the BMC in the node server, based on the node server, the method comprises the following steps:
when a data interaction request is received, determining an IP address and a port number in the data interaction request;
determining a corresponding target CMC according to the IP address;
determining a target BMC in the internal local area network corresponding to the target CMC according to the port number;
and sending the data interaction request to the target BMC.
If the data interaction request is a BMC update request, before sending the BMC update request to the target BMC, the method further includes:
determining a second target BMC of the same type as the target BMC;
sending the BMC update request to the target BMC includes:
and sending the BMC updating request to the target BMC and the second target BMC.
Wherein, still include:
and acquiring the monitoring data of each BMC, and storing the monitoring data in a data mapping database.
The present application further provides a BMC data interaction system in a node server, based on the above, the system includes:
the receiving module is used for determining an IP address and a port number in a data interaction request when the data interaction request is received;
the CMC determining module is used for determining a corresponding target CMC according to the IP address;
the BMC determining module is used for determining a target BMC in the internal local area network corresponding to the target CMC according to the port number;
and the request interaction module is used for sending the data interaction request to the target BMC.
Wherein, still include:
and the BMC management module is used for acquiring the monitoring data of each BMC and storing the monitoring data in a data mapping database.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method as set forth above.
The application provides a node server, including CMC and BMC, include: the BMC is connected with a local area network switch, the local area network switch is connected with the CMC, and the BMC, the CMC and the local area network switch form an internal local area network; the first MAC address of the CMC is used for the external network connection of the internal local area network, and corresponds to the IP address allocated to the CMC by the external network; the second MAC address of the CMC is used for communicating with each BMC through the local area network switch; the BMCs each contain a port number assigned by the CMC.
According to the method and the system, the local area network inside the server is established, so that the server node only displays the CMC externally, network addresses do not need to be distributed to all the BMCs, the BMCs are controlled and controlled by the CMC, a large number of IP addresses are saved, the complexity of network topology is reduced, and the management cost of the server is saved. The application further provides a data interaction method, a data interaction system and a computer readable storage medium of the node server, which have the beneficial effects described above and are not described herein again.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a node server according to an embodiment of the present application;
fig. 2 is a flowchart of a data interaction method of a node server according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a data interaction system of a node server according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a node server according to an embodiment of the present disclosure, where the node server includes a BMC and a CMC, the BMC is connected to a local area network switch, the local area network switch is connected to the CMC, and the BMC, the CMC and the local area network switch form an internal local area network;
the first MAC address of the CMC is used for the connection of an internal local area network to an external network, and corresponds to the IP address allocated to the CMC by the external network; the second MAC address of the CMC is used for communicating with each BMC through a local area network switch; the BMCs each contain port numbers assigned by the CMC.
The CMC is mainly responsible for the management work of a power supply, a fan and an IO module of the whole multi-node (blade or whole cabinet) server; the node BMC system is mainly responsible for the management work of the components on the node; management tasks include, but are not limited to, remote management, asset management, status information management, log management, system fault management, firmware management, user management, etc. server management.
The currently adopted server has the problems of complex topology, complex and unreliable network cables, short IP resource of a management network, high equipment management difficulty, high operation and maintenance cost, incapability of centralized and unified management and the like. Therefore, the present application provides a node server, whose structure is shown in fig. 1, each node of the CMC and the BMC is connected through a local area network switch inside the server, so as to implement network communication between the CMC and each node of the BMC, and a communication function between a remote management client and each node of the BMC. The local area network Switch is essentially a network Switch chip (LAN Switch). That is, the server is internally provided with an internal local area network, that is, each BMC node is managed by the CMC, the CMC externally presents the state and data of all nodes, and a user does not need to access each BMC node.
Two MAC addresses on the CMC, one for providing private network connections to the outside (docking clients) and one for connecting to the lan switch to the inside ad hoc small lan. The private network interface of each node BMC is connected to the local area network switch for internal communication with the CMC or other node BMCs. The internal small local area network is invisible to the outside, namely the node BMC network is hidden, the whole node server only has one CMC to the outside, and the CMC centrally manages information and data of all the node BMCs, so that a client does not sense the existence of the node BMC. I2C bus connection among nodes is removed in the design, the circuit design is simplified, the cost is saved, and the reliability of the equipment is improved. And the modules directly managed by the original CMC, such as the heat dissipation module, the power supply module, the IO module and the like, are still connected unchanged by using I2C.
With this structure, the user management network only needs to allocate one IP address to the CMC, which saves N IP addresses compared with the prior art. Users only need to access the CMC to obtain and manage the state and data of all nodes of the whole chassis, and compared with the current server structure, the method greatly reduces the maintenance difficulty and the management complexity.
In the application, the intranet IP address adopts a fixed IP address, and the address of the second BMC is determined by the slot position connected with the CMC. Assume that the CMC address is fixed to 192.168.1.1 (the backup address is 192.168.1.2 if there is a CMC backup), the IP address of the node BMC is associated with the slot in which it is located, the slot 0 address is fixed to 192.168.1.100, the slot 1 address is fixed to 192.168.1.101, and so on.
Hardware IO serial numbers are arranged in the slot positions of the server nodes, and after the server nodes are inserted, the node BMC can sense the current slot position addresses by reading the IO. And then, configuring the static IP address according to the slot number. After the network is connected, the fixed IP address 192.168.1.1/2 of the CMC is tried to be connected, state information is reported, and data is synchronized into the CMC.
In addition, the CMC is also used for controlling BMC data uploading of the BMC and carrying out BMC data synchronization. The specific contents are as follows:
in the server provided by the application, the synchronization of the CMC and the BMC follows three principles: firstly, clock synchronization; secondly, who has data change and is responsible for initiating the synchronization work; and thirdly, two data are changed simultaneously, based on the final setting.
For self-changing data in the BMC, such as temperature, voltage and the like, after the BMC updates the data, the BMC actively initiates communication and reports the communication to the CMC update.
For data needing to be reported quickly, such as an alarm log in the BMC, the BMC directly reports the data through the CMC, and then the CMC resynchronizes the data. And (4) reporting the data in a non-emergency manner, wherein the BMC reports the data to the CMC first and reports the data to the CMC in a unified manner.
For some data with large data volume and infrequent query in the BMC, in order to reduce the pressure of network blockage and CMC, the BMC is temporarily stored, and when the CMC is idle, the synchronization is regularly and uniformly collected. Or to synchronize when a client query command is issued.
Based on the above embodiments, as a preferred embodiment, the BMC and the lan switch, and the lan switch and the CMC are connected by using an I3C bus. Compared with the I2C, the data interaction efficiency between the BMC and between the BMC and the CMC can be improved by adopting the I3C bus.
Further, in the embodiment of the present application, the CMC is responsible for management of a power supply of the entire enclosure, a fan, and each node BMC, and by means of a high-speed network, states, configuration data, and the like of each node BMC are synchronized in real time, and a user can obtain states and data of all nodes by accessing the CMC without independently accessing the node BMC. After a user directly modifies and configures parameters of each node on the CMC, the CMC can be immediately configured into the related node BMC through the network, so that the uniformity of management is realized, the steps of inquiry and configuration are simplified, and the complexity and the cost are reduced.
The CMC is started and a data mapping database is created. And synchronously mapping the parameters of all the nodes BMC to the CMC by the CMC, namely storing the system state parameters of all the BMCs.
Referring to fig. 2, fig. 2 is a flowchart of a data interaction method of a node server provided in an embodiment of the present application, where the data interaction method may be contrasted with the node server in the foregoing embodiment, and the method includes:
the application also provides a data interaction method for the BMC in the node server, based on the node server, the method comprises the following steps:
s101: when a data interaction request is received, determining an IP address and a port number in the data interaction request;
s102: determining a corresponding target CMC according to the IP address;
s103: determining a target BMC in the internal local area network corresponding to the target CMC according to the port number;
s104: and sending a data interaction request to the target BMC.
When the CMC receives an external data interaction request, the IP address and the port number in the data interaction request are determined. It should be noted that, in the embodiment of the present application, the BMC is in an intranet managed by the CMC, and therefore, in addition to an IP address, a port number for identifying the BMC needs to be included. Namely, the target CMC is determined according to the IP address, and then the target BMC in the target CMC is determined according to the port number. Thereafter, a data interaction request can be made.
It should be noted that different CMCs may have BMCs with the same port number, so the IP address in the data interaction request is important.
Based on the foregoing embodiment, as a preferred embodiment, before sending the BMC update request to the target BMC, if the data interaction request is the BMC update request, the method further includes:
determining a second target BMC with the same type as the target BMC;
sending a BMC update request to the target BMC includes:
and sending a BMC updating request to the target BMC and the second target BMC.
When the BMC needs to be updated and upgraded, the data interaction request is a BMC update request, and when the CMC receives the BMC update request, a second target BMC of the same type as the target BMC can be determined, namely, all BMCs of the same type are upgraded in batch under the control of the CMC, the BMC update request does not need to be sent repeatedly aiming at the BMCs of the same type, and the firmware upgrade efficiency of the BMC is improved.
Further, the CMC may also feed back the upgrade results of the BMCs to the outside.
In the following, a data interaction system of a node server provided in an embodiment of the present application is introduced, and the data interaction system described below and the data interaction method of the node server described above may be referred to correspondingly.
Fig. 3 is a schematic structural diagram of a data interaction system of a node server according to an embodiment of the present application, where the system may include:
the present application further provides a BMC data interaction system in a node server, based on the above, the system includes:
a receiving module 100, configured to determine an IP address and a port number in a data interaction request when the data interaction request is received;
a CMC determining module 200, configured to determine a corresponding target CMC according to the IP address;
a BMC determining module 300, configured to determine, according to the port number, that the target CMC corresponds to a target BMC in an internal local area network;
a request interaction module 400, configured to send the data interaction request to the target BMC.
Based on the above embodiment, as a preferred embodiment, the data interaction system may further include:
and the BMC management module is used for acquiring the monitoring data of each BMC and storing the monitoring data in a data mapping database.
The present application also provides a computer readable storage medium having stored thereon a computer program which, when executed, may implement the steps provided by the above-described embodiments. The storage medium may include: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, an optical disk, or other various media capable of storing program codes.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the system provided by the embodiment, the description is relatively simple because the system corresponds to the method provided by the embodiment, and the relevant points can be referred to the method part for description.
The principles and embodiments of the present application are explained herein using specific examples, which are provided only to help understand the method and the core idea of the present application. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (8)

1. A node server comprising a CMC and a BMC, comprising:
the BMC is connected with a local area network switch, the local area network switch is connected with the CMC, and the BMC, the CMC and the local area network switch form an internal local area network;
the first MAC address of the CMC is used for the external network connection of the internal local area network, and corresponds to the IP address allocated to the CMC by the external network; the second MAC address of the CMC is used for communicating with each BMC through the local area network switch; the BMCs each include a port number assigned by the CMC; when a request containing an IP address and a port number is received, the IP address is used for determining a corresponding target CMC, and the port number is used for determining a target BMC in an internal local area network corresponding to the target CMC;
the BMC and the local area network switch and the CMC are connected by adopting I3C buses.
2. The node server of claim 1, wherein the CMC further comprises:
and the data mapping database is used for storing the system state parameters of all the BMCs.
3. A data interaction method for BMC in a node server, based on the node server of any one of claims 1-2, the method comprising:
when a data interaction request is received, determining an IP address and a port number in the data interaction request; the port number is used for identifying the BMC;
determining a corresponding target CMC according to the IP address;
determining a target BMC in the internal local area network corresponding to the target CMC according to the port number;
and sending the data interaction request to the target BMC.
4. The data interaction method of claim 3, wherein if the data interaction request is a BMC update request, before sending the BMC update request to the target BMC, the method further comprises:
determining a second target BMC of the same type as the target BMC;
sending the BMC update request to the target BMC includes:
and sending the BMC updating request to the target BMC and the second target BMC.
5. The data interaction method of claim 3, further comprising:
and acquiring the monitoring data of each BMC, and storing the monitoring data in a data mapping database.
6. A BMC data interaction system in a node server, wherein the node server according to any one of claims 1 to 2 comprises:
the receiving module is used for determining an IP address and a port number in a data interaction request when the data interaction request is received; the port number is used for identifying the BMC;
the CMC determining module is used for determining a corresponding target CMC according to the IP address;
the BMC determining module is used for determining a target BMC in the internal local area network corresponding to the target CMC according to the port number;
and the request interaction module is used for sending the data interaction request to the target BMC.
7. The data interaction system of claim 6, further comprising:
and the BMC management module is used for acquiring the monitoring data of each BMC and storing the monitoring data in a data mapping database.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 3-5.
CN201911386472.4A 2019-12-29 2019-12-29 Node server and data interaction method and related device thereof Active CN111064643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911386472.4A CN111064643B (en) 2019-12-29 2019-12-29 Node server and data interaction method and related device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911386472.4A CN111064643B (en) 2019-12-29 2019-12-29 Node server and data interaction method and related device thereof

Publications (2)

Publication Number Publication Date
CN111064643A CN111064643A (en) 2020-04-24
CN111064643B true CN111064643B (en) 2022-08-02

Family

ID=70303047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911386472.4A Active CN111064643B (en) 2019-12-29 2019-12-29 Node server and data interaction method and related device thereof

Country Status (1)

Country Link
CN (1) CN111064643B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014667B (en) * 2021-03-18 2023-04-07 山东英信计算机技术有限公司 Configuration method, device and equipment of rack server and storage medium
CN118138499B (en) * 2024-04-29 2024-08-23 苏州元脑智能科技有限公司 Method, device, system and server for determining connectivity of connecting wires

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10009766B2 (en) * 2015-11-09 2018-06-26 Dell Products, Lp System and method for providing a wireless device connection in a server rack of a data center
CN107066307A (en) * 2017-05-27 2017-08-18 郑州云海信息技术有限公司 A kind of outer batch orientation upgrading BMC of the band of easy O&M method
CN109769038A (en) * 2017-11-09 2019-05-17 中兴通讯股份有限公司 A kind of method and device of configuring internet protocol address
CN108964972B (en) * 2018-05-24 2021-02-12 华为技术有限公司 Method, device and system for managing computing nodes
CN109194525B (en) * 2018-10-11 2022-03-11 迈普通信技术股份有限公司 Network node configuration method and management node
CN110224879A (en) * 2019-07-12 2019-09-10 苏州浪潮智能科技有限公司 A kind of whole machine cabinet server and its node configuration method, device and CMC
CN110554943B (en) * 2019-08-09 2022-07-08 苏州浪潮智能科技有限公司 Multi-node server CMC management system and method based on I3C

Also Published As

Publication number Publication date
CN111064643A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
US9189349B2 (en) Distributed blade server system, management server and switching method
WO2017162173A1 (en) Method and device for establishing connection of cloud server cluster
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
CN113783765B (en) Method, system, equipment and medium for realizing intercommunication between cloud internal network and cloud external network
CN107404509B (en) Distributed service configuration system and information management method
CN107666493B (en) Database configuration method and equipment thereof
WO2012103920A1 (en) Distributed database
CN111064643B (en) Node server and data interaction method and related device thereof
CN113037771B (en) Method and device for controlling device shadow, storage medium and electronic device
CN111400036A (en) Cloud application management system, method, device and medium based on server cluster
CN110839089A (en) Server positioning method, system, electronic equipment and storage medium
CN110365524B (en) Mirror image upgrading method and system for server node firmware
CN110809047B (en) Method and system for realizing connection of outer network single domain name and inner network kafka cluster
CN116346834A (en) Session synchronization method, device, computing equipment and computer storage medium
CN115225450A (en) Multi-data machine room virtualization cluster management system based on edge computing
CN113312328B (en) Control method, data processing method, data access method and computing device
CN105959427B (en) DNS server automatic expansion method
CN112685486B (en) Data management method and device for database cluster, electronic equipment and storage medium
CN111083182B (en) Distributed Internet of things equipment management method and device
CN110110004B (en) Data operation method, device and storage medium
CN110650033B (en) Distributed application configuration management method and distributed computing system
CN109327529B (en) Distributed scanning method and system
CN115687250A (en) Storage method, equipment, system and computer storage medium
CN110113219A (en) A kind of Server location information management method
US11108641B2 (en) Automatic switching fabric role determination 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