CN112769603B - Out-of-band management switching device, method and server - Google Patents

Out-of-band management switching device, method and server Download PDF

Info

Publication number
CN112769603B
CN112769603B CN202011623864.0A CN202011623864A CN112769603B CN 112769603 B CN112769603 B CN 112769603B CN 202011623864 A CN202011623864 A CN 202011623864A CN 112769603 B CN112769603 B CN 112769603B
Authority
CN
China
Prior art keywords
switch module
band
priority
substrate controller
band device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011623864.0A
Other languages
Chinese (zh)
Other versions
CN112769603A (en
Inventor
陈建文
李健健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Yep Telecommunication Technology Co Ltd
Original Assignee
Xian Yep Telecommunication 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 Xian Yep Telecommunication Technology Co Ltd filed Critical Xian Yep Telecommunication Technology Co Ltd
Priority to CN202011623864.0A priority Critical patent/CN112769603B/en
Publication of CN112769603A publication Critical patent/CN112769603A/en
Application granted granted Critical
Publication of CN112769603B publication Critical patent/CN112769603B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Hardware Redundancy (AREA)
  • General Factory Administration (AREA)

Abstract

The embodiment of the application relates to the technical field of out-of-band management and discloses an out-of-band management switching device, an out-of-band management switching method and a server. In this application, it includes: the device comprises a substrate controller, a first switch module and a second switch module; a first end of the first switch module is connected with a network connection state indicator NCSI interface of the substrate controller; the second end of the first switch module is connected with the first end of the second switch module; the third end of the first switch module, the second end of the second switch module and the third end of the second switch module are respectively connected with an out-of-band device; the first control end of the substrate controller is connected with the control end of the first switch module, and the second control end of the substrate controller is connected with the control end of the second switch module. The operating pressure of the substrate controller is reduced relative to the prior art of using an arbitration mechanism to select out-of-band devices for connection.

Description

Out-of-band management switching device, method and server
Technical Field
The embodiment of the application relates to the technical field of out-of-band management, in particular to an out-of-band management switching device, an out-of-band management switching method and a server.
Background
At present, the out-of-band management is a management mode based on hardware, and through the out-of-band management technology, the operation cost can be reduced, the operation efficiency can be improved, the downtime can be reduced, and the service quality can be improved, so that the out-of-band management is widely applied to the technical field of the Internet, and the Internet is more stable and safer. As shown in fig. 1, the out-of-band management switching device in the related art includes: a baseboard controller (Baseboard Management Controller, BMC) 101 provided in the server, three out-of-band devices 102; the BMC101 comprises a network connection status indicator (Network Controller Sideband Interface, NCSI) interface, which is respectively connected with the three OUT-of-band devices 102, wherein the interfaces ARB_IN and ARB_OUT of the three OUT-of-band devices 102 form a loop through an arbitration signal line, namely a connection basis of an arbitration mechanism, so that the BMC101 can select one OUT-of-band device from a plurality of OUT-of-band devices to perform OUT-of-band management through the arbitration mechanism.
However, the arbitration mechanism requires the software programs in the servers to cooperate, which increases the burden on the processing power of the servers; and because the arbitration mechanism needs to connect a plurality of out-of-band devices in a two-to-two interconnection way, when one out-of-band device fails and needs to be replaced, the communication between the BMC and the out-of-band device is stopped to be replaced, so that the out-of-band management process of the server is influenced.
Disclosure of Invention
The embodiment of the application aims to provide an out-of-band management switching device, an out-of-band management switching method and a server, so that the out-of-band equipment can be replaced under the condition that the out-of-band management working process of the server is not influenced while the running pressure of the server is reduced.
To solve the above technical problems, an embodiment of the present application provides an out-of-band management switching device, including: the device comprises a substrate controller, a first switch module and a second switch module; a first end of the first switch module is connected with a network connection state indicator NCSI interface of the substrate controller; the second end of the first switch module is connected with the first end of the second switch module; the third end of the first switch module, the second end of the second switch module and the third end of the second switch module are respectively connected with an out-of-band device; the first control end of the substrate controller is connected with the control end of the first switch module, and the second control end of the substrate controller is connected with the control end of the second switch module.
The embodiment of the application also provides a server, which comprises: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the out-of-band management switching method described above.
Embodiments of the present application also provide a computer readable storage medium, wherein the computer program is configured to perform the out-of-band management switching method described above when executed by a processor.
Compared with the related art, the embodiment of the application has the advantages that the connection relation between the NCSI interface of the substrate controller and the out-of-band equipment is switched by arranging the first switch module and the second switch module, at the moment, the server only needs to control the conduction path of the switch module through the control end, and compared with the connection of the out-of-band equipment selected by using an arbitration mechanism in the related art, the operation pressure of the substrate controller is reduced; meanwhile, in the method, when one out-of-band device needs to be replaced, only the switch module is controlled to be switched to the other out-of-band device for out-of-band management, so that the out-of-band device which needs to be replaced is isolated, and the out-of-band device can be replaced, and the out-of-band device is replaced under the condition that the out-of-band management work process of the substrate controller is not influenced. Meanwhile, in the connection mode, a user can connect the out-of-band device with the highest priority to the third end of the first switch module according to actual demands, and only the first end of the first switch module is required to be controlled to be connected to the third end, and the conduction state of the second switch module can be set arbitrarily; therefore, in the case of setting a plurality of switch modules, the embodiment can connect the out-of-band device with the highest priority only by controlling one switch module, thereby improving the efficiency of connecting the out-of-band device with the highest priority.
In addition, the out-of-band management switching device further includes: a third switch module; the third control end of the substrate controller is connected with the control end of the third switch module; the third switch module is arranged between the second end of the second switch module and the out-of-band equipment; the first end of the third switch module is connected with the second end of the second switch module; the third end of the first switch module, the third end of the second switch module, the second end of the third switch module and the third end of the third switch module are respectively connected with one out-of-band device.
In addition, the out-of-band management switching device further includes: a third switch module; the third control end of the substrate controller is connected with the control end of the third switch module; the third switch module is arranged between the third end of the first switch module and the out-of-band equipment; the first end of the third switch module is connected with the third end of the first switch module; the second end of the second switch module, the third end of the second switch module, the second end of the third switch module and the third end of the third switch module are respectively connected with one out-of-band device.
Drawings
One or more embodiments are illustrated by way of example and not limitation in the figures of the accompanying drawings, in which like references indicate similar elements, and in which the figures of the drawings are not to be taken in a limiting sense, unless otherwise indicated.
FIG. 1 is a schematic diagram of an out-of-band management switching device according to the related art;
fig. 2 is a schematic structural diagram of an out-of-band management switching device according to a first embodiment of the present application;
fig. 3 is a schematic structural diagram of an out-of-band management switching device according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of an out-of-band management switching device according to a third embodiment of the present application;
fig. 5 is a schematic structural diagram of an out-of-band management switching method according to a fourth embodiment of the present application;
FIG. 6 is a flow chart of an out-of-band management handoff method according to a fifth embodiment of the present application;
fig. 7 is a flowchart of an out-of-band management switching method according to a sixth embodiment of the present application;
fig. 8 is a schematic structural diagram of a server according to a seventh embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. However, as will be appreciated by those of ordinary skill in the art, in the various embodiments of the present application, numerous technical details have been set forth in order to provide a better understanding of the present application. However, the technical solutions claimed in the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not be construed as limiting the specific implementation of the present application, and the embodiments may be mutually combined and referred to without contradiction.
A first embodiment of the present application relates to an out-of-band management switching device, with a specific structure shown in FIG. 2, including: a substrate controller 201, a first switch module 2021, and a second switch module 2022.
Specifically, the substrate controller 201 is connected to the first end of the first switch module 2021 through the NCSI interface, and the second end of the first switch module 2021 is connected to the first end of the second switch module 2022; the third end of the first switch module 2021, the second end of the second switch module 2022, and the third end of the second switch module 2022 are respectively connected to an out-of-band device 203; the first control terminal a of the substrate controller 201 is connected to the control terminal of the first switch module 2021, and the second control terminal b of the substrate controller 201 is connected to the control terminal of the second switch module 2022.
It should be noted that the out-of-band device 203 in fig. 2 is only for describing the connection relationship of the out-of-band management switching device, and is not one component of the out-of-band management switching device in this embodiment.
In this embodiment, the three out-of-band devices 203 have a priority ranking, where the out-of-band device 203 connected to the third terminal of the first switch module 2021 has the highest priority, and the substrate controller 201 may control the conducting directions of the first switch module 2021 and the second switch module 2022 according to the priority ranking. In practical applications, the substrate controller 201 selects one out-of-band device 203 with the highest priority to connect, that is, the first end of the first switch module 2021 is connected to the third end of the first switch module 2021, and when an abnormality occurs in the out-of-band device 203 connected to the third end of the first switch module 2021, the substrate controller 201 selects the out-of-band device 203 with the next priority to connect. In this embodiment, the priority of the out-of-band device 203 connected to the second end of the second switch module 2022 and the priority of the out-of-band device 203 connected to the third end of the second switch module 2022 may be the same or different, and the user may set the priorities according to actual needs, which is not specifically limited in this embodiment.
In the embodiment, the connection relation between the NCSI interface of the substrate controller and the out-of-band equipment is switched by arranging the first switch module and the second switch module, and at the moment, the server only needs to control the conduction path of the switch module through the control end, so that the operation pressure of the substrate controller is reduced compared with the case that the out-of-band equipment is selected for connection by using an arbitration mechanism in the related technology; meanwhile, in the method, when one out-of-band device needs to be replaced, only the switch module is controlled to be switched to the other out-of-band device for out-of-band management, so that the out-of-band device which needs to be replaced is isolated and then replaced, and abnormal out-of-band devices are replaced under the condition that the out-of-band management work process of the substrate controller is not affected.
It should be noted that, in this embodiment, through the above connection manner, a user may connect the out-of-band device with the highest priority to the third end of the first switch module according to actual needs, and only needs to control the first end of the first switch module to connect to the third end at this time, and the on state of the second switch module may be set arbitrarily; therefore, in the case of setting a plurality of switch modules, the embodiment can connect the out-of-band device with the highest priority only by controlling one switch module, thereby improving the efficiency of connecting the out-of-band device with the highest priority.
In one example, out-of-band device 203 may be an on-board network controller, an OCP network card, a network tag card. In this embodiment, the on-board network controller is the out-of-band device with the highest priority, so that the on-board network controller is connected to the third end of the first switch module, thereby improving the efficiency of connecting the on-board network controller with the highest priority.
Specifically, the OCP network card of the present embodiment is connected to the third end of the second switch module, and the network card is connected to the second end of the second switch module, where the priority of the OCP network card may be set to be greater than the priority of the network card. When the on-board network controller is abnormal, the substrate controller 201 controls the first end of the first switch module 2021 to be connected to the second end of the first switch module 2021, and the first end of the second switch module 2022 is connected to the third end of the second switch module 2022, so that the substrate controller 201 is connected to the OCP network card; when the OCP network card is abnormal, the substrate controller 201 controls the first end of the first switch module 2021 to be connected to the second end of the first switch module 2021, and the first end of the second switch module 2022 is connected to the second end of the second switch module 2022, so that the substrate controller 201 is connected to the network card.
In one example, the first and second switch modules 2021, 2022 may be switch-switching chips.
A second embodiment of the present application relates to an out-of-band management switching device. The second embodiment is substantially the same as the first embodiment, and in the second embodiment of the present application, the out-of-band management switching device further includes a third switch module. In order to avoid repetition, the same or corresponding parts of the present embodiment as those of the first embodiment are not described herein.
The specific structure of the out-of-band management switching device in this embodiment is shown in fig. 3, and includes: the substrate controller 301, the first switch module 3021, the second switch module 3022, and the third switch module 3023.
Specifically, the substrate controller 301 is connected to the first end of the first switch module 3021 through an NCSI interface; a second end of the first switch module 3021 is connected to a first end of the second switch module 3022, and a second end of the second switch module 3022 is connected to a first end of the third switch module 3023; the third end of the first switch module 3021, the third end of the second switch module 3022, the second end of the third switch module 3023, and the third end of the third switch module 3023 are respectively connected to one out-of-band device 303; the first control end a of the substrate controller 301 is connected to the control end of the first switch module 3021, the second control end b of the substrate controller 301 is connected to the control end of the second switch module 3022, and the third control end c of the substrate controller 401 is connected to the control end of the third switch module 3023.
In this embodiment, the four out-of-band devices 303 have a priority ranking, where the out-of-band device 303 connected to the third end of the first switch module 3021 has the highest priority, the out-of-band device 303 connected to the third end of the second switch module 3022 has the priority next to the out-of-band device 303 connected to the first switch module 3021, and the priorities of the out-of-band devices 303 connected to the second end and the third end of the third switch module 3023 may be the same or different, and the user may set the priority according to the actual needs. In practical applications, the substrate controller 301 may control the conducting directions of the first, second, and third switch modules 3021, 3022, and 3023 according to the priority order.
Specifically, the substrate controller 301 first selects one out-of-band device 303 with the highest priority to connect, that is, the first end of the first switch module 3021 is connected to the third end of the first switch module 3021; when an abnormality occurs in the out-of-band device 303 connected to the third terminal of the first switching module 3021, the substrate controller 301 switches connection to the out-of-band device 303 connected to the third terminal of the second switching module 3022; when an abnormality occurs in the out-of-band device 303 connected to the third terminal of the second switching module 3022, the substrate controller 301 switches the out-of-band device 303 connected to the second terminal or the third terminal of the third switching module 3023. It can be seen that, in this embodiment, the out-of-band devices 303 with different priorities may be connected to a designated location according to actual needs, and the different out-of-band devices 303 are switched and connected by the substrate controller 301 according to the priority sequence, that is, the substrate controller 301 sequentially switches and connects according to the priority sequence from high to low.
In one example, the third switch module 3023 is a switch switching chip.
It should be noted that, in this embodiment, through the above connection manner, a user may connect the out-of-band device with the highest priority to the third end of the first switch module according to the actual requirement, and connect the out-of-band device with the second priority to the third end of the second switch module, so as to ensure that when the device connected to the substrate controller is the out-of-band device with the highest priority, only the first switch module needs to be controlled, and when the device connected to the substrate controller is the out-of-band device with the second priority, only the first switch module and the second switch module need to be controlled, so that under the condition that a plurality of switch modules are provided, the number of actually controlled switch modules can be reduced, and the efficiency of connecting the substrate controller to the out-of-band device is improved.
A third embodiment of the present application relates to an out-of-band management switching device. The third embodiment is substantially the same as the first embodiment, and in the third embodiment of the present application, the out-of-band management switching device further includes a third switch module. In order to avoid repetition, the same or corresponding parts of the present embodiment as those of the first embodiment are not described herein.
The specific structure of the out-of-band management switching device of this embodiment is shown in fig. 4, and includes: a substrate controller 401, a first switching module 4021, a second switching module 4022, and a third switching module 4023.
Specifically, the substrate controller 401 is connected to a first end of the first switch module 4021 through an NCSI interface; the second end of the first switch module 4021 is connected to the first end of the second switch module 4022, and the third end of the first switch module 4021 is connected to the first end of the third switch module 4023; the second end of the second switch module 4022, the third end of the second switch module 4022, the second end of the third switch module 4023, and the third end of the third switch module 4023 are respectively connected to an out-of-band device 403; the first control end a of the substrate controller 401 is connected with the control end of the first switch module 4021, the second control end b of the substrate controller 401 is connected with the control end of the second switch module 4022, and the third control end c of the substrate controller 401 is connected with the control end of the third switch module 4023.
According to the embodiment, through the connection mode, a user can switch and connect different out-of-band devices according to actual demands, and compared with the method that an arbitration mechanism is used for selecting out-of-band devices for connection in the related technology, the operation pressure of a substrate controller is reduced; meanwhile, in the application, when one out-of-band device needs to be replaced, only the switch unit is required to be switched to the other out-of-band device, so that the out-of-band device can be replaced without affecting the out-of-band management work process of the substrate controller.
The above division of various components is for clarity of description, and it is within the scope of protection of the present patent that the above division of various components may be combined into one component or split into some components when implemented, as long as the same logical relationship is included.
The fourth embodiment of the present application relates to an out-of-band management switching method, which is used for a substrate controller of an out-of-band management switching device of the first embodiment, and it should be noted that the related technical details mentioned in the first embodiment are still valid in the present embodiment, and in order to reduce repetition, a detailed description is omitted here.
The specific flow of the out-of-band management switching method in this embodiment is shown in fig. 5, and includes the following steps:
in step 501, a first terminal of a first switch module is controlled to be connected to a third terminal of the first switch module.
Specifically, the execution body of the embodiment is a substrate controller of the out-of-band management switching device, and the substrate controller first selects out-of-band device connection connected to the third terminal of the first switch module.
It should be noted that, there is a priority order between the out-of-band devices, where the out-of-band device connected to the third end of the first switch module has the highest priority, and under the condition that the out-of-band device with the highest priority can work normally, the out-of-band device with the highest priority is selected as the out-of-band device to be connected for connection, and only when the out-of-band device with the first priority is abnormal, the out-of-band device with the second priority is selected for connection, and so on.
Step 502, determining whether the out-of-band device connected to the third terminal of the first switch module is normal. Returning to step 501 when the out-of-band device is normal; when the out-of-band device is abnormal, step 503 is entered.
Specifically, after controlling the first end of the first switch module to be connected to the third end of the first switch module, that is, after the substrate controller is connected to the out-of-band device connected to the third end of the first switch module, it is determined whether the out-of-band device is normal. Returning to step 501 when the out-of-band device is normal; when the out-of-band device is abnormal, step 503 is entered.
In practical application, when one out-of-band device such as the first out-of-band device fails and needs to be replaced, the substrate controller can be connected to other out-of-band devices such as the second out-of-band device through the control switch module, so that the first out-of-band device is isolated from the substrate controller, and at the moment, the replacement of the first out-of-band device can be completed without stopping the work between the substrate controller and the second out-of-band device, and the out-of-band management work efficiency of the substrate controller is improved.
In one example, determining whether the out-of-band device connected to the third terminal of the first switch module is normal includes: acquiring an interaction signal for communication with out-of-band equipment connected with a third end of the first switch module; judging whether the interaction signal meets a preset condition or not; if yes, judging that the out-of-band equipment connected with the third end of the first switch module is normal; if not, the out-of-band equipment connected with the third end of the first switch module is judged to be abnormal. A method for specifically judging whether a substrate control connected out-of-band device is normal or not is provided.
Step 503 controls the first end of the first switch module to be connected to the second end of the first switch module, and controls the first end of the second switch module to be connected to the second end or the third end of the second switch module.
Specifically, when the out-of-band device connected to the third end of the first switch module is abnormal, the substrate controller needs to switch connection to another out-of-band device, and thus, the substrate controller controls the first end of the first switch module to be connected to the second end of the first switch module and controls the first end of the second switch module to be connected to the second end or the third end of the second switch module.
It should be noted that, the priorities between the two out-of-band devices connected to the second end and the third end of the second switch module may be the same or different, and the user may set the priority between the two out-of-band devices according to the actual needs, and when the out-of-band device connected to the third end of the first switch module is abnormal, the substrate controller connects one out-of-band device with higher priority among the two out-of-band devices.
A fifth embodiment of the present application relates to an out-of-band management switching method, which is used for the substrate controller of the out-of-band management switching device of the second embodiment. It should be noted that the related technical details mentioned in the second embodiment are still valid in this embodiment, and are not repeated here for reducing repetition.
The specific flow of the out-of-band management switching method in this embodiment is shown in fig. 6, and includes the following steps:
in step 601, a first terminal of the first switch module is controlled to be connected to a third terminal of the first switch module.
Step 602, determining whether the out-of-band device connected to the third terminal of the first switch module is normal. If so, returning to the step 602; if so, the process proceeds to step 603.
Steps 601 to 602 and steps 501 to 502 in the fourth embodiment are not repeated here.
Step 603, controlling the first end of the first switch module to be connected to the second end of the first switch module, and controlling the first end of the second switch module to be connected to the third end of the second switch module.
In this embodiment, the priority of the out-of-band device connected to the third terminal of the first switch module is highest, and the priority of the out-of-band device connected to the third terminal of the second switch module is second. When the out-of-band equipment with the highest priority operates normally, namely the out-of-band equipment connected with the third end of the first switch module is normal, the substrate controller maintains an original control mode; when the out-of-band device with the highest priority is abnormal, namely the out-of-band device connected with the third end of the first switch module is abnormal, the substrate controller switches and connects to the out-of-band device with the second priority, namely the first end of the first switch module is connected to the second end of the first switch module, and controls the first end of the second switch module to be connected to the third end of the second switch module.
Step 604, determining whether the out-of-band device connected to the third terminal of the second switch module is normal. If so, returning to step 603; if so, the routine proceeds to step 605.
In one example, determining whether the out-of-band device connected to the third terminal of the second switch module is normal includes: acquiring an interaction signal for communication with out-of-band equipment connected with a third end of the second switch module; judging whether the interaction signal meets a preset condition or not; if yes, judging that the out-of-band equipment connected with the third end of the second switch module is normal; if the first terminal is not met, the out-of-band equipment connected with the third terminal of the second switch module is judged to be abnormal.
Step 605 controls the first end of the first switch module to be connected to the second end of the first switch module, controls the first end of the second switch module to be connected to the second end of the second switch module, and controls the first end of the third switch module to be connected to the second end or the third end of the third switch module.
Specifically, when the out-of-band device of the second priority operates normally, that is, when the out-of-band device connected to the third end of the second switch module is normal, the substrate controller maintains the original control mode; when the out-of-band equipment of the second priority is abnormal, namely the out-of-band equipment connected with the third end of the second switch module is abnormal, the substrate controller is switched and connected to the out-of-band equipment of the next priority, namely the first end of the first switch module is connected to the second end of the first switch module, the first end of the second switch module is connected to the second end of the second switch module, and the first end of the third switch module is connected to the second end or the third end of the third switch module.
It should be noted that, the priorities of the out-of-band devices connected to the second end and the third end of the third switch module may be the same or different, and the user may set the priority between the two out-of-band devices according to the actual needs, and when the out-of-band device with the second priority is abnormal, the substrate controller connects the out-of-band device with the higher priority of the two out-of-band devices.
A sixth embodiment of the present invention relates to an out-of-band management switching method, which is applied to the substrate controller of the out-of-band management switching device of the third embodiment. It should be noted that the related technical details mentioned in the third embodiment are still valid in this embodiment, and are not repeated here for reducing repetition.
The specific flow of the out-of-band management switching method in this embodiment is shown in fig. 7, and includes the following steps:
and 701, selecting a target out-of-band device from a plurality of out-of-band devices according to a preset rule.
Specifically, the substrate controller selects a target out-of-band device for connection according to a preset rule. In one example, the substrate controller stores a prioritization of a plurality of out-of-band devices, the preset rule being: selecting the out-of-band device with the highest priority as a target out-of-band device; when the out-of-band device with the highest priority is abnormal, selecting the out-of-band device with the second priority as a target out-of-band device; when the out-of-band device of the second priority is abnormal, selecting out-of-band device of the third priority as the target out-of-band device; and when the out-of-band device with the third priority is abnormal, selecting the out-of-band device with the fourth priority as the target out-of-band device. Specifically, the substrate controller may preferentially select the out-of-band device with the highest priority as the target out-of-band device for connection, when the out-of-band device with the highest priority is abnormal, the substrate controller selects the out-of-band device with the second priority as the target out-of-band device for connection, when the out-of-band device with the second priority is abnormal, the substrate controller selects the out-of-band device with the third priority as the target out-of-band device for connection, and so on.
Step 702, controlling the conducting directions of the first switch module, the second switch module and the third switch module to connect the substrate controller with the target out-of-band device.
In this embodiment, the target out-of-band device is selected from the plurality of out-of-band devices through the preset rule, so that the process of switching the connection of the out-of-band devices by the substrate controller can be sequentially performed, and the switching efficiency is improved.
The above steps of the methods are divided, for clarity of description, and may be combined into one step or split into multiple steps when implemented, so long as they include the same logic relationship, and they are all within the protection scope of this patent; it is within the scope of this patent to add insignificant modifications to the algorithm or flow or introduce insignificant designs, but not to alter the core design of its algorithm and flow.
A seventh embodiment of the present application relates to a server, as shown in fig. 8, comprising at least one processor 801; and a memory 802 communicatively coupled to the at least one processor 801; the memory 802 stores instructions executable by the at least one processor 801, and the instructions are executed by the at least one processor 801 to enable the at least one processor 801 to perform the dual display switching method described above.
Where the memory 802 and the processor 801 are connected by a bus, the bus may comprise any number of interconnected buses and bridges, which connect the various circuits of the one or more processors 801 and the memory 802 together. The bus may also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or may be a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 801 is transmitted over a wireless medium via an antenna, which in turn receives the data and communicates the data to the processor 801.
The processor 801 is responsible for managing the bus and general processing and may provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 802 may be used to store data used by the processor 801 in performing operations.
An eighth embodiment of the present application relates to a computer-readable storage medium storing a computer program. The computer program implements the above-described method embodiments when executed by a processor.
That is, it will be understood by those skilled in the art that all or part of the steps in implementing the methods of the embodiments described above may be implemented by a program stored in a storage medium, where the program includes several instructions for causing a device (which may be a single-chip microcomputer, a chip or the like) or a processor (processor) to perform all or part of the steps in the methods of the embodiments described herein. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific embodiments in which the present application is implemented and that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims (10)

1. The out-of-band management switching device is characterized by comprising a substrate controller, a first switch module and a second switch module;
a first end of the first switch module is connected with a network connection state indicator NCSI interface of the substrate controller;
the second end of the first switch module is connected with the first end of the second switch module;
the third end of the first switch module, the second end of the second switch module and the third end of the second switch module are respectively connected with an out-of-band device;
the first control end of the substrate controller is connected with the control end of the first switch module, and the second control end of the substrate controller is connected with the control end of the second switch module;
if the out-of-band equipment connected with the third end of the first switch module is normal, the first end of the first switch module is connected to the third end of the first switch module;
if the out-of-band equipment connected with the third end of the first switch module is abnormal, the first end of the first switch module is connected to the second end of the first switch module, and the first end of the second switch module is controlled to be connected to the second end of the second switch module or the third end of the second switch module;
the out-of-band equipment connected with the third end of the first switch module has higher priority than the out-of-band equipment respectively connected with the second end of the second switch module and the third end of the second switch module;
selecting out-of-band equipment with highest priority as target out-of-band equipment during out-of-band management switching; when the out-of-band device with the highest priority is abnormal, selecting the out-of-band device with the second priority as a target out-of-band device; and when the out-of-band device of the second priority is abnormal, selecting the out-of-band device of the third priority as the target out-of-band device.
2. The out-of-band management switching device of claim 1, further comprising: a third switch module; the third control end of the substrate controller is connected with the control end of the third switch module;
the third switch module is arranged between the second end of the second switch module and the out-of-band equipment;
the first end of the third switch module is connected with the second end of the second switch module;
the third end of the first switch module, the third end of the second switch module, the second end of the third switch module and the third end of the third switch module are respectively connected with one out-of-band device.
3. The out-of-band management switching device of claim 1, further comprising: a third switch module; the third control end of the substrate controller is connected with the control end of the third switch module;
the third switch module is arranged between the third end of the first switch module and the out-of-band equipment;
the first end of the third switch module is connected with the third end of the first switch module;
the second end of the second switch module, the third end of the second switch module, the second end of the third switch module and the third end of the third switch module are respectively connected with one out-of-band device.
4. An out-of-band management switching method, characterized by being applied to the substrate controller of the out-of-band management switching device of claim 1; the method comprises the following steps:
controlling a first end of the first switch module to be connected to a third end of the first switch module;
judging whether the out-of-band equipment connected with the third end of the first switch module is normal or not;
if the out-of-band equipment connected with the third end of the first switch module is normal, controlling the first end of the first switch module to be connected with the third end of the first switch module;
and if the out-of-band equipment connected with the third end of the first switch module is abnormal, controlling the first end of the first switch module to be connected with the second end of the first switch module and controlling the first end of the second switch module to be connected with the second end of the second switch module or the third end of the second switch module.
5. The out-of-band management switching method of claim 4, wherein the determining whether the out-of-band device connected to the third terminal of the first switch module is normal comprises:
acquiring an interaction signal for communication of the out-of-band equipment connected with the third end of the first switch module;
judging whether the interaction signal meets a preset condition or not; if yes, judging that the out-of-band equipment connected with the third end of the first switch module is normal; if not, the out-of-band equipment connected with the third end of the first switch module is judged to be abnormal.
6. An out-of-band management switching method, characterized by being applied to the substrate controller of the out-of-band management switching device of claim 2; the method comprises the following steps:
controlling a first end of the first switch module to be connected to a third end of the first switch module;
judging whether the out-of-band equipment connected with the third end of the first switch module is normal or not;
if the out-of-band equipment connected with the third end of the first switch module is normal, controlling the first end of the first switch module to be connected to the third end of the first switch module;
if the out-of-band equipment connected with the third end of the first switch module is abnormal, controlling the first end of the first switch module to be connected to the second end of the first switch module and controlling the first end of the second switch module to be connected to the third end of the second switch module;
judging whether the out-of-band equipment connected with the third end of the second switch module is normal or not;
if the out-of-band equipment connected with the third end of the second switch module is normal, controlling the first end of the first switch module to be connected with the second end of the first switch module and controlling the first end of the second switch module to be connected with the third end of the second switch module;
if the out-of-band equipment connected with the third end of the second switch module is abnormal, controlling the first end of the first switch module to be connected with the second end of the first switch module, controlling the first end of the second switch module to be connected with the second end of the second switch module, and controlling the first end of the third switch module to be connected with the second end of the third switch module or the third end of the third switch module.
7. An out-of-band management switching method, applied to the substrate controller of the out-of-band management switching device of claim 3, comprising:
selecting a target out-of-band device from a plurality of out-of-band devices according to a preset rule;
and controlling the conduction directions of the first switch module, the second switch module and the third switch module to connect the substrate controller with the target out-of-band equipment.
8. The out-of-band management handoff method of claim 7, wherein said substrate controller stores a prioritization of a plurality of out-of-band devices; the preset rule is as follows: selecting the out-of-band device with the highest priority as the target out-of-band device; when the out-of-band device with the highest priority is abnormal, selecting the out-of-band device with the second priority as the target out-of-band device; when the out-of-band equipment with the second priority is abnormal, selecting the out-of-band equipment with the third priority as the target out-of-band equipment; and when the out-of-band device with the third priority is abnormal, selecting the out-of-band device with the fourth priority as the target out-of-band device.
9. A server, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein,,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the out-of-band management switching method of any one of claims 4 to 8.
10. A computer readable storage medium storing a computer program, wherein the computer program when executed by a processor implements the out-of-band management switching method of any one of claims 4 to 8.
CN202011623864.0A 2020-12-31 2020-12-31 Out-of-band management switching device, method and server Active CN112769603B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011623864.0A CN112769603B (en) 2020-12-31 2020-12-31 Out-of-band management switching device, method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011623864.0A CN112769603B (en) 2020-12-31 2020-12-31 Out-of-band management switching device, method and server

Publications (2)

Publication Number Publication Date
CN112769603A CN112769603A (en) 2021-05-07
CN112769603B true CN112769603B (en) 2023-07-25

Family

ID=75698755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011623864.0A Active CN112769603B (en) 2020-12-31 2020-12-31 Out-of-band management switching device, method and server

Country Status (1)

Country Link
CN (1) CN112769603B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483246A (en) * 2017-08-17 2017-12-15 郑州云海信息技术有限公司 A kind of service unit with multiple network equipments, service unit switching system and switching method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7552213B2 (en) * 2005-05-12 2009-06-23 Avocent Fremont Corp. Remote network node management system and method
CN103236680B (en) * 2013-04-16 2016-03-30 毛小毛 surge protector intelligent protection device and surge protector intelligent protection method
CN104536514A (en) * 2014-11-27 2015-04-22 英业达科技有限公司 Server with selective switch management network connection function
US9515496B1 (en) * 2016-03-21 2016-12-06 Hangzhou Chic Intelligent Technology Co., Ltd Battery management system for human-machine interaction vehicles
CN105897471A (en) * 2016-04-05 2016-08-24 浪潮电子信息产业股份有限公司 Out-of-band management system and out-of-band management method
US10383157B2 (en) * 2017-08-14 2019-08-13 Dell Products, Lp System and method for automatic wireless connections between server management controllers to set up a secure proxy channel
CN107743076A (en) * 2017-11-03 2018-02-27 郑州云海信息技术有限公司 A kind of NCSI shares interface switching method and device
CN111030892B (en) * 2019-12-26 2021-10-29 苏州浪潮智能科技有限公司 Method, equipment and medium for testing network function in BMC NCSI adaptive mode

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483246A (en) * 2017-08-17 2017-12-15 郑州云海信息技术有限公司 A kind of service unit with multiple network equipments, service unit switching system and switching method

Also Published As

Publication number Publication date
CN112769603A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
US5170472A (en) Dynamically changing a system i/o configuration definition
CN104679610B (en) Management method and device of computer system
US20070234032A1 (en) System and method for chassis management
CN112653734B (en) Real-time master-slave control and data synchronization system and method for server cluster
US20150103641A1 (en) Load sharing method and apparatus, and board
CN109901664B (en) Method, apparatus, system, device and readable storage medium for providing clock signal
US10659536B2 (en) Method of controlling inverters
US20130238871A1 (en) Data processing method and apparatus, pci-e bus system, and server
CN112769603B (en) Out-of-band management switching device, method and server
CN109995597B (en) Network equipment fault processing method and device
US11314670B2 (en) Method, apparatus, and device for transmitting file based on BMC, and medium
CN110119111B (en) Communication method and device, storage medium, and electronic device
CN112463670A (en) Storage controller access method and related device
CN112306947A (en) Topology switching method, device and equipment
CN107608483B (en) Method and device for controlling server fan
US11847089B2 (en) Electronic device and method for sharing data lanes of a network interface device between two or more computing devices
CN115086579B (en) Video matrix redundancy backup method and device, terminal equipment and storage medium
CN117591378B (en) Temperature control method, system, equipment and storage medium of server
CN110955210B (en) AGV scheduling method, device and system
CN114509981B (en) Controller hardware redundancy control method and system
CN114385328A (en) Cloud platform service control method, system, server and storage medium
KR100260087B1 (en) Method for loading program in full electronic exchange system
CN115599631A (en) Component monitoring method and device, electronic equipment and storage medium
US7321985B2 (en) Method for achieving higher availability of computer PCI adapters
KR20130005037A (en) Method and apparatus for performing ul harq in tdd system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant