CN114363141A - Remote debugging method, device and system for switch in blade server chassis - Google Patents

Remote debugging method, device and system for switch in blade server chassis Download PDF

Info

Publication number
CN114363141A
CN114363141A CN202111646564.9A CN202111646564A CN114363141A CN 114363141 A CN114363141 A CN 114363141A CN 202111646564 A CN202111646564 A CN 202111646564A CN 114363141 A CN114363141 A CN 114363141A
Authority
CN
China
Prior art keywords
network
switch
debugging
serial port
blade server
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
Application number
CN202111646564.9A
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.)
Lenovo Beijing Information Technology Ltd
Original Assignee
Lenovo Beijing Information Technology 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 Lenovo Beijing Information Technology Ltd filed Critical Lenovo Beijing Information Technology Ltd
Priority to CN202111646564.9A priority Critical patent/CN114363141A/en
Publication of CN114363141A publication Critical patent/CN114363141A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a remote debugging method, a device and a system for a switch in a blade case. The method comprises the steps that a serial port of a switch in a blade server case is connected to a management module circuit board in the blade server case, and a network connected with the management module circuit board is used for receiving a remote debugging command; then, converting the remote debugging command into a local debugging command, and sending the local debugging command to the switch through a serial port connection established with the switch; and after the debugging result is obtained, returning the debugging result to the remote debugging client side which sends the remote debugging command through the first network. Because the network connected with the management module circuit board is another network isolated from the network connected with the switch, when the network connected with the switch has a problem, the switch can be remotely debugged through the network connected with the management module circuit board without entering a machine room where the blade server chassis is located, and debugging data can be obtained on the spot.

Description

Remote debugging method, device and system for switch in blade server chassis
Technical Field
The present application relates to the field of blade servers, and in particular, to a method and an apparatus for remotely debugging a switch in a chassis of a blade server.
Background
The existing blade server needs to be remotely debugged by means of a network connected with a switch in a blade server chassis if the remote debugging is needed, but once the switch in the blade server chassis fails to work and the network of the switch cannot be used, the blade server needs to be accessed through a serial port of the switch in the blade server chassis.
Under the condition, operation and maintenance personnel must find a corresponding blade server in a machine room site and access a debugging tool to a physical serial port of a switch in a blade server case to collect a serial port log of the switch, so that for large-scale operation and maintenance of a data center, certain time and energy are spent on finding the switch and connecting a serial port line with the switch, and inconvenience is brought.
Disclosure of Invention
The embodiment of the application creatively provides a remote debugging method, a device and a system for a switch in a blade server chassis.
According to a first aspect of an embodiment of the present application, a method for remotely debugging a switch in a blade server chassis is provided, where the method includes: converting a remote debugging command received from a first network into a local debugging command, wherein the first network is isolated from a second network connected with a switch; sending the local debugging command to the switch through the serial port connection established with the switch; receiving a debugging result returned by the switch in response to the local debugging command through serial port connection; and returning a debugging result through the first network.
According to an embodiment of the present application, the method further includes: receiving a first network data packet from a first network; acquiring a first parameter of a first network data packet; and judging whether the first network data packet is a remote debugging command or not according to the first parameter.
According to an embodiment of the present application, a first network packet is a network packet based on a remote management control protocol, and accordingly, a remote debug command from a first network is converted into a local debug command, including: analyzing the first network data packet according to a remote management control protocol to obtain a local debugging command; correspondingly, the debugging result is returned through the first network, and the method comprises the following steps: packaging the debugging result according to a remote management control protocol to obtain a second network data packet; and returning the second network data packet.
According to an embodiment of the present application, the method further includes: establishing serial port connection with the switch; and configuring the serial port connection.
According to an embodiment of the present application, the method further includes: the method comprises the steps that serial port data sent by a switch are received from a serial port connection, wherein the serial port data comprise the running state and/or fault information of the switch; and storing the serial port data to a first log file located locally.
According to an embodiment of the present application, the method further includes: the first log file is transmitted over the first network in response to a request from the first network to download the first log file.
According to a second aspect of the embodiments of the present application, there is provided a remote debugging apparatus for a switch in a chassis of a traffic blade server, the apparatus including: the remote debugging command conversion module is used for converting a remote debugging command received from a first network into a local debugging command, and the first network is isolated from a second network connected with the switch; the serial port data sending module is used for sending the serial port data to the switch through the serial port connection established with the switch; the serial port data receiving module is used for receiving a debugging result returned by the switch in response to the local debugging command; and the debugging result returning module is used for returning the debugging result through the first network.
According to a third aspect of the embodiments of the present application, there is provided a management module circuit board in a blade server chassis, including: the serial port connector is used for connecting a serial port of the switch, and the switch and the management module circuit board are positioned in the same blade server case; the network port is used for connecting a first network, and the first network is isolated from a second network connected with the switch; at least one embedded processor chip SOC integrating the serial port connector and the network port; and a memory communicatively coupled to the at least one embedded processor chip SOC; the memory stores instructions executable by the at least one embedded processor chip SOC, and the instructions are executed by the at least one embedded processor chip SOC, so that the at least one embedded processor chip SOC can execute any one of the remote debugging methods of the switch in the blade server chassis.
According to an embodiment of the present application, the serial port connector is connected to the serial port connector of the switch through a serial port signal line welded to the middle plate in the blade server chassis.
According to a fourth aspect of the embodiments of the present application, there is provided a remote debugging system for a switch in a blade server chassis, including: a blade server chassis internal switch; the management module circuit board is positioned in the same blade server case with the switch, and comprises any one of the management module circuit boards; and the remote debugging client is connected with the first network and used for sending a remote debugging command of a debugging switch to the network port of the management module circuit board through the first network and receiving a remote debugging result returned by the management module circuit board.
The embodiment of the application provides a remote debugging method, a device and a system for a switch in a blade server chassis. The method comprises the steps that a serial port of a switch in a blade server case is connected to a management module circuit board in the blade server case, and a network connected with the management module circuit board is used for receiving a remote debugging command; then, converting the remote debugging command into a local debugging command, and sending the local debugging command to the switch through a serial port connection established with the switch; and after the debugging result is obtained, returning the debugging result to the remote debugging client side which sends the remote debugging command through the first network. Because the network connected with the management module circuit board is another network isolated from the network connected with the switch, when the network connected with the switch has a problem, the switch can be remotely debugged through the network connected with the management module circuit board without entering a machine room where the blade server chassis is located, and debugging data can be obtained on the spot.
It is to be understood that the implementation of the present application does not require all of the above-described advantages to be achieved, but rather that certain technical solutions may achieve certain technical effects, and that other embodiments of the present application may also achieve other advantages not mentioned above.
Drawings
The above and other objects, features and advantages of exemplary embodiments of the present application will become readily apparent from the following detailed description read in conjunction with the accompanying drawings. Several embodiments of the present application are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings and in which:
in the drawings, the same or corresponding reference numerals indicate the same or corresponding parts.
FIG. 1 is a schematic structural diagram of a switch remote debugging system in a common blade server chassis;
fig. 2 is a schematic structural diagram of a remote switch debugging system in a blade server chassis according to an embodiment of the present application;
fig. 3 is a schematic flowchart illustrating an implementation flow of a remote debugging method for an internal switch of a blade server chassis according to an embodiment of the present application;
fig. 4 is a schematic diagram illustrating an implementation manner of a remote debugging method for a switch in a blade server chassis according to another embodiment of the present application;
fig. 5 is a schematic flowchart illustrating an implementation process of a remote debugging method for an internal switch of a blade server chassis according to another embodiment of the present application;
fig. 6 is a schematic structural diagram illustrating a remote switch debugging apparatus in a blade server chassis according to an embodiment of the present application;
FIG. 7 is a schematic diagram of a component structure of a management module circuit board in a blade server chassis according to an embodiment of the present application;
fig. 8 is a schematic diagram of a hardware structure for implementing a serial port connection between a management module circuit board in a blade server chassis and a switch according to an embodiment of the present application.
Detailed Description
In order to make the objects, features and advantages of the present application more obvious and understandable, 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 apparent that the described embodiments are only a part of the embodiments of the present application, and not all the 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.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
The application relates to a remote debugging method of a switch in a blade server chassis, which mainly aims at the switch in the blade server chassis.
The blade server case refers to a case of a blade server, and a plurality of blade servers are arranged in the blade server case, wherein each blade server is a card server unit which can be inserted into a rack-type case with a standard height, and the card server unit usually only comprises a system mainboard and does not comprise a network port or a network card; the blade servers are connected to and communicate with an external network through switches integrated within the blade server chassis.
Taking the blade server enclosure 101 shown in fig. 1 as an example, the blade servers such as the blade server 1012 and the blade server 1013 are connected to an external network (a second network shown by a dotted line) through a portal (a second portal) of the switch 1011 integrated in the blade server enclosure.
When the switch has an error, the user may use the remote debugging client 102 to remotely debug the switch 1011 through the network (i.e., the second network connected through the second network port) to which the switch 1011 itself is connected, so as to obtain various required debugging information. However, when the second network fails, the second network cannot be connected to the switch for remote debugging, and only the serial port of the switch connected on the spot to the machine room can be used for reading data for local debugging, which is very inconvenient.
Typically, a management module circuit board, such as management module circuit board 1014 shown in FIG. 1, is also disposed within the blade server chassis. The management module circuit board 1014 is mainly used to collect hardware information of various components in the blade server chassis 101, including the blade servers 1012, 1013, and the like, so as to monitor and manage the blade servers. In addition, the management module circuit board 1014 may also monitor the operation of power supplies, fans, switch components within the blade chassis. Since the management module circuit board 1014 can obtain the bottom layer information of the blade server and operate the blade server, the management module circuit board 1014 is not connected to the switch 1011 in the blade server chassis and is connected to the second network.
To facilitate remote management and control, the management module board 1014 is provided with a separate portal (second portal) and is connected to a second network isolated from the first network through the portal to secure the system. The remote management client 103 is connected to the management module circuit board 1014 through a first network, acquires information related to each blade server through the management module circuit board 1014, and acquires remote monitoring and management of each blade server through the management module circuit board 1014.
Therefore, the inventor of the application creatively thinks that if the connection can be established between the management module circuit board and the serial port of the switch, the related debugging information of the switch can be acquired through the first network when the second network fails.
Based on the above inventive concepts, in an embodiment of the present application, the present inventors have modified the blade server enclosure 101 shown in fig. 1 to obtain the blade server enclosure 201 shown in fig. 2.
As shown in fig. 2, in the blade server chassis 201, a connection is established between a serial port of the switch 2011 and the management module circuit board 2014, so that the management module circuit board 2014 can send a debug command to the switch 2011 through the connection with the serial port of the switch 2011, and read debug information returned by the switch 2011.
In this way, the remote debugging client 202 can be connected to the management module circuit board 2014 through the first network when the second network fails, and can remotely debug the switch 2011 through the management module circuit board 2014.
The remote management client 203 can still be connected to the management module circuit board 2014 through the first network, obtain the related information of each blade server through the management module circuit board 2014, and obtain the information for remotely monitoring and managing each blade server through the management module circuit board 2014.
In another embodiment of the present application, the functions of the remote debugging client 202 may also be incorporated into the remote management client 203, and the remote debugging command is sent by the remote management client 203, so as to implement remote debugging on the switch 2011 without specially setting the remote debugging client 202.
Specifically, in the management module circuit board 2014, the method as shown in fig. 3 is performed to enable remote debugging of the switch 2011.
Referring to fig. 3, an embodiment of the present application provides a method for remotely debugging a switch in a blade server chassis, where the method includes: operation S310, converting a remote debug command received from a first network, which is isolated from a second network to which a switch is connected, into a local debug command; operation S320, sending the local debug command to the switch through the serial port connection established with the switch; operation S330, receiving a debugging result returned by the switch in response to the local debugging command through the serial port connection; in operation S340, a debugging result is returned through the first network.
In operation S310, the first network is a network in which the management module circuit board in the blade server chassis is connected through a network port on the management module circuit board. The first network is isolated from the network to which the switch is connected through the network port on the switch, i.e., the second network. When the second network fails, the first network is not affected and can still work normally.
The remote debug command is a debug command sent to a port of a management module circuit board in the blade server chassis, and is typically a network packet conforming to a certain network protocol.
The local debugging command is a debugging command which can be sent to a serial port of the switch in the blade server chassis.
In operation S320, the serial port connection established with the switch, similar to the serial port connection established with the switch in the field when the first network fails to enter the machine room, is connected to a serial port, such as a console port, for performing debugging, feeding back debugging information, and outputting the operating state of the switch. After the serial port connection is established, the switch may be debugged through the serial port connection, and a debugging result returned by the switch in response to the local debugging command may be received through the serial port connection in operation S330.
Then, in operation S340, the debugging result may be returned to the client sending the remote debugging command through the first network, so as to complete the debugging of the switch in the blade server chassis.
Therefore, even if the second network connected with the switch in the blade server chassis has a fault, the remote debugging of the switch can be realized through the first network connected with the management module circuit board in the same blade server chassis, and the remote debugging of the switch can be realized without entering a machine room and being connected to the serial port of the switch on the spot for local debugging.
According to the remote debugging method for the switch in the blade server chassis, the probability of entering a machine room to carry out local debugging on the spot can be greatly reduced, so that the maintenance cost of the blade server is greatly reduced, the condition for timely and quickly repairing the switch error is provided, the time for the switch to operate with the error is correspondingly shortened, and the use efficiency of the switch in the blade server chassis is greatly improved.
In addition, since the first network is generally a more secure management network and is more private than the second network, remote debugging of the switch via the first network is also more secure. Therefore, even when the second network does not have a fault, the remote debugging method of the switch in the blade server chassis can be used for realizing safer debugging.
It should be noted that the embodiments shown in fig. 2 to fig. 3 are only basic embodiments of the remote debugging method for the switch in the blade server chassis according to the present application, and an implementer may further perform refinements and extensions based on the above embodiments to obtain an embodiment that meets specific implementation requirements and implementation conditions.
Fig. 4 shows a specific implementation manner of implementing a remote switch debugging method in a blade server chassis according to another embodiment of the present application.
Referring to fig. 4, in the management module circuit board in the blade server chassis of the present embodiment, an embedded controller (for example, an ARM controller) is provided, and three services are operated in the controller: a serial port driver service 401, an IPMI service 402, and a network communication service 403.
The serial port drive service 401 is mainly used for sending a local debugging command and reading a debugging result returned by an exchanger through a serial port connection established with the exchanger in the blade server chassis;
the IPMI service 402, also called an Intelligent Platform Management Interface (Intelligent Platform Management Interface) service, is mainly used for implementing interaction with a remote debugging client through an IPMI protocol, and the remote debugging client may send a remote debugging command to the ipmitool tool through the ipmitool tool and receive a corresponding debugging result.
The network communication service 403 is mainly used for receiving a remote debugging command sent by the IPMI protocol and sending a debugging result packaged according to the IPMI protocol.
The three services can respectively serve the own roles and focus on a certain function, and when problems occur, the three services can be independently repaired and updated, so that the maintenance cost is reduced. The embedded controller is used for operation, so that better operation performance can be obtained, and the method is conveniently realized through an embedded program.
Specifically, the main process of the method for remotely debugging the switch in the blade server chassis according to the embodiment of the present application, as shown in fig. 5, includes:
step S5010, receiving an IPMI network packet from the first network;
specifically, a network data packet from the first network is received by the network communication service 403. Thereafter, the network communication service 403 passes the received network packet to the IPMI service 402, and the processing by the IPMI service 402 is continued.
The IPMI network packet is usually a SOL format packet.
Step S5020, obtaining equipment parameters appointed by an IPMI network data packet;
in the embodiment of the present application, the IPMI service may also receive other commands that are commonly used to remotely monitor and manage other components of the blade server.
Therefore, after receiving the network packet delivered by the network communication service 403, the IPMI service 402 further determines whether the IPMI network packet is for remotely debugging the switch inside the chassis. Specifically, the IPMI network packet is used for remotely debugging the switch in the blade server chassis or remotely monitoring and managing other components of the blade server by specifying the device parameters in the IPMI network packet.
However, specifying device parameters is not the only way to determine whether an IPMI network packet is a remote debug command, and an implementer may specify any other parameter, such as a value of a flag in the network packet, to indicate that the network data is for remotely debugging a switch in the blade server chassis.
Step S5030, determining whether the first network data packet is a remote debug command according to the first parameter, if yes, continuing step S5040, and if not, switching to another management command processing flow;
step S5040, analyzing the network data packet to obtain a local debugging command according to the IPMI protocol;
in the embodiment of the present application, analyzing the network data packet to obtain the local debug command mainly refers to analyzing the network data packet according to the SOL format to obtain the local debug command, for example, "interface VLAN-interface 1" (enter management VLAN).
It should be noted that, in the embodiment of the present application, the steps S5020 to S5040 are all performed by the IPMI service 402
Step S5050, sending the local debugging command to the switch through the serial port connection established with the switch;
specifically, the IPMI service 402 converts the analyzed local debugging command into serial port data, sends the serial port data to the serial port driver service 401, and sends the serial port data to the blade server chassis internal switch through the serial port connection by the serial port driver service 401.
Step 5060, receiving a debugging result returned by the switch in response to the local debugging command through serial port connection;
specifically, the serial driver 401 reads the switch serial data and sends the serial data to the IPMI service program 402.
Step S5070, packaging debugging results according to an IPMI protocol;
specifically, after receiving the serial port data of the switch, the IPMI service program 402 converts the serial port data into the SOL format according to the IPMI protocol, and obtains an encapsulated SOL data packet. The IPMI service 402 then passes the encapsulated SOL packets to the network communication service 403.
Step S5080, return the second network packet.
Specifically, the encapsulated SOL packet is returned by the network communication service 403 to the ipmitool client that sent the debug command.
Thus, the debugging process of the switch in the blade server chassis is completed once.
Before executing the remote debugging process, the embodiment of the present application further needs to establish a serial connection with the switch in advance, and configure the serial connection, including a baud rate, a data bit, a parity bit, and the like. After the configuration of the serial port is completed, serial port data can be sent to the serial port of the switch through the serial port driver service 401, and the serial port data returned to the serial port of the switch can be received.
In addition, because the blade server machine case that this application embodiment used, the switch serial ports that management module circuit board is connected are the serial ports of management and debugging switch, for example, the console mouth. The switch sends the management information and the state information of the switch to the serial port in real time. For example, when the switch enters a new state or a new stage, the switch can timely send the entered new state or the new stage to the serial port; when the switch has an error, the switch can send error information and running environment information with the error to the serial port in time.
Therefore, in the embodiment of the present application, in addition to receiving and processing the remote debugging command sent by the user from the remote debugging client through the above steps S5010 to S5080 to complete remote debugging of the switch in the blade server chassis, the received serial data actively sent by the switch is stored in the local first log file through the serial connection during daily operation. The first log file may be a log file which is recorded with daily operation and exists in the management module circuit board, or may be a log file which is specially established for the switch in the blade server chassis. And the required debugging information can be found more quickly by establishing the log file for the switch in the blade server chassis.
The first log file is viewable or downloadable through a browser login management module Web interface. Thus, in an embodiment of the present application, the network communication service 403 may also respond to a request from the first network to download the first log file and send the locally stored first log file to the remote debugging client.
In this way, when a switch has a problem, the state information of the switch in the adjacent time period when the switch has an error can be acquired through the first log file, so that the root cause of the error can be more easily positioned, and the time for positioning as the problem can be further shortened.
It should be noted that the embodiments shown in fig. 4 to fig. 5 are also only exemplary illustrations of the remote debugging method for the switch in the blade server chassis according to the present application, and do not limit the implementation and application scenarios of the embodiments of the present application. The implementer may use any suitable implementation and in any suitable application scenario, depending on the specific implementation conditions and implementation requirements.
According to a second aspect of the embodiments of the present application, there is provided a remote debugging apparatus for a switch in a blade server chassis, as shown in fig. 6, the apparatus 60 includes: a remote debugging command conversion module 601, configured to convert a remote debugging command received from a first network into a local debugging command, where the first network is isolated from a second network to which a switch is connected; a serial data sending module 602, configured to send the serial data to the switch through a serial connection established with the switch; a serial port data receiving module 603, configured to receive a debugging result returned by the switch in response to the local debugging command; and a debugging result returning module 604, configured to return a debugging result through the first network.
According to an embodiment of the present application, the apparatus 60 further includes: a network data packet receiving module, configured to receive a first network data packet from a first network; the first parameter acquisition module is used for acquiring a first parameter of the first network data packet; and the remote debugging command judging module is used for judging whether the first network data packet is a remote debugging command according to the first parameter.
According to an embodiment of the present application, the first network data packet is a network data packet based on a remote management control protocol, and accordingly, the remote debug command conversion module 601 is specifically configured to analyze the first network data packet according to the remote management control protocol to obtain a local debug command; accordingly, the debug result return module 604 includes: the packaging unit is used for packaging the debugging result according to the remote management control protocol to obtain a second network data packet; and the data packet sending unit is used for returning the second network data packet.
According to an embodiment of the present application, the apparatus 60 further includes: the serial port connection establishing module is used for establishing serial port connection with the switch; and the serial port configuration module is used for configuring the serial port connection.
According to an embodiment of the present application, the serial data receiving module 603 is further configured to receive serial data sent by the switch from a serial connection, where the serial data includes an operating state and/or fault information of the switch; the device 60 further comprises a log storage module, which is used for storing the serial port data to a first log file located locally.
According to an embodiment of the present application, the apparatus 60 further includes: and the log file downloading request response module is used for responding to a request for downloading the first log file from the first network and sending the first log file through the first network.
According to a third aspect of the embodiments of the present application, there is provided a management module circuit board in a blade server chassis, as shown in fig. 7, the management module circuit board 70 includes: the serial port connector 701 is used for connecting a serial port of a switch, and the switch and the management module circuit board are positioned in the same blade server case; a portal 702 for connecting a first network, the first network being isolated from a second network to which the switch is connected; at least one embedded processor chip SOC703, with the serial port connector and the network port both communication connection; and a memory 704 communicatively coupled to the at least one embedded processor chip SOC 703; the memory 704 stores instructions executable by the at least one embedded processor chip SOC703, and the instructions are executed by the at least one embedded processor chip SOC703, so that the at least one embedded processor chip SOC703 can execute any one of the above methods for remote debugging of a switch in a blade server chassis.
Fig. 8 is a schematic diagram illustrating a hardware structure in which a management module circuit board is connected to a serial port of an exchanger in a blade server chassis through a serial port signal line welded in a signal middle plate according to an embodiment of the present application.
In the blade server chassis, in addition to the switch 802 and the management module circuit board 803, a signal midplane 801 is provided, and the signal midplane is welded with a signal line 8011. Signal line 8011 has one end connected to serial port connector 8021 of switch 802 and the other end connected to serial port connector 8031 of management module circuit board 803.
Therefore, the management module circuit board is connected with the serial port of the switch in the blade server case.
According to a fourth aspect of the embodiments of the present application, there is provided a remote debugging system for a switch in a blade server chassis, as shown in fig. 2, including: blade server chassis internal switch 2011; a management module circuit board 2014 located in the same blade server chassis as the switch, the management module circuit board including any one of the management module circuit boards; the remote debugging client 202 is connected to the first network, and configured to send a remote debugging command for debugging the switch to the network port of the management module circuit board 2014 through the first network, and receive a remote debugging result returned by the management module circuit board 2014.
Here, it should be noted that: the above description on the embodiment of the remote debugging apparatus for a switch in a blade server chassis, and the above description on the embodiment of the management module circuit board are similar to the description on the foregoing method embodiment, and have similar beneficial effects to the foregoing method embodiment, and therefore, no further description is given. For technical details that have not been disclosed yet in the description of the embodiment of the remote debugging device for the switch in the blade server chassis, the description of the embodiment of the remote debugging system for the switch in the blade server chassis, and the description of the embodiment of the management module circuit board in the present application, please refer to the description of the foregoing method embodiments in the present application for understanding, and therefore, for brevity, no further description is provided.
It should be noted that, in this document, 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 like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of a unit is only one logical function division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another device, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage medium, a Read Only Memory (ROM), a magnetic disk, and an optical disk.
Alternatively, the integrated units described above in the present application may be stored in a computer-readable storage medium if they are implemented in the form of software functional modules and sold or used as independent products. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or portions thereof that contribute to the prior art may be embodied in the form of a software product stored in a storage medium, and including several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods of the embodiments of the present application. And the aforementioned storage medium includes: a removable storage medium, a ROM, a magnetic disk, an optical disk, or the like, which can store the program code.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for remotely debugging a switch in a blade server chassis, the method comprising:
converting a remote debug command received from a first network to a local debug command, the first network being isolated from a second network to which the switch is connected;
sending the local debugging command to the switch through the serial port connection established with the switch;
receiving a debugging result returned by the switch in response to the local debugging command through the serial port connection;
and returning the debugging result through the first network.
2. The method of claim 1, further comprising:
receiving a first network data packet from a first network;
acquiring a first parameter of the first network data packet;
and judging whether the first network data packet is a remote debugging command or not according to the first parameter.
3. The method of claim 2, the first network packet being a remote management control protocol based network packet,
accordingly, the converting the remote debug command from the first network into the local debug command includes:
analyzing the first network data packet according to the remote management control protocol to obtain a local debugging command;
accordingly, returning the debugging result through the first network comprises:
according to a remote management control protocol, packaging the debugging result to obtain a second network data packet;
and returning the second network data packet.
4. The method of claim 1, further comprising:
establishing serial port connection with the switch;
and configuring the serial port connection.
5. The method of claim 1, further comprising:
receiving serial port data sent by the switch from the serial port connection, wherein the serial port data comprises the running state and/or fault information of the switch;
and storing the serial port data to a first log file located locally.
6. The method of claim 5, further comprising:
transmitting the first log file over the first network in response to a request from the first network to download the first log file.
7. A device for remotely debugging a switch within a blade server chassis, the device comprising:
the remote debugging command conversion module is used for converting a remote debugging command received from a first network into a local debugging command, wherein the first network is isolated from a second network connected with the switch;
the serial port data sending module is used for sending the serial port data to the switch through the serial port connection established with the switch;
the serial port data receiving module is used for receiving a debugging result returned by the exchanger in response to the local debugging command;
and the debugging result returning module is used for returning the debugging result through the first network.
8. A management module circuit board within a blade server chassis, comprising:
the serial port connector is used for connecting a serial port of a switch, and the switch and the management module circuit board are positioned in the same blade server case;
the network port is used for connecting a first network, and the first network is isolated from a second network connected with the switch;
at least one embedded processor chip SOC integrating the serial port connector and the network port;
and a memory communicatively coupled to the at least one embedded processor chip SOC;
wherein the memory stores instructions executable by the at least one embedded processor chip SOC to enable the at least one embedded processor chip SOC to perform the method of any of claims 1-6.
9. The management module circuit board of claim 8, wherein the serial port connector is connected to the serial port connector of the switch via a serial signal line soldered to a midplane within the blade server chassis.
10. A remote debugging system for a blade server in-chassis switch, comprising:
a blade server chassis internal switch;
a management module circuit board located within the same blade server chassis as the switch, the management module circuit board comprising the management module circuit board of claim 8;
and the remote debugging client is connected with the first network and used for sending a remote debugging command for debugging the switch to the network port of the management module circuit board through the first network and receiving a remote debugging result returned by the management module circuit board.
CN202111646564.9A 2021-12-30 2021-12-30 Remote debugging method, device and system for switch in blade server chassis Pending CN114363141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111646564.9A CN114363141A (en) 2021-12-30 2021-12-30 Remote debugging method, device and system for switch in blade server chassis

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111646564.9A CN114363141A (en) 2021-12-30 2021-12-30 Remote debugging method, device and system for switch in blade server chassis

Publications (1)

Publication Number Publication Date
CN114363141A true CN114363141A (en) 2022-04-15

Family

ID=81103665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111646564.9A Pending CN114363141A (en) 2021-12-30 2021-12-30 Remote debugging method, device and system for switch in blade server chassis

Country Status (1)

Country Link
CN (1) CN114363141A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080140836A1 (en) * 2006-10-16 2008-06-12 Toui Miyawaki Computer management server in remote access environment
CN102289388A (en) * 2011-09-05 2011-12-21 浪潮电子信息产业股份有限公司 Extension method for managing IPMI (Intelligent Platform Management Interface) interface protocol by server
CN102546385A (en) * 2010-12-15 2012-07-04 丛林网络公司 Methods and apparatus for automatically provisioning resources within a distributed control plane of a switch
CN105005545A (en) * 2015-07-28 2015-10-28 武汉烽火网络有限责任公司 Line card serial port switching device and line card serial port switching method
CN105607469A (en) * 2014-11-14 2016-05-25 因文西斯系统公司 Unified communications module (UCM)
US20180026829A1 (en) * 2016-07-25 2018-01-25 American Megatrends, Inc. Device or vendor independent network switch management via embedded management controller stack
US20180077245A1 (en) * 2016-09-13 2018-03-15 American Megatrends, Inc. System and method for providing multiple ipmi serial over lan (sol) sessions in management controller stack
CN111130962A (en) * 2019-12-30 2020-05-08 联想(北京)有限公司 Automatic configuration method, equipment, system and storage medium for switch
CN210691304U (en) * 2019-12-23 2020-06-05 南京长峰航天电子科技有限公司 High-speed signal processing platform based on VPX framework
CN112838934A (en) * 2019-11-22 2021-05-25 武汉神州数码云科网络技术有限公司 System and method for realizing remote access to switch serial port
CN113821390A (en) * 2021-08-30 2021-12-21 曙光信息产业股份有限公司 Switch debugging method and device, server and computer readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080140836A1 (en) * 2006-10-16 2008-06-12 Toui Miyawaki Computer management server in remote access environment
CN102546385A (en) * 2010-12-15 2012-07-04 丛林网络公司 Methods and apparatus for automatically provisioning resources within a distributed control plane of a switch
CN102289388A (en) * 2011-09-05 2011-12-21 浪潮电子信息产业股份有限公司 Extension method for managing IPMI (Intelligent Platform Management Interface) interface protocol by server
CN105607469A (en) * 2014-11-14 2016-05-25 因文西斯系统公司 Unified communications module (UCM)
CN105005545A (en) * 2015-07-28 2015-10-28 武汉烽火网络有限责任公司 Line card serial port switching device and line card serial port switching method
US20180026829A1 (en) * 2016-07-25 2018-01-25 American Megatrends, Inc. Device or vendor independent network switch management via embedded management controller stack
US20180077245A1 (en) * 2016-09-13 2018-03-15 American Megatrends, Inc. System and method for providing multiple ipmi serial over lan (sol) sessions in management controller stack
CN112838934A (en) * 2019-11-22 2021-05-25 武汉神州数码云科网络技术有限公司 System and method for realizing remote access to switch serial port
CN210691304U (en) * 2019-12-23 2020-06-05 南京长峰航天电子科技有限公司 High-speed signal processing platform based on VPX framework
CN111130962A (en) * 2019-12-30 2020-05-08 联想(北京)有限公司 Automatic configuration method, equipment, system and storage medium for switch
CN113821390A (en) * 2021-08-30 2021-12-21 曙光信息产业股份有限公司 Switch debugging method and device, server and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107547589B (en) Data acquisition processing method and device
US8805596B2 (en) Remote wind turbine reset system and method
EP0585082B1 (en) Computer management system and associated management information base
EP2661014A1 (en) Polling sub-system and polling method for communication network system and communication apparatus
US20100205600A1 (en) Simulation method for realizing large batches and different kinds of baseboard management controllers using a single server
CN114553672B (en) Method, device, equipment and medium for determining performance bottleneck of application system
US7801981B2 (en) Remote monitoring system, remote monitoring method for electronic apparatus, low order monitoring apparatus, notification method of apparatus monitoring information, high order monitoring apparatus, communication method of maintenance data, program and recording medium
CN105721568A (en) Remote debugging system, method and device
CN113746821A (en) Intelligent device control method and device, storage medium and electronic device
US20060215580A1 (en) Method and apparatus for monitoring network device
CN114363141A (en) Remote debugging method, device and system for switch in blade server chassis
CN102158462B (en) A kind of method that 2G or 3G module remote diagnosis is repaired
CN115604095A (en) Network equipment configuration method and system
CN114490746B (en) Equipment testing method and device, equipment to be tested and storage medium
JP2017158081A (en) Network equipment monitoring device
CN113032054B (en) Service execution method and device, storage medium and electronic device
CN110733037B (en) Signal processing method and device, storage medium and processor
CN109857082B (en) Automatic transmission diagnostic method and apparatus
JP3356809B2 (en) LAN fault monitoring apparatus, LAN fault monitoring system, and logging data collection method therefor
US20230161303A1 (en) Data acquisition method and industrial device
CN107885169A (en) A kind of collection method of field data, device and system
CN219039734U (en) Equipment detection system
KR20090044110A (en) Simulator and simulation method for testing network element and medium for storing for program for carrying out the method
CN115543755A (en) Performance monitoring method, device, system, equipment and medium
CN109120422B (en) Remote server system capable of obtaining hardware information and management method thereof

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