CN114172807A - Whole machine system and firmware upgrading method of intelligent network card thereof - Google Patents

Whole machine system and firmware upgrading method of intelligent network card thereof Download PDF

Info

Publication number
CN114172807A
CN114172807A CN202111425742.5A CN202111425742A CN114172807A CN 114172807 A CN114172807 A CN 114172807A CN 202111425742 A CN202111425742 A CN 202111425742A CN 114172807 A CN114172807 A CN 114172807A
Authority
CN
China
Prior art keywords
bmc
interface
server
network card
sub
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.)
Withdrawn
Application number
CN202111425742.5A
Other languages
Chinese (zh)
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 CN202111425742.5A priority Critical patent/CN114172807A/en
Publication of CN114172807A publication Critical patent/CN114172807A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • 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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses complete machine system includes: a network data exchange device configured with a first virtual local area network and a second virtual local area network; the intelligent network card is used for communicating with an external management network interface in a first virtual local area network through a first sub-interface of the intelligent network card; communicating with a second subinterface of a BMC portal of a server co-located in a second VLAN through a second subinterface thereof; a server for communicating with an external management network interface through a first sub-interface thereof; the intelligent network card is also used for upgrading the firmware of the intelligent network card out of band based on the second virtual local area network; the first subinterfaces of the BMC network interfaces of the server and the intelligent network card are both configured with dynamic IP addresses, and the second subinterfaces of the BMC network interfaces of the server and the intelligent network card are respectively configured with a first static IP address and a second static IP address in the same network segment. By applying the scheme of the application, the firmware of the intelligent network card can be conveniently and effectively upgraded. The application also provides a firmware upgrading method of the intelligent network card, and the method has corresponding effects.

Description

Whole machine system and firmware upgrading method of intelligent network card thereof
Technical Field
The invention relates to the technical field of servers, in particular to a whole machine system and a firmware upgrading method of an intelligent network card of the whole machine system.
Background
The SNIC (Smart Network Interface Card) is a new type of Network device that has been developed in recent years, and is used in cooperation with a server to mainly undertake Network processing work on the CPU of the original server, thereby improving the server performance of the cloud and the private data center. The SNIC hardware management design is similar to that of a server mainboard, and a BMC is also used for monitoring and managing indexes such as hardware state, system health and the like of the whole SNIC board card.
The SNIC can be regarded as a mini server, in daily use, various firmware on the SNIC board card needs to be upgraded, such as firmware upgrading of BMC, BIOS, CPLD and FPGA, general firmware upgrading is completed by the BMC of the SNIC, and upgrading can be carried out in-band or in-band. When the upgrade is carried out in the out-of-band, the sharing port or the special network port of the BMC of the SNIC can normally distribute the IP, and after the IP is obtained through the serial port line, the remote upgrade operation can be carried out through a web page or a script, namely the upgrade in the out-of-band is carried out. In the in-band upgrade, an OS (Operating System) of the SNIC needs to be logged in through a serial port line, then, the firmware to be upgraded is transferred to the OS, the image is transferred to the BMC of the SNIC by using a special tool under the OS, and then, the board card firmware is upgraded, that is, the in-band upgrade is performed.
The existing technical scheme of out-band upgrading and in-band upgrading can be executed under the condition of common operation and maintenance. However, in the production line test, for the entire devices (server + SNIC) that come from the top of the production line during the production process, since a serial line is not connected to each SNIC, the BMC and IP address of each SNIC cannot be acquired quickly, and similarly, the OS of the SNIC cannot be logged in via the serial line, and therefore, firmware upgrade cannot be performed easily for such SNIC without a serial line.
In summary, how to conveniently and effectively upgrade the firmware of the smart card is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a whole machine system and a firmware upgrading method of an intelligent network card thereof, so that the firmware upgrading of the intelligent network card can be conveniently and effectively carried out.
In order to solve the technical problems, the invention provides the following technical scheme:
a complete machine system, comprising:
the network data exchange device is respectively connected with an external management network interface, a BMC network port of the intelligent network card and a BMC network port of the server, and the network data exchange device is configured with a first virtual local area network and a second virtual local area network;
the intelligent network card is used for communicating with the external management network interface in the first virtual local area network through a first sub-interface of a BMC (baseboard management controller) interface of the intelligent network card; communicating with a second sub-interface of the BMC gateway of the server in the second virtual local area network through the second sub-interface of the BMC gateway of the intelligent network card;
the server is used for communicating with the external management network interface in the first virtual local area network through a first sub-interface of a BMC (baseboard management controller) network port of the server; the firmware upgrading device is also used for receiving firmware upgrading data, calling a second sub-interface of a BMC (baseboard management controller) interface of the intelligent network card based on the second virtual local area network, and upgrading the firmware of the intelligent network card out of band through the firmware upgrading data;
the first sub-interface and the second sub-interface of the BMC gateway of the server and the first sub-interface and the second sub-interface of the BMC gateway of the intelligent network card are both pre-established virtual local area network interfaces, the first sub-interface of the BMC gateway of the server and the first sub-interface of the BMC gateway of the intelligent network card are both configured with dynamic IP addresses, the second sub-interface of the BMC gateway of the server is configured with a first static IP address, the second sub-interface of the BMC gateway of the intelligent network card is configured with a second static IP address, and the first static IP address and the second static IP address are in the same network segment.
Preferably, the server is specifically configured to:
communicating with the external management network interface in the first virtual local area network through a first sub-interface of a BMC gateway of the server;
receiving firmware upgrading data uploaded to a server operating system, and sending the firmware upgrading data to a BMC of the server;
and calling a second sub-interface of the BMC network port of the intelligent network card based on the second virtual local area network, and performing out-of-band upgrading on the firmware of the intelligent network card through the firmware upgrading data.
Preferably, the receiving, by the server, the firmware upgrade data uploaded to the server operating system, and sending the firmware upgrade data to the BMC of the server specifically includes:
and receiving firmware upgrading data uploaded to a server operating system, and sending the firmware upgrading data to the BMC of the server through a USB bus.
Preferably, the second sub-interface of the BMC portal of the server is a RESTful interface of the BMC portal of the server;
and the second sub-interface of the BMC network interface of the intelligent network card is a RESTful interface of the BMC network interface of the intelligent network card.
Preferably, the first virtual local area network and the second virtual local area network are isolated from each other.
Preferably, the first sub-interface of the BMC port of the server and the first sub-interface of the BMC port of the intelligent network card are both added to the first virtual local area network in a trunk mode; the external management network interface is added into the first virtual local area network in an access mode; and the second subinterface of the BMC network port of the server and the second subinterface of the BMC network port of the intelligent network card are both added into the second virtual local area network in a trunk mode.
A firmware upgrading method of an intelligent network card is applied to a server, the server is the server in the whole system, and the firmware upgrading method of the intelligent network card comprises the following steps:
receiving firmware upgrade data;
and calling a second sub-interface of the BMC network port of the intelligent network card based on the second virtual local area network, and performing out-of-band upgrading on the firmware of the intelligent network card through the firmware upgrading data.
Preferably, the receiving firmware upgrade data includes:
and receiving firmware upgrading data uploaded to a server operating system, and sending the firmware upgrading data to the BMC of the server.
A firmware upgrading method of an intelligent network card is applied to the intelligent network card, the intelligent network card is the intelligent network card in the whole system, and the firmware upgrading method of the intelligent network card comprises the following steps:
and based on the second virtual local area network, receiving the call of the BMC of the server to the second sub-interface of the BMC network port of the intelligent network card, so that the BMC of the server carries out the out-of-band upgrade of the firmware of the intelligent network card through firmware upgrade data.
Preferably, the firmware upgrade data is firmware upgrade data sent by the server operating system to the BMC of the server.
By applying the technical scheme provided by the embodiment of the invention, the network data exchange device is connected with the intelligent network card and the server, specifically, the network data exchange device is respectively connected with the external management network interface, the BMC network port of the intelligent network card and the BMC network port of the server, and the network data exchange device is configured with the first virtual local area network and the second virtual local area network, and the original network functions of the intelligent network card and the server can be ensured to be normally realized through the first virtual local area network, namely, the first sub-interface of the BMC network port of the server, the external management network interface and the BMC network port of the intelligent network card are all added with the first virtual local area network, and the first sub-interface of the BMC network port of the server and the first sub-interface of the BMC network port of the intelligent network card are all configured with dynamic IP addresses, so that the intelligent network card can be used for passing through the first sub-interface of the BMC network port of the intelligent network card, communicating with an external management network interface located in the first virtual local area network. The server can communicate with the external management network interface in the first virtual local area network through the first sub-interface of the BMC network port of the server, so that the scheme of the application ensures the normal realization of the original network functions of the intelligent network card and the server. And the second virtual local area network is used for realizing the internal communication between the intelligent network card and the server. Specifically, a second virtual local area network is added to both the second sub-interface of the BMC port of the server and the second sub-interface of the BMC port of the intelligent network card, so that the intelligent network card can communicate with the second sub-interface of the BMC port of the server in the second virtual local area network through the second sub-interface of the BMC port of the intelligent network card. Moreover, a second sub-interface of the BMC network port of the server is configured with a first static IP address, a second sub-interface of the BMC network port of the intelligent network card is configured with a second static IP address, and the first static IP address and the second static IP address are in the same network segment, since the first static IP address and the second static IP address are known, that is, the acquisition of the first static IP address and the second static IP address does not need to be performed by using the serial port line of the intelligent network card, therefore, in the scheme of the application, when the firmware of the intelligent network card is upgraded, the IP address is the second sub-interface of the BMC network port of the server with the first static IP address, a second sub-interface of the BMC portal of the intelligent network card having an IP address that is a second static IP address may be invoked based on the second virtual local area network, therefore, the out-of-band upgrading of the firmware of the intelligent network card can be performed directly through the firmware upgrading data. Therefore, the scheme of the application can conveniently and effectively upgrade the firmware of the intelligent network card, and does not influence the original communication function of the whole system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic structural diagram of a complete machine system according to the present invention;
fig. 2 is a flowchart of an implementation of a firmware upgrading method for an intelligent network card according to the present invention.
Detailed Description
The core of the invention is to provide a complete machine system, which can conveniently and effectively upgrade the firmware of the intelligent network card and does not influence the original communication function of the complete machine system.
In order that those skilled in the art will better understand the disclosure, the invention will be described in further detail with reference to the accompanying drawings and specific embodiments. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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 invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a complete machine system according to the present invention.
The network data exchange device 10 is respectively connected with an external management network interface, a BMC (baseboard management controller) port of the intelligent network card 20 and a BMC port of the server 30, and the network data exchange device 10 is configured with a first virtual local area network and a second virtual local area network;
the intelligent network card 20 is used for communicating with an external management network interface in a first virtual local area network through a first sub-interface of a BMC (baseboard management controller) interface of the intelligent network card 20; communicating with a second sub-interface of the BMC portal of the server 30 located in the second virtual local area network through the second sub-interface of the BMC portal of the smart network card 20;
the server 30 is used for communicating with an external management network interface in a first virtual local area network through a first sub-interface of a BMC (baseboard management controller) network port of the server 30; the firmware upgrading device is also used for receiving firmware upgrading data, calling a second sub-interface of the BMC network port of the intelligent network card 20 based on a second virtual local area network, and upgrading the firmware of the intelligent network card 20 out of band through the firmware upgrading data;
the first sub-interface and the second sub-interface of the BMC port of the server 30, and the first sub-interface and the second sub-interface of the BMC port of the intelligent network card 20 are virtual local area network interfaces established in advance, the first sub-interface of the BMC port of the server 30 and the first sub-interface of the BMC port of the intelligent network card 20 are both configured with dynamic IP addresses, the second sub-interface of the BMC port of the server 30 is configured with a first static IP address, the second sub-interface of the BMC port of the intelligent network card 20 is configured with a second static IP address, and the first static IP address and the second static IP address are in the same network segment.
Specifically, in fig. 1, the P0 port of the network data switching device 10 is connected to the external management network interface and is connected through the RJ 45-1. The P3 port of the network data switch 10 is connected to the BMC port of the smart card 20, and the P2 port of the network data switch 10 is connected to the BMC port of the server 30, and is connected to the RJ45 of the server 30 through the RJ45-2, and further connected to the BMC port of the server 30.
In fig. 2, the BMC port of the server 30 is denoted as Eth1, the BMC port of the intelligent network card 20 is denoted as Eth0, and it should be noted that, in fig. 2, the network data exchange device 10 is disposed outside the intelligent network card 20, in other embodiments, the network data exchange device 10 may be disposed on a motherboard of the server 30 or a motherboard of the intelligent network card 20, and generally, the network data exchange device 10 may be disposed on the motherboard of the intelligent network card 20, that is, the network data exchange device 10 may be disposed in the intelligent network card 20 as a functional module of the intelligent network card 20.
The network data switching device 10 may also be generally referred to as a switching chip. The external management network interface may also be referred to as a management network interface, or simply a management port.
The network data exchange device 10 is configured with a first VLAN1 and a second VLAN 2. VLAN means a Virtual Local Area Network (Virtual Local Area Network). The virtual local area network is a group of logical devices and users, which are not limited by physical location, and can be organized according to factors such as function, department and application, and the like, and the communication among them is as if they are in the same network segment.
The BMC portal of the server 30 needs to establish the first sub-interface and the second sub-interface in advance through the virtual local area network technology, that is, two network channels are established. Similarly, the BMC port of the smart network card 20 also needs to establish the first sub-interface and the second sub-interface in advance through the virtual local area network technology, that is, two network channels are established. That is, the first sub-interface and the second sub-interface of the BMC port of the server 30, and the first sub-interface and the second sub-interface of the BMC port of the smart network card 20 are all pre-established virtual local area network interfaces,
in practical application, the second sub-interface of the BMC portal of the server 30 may be a RESTful interface of the BMC portal of the server 30; the second sub-interface of the BMC interface of the smart network card 20 may be a RESTful interface of the BMC interface of the smart network card 20.
REST (Representational State Transfer, REST) describes an architectural style network system, which sets a set of architectural constraints and principles, and the application or design that satisfies these constraints and principles is RESTful. RESTful, which may be referred to as presentation level state transfer, is a design style and development mode of web applications, and may be defined using XML format or JSON format based on HTTP. RESTful is suitable for a scene that a mobile internet manufacturer serves as a service interface, the function that a third party calls mobile network resources is achieved, and the action types are to add, change and delete the called resources.
Of course, in other embodiments, for the two second sub-interfaces, other types of network channels besides the RESTful interface may be selected, and the internal communication between the BMC port of the server 30 and the BMC port of the smart network card 20 may be implemented.
The first virtual lan is used to ensure that the original network functions of the smart card 20 and the server 30 are normally implemented. Specifically, the external management network interface needs to be added to the first virtual local area network, and the first sub-interface of the BMC port of the smart network card 20 is also added to the first virtual local area network, so that a dynamic IP address can be configured for the first sub-interface of the BMC port of the smart network card 20 through the first virtual local area network, for example, the dynamic IP address is configured through the DHCP. Since the first sub-interface of the BMC port of the smart network card 20 and the external management network interface are both added to the first virtual local area network, the smart network card 20 can communicate with the external management network interface located in the first virtual local area network through the first sub-interface of the BMC port of the smart network card 20, and during the communication, the first sub-interface of the BMC port of the smart network card 20 uses the dynamic IP address.
Correspondingly, the first sub-interface of the BMC portal of the server 30 is also added to the first vlan, so that the dynamic IP address can be configured for the first sub-interface of the BMC portal of the server 30 through the first vlan. The server 30 may communicate with the external management network interface located in the first vlan through the first sub-interface of the BMC portal of the server 30, and in the communication process, the first sub-interface of the BMC portal of the smart network card 20 uses the dynamic IP address.
The second virtual lan is used to realize the internal communication between the smart card 20 and the server 30.
Specifically, a second sub-interface of the BMC port of the server 30 and a second sub-interface of the BMC port of the intelligent network card 20 are both required to be added to the second virtual local area network, so that the intelligent network card 20 can communicate with the second sub-interface of the BMC port of the server 30 located in the second virtual local area network through the second sub-interface of the BMC port of the intelligent network card 20.
In addition, for the subsequent firmware upgrade, the second sub-interface of the BMC port of the server 30 is configured with the first static IP address, the second sub-interface of the BMC port of the smart network card 20 is configured with the second static IP address, and the first static IP address and the second static IP address are in the same network segment, so as to ensure that the internal communication can be effectively realized between the second sub-interface of the BMC port of the smart network card 20 and the second sub-interface of the BMC port of the server 30, and the firmware upgrade of the smart network card 20 can be realized.
Specifically, since the second sub-interface of the BMC gateway of the server 30 is configured with the first static IP address, the second sub-interface of the BMC gateway of the smart network card 20 is configured with the second static IP address, and both the two static IP addresses are known and are preset, the specific values of the two static IP addresses can be known without using a serial port line. Therefore, when the firmware of the intelligent network card 20 is upgraded subsequently, the out-of-band upgrade can be directly realized based on the two static IP addresses.
When upgrading the firmware of the smart network card 20, the BMC of the server 30 may receive the firmware upgrade data, and the specific receiving means may be selected according to actual needs, for example, in a specific embodiment of the present invention, the server 30 is specifically configured to:
communicating with an external management network interface located in a first virtual local area network via a first sub-interface of the BMC portal of the server 30;
receiving firmware upgrade data uploaded to an operating system of the server 30, and sending the firmware upgrade data to the BMC of the server 30;
and calling a second sub-interface of the BMC port of the intelligent network card 20 based on the second virtual local area network, and performing out-of-band upgrading on the firmware of the intelligent network card 20 through firmware upgrading data.
In this embodiment, the firmware upgrade data may be uploaded to the OS of the server 30, for example, specifically to a diagnostic operating system diagOS which is specially responsible for production line testing, and then a tool snicfireupdate for upgrading the firmware of the smart network card 20 under the diagnostic system is run, so that the image file of the firmware upgrade data to be upgraded may be transferred to the BMC of the server 30.
In practical applications, the receiving, by the server 30, the firmware upgrade data uploaded to the operating system of the server 30, and sending the firmware upgrade data to the BMC of the server 30 may specifically include:
and receiving firmware upgrade data uploaded to the operating system of the server 30, and sending the firmware upgrade data to the BMC of the server 30 through the USB bus.
In this embodiment, the firmware upgrade data can be conveniently and quickly sent to the BMC of the server 30 through the USB bus. Of course, other implementations may have other ways of sending, for example, in one case, the firmware upgrade data may be sent to the BMC of the server 30 via the kcs channel.
After the BMC of the server 30 receives the firmware upgrade data, the second sub-interface of the BMC port of the smart network card 20 may be called based on the second virtual local area network, and then the out-of-band upgrade of the firmware of the smart network card 20 is performed through the firmware upgrade data. In this process, the second sub-interface of the BMC port of the server 30 communicates with the second sub-interface of the BMC port of the smart network card 20 through the configured first static IP address, and the IP address of the second sub-interface of the BMC port of the smart network card 20 is the second static IP address configured in advance.
Specifically, for example, the monitoring process of the BMC of the server 30 may trigger an action of upgrading the firmware of the smart network card 20, so as to call the out-of-band upgrade RESTful interface of the BMC of the smart network card 20 based on the second virtual local area network, that is, call the second sub-interface of the BMC of the smart network card 20. In this case, the IP address used by the BMC of the server 30 is the first static IP address, for example, 169.254.0.3 in a specific case. At this time, the IP address used by the BMC of the smart network card 20 is the second static IP address, for example, the second static IP address is 169.254.0.2 in a specific situation.
After the out-of-band upgrade RESTful interface of the BMC of the smart network card 20 is called, the out-of-band upgrade of the firmware of the smart network card 20 can be performed through the firmware upgrade data. Specifically, a RESTful request for firmware upgrade may be sent to the network card-capable BMC, so that the firmware of the smart network card 20 is upgraded out-of-band through the firmware upgrade data.
In one embodiment of the present invention, the first virtual local area network is isolated from the second virtual local area network.
By isolation, the first virtual local area network can be used for external communication, and the second virtual local area network can be used for internal communication, and the two do not affect each other, i.e. the data of the first virtual local area network and the second virtual local area network do not intercommunicate. For example, in a specific embodiment of the present invention, the first sub-interface of the BMC port of the server 30 and the first sub-interface of the BMC port of the smart network card 20 both join the first virtual local area network in a trunk mode; the external management network interface is added into the first virtual local area network in an access mode; the second subinterface of the BMC port of the server 30 and the second subinterface of the BMC port of the smart network card 20 both join the second virtual local area network in a trunk mode.
In this embodiment, the second sub-interface of the BMC port of the server 30 and the second sub-interface of the BMC port of the smart network card 20 are both added to the VLAN2 in trunk mode. The first sub-interface of the BMC port of the server 30 and the first sub-interface of the BMC port of the smart network card 20 are both added to the VLAN1 in a trunk mode, and the external management network interface is added to the VLAN1 in an access mode, so that the purpose of isolating the first virtual local area network from the second virtual local area network can be achieved.
The VLAN is added in the trunk mode, so that the data in the VLAN outgoing direction can carry a tag of the VLAN, for example, the second subinterface of the BMC portal of the server 30 and the second subinterface of the BMC portal of the smart network card 20 are both added in the VLAN2 in the trunk mode, so that when the data is output to the second subinterface of the BMC portal of the server 30 and the second subinterface of the BMC portal of the smart network card 20, the tags of the VLAN2 are carried, and the communication data cannot be obtained by other interfaces which are not added in the VLAN2, thereby ensuring the security of internal communication. And the external management network interface is added to VLAN1 in access mode so that data can be efficiently sent to the external network through the external management network interface.
By applying the technical solution provided by the embodiment of the present invention, the network data switching device 10 is connected to the intelligent network card 20 and the server 30, specifically, the network data switching device 10 is respectively connected to the external management network interface, the BMC port of the intelligent network card 20, and the BMC port of the server 30, and the network data switching device 10 is configured with a first virtual local area network and a second virtual local area network, and the original network functions of the intelligent network card 20 and the server 30 can be normally implemented through the first virtual local area network, that is, the first sub-interface of the BMC port of the server 30, the external management network interface, and the BMC port of the intelligent network card 20 are all added with the first virtual local area network, and the first sub-interface of the BMC port of the server 30 and the first sub-interface of the BMC port of the intelligent network card 20 are all configured with dynamic IP addresses, so that the intelligent network card 20 can be used for accessing the first sub-interface of the BMC port of the intelligent network card 20, communicating with an external management network interface located in the first virtual local area network. The server 30 can communicate with the external management network interface in the first vlan through the first sub-interface of the BMC portal of the server 30, so that it can be seen that the scheme of the present application ensures that the original network functions of the intelligent network card 20 and the server 30 are normally implemented. And the second virtual lan is configured to implement internal communication between the smart card 20 and the server 30. Specifically, a second virtual local area network is added to both the second sub-interface of the BMC port of the server 30 and the second sub-interface of the BMC port of the intelligent network card 20, so that the intelligent network card 20 can communicate with the second sub-interface of the BMC port of the server 30 in the second virtual local area network through the second sub-interface of the BMC port of the intelligent network card 20. Moreover, the second sub-interface of the BMC port of the server 30 is configured with a first static IP address, the second sub-interface of the BMC port of the smart network card 20 is configured with a second static IP address, and the first static IP address and the second static IP address are in the same network segment, since the first static IP address and the second static IP address are known, that is, the acquisition of the first static IP address and the second static IP address does not need to be performed by using the serial port line of the intelligent network card 20, therefore, in the present application, when the firmware of the smart network card 20 is upgraded, the second sub-interface of the BMC portal of the server 30 having the IP address as the first static IP address, a second sub-interface of the BMC portal of the smart network card 20 having an IP address of a second static IP address may be invoked based on the second virtual local area network, therefore, the out-of-band upgrade of the firmware of the intelligent network card 20 can be performed directly through the firmware upgrade data. It can be seen that the scheme of the application can conveniently and effectively upgrade the firmware of the intelligent network card 20, and does not affect the original communication function of the whole system.
Corresponding to the above embodiment of the whole system, an embodiment of the present invention further provides a firmware upgrading method for an intelligent network card, which is applied to a server, where the server is a server in the whole system in any of the above embodiments, and may be referred to in correspondence with the above, and the firmware upgrading method for an intelligent network card may include:
step S201: receiving firmware upgrade data;
step S202: and calling a second sub-interface of the BMC network port of the intelligent network card based on the second virtual local area network, and upgrading the firmware of the intelligent network card out of band through firmware upgrading data.
In an embodiment of the present invention, step S201 specifically includes:
and receiving firmware upgrading data uploaded to the operating system of the server, and sending the firmware upgrading data to the BMC of the server.
In an embodiment of the present invention, step S201 specifically includes:
and receiving firmware upgrading data uploaded to the server operating system, and sending the firmware upgrading data to the BMC of the server through the USB bus.
In a specific embodiment of the present invention, the second sub-interface of the BMC portal of the server is a RESTful interface of the BMC portal of the server;
and the second sub-interface of the BMC network interface of the intelligent network card is a RESTful interface of the BMC network interface of the intelligent network card.
In one embodiment of the present invention, the first virtual local area network is isolated from the second virtual local area network.
In a specific embodiment of the present invention, a first subinterface of a BMC portal of the server and a first subinterface of a BMC portal of the intelligent network card are both added to the first virtual local area network in a trunk mode; the external management network interface is added into the first virtual local area network in an access mode; and the second subinterface of the BMC network port of the server and the second subinterface of the BMC network port of the intelligent network card are added into the second virtual local area network in a trunk mode.
Corresponding to the above embodiments of the whole system, an embodiment of the present invention further provides a firmware upgrading method for an intelligent network card, which is applied to the intelligent network card, where the intelligent network card is an intelligent network card in the whole system in any of the above embodiments, and can be referred to in correspondence with the above, and the firmware upgrading method for the intelligent network card includes:
and based on the second virtual local area network, receiving the call of the BMC of the server to the second sub-interface of the BMC network port of the intelligent network card, so that the BMC of the server carries out the out-of-band upgrade of the firmware of the intelligent network card through the firmware upgrade data.
In a specific embodiment of the present invention, the firmware upgrade data is firmware upgrade data sent by a server operating system to a BMC of the server.
It is further noted that, herein, relational terms such as first and second, and the like may be 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.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The principle and the implementation of the present invention are explained in the present application by using specific examples, and the above description of the embodiments is only used to help understanding the technical solution and the core idea of the present invention. It should be noted that, for those skilled in the art, it is possible to make various improvements and modifications to the present invention without departing from the principle of the present invention, and those improvements and modifications also fall within the scope of the claims of the present invention.

Claims (10)

1. A complete machine system, characterized by comprising:
the network data exchange device is respectively connected with an external management network interface, a BMC network port of the intelligent network card and a BMC network port of the server, and the network data exchange device is configured with a first virtual local area network and a second virtual local area network;
the intelligent network card is used for communicating with the external management network interface in the first virtual local area network through a first sub-interface of a BMC (baseboard management controller) interface of the intelligent network card; communicating with a second sub-interface of the BMC gateway of the server in the second virtual local area network through the second sub-interface of the BMC gateway of the intelligent network card;
the server is used for communicating with the external management network interface in the first virtual local area network through a first sub-interface of a BMC (baseboard management controller) network port of the server; the firmware upgrading device is also used for receiving firmware upgrading data, calling a second sub-interface of a BMC (baseboard management controller) interface of the intelligent network card based on the second virtual local area network, and upgrading the firmware of the intelligent network card out of band through the firmware upgrading data;
the first sub-interface and the second sub-interface of the BMC gateway of the server and the first sub-interface and the second sub-interface of the BMC gateway of the intelligent network card are both pre-established virtual local area network interfaces, the first sub-interface of the BMC gateway of the server and the first sub-interface of the BMC gateway of the intelligent network card are both configured with dynamic IP addresses, the second sub-interface of the BMC gateway of the server is configured with a first static IP address, the second sub-interface of the BMC gateway of the intelligent network card is configured with a second static IP address, and the first static IP address and the second static IP address are in the same network segment.
2. The complete machine system according to claim 1, wherein the server is specifically configured to:
communicating with the external management network interface in the first virtual local area network through a first sub-interface of a BMC gateway of the server;
receiving firmware upgrading data uploaded to a server operating system, and sending the firmware upgrading data to a BMC of the server;
and calling a second sub-interface of the BMC network port of the intelligent network card based on the second virtual local area network, and performing out-of-band upgrading on the firmware of the intelligent network card through the firmware upgrading data.
3. The complete machine system according to claim 2, wherein the server receives firmware upgrade data uploaded to a server operating system and sends the firmware upgrade data to the BMC of the server, and specifically comprises:
and receiving firmware upgrading data uploaded to a server operating system, and sending the firmware upgrading data to the BMC of the server through a USB bus.
4. The complete machine system of claim 1, wherein the second sub-interface of the BMC portal of the server is a RESTful interface of the BMC portal of the server;
and the second sub-interface of the BMC network interface of the intelligent network card is a RESTful interface of the BMC network interface of the intelligent network card.
5. The complete machine system according to claim 1, wherein the first virtual local area network is isolated from the second virtual local area network.
6. The complete machine system of claim 5, wherein the first subinterface of the BMC gateway of the server and the first subinterface of the BMC gateway of the intelligent network card both join the first virtual local area network in a trunk mode; the external management network interface is added into the first virtual local area network in an access mode; and the second subinterface of the BMC network port of the server and the second subinterface of the BMC network port of the intelligent network card are both added into the second virtual local area network in a trunk mode.
7. The firmware upgrading method of the intelligent network card is applied to a server, the server is the server in the whole machine system according to any one of claims 1 to 6, and the firmware upgrading method of the intelligent network card comprises the following steps:
receiving firmware upgrade data;
and calling a second sub-interface of the BMC network port of the intelligent network card based on the second virtual local area network, and performing out-of-band upgrading on the firmware of the intelligent network card through the firmware upgrading data.
8. The firmware upgrade method for an intelligent network card according to claim 7, wherein the receiving firmware upgrade data includes:
and receiving firmware upgrading data uploaded to a server operating system, and sending the firmware upgrading data to the BMC of the server.
9. A firmware upgrading method of an intelligent network card is applied to the intelligent network card, the intelligent network card is the intelligent network card in the whole system of any one of claims 1 to 6, and the firmware upgrading method of the intelligent network card comprises the following steps:
and based on the second virtual local area network, receiving the call of the BMC of the server to the second sub-interface of the BMC network port of the intelligent network card, so that the BMC of the server carries out the out-of-band upgrade of the firmware of the intelligent network card through firmware upgrade data.
10. The firmware upgrade method for an intelligent network card according to claim 9, wherein the firmware upgrade data is firmware upgrade data sent by the server operating system to the BMC of the server.
CN202111425742.5A 2021-11-26 2021-11-26 Whole machine system and firmware upgrading method of intelligent network card thereof Withdrawn CN114172807A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111425742.5A CN114172807A (en) 2021-11-26 2021-11-26 Whole machine system and firmware upgrading method of intelligent network card thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111425742.5A CN114172807A (en) 2021-11-26 2021-11-26 Whole machine system and firmware upgrading method of intelligent network card thereof

Publications (1)

Publication Number Publication Date
CN114172807A true CN114172807A (en) 2022-03-11

Family

ID=80481221

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111425742.5A Withdrawn CN114172807A (en) 2021-11-26 2021-11-26 Whole machine system and firmware upgrading method of intelligent network card thereof

Country Status (1)

Country Link
CN (1) CN114172807A (en)

Similar Documents

Publication Publication Date Title
CN112383502B (en) Method and system for uniformly monitoring physical machine and virtual machine and electronic device
WO2020024413A1 (en) Method for controlling deployment of cloud computing platform, server, and storage medium
CN105024855A (en) Distributed cluster management system and method
WO2020057469A1 (en) Data processing method, related device, and computer storage medium
WO2011162777A1 (en) Tenant isolation in a multi-tenant cloud system
CN104993947A (en) Method for upgrading firmware in batches
CN102866925B (en) Communication method and system for middleware and user interface
US10778467B2 (en) Method for providing virtual CPE service by using single internet line and network function virtualization cloud
KR102486236B1 (en) Apparatus and method for network function virtualization in wireless communication system
CN107733717B (en) Network configuration method for mobile operation and maintenance of cloud platform
CN114124714A (en) Multi-level network deployment method, device, equipment and storage medium
CN111669293B (en) SD-WAN system and remote management method and device of network terminal equipment
CN110933015A (en) Data transmission method, device and system
CN109462537B (en) Cross-network intercommunication method and device
CN104333462A (en) Method, system and mobile terminal for configuring optical network unit
AU2015201108B2 (en) Integrated modular home gateway multi-media router
CN104144090A (en) High-speed building wired covering system
CN115065720B (en) Method and device for automatically adapting multiple external registries to service grid Istio
CN114172807A (en) Whole machine system and firmware upgrading method of intelligent network card thereof
CN114615285B (en) Physical machine deployment method and device, electronic equipment and storage medium
CN107070725B (en) A kind of method that server two-level management intermodule communication is shaken hands
CN115022408A (en) Data transmission method and device based on service grid and electronic equipment
EP2843877A1 (en) Mobile terminal network port management method and device
CN114189485A (en) Network port management method and system of switch and computer readable storage medium
CN107395766A (en) Decentralization communication system and implementation method based on HazelCast

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20220311