CN104348645A - Server and data transmission method of server - Google Patents
Server and data transmission method of server Download PDFInfo
- Publication number
- CN104348645A CN104348645A CN201310328906.1A CN201310328906A CN104348645A CN 104348645 A CN104348645 A CN 104348645A CN 201310328906 A CN201310328906 A CN 201310328906A CN 104348645 A CN104348645 A CN 104348645A
- Authority
- CN
- China
- Prior art keywords
- server
- management controller
- microsoft loopback
- loopback adapter
- data
- 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.)
- Pending
Links
Landscapes
- Small-Scale Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a data transmission method of a server. The method comprises the following steps: establishing a virtual network card and a virtual network card drive in the server; when remote network equipment transmits data to the virtual network card, acquiring an MAC (Media Access Control) address corresponding to the IP (Internet Protocol) address of the virtual network card according to the IP address by using a substrate management controller; calling an intelligent platform management interface of the server by using the virtual network card drive, and transmitting the data received by the virtual network card to the substrate management controller by using the intelligent platform management interface; and transmitting the data to a substrate management controller network card by using the substrate management controller, and transmitting the data to a switch connected with the substrate management controller by using the substrate management controller network card. The invention further provides a server. Through adoption of the data transmission method and the server, data can be transmitted successfully when a data network interface of the server cannot be used for transmitting data.
Description
Technical field
The present invention relates to a kind of method of server management data, particularly relate to a kind of server and the method utilizing this server transmissioning data.
Background technology
Server generally has two network interfaces, and wherein, a network interface is system data network interface, for the data communication of server and external equipment.Another for network interface be management interface, for the monitoring and far end supply management etc. of the health status of server.System data network interface operationally can run into network blockage usually, or makes data to transmit because switch breaks down.
Summary of the invention
In view of above content, be necessary a kind of method that server transmissioning data is provided, baseboard management controller can be utilized when the system data network interface of server cannot work to transmit data.
There is a need to provide a kind of server, baseboard management controller can be utilized when the system data network interface of server cannot work to transmit data.
Server receives a method for data, and the method comprises: establishment step, sets up Microsoft Loopback Adapter and Microsoft Loopback Adapter driving in the server; Obtaining step, when remote network devices sends data to Microsoft Loopback Adapter, the MAC Address that baseboard management controller is corresponding according to this IP address of IP address acquisition of Microsoft Loopback Adapter; Invocation step, described Microsoft Loopback Adapter drives the IPMI of invoking server, and this IPMI sends the data that described Microsoft Loopback Adapter receives to baseboard management controller; And forwarding step, described data are sent to baseboard management controller network interface card by described baseboard management controller, and this baseboard management controller network interface card sends the data to the switch be connected with baseboard management controller.
Server sends a method for data, and the method comprises: establishment step, sets up Microsoft Loopback Adapter and Microsoft Loopback Adapter driving in the server; Interrupt step, when switch send packet to baseboard management controller and MAC Address corresponding to described packet is the MAC Address of described Microsoft Loopback Adapter time, described baseboard management controller transmitting system interrupt signal is to the BIOS of server, and this BIOS produces interrupt requests according to this system interrupt signals; Request step, described Microsoft Loopback Adapter drives the IPMI to server to drive and sends reading request of data; Read step, described IPMI drives the described baseboard management controller of access, and described data packets drives to IPMI by described baseboard management controller; Transfer step, described IPMI drives described data packets to described Microsoft Loopback Adapter.
A kind of server, this server comprises IPMI, this server is connected with remote network devices and baseboard management controller, Microsoft Loopback Adapter and Microsoft Loopback Adapter driving is set up in this server, when described remote network devices sends data to described Microsoft Loopback Adapter, the MAC Address that described baseboard management controller is corresponding according to this IP address of IP address acquisition of Microsoft Loopback Adapter, described Microsoft Loopback Adapter drives and calls described IPMI, this IPMI sends the data that described Microsoft Loopback Adapter receives to baseboard management controller, described data are sent to baseboard management controller network interface card by this baseboard management controller, this baseboard management controller network interface card sends the data to the switch be connected with baseboard management controller.
A kind of server, this server comprises IPMI and BIOS, this server is connected with baseboard management controller, set up Microsoft Loopback Adapter and Microsoft Loopback Adapter driving in the server, when with the switch that described baseboard management controller connects send packet to baseboard management controller and MAC Address corresponding to described packet is the MAC Address of described Microsoft Loopback Adapter time, described baseboard management controller transmitting system interrupt signal gives described BIOS, this BIOS produces interrupt requests according to this system interrupt signals, described Microsoft Loopback Adapter drives the IPMI to server to drive and sends reading request of data, described IPMI drives the described baseboard management controller of access, described data packets drives to IPMI by this baseboard management controller, this IPMI drives described data packets to described Microsoft Loopback Adapter.
Compared to prior art, the present invention sets up Microsoft Loopback Adapter in the server and Microsoft Loopback Adapter drives, and utilizes baseboard management controller and switch communication, avoids because the network problem of server makes data not transmit.
Accompanying drawing explanation
Fig. 1 is the running environment figure of the method preferred embodiment of server transmissioning data of the present invention.
Fig. 2 is the operation process chart of the method preferred embodiment of server transmissioning data of the present invention.
Fig. 3 is the operation process chart of another preferred embodiment of method of server transmissioning data of the present invention.
Main element symbol description
Server | 1 |
IPMI drives | 11 |
BIOS | 12 |
Advanced configuration and power-management interface drive | 13 |
Microsoft Loopback Adapter | 14 |
Microsoft Loopback Adapter drives | 15 |
Baseboard management controller | 2 |
Baseboard management controller network interface card | 20 |
Switch | 3 |
Remote network devices | 4 |
Following embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the running environment figure of method preferred embodiment of server transmissioning data of the present invention.The method of this server transmissioning data run on server 1 and baseboard management controller (baseboard management controller, BMC) 2(hereinafter referred to as: BMC2).
Described server 1 comprises: IPMI (intelligent platform management interface, IPMI) drive 11(to drive 11 hereinafter referred to as: IPMI), basic input output system (basic input output system, BIOS) 12(hereinafter referred to as: BIOS12) and advanced configuration and power-management interface (advanced configuration and power management interface, ACPI) drive 13(hereinafter referred to as: ACPI drives 13).
Described BMC2 comprises BMC network interface card 20, and described BMC2 carries out exchanges data by this network interface card 20 with switch 3.
Described server 1 receives the data that remote network devices 4 sends, and the data this received drive 11 to send to BMC2 by described IPMI, and this BMC2 utilizes described BMC network interface card 20 to send these data to switch 3.When described switch 3 needs to send data to server 1 by BMC2, described server 1 drives 11 to get described data from BMC2 by described BIOS12, ACPI driving 13 and IPMI, and these data are sent to remote network devices 4.
As shown in Figure 2, be the operation process chart of method preferred embodiment of server transmissioning data of the present invention.
Step S30, sets up Microsoft Loopback Adapter 14 in the server 1 and Microsoft Loopback Adapter drives 15(as shown in Figure 1), this Microsoft Loopback Adapter 14 drives 11 to communicate to connect with BMC2 by IPMI.Described Microsoft Loopback Adapter drives 15 to distribute a MAC(media access control for described Microsoft Loopback Adapter 14) address, and drive 11 to send to BMC2 by IPMI the MAC Address of this Microsoft Loopback Adapter 14.
Step S31, when remote network devices 4 sends data to Microsoft Loopback Adapter 14 by ICP/IP protocol, the MAC Address that described BMC2 is corresponding according to this IP address of IP address acquisition of this Microsoft Loopback Adapter 14.Specifically, described Microsoft Loopback Adapter 14 drives 11 to send address resolution protocol (Address Resolution Protocol, ARP) request by IPMI and arrives the IP address that BMC2, this ARP ask to comprise described Microsoft Loopback Adapter 14.Described BMC2 utilizes ARP request described in ARP protocol analysis, is MAC Address by the IP address transition of described Microsoft Loopback Adapter 14.When BMC2 gets MAC Address corresponding to the IP address of described Microsoft Loopback Adapter 14, described remote network devices 4 just can send described data to BMC2.
Step S32, described Microsoft Loopback Adapter drives 15 to call described IPMI driving 11, this IPMI driving 11 and sends the data that described Microsoft Loopback Adapter 14 receives to BMC2.
Step S33, described BMC2 stores described data, and these data are sent to BMC network interface card 20, and these data are sent to switch 3 by this BMC network interface card 20.
As shown in Figure 3, be the operation process chart of another preferred embodiment of method of server transmissioning data of the present invention.
Step S40, when BMC network interface card 20 receives the packet that switch 3 sends, described BMC2 judges that whether MAC Address in this packet is the MAC Address of described Microsoft Loopback Adapter 14.When the MAC Address in described packet is not the MAC Address of described Microsoft Loopback Adapter 14, perform step S41.When the MAC Address in described packet is the MAC Address of described Microsoft Loopback Adapter 14, perform step S42.
Step S41, described BMC2 receive this packet and process this packet, and process ends.MAC Address in this packet is not the MAC Address of described Microsoft Loopback Adapter 14, and represent that this packet is the packet that switch 3 sends BMC2 to, this BMC2 reads the data in this packet.
Step S42, described BMC2 transmitting system interrupt signal (system interrupt signal, SMI) is to BIOS12, and this BIOS12 produces interrupt requests (interrupt request, IRQ) according to this SMI.
Step S43, described ACPI drive 13 to obtain described interrupt requests, generate a request event (Q-event) according to this interrupt requests, and are sent to by this request event described Microsoft Loopback Adapter to drive 15.Include the content of this request event in described request event, as: as described in BMC2 receive switch 3 send packet, the MAC Address that this packet is corresponding is the MAC Address of described Microsoft Loopback Adapter 14.
Step S44, after described Microsoft Loopback Adapter driving 15 receives described request event, drives 11 to send one to described IPMI and reads request of data.
Step S45, described IPMI drive 11 access described BMC2, described BMC2 that described data packets is driven 11 to IPMI.
Step S46, described IPMI drive 11 by described data packets to described Microsoft Loopback Adapter 14.
Step S47.Described Microsoft Loopback Adapter 14 by receive data packets to remote network devices 4.
It should be noted last that, above embodiment is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to preferred embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not depart from the spirit and scope of technical solution of the present invention.
Claims (10)
1. a method for server transmissioning data, is characterized in that, the method comprises:
Establishment step, sets up Microsoft Loopback Adapter in the server and Microsoft Loopback Adapter drives;
Obtaining step, when remote network devices sends data to Microsoft Loopback Adapter, the MAC Address that baseboard management controller is corresponding according to this IP address of IP address acquisition of Microsoft Loopback Adapter;
Invocation step, described Microsoft Loopback Adapter drives the IPMI of invoking server, and this IPMI sends the data that described Microsoft Loopback Adapter receives to baseboard management controller; And
Forwarding step, described data are sent to baseboard management controller network interface card by described baseboard management controller, and this baseboard management controller network interface card sends the data to the switch be connected with baseboard management controller.
2. server as claimed in claim 1 receives the method for data, it is characterized in that, described establishment step also comprises: described Microsoft Loopback Adapter drives and distributes a MAC Address for described Microsoft Loopback Adapter, and this MAC Address is sent to described baseboard management controller by described IPMI driving.
3. server as claimed in claim 1 receives the method for data, it is characterized in that, described obtaining step also comprises: described Microsoft Loopback Adapter is driven by IPMI and sends arp request to baseboard management controller, and this baseboard management controller utilizes address resolution protocol to be the MAC Address of this Microsoft Loopback Adapter by the IP address transition of described Microsoft Loopback Adapter.
4. server as claimed in claim 1 receives the method for data, and it is characterized in that, described forwarding step also comprises: described baseboard management controller stores described IPMI and drives the data sent.
5. a method for server transmissioning data, is characterized in that, the method comprises:
Establishment step, sets up Microsoft Loopback Adapter in the server and Microsoft Loopback Adapter drives;
Interrupt step, when switch send packet to baseboard management controller and MAC Address corresponding to described packet is the MAC Address of described Microsoft Loopback Adapter time, described baseboard management controller transmitting system interrupt signal is to the BIOS of server, and this BIOS produces interrupt requests according to this system interrupt signals;
Request step, described Microsoft Loopback Adapter drives the IPMI to server to drive and sends reading request of data;
Read step, described IPMI drives the described baseboard management controller of access, and described data packets drives to IPMI by described baseboard management controller;
Transfer step, described IPMI drives described data packets to described Microsoft Loopback Adapter.
6. server as claimed in claim 5 sends the method for data, it is characterized in that, described establishment step also comprises: described Microsoft Loopback Adapter drives and distributes a MAC Address for described Microsoft Loopback Adapter, and this MAC Address is sent to described baseboard management controller by described IPMI driving.
7. server as claimed in claim 6 sends the method for data, and it is characterized in that, the method also comprises after described interrupt step:
The advanced configuration of server and power-management interface drive and obtain described interrupt requests from BIOS, generate request event, and send to described Microsoft Loopback Adapter to drive this request time according to this interrupt requests.
8. server as claimed in claim 6 sends the method for data, and it is characterized in that, described transfer step also comprises: described Microsoft Loopback Adapter by described data packets to remote network devices.
9. a server, this server comprises IPMI, and this server is connected with remote network devices and baseboard management controller, it is characterized in that:
Microsoft Loopback Adapter and Microsoft Loopback Adapter driving is set up in this server, when described remote network devices sends data to described Microsoft Loopback Adapter, the MAC Address that described baseboard management controller is corresponding according to this IP address of IP address acquisition of Microsoft Loopback Adapter, described Microsoft Loopback Adapter drives and calls described IPMI, this IPMI sends the data that described Microsoft Loopback Adapter receives to baseboard management controller, described data are sent to baseboard management controller network interface card by this baseboard management controller, this baseboard management controller network interface card sends the data to the switch be connected with baseboard management controller.
10. a server, this server comprises IPMI and BIOS, and this server is connected with baseboard management controller, it is characterized in that:
Set up Microsoft Loopback Adapter and Microsoft Loopback Adapter driving in the server, when with the switch that described baseboard management controller connects send packet to baseboard management controller and MAC Address corresponding to described packet is the MAC Address of described Microsoft Loopback Adapter time, described baseboard management controller transmitting system interrupt signal gives described BIOS, this BIOS produces interrupt requests according to this system interrupt signals, described Microsoft Loopback Adapter drives the IPMI to server to drive and sends reading request of data, described IPMI drives the described baseboard management controller of access, described data packets drives to IPMI by this baseboard management controller, this IPMI drives described data packets to described Microsoft Loopback Adapter.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310328906.1A CN104348645A (en) | 2013-07-31 | 2013-07-31 | Server and data transmission method of server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310328906.1A CN104348645A (en) | 2013-07-31 | 2013-07-31 | Server and data transmission method of server |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104348645A true CN104348645A (en) | 2015-02-11 |
Family
ID=52503523
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310328906.1A Pending CN104348645A (en) | 2013-07-31 | 2013-07-31 | Server and data transmission method of server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104348645A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106326063A (en) * | 2015-06-29 | 2017-01-11 | 联想(北京)有限公司 | Baseboard management control card and baseboard |
CN107783920A (en) * | 2016-08-25 | 2018-03-09 | 联想企业解决方案(新加坡)有限公司 | System, method and computer program for communicating between a software driver and a baseboard management controller |
CN108768730A (en) * | 2018-05-31 | 2018-11-06 | 北京百度网讯科技有限公司 | Method and apparatus for operating intelligent network adapter |
CN111177053A (en) * | 2019-12-28 | 2020-05-19 | 山东英信计算机技术有限公司 | Data communication method, device and system and computer readable storage medium |
CN112367183A (en) * | 2020-09-30 | 2021-02-12 | 新华三云计算技术有限公司 | Server maintenance method, device, equipment and machine readable storage medium |
-
2013
- 2013-07-31 CN CN201310328906.1A patent/CN104348645A/en active Pending
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106326063A (en) * | 2015-06-29 | 2017-01-11 | 联想(北京)有限公司 | Baseboard management control card and baseboard |
CN106326063B (en) * | 2015-06-29 | 2019-02-05 | 联想(北京)有限公司 | A kind of substrate management control card and substrate |
CN107783920A (en) * | 2016-08-25 | 2018-03-09 | 联想企业解决方案(新加坡)有限公司 | System, method and computer program for communicating between a software driver and a baseboard management controller |
CN107783920B (en) * | 2016-08-25 | 2021-01-08 | 联想企业解决方案(新加坡)有限公司 | System, method and computer program for communicating between a software driver and a baseboard management controller |
CN108768730A (en) * | 2018-05-31 | 2018-11-06 | 北京百度网讯科技有限公司 | Method and apparatus for operating intelligent network adapter |
CN111177053A (en) * | 2019-12-28 | 2020-05-19 | 山东英信计算机技术有限公司 | Data communication method, device and system and computer readable storage medium |
CN112367183A (en) * | 2020-09-30 | 2021-02-12 | 新华三云计算技术有限公司 | Server maintenance method, device, equipment and machine readable storage medium |
CN112367183B (en) * | 2020-09-30 | 2022-07-12 | 新华三云计算技术有限公司 | Server maintenance method, device, equipment and machine readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2016037504A1 (en) | Unified server communication method, baseboard management controller and server | |
CN104363117A (en) | Method for realizing serial port redirection based on IPMI | |
CN104348645A (en) | Server and data transmission method of server | |
KR20050032313A (en) | Home network system | |
CN1983969A (en) | System and realization for re-directing interface network | |
CN103986786A (en) | Remote cloud desktop operation system | |
CN104317765A (en) | Serial communication based one-to-many communication system and implementation method | |
CN103312528A (en) | Heartbeat message sending method and user terminal | |
US8155024B2 (en) | System and method for managing network connectivity of a CPE using a CMTS | |
CN102065152A (en) | Joined screen system and communication device thereof | |
CN113194550B (en) | Data channel construction method, server and data cluster system | |
CN104463670A (en) | Websocket-based bank preposition transaction system construction method | |
CN106559236B (en) | Equipment resource management method and device of service board, main control board and frame type equipment | |
CN104102607A (en) | CAN (controlled area network) bus driving method and system based on VxWorks operating system environment | |
CN101729284A (en) | Equipment end initiative based method for realizing link polling in management system | |
CN104104519B (en) | A kind of power-off restarting method, apparatus and system | |
CN109286537B (en) | Board management system and management method for frame type multi-service board | |
CN107769960B (en) | BMC management architecture based on CAN bus | |
CN106161626A (en) | A kind of cloud terminal management system and method | |
US11177977B2 (en) | Method and system for GRE tunnel control based on client activity detection | |
CN102882698A (en) | Management method and system for virtual machine | |
CN103973485A (en) | Operation and maintenance management system and method based on fixed ports | |
CN105282235B (en) | A method of solution RPC upgrades unstable in double-PON port ONU | |
CN106034036B (en) | Server state detecting real-time method and system, terminal installation | |
JP2014060636A (en) | Communication interface conversion device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20150211 |
|
WD01 | Invention patent application deemed withdrawn after publication |